Skip to content

Agent Skill for 15–90 s motion graphics, promo and character videos: reference analysis, seven stage gates, Remotion and HyperFrames engines.

feat: full version: bundled engines, wordcut template, reference analysis and brand intro recipe (#5)

Unclejobs7c9c819286ec
diff --git a/.env.example b/.env.example
index 25b95d8..63c6267 100644
--- a/.env.example
+++ b/.env.example
@@ -15,3 +15,13 @@ MUSIC_API_KEY=<여기에 본인 키>
# 영상·이미지 생성 API (웹·CLI 구독만 쓰면 비워 둠)
VIDEO_API_KEY=<여기에 본인 키>
+
+# 목소리 자동화 (engines/remotion/pipeline/vo.mjs, composio CLI)
+# composio에 ACTIVE 연결이 여러 개일 때만 # 을 지우고 고를 계정의 word_id를 적습니다(값이 있으면 목록 조회 없이 그 값을 계정으로 씁니다).
+# 읽는 방법: node --env-file=.env pipeline/vo.mjs productions/<id>/vo
+# 확인: composio link elevenlabs --list / composio link fish_audio --list
+# COMPOSIO_ACCOUNT_ELEVENLABS=<composio 계정 word_id>
+# COMPOSIO_ACCOUNT_FISH=<composio 계정 word_id>
+
+# 렌더 브라우저. 직접 지정할 때만 # 을 지우고 채웁니다(비우면 캐시된 헤드리스 셸이나 엔진이 받은 브라우저를 씀)
+# CHROME_PATH=<브라우저 실행 파일 경로>
diff --git a/.gitignore b/.gitignore
index fef5869..cb07f1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,5 @@ charsheet*.png
# OS
.DS_Store
+.claude/
+__pycache__/
diff --git a/NOTICE.md b/NOTICE.md
index d9662de..92a8ed8 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -1,12 +1,17 @@
# NOTICE
-이 저장소(motion-video-production 스킬)는 외부 서비스와 소프트웨어를 사용자가 직접 설치·가입해 쓰는 것을 전제로 합니다. 이 저장소는 아래 어떤 외부 도구의 코드·모델·산출물도 포함하거나 재배포하지 않습니다.
+이 저장소(motion-video-production 스킬)는 외부 서비스와 소프트웨어를 사용자가 직접 설치·가입해 쓰는 것을 전제로 합니다. 이 저장소는 아래 어떤 외부 도구의 코드·모델·산출물·글꼴 파일도 포함하거나 재배포하지 않습니다. 엔진 폴더(`engines/`)에는 이 저장소의 코드와 정확한 버전이 적힌 `package.json`·`package-lock.json`만 있고, 외부 패키지는 사용자가 `npm ci`로 설치합니다.
-## 요약 (작성일 2026-10-02 확인 기준)
+## 요약 (2026-10-02 확인, Remotion·HyperFrames·GSAP·글꼴은 2026-10-25 다시 확인)
| 항목 | 요약 | 자세한 내용 |
|---|---|---|
-| Remotion | 개인, 영리 조직 직원 3명 이하, 비영리는 무료. 직원 4명 이상 영리 조직은 Company License 필요. | skills/motion-video-production/references/licensing.md 1장 |
+| Remotion 4.0.529 | 개인, 영리 조직 직원 3명 이하, 비영리, 상업 사용 전 평가는 무료. 직원 4명 이상 영리 조직은 Company License 필요. 원문: https://github.com/remotion-dev/remotion/blob/main/LICENSE.md | skills/motion-video-production/references/licensing.md 1장 |
+| HyperFrames 0.8.143 | Apache-2.0. 회사 규모 조건 없음. 원문: https://github.com/heygen-com/hyperframes/blob/main/LICENSE | 1-2장 |
+| GSAP 3.14.2 | GreenSock 표준 무료 라이선스. README에 상업 이용 무료로 표기. 제한 조항 전문은 미확인: https://gsap.com/standard-license | 1-2장 |
+| Three.js 0.170.0 (홈페이지 템플릿) | MIT. CDN에서 불러오고 저장소에는 넣지 않음 | 1-2-1장 |
+| 글꼴 (Pretendard, 나눔명조, JetBrains Mono) | SIL Open Font License 1.1, npm 패키지로 설치 | 1-3장 |
+| OpenCV, numpy (레퍼런스 분석) | opencv-python-headless 4.13.0.92 (Apache-2.0), numpy 2.5.4 (BSD-3-Clause 외, 패키지 메타데이터 기준), 사용자가 pip로 설치 | - |
| ElevenLabs | 무료 플랜에는 상업 라이선스가 없고, 상업 이용은 Starter 플랜부터 표기됨 | 2장 |
| Suno | 무료 플랜 곡은 비상업용이며 소유권이 Suno에 있음. Pro·Premier에서 상업 권리 제공 | 2장 |
| Fish Audio | 무료 플랜은 개인·비상업 프로젝트용 (가격 페이지의 기능 표와 FAQ 문구가 서로 달라 FAQ 기준) | 2장 |
@@ -15,7 +20,7 @@
| 생성물 책임 | 사용자에게 있으며, 이 문서는 법률 자문이 아님 | 4장 |
## 상표
-Remotion, ElevenLabs, Suno, Fish Audio, Grok, xAI, ChatGPT, OpenAI는 각 권리자의 상표 또는 서비스 이름입니다. 이 저장소는 해당 권리자와 제휴·후원 관계가 없습니다.
+Remotion, HyperFrames, HeyGen, GSAP, Webflow, composio, ElevenLabs, Suno, Fish Audio, Grok, xAI, ChatGPT, OpenAI는 각 권리자의 상표 또는 서비스 이름입니다. 이 저장소는 해당 권리자와 제휴·후원 관계가 없습니다.
## 이 저장소의 라이선스
이 저장소는 MIT 라이선스입니다(LICENSE 파일). 이 라이선스는 이 저장소의 문서·스크립트에만 적용되고, 위 외부 도구와 그 산출물에는 적용되지 않습니다.
diff --git a/README.en.md b/README.en.md
index 88931ee..47222c6 100644
--- a/README.en.md
+++ b/README.en.md
@@ -1,40 +1,59 @@
-<p>
- <img src="docs/assets/logo.svg" width="80" height="80" alt="Motion Video Production logo" />
-</p>
-
# motion-video-production
[한국어](README.md) · **English**
-A **production skill in the Agent Skills format** with a workflow and review criteria for producing motion graphics and videos (30–90 seconds) from start to finish. Codex, Claude Code, and other skill-capable runtimes use the same skill folder.
-It includes a validation script (`harness/gate.py`, referred to below as the gate) that measures the outputs of each of the six production stages and reports pass or fail through exit codes, plus prevention tips for 29 common pitfalls (`references/gotchas.md`).
+A **production skill in the Agent Skills format** for making 15–90 second motion graphics, promo and character mp4 videos with music and voice. It includes stage gates, a reference-video analyzer, and two render engines (Remotion, HyperFrames).
-**Jump to** · [Installation](#installation) · [Workflow](#workflow) · [Demo](#gate-demo) · [Harness](#harness) · [Tools](#required-tools)
+Codex, Claude Code, and other skill-capable runtimes use the same skill folder.
----
+![Animated result of the 5-second carry demo](docs/assets/carry-demo.gif)
-## Installation
+The quick start renders this 5-second typography demo. Carry is the fraction of cut transitions where at least one on-screen element continues into the next shot. The finished mp4 has music but no voice; the GIF is silent and the on-screen text is Korean. For character and voice production, start at [First request](#first-request).
-### Shared installation (Codex, Claude Code, and other runtimes)
+**Jump to** · [Quick start](#quick-start) · [Installation](#installation) · [What's inside](#whats-inside) · [Reference analysis](#reference-analysis) · [Workflow](#workflow) · [Harness](#harness) · [Seven consistency criteria](#seven-consistency-criteria) · [Gotchas](#gotchas) · [Reference docs](#reference-docs) · [Required tools](#required-tools) · [Known limitations](#known-limitations) · [Verification scope](#verification-scope)
-Run this from the project where you want to use the skill. Requires Node.js and npx; select the runtimes you use during installation.
+## Quick start
+
+After installing the skill (see [Installation](#installation)), copy an engine into a working folder and render a demo. Node.js 24 or newer and ffmpeg are required. Do not run `npm ci` inside the skill folder. The commands below took about 28 seconds on a MacBook Air M3, including engine dependency installation with a cached browser.
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
+# Find it: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
+# Personal install: use "$HOME/.agents/skills/motion-video-production" or "$HOME/.claude/skills/motion-video-production"
+# mkdir stops if engine/ already exists. Remove it or pick another name (cp -R into an existing folder nests engine/remotion)
+mkdir engine && cp -R "$SKILL_ROOT/engines/remotion/." engine && cd engine && npm ci
+# Check carry across cut transitions
+node pipeline/probe.mjs productions/carry-demo # carry 1.00 PASS
+node pipeline/render.mjs carry-demo --stills 1.5 3.0 # renders/carry-demo/contact.png
+node pipeline/render.mjs carry-demo # renders/carry-demo/picture.mp4
+node pipeline/score.mjs productions/carry-demo # procedural score
+# <picture> <fps> <seconds> <music> <voice, - for none> <output>
+bash "$SKILL_ROOT/scripts/mix-mux.sh" renders/carry-demo/picture.mp4 60 5 productions/carry-demo/audio/score.wav - out/final.mp4
+bash "$SKILL_ROOT/scripts/verify.sh" out/final.mp4
+```
+
+Rendering uses `CHROME_PATH` or a cached Playwright headless shell. If neither exists, `npx remotion browser ensure` downloads one (the agent asks before downloading).
+
+## Installation
+
+Run this in the project folder where you want to use the skill. It requires Node.js and npx; select the runtimes you use.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production
```
-To target Codex specifically, use the command below. Add `--global` for a personal installation.
+To target Codex only, run the command below. Add `--global` for personal scope.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex
```
-[Vercel skills CLI](https://github.com/vercel-labs/skills) handles installation locations for its supported agents, including Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, and Windsurf. **Installation compatibility and a verified full video production run are different.** Generation tool connections, image viewing, and command execution permissions depend on the runtime environment. See [runtime installation, invocation, and verification scope](docs/runtimes.md).
+The [Vercel skills CLI](https://github.com/vercel-labs/skills) handles install locations for Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf, and others. The engines live inside the skill folder, so they install with it. **Installer compatibility is not the same as full video-production validation.** See [runtime installation, invocation, and verification scope](docs/runtimes.md).
<details>
<summary><strong>Manual installation (without Node.js)</strong></summary>
-Codex reads project skills from `.agents/skills/` and personal skills from `~/.agents/skills/`. For a personal installation:
+Codex reads skills from project `.agents/skills/` and personal `~/.agents/skills/`. This example is a personal installation.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -42,7 +61,7 @@ mkdir -p ~/.agents/skills
cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/
```
-Claude Code reads project skills from `.claude/skills/` and personal skills from `~/.claude/skills/`. The original installation command still works:
+Claude Code reads skills from project `.claude/skills/` and personal `~/.claude/skills/`.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -50,109 +69,163 @@ mkdir -p ~/.claude/skills
cp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/
```
-To use it only in a specific project, copy the same folder into that runtime's project skill directory. Avoid installing the same skill name in multiple locations for one runtime.
+To use it in one project only, copy the same folder into that project's runtime skill directory. Do not install the same name through several paths in one runtime.
</details>
### First request
-After installation, confirm `motion-video-production` appears in the runtime's skill list. Restart the runtime if it does not appear. Invoke it explicitly with `$motion-video-production` in Codex or `/motion-video-production` in Claude Code and Cursor, or make a request like this:
+After installation, confirm that `motion-video-production` appears in the runtime's skill list. If it does not, restart the runtime. Invoke it with `$motion-video-production` in Codex or `/motion-video-production` in Claude Code and Cursor, or ask:
+
+> I want a 20-second promo video that feels like this reference video.
+
+The agent first asks six things (publication type, length and aspect ratio, available tools, prohibited elements, reference video, engine) and proceeds stage by stage. Without generation tools, it hands you prompts and continues from the files you generate.
+
+## What's inside
+
+| What | What it does | Where |
+|---|---|---|
+| Remotion engine | Pinned render pipeline, motion modules, demos | `engines/remotion/` |
+| Carry probe | Measures, before rendering, whether an on-screen element continues across each cut transition | `pipeline/carry.ts`, `probe.mjs` |
+| Wordcut template | One word held in one slot while scenes hand it over. Edit only `data.ts` | `productions/wordcut/` |
+| Look fit | Fits lens values to a reference's contrast, colour, grain and depth of field | `look-fit.mjs` |
+| Voice and music | ElevenLabs and Fish Audio voices via the composio CLI, a procedural score on the timing | `vo.mjs`, `score.mjs` |
+| HyperFrames engine | Animates plain HTML/CSS pages with GSAP and renders them to mp4 | `engines/hyperframes/` |
+| Reference analysis | Takes a reference video apart with OpenCV into target numbers | `scripts/ref-analyze.py` |
-> I want to make a 30-second opening video featuring a character.
+The engine is swappable. Use Remotion when you need carry and wordcut, HyperFrames when the source material is web pages. The comparison is in [`references/engines.md`](skills/motion-video-production/references/engines.md).
-The agent first asks about four things (how the video will be published, duration and aspect ratio, available tools, and prohibited elements), then works through the stages in order, starting with `STORY.md`. If generation tools are unavailable, it provides prompts and continues with files generated by the user. If it cannot view images, it asks for the user's actual visual review.
+## Reference analysis
+
+<img src="docs/assets/ref-pipeline.en.png" width="480" alt="Reference analysis pipeline">
+
+"Make it like this video" is usually about motion and editing more than texture. Stage 0 takes the reference apart with OpenCV and records cuts and holds, optical flow, blur, depth of field, grain and look as numbers. The plan cites those numbers. After rendering, the same analysis measures the result, and `gate.py ref` lists target and difference per metric and blocks when one is out of range.
+
+Run this from your project folder, not `engine/`. Set `SKILL_ROOT` as in Quick start.
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
+PROJECT_ROOT="$PWD" # output folder containing reference.mp4 and ref/
+python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
+mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # fill the <...> blanks from the analysis
+python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 -o ref/analysis.json --targets ref/targets.json
+python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
+```
+
+Motion is measured per 1/30 s, so different frame rates compare. The reference file is never committed; only the numbers are kept. Metric explanations and a worked example are in [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md).
## Workflow
-![The six production stages and their gates](docs/assets/workflow.png)
+<img src="docs/assets/workflow-ref.en.png" width="480" alt="Production stages and their gates">
-1. The skill creates the stage outputs (`STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
-2. Set `SKILL_ROOT` to the parent directory of the installed `SKILL.md` and `PROJECT_ROOT` to the output project directory. At the end of each stage, run `python3 "$SKILL_ROOT/harness/gate.py" <stage> "$PROJECT_ROOT"`.
-3. Exit code 0 means you can move to the next stage. If the exit code is 1 (BLOCK), read the BLOCK lines in `qa/gate-<stage>.txt`, fix the outputs, and run the same gate again.
-4. The script cannot judge checks that require visual inspection. Passing requires review records (`qa/clips-review.md`, `qa/review.md`) written after inspecting the frame strips.
+1. The skill creates the stage outputs (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
+2. Set `SKILL_ROOT` to the parent folder of the installed `SKILL.md` and `PROJECT_ROOT` to the output folder. After each stage, run `python3 "$SKILL_ROOT/harness/gate.py" <stage> "$PROJECT_ROOT"`.
+3. Exit code 0 moves to the next stage. Exit code 1 (BLOCK) means: read the BLOCK lines in `qa/gate-<stage>.txt`, fix the output, and rerun the same gate.
+4. Checks that need human eyes cannot be judged by a script. They pass only with a record written after looking at the frames (`qa/clips-review.md`, `qa/review.md`).
-### Gate demo
+The start frame can match, yet the character may change a second later (G01). `gate clips` creates `qa/strip-<clip>.png` for each clip.
-This is an example of running `gate.py clips`. Without a visual review record, it returns BLOCK (exit code 1); with the record, it returns PASS (exit code 0). Write the record after opening the frame strip image (`qa/strip-<clip>.png`).
+![Frame strip showing character drift](docs/assets/strip.en.png)
-![Running gate clips: BLOCK, visual review record, PASS](docs/assets/gate-demo.gif)
+A `gate.py clips` run (gate output is in Korean). Without a visual review record it returns BLOCK (exit code 1); after the record is written it returns PASS (exit code 0).
+
+![gate clips run: BLOCK, visual review record, PASS](docs/assets/gate-demo.gif)
## Harness
-![How the gates work: automatic measurements, visual inspection, review records](docs/assets/harness.png)
+<img src="docs/assets/harness.en.png" width="480" alt="How gates work: automated measurement, visual review, record files">
| Production stage | Gate | Checks |
|---|---|---|
-| 1. Story and scene planning | `story` | Empty fields, BPM, music sync point table (whether times are numeric), scene table |
-| 2. Character sheet | `character` | Whether `character.txt` is a single paragraph of plain text, color descriptions, sheet image |
-| 3. Keyframes | `keyframes` | Duplicate files, aspect ratio compared with clips |
-| 4. Video conversion | `clips` | Duration, frame count, starting frame match, frame strip generation, per-clip review records |
-| 5. Music and voice | `audio` | A single voice ID, dialogue file |
-| 6. Assembly | `edit`, `final` | Beat grid, cut transitions, repeated cuts, dialogue duration, frame count, audio, loudness, true peak, review records |
+| 0. Reference analysis | `ref` | Before planning: blanks in ANALYSIS.md, targets.json format. After rendering: each metric against its target |
+| 1. Story and scene planning | `story` | Blanks, BPM, music sync table, scene table |
+| 2. Character sheet | `character` | Whether `character.txt` is one paragraph, color descriptions, sheet image |
+| 3. Keyframes | `keyframes` | Duplicate files, aspect ratio against clips |
+| 4. Video conversion | `clips` | Duration, frame count, start-frame match, frame strip, per-clip verdicts |
+| 5. Music and voice | `audio` | One voice ID, dialogue files |
+| 6. Assembly | `edit`, `final` | Beat grid, cut continuity, repeated cuts, dialogue length, frame count, audio, loudness, true peak, review record |
-### Frame strips
+Gates read only the stage outputs and the finished mp4, never engine internals, so the standard is the same whichever engine made it.
-Some clips start with a frame that matches the keyframe but show a changed character 1–2 seconds later. For each clip, `gate clips` creates an image with the keyframe and frames at 0, 1.0, 1.5, 2.0, and 3.0 seconds in a single row.
+Similarity values such as SSIM cannot tell a person's motion from deformation (`gotchas.md` G02). The gate checks only the start-frame match numerically and asks a person to review the frame strips and record the later frames.
-![Example frame strip](docs/assets/strip.png)
+From the repository folder, run `bash skills/motion-video-production/harness/selftest.sh`. To check an installed copy, run `bash "$SKILL_ROOT/harness/selftest.sh"`. Exit code 0 means the cases behave as expected on this computer.
-Image similarity scores such as SSIM cannot distinguish character movement from character deformation (`gotchas.md` G02). The gate uses numerical checks only for the starting frame match; a person must inspect and record the later frames.
+## Seven consistency criteria
-### Harness check
+Where the seven criteria that keep faces and voices consistent across scenes sit in the production stages is shown below and in [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md).
-From the repository folder, run `bash skills/motion-video-production/harness/selftest.sh`. To check an installed copy, run `bash "$SKILL_ROOT/harness/selftest.sh"`. Exit code 0 means the selftest cases behave as expected on this computer. (Requires Bash, ffmpeg, ffprobe, and Python 3.)
+<img src="docs/assets/seams.en.png" width="480" alt="Where the seven consistency criteria sit">
-## Seven criteria for character consistency
+## Gotchas
-The diagram below and `skills/motion-video-production/references/consistency-7.md` show where the seven criteria for keeping faces and voices consistent across scenes fit between the six production stages: character sheet, fixed appearance description, keyframe starting frame, fixed voice, dialogue and lip movements, music beats, and quality review.
+All 29 are in [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md) with symptoms, causes, prevention, and check IDs. Engine pitfalls are in [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md). Common ones:
-![Where the seven consistency criteria fit](docs/assets/seams.png)
+- Set cut lengths in beats, and round start frames once from cumulative time. (G11, G12)
+- Measure dialogue length before setting cut length. (G13)
+- Piping a check through `| tail` loses its exit code. (G21)
+- A smooth scene change where nothing survives still scores carry 0.00. Move one element across the cut transition.
-## Gotchas
+## Reference docs
-All 29 are documented in [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md), with symptoms, causes, prevention, and harness check IDs. Common ones:
+They ship inside the installed skill folder. The agent reads the one each stage needs; most are in Korean.
-- Even when the starting frame matches, clothes, glasses, or hair can change 1–2 seconds into a clip. (G01)
-- Set cut durations as multiples of beats rather than seconds, and round each starting frame only once from the cumulative time. (G11, G12)
-- Measure dialogue duration before setting cut duration. (G13)
-- Piping a check through `tail`, as in `검사 | tail`, loses its exit code. (G21)
-- For videos with an ICC profile, `ffprobe -of csv=p=0` outputs frame counts like `30,`. Use `-of default=nw=1:nk=1`. (G27)
-- In ffmpeg, using `apad` and `atrim` after `adelay` removes the delay. `asetpts=N/SR/TB` is needed. (G26)
+| Doc | What it covers |
+|---|---|
+| [`SKILL.md`](skills/motion-video-production/SKILL.md) | Skill instructions: stage order, the six opening questions, gate calls |
+| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | Reference analysis metrics and building targets |
+| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion vs HyperFrames, per-engine commands |
+| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | Carry, motion vocabulary, holding one style |
+| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | Editing, camera and texture terms (Korean and English) |
+| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | Cut lengths from BPM |
+| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | Seven character consistency criteria |
+| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | A brand intro video plus a one-page homepage |
+| [`references/providers.md`](skills/motion-video-production/references/providers.md) | Notes on image, video and voice tools |
+| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | Free first, paid only where needed |
+| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | Common gotchas and mistakes |
+| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | External tool licenses and check dates |
+| [`templates/`](skills/motion-video-production/templates/) | Stage output forms such as STORY.md, ANALYSIS.md, BEATSHEET.md |
## Required tools
-Free usage limits and commercial use terms are summarized in `NOTICE.md` and detailed in `skills/motion-video-production/references/licensing.md` (checked on 2026-10-02, with source URLs). Prices and terms change frequently, so check them again immediately before starting work.
+Free tiers and commercial-use conditions are in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md) (with source URLs). Remotion needs a Company License for for-profit organizations with four or more employees; HyperFrames is Apache-2.0. Terms change often, so check them right before work.
| Tool | Purpose |
|---|---|
-| Codex, Claude Code, and other skill-capable agents | Production workflow and assembly |
-| ffmpeg, ffprobe, Python 3 | Running the harness and scripts |
-| Bash (macOS/Linux, WSL on Windows) | Running `.sh` scripts |
-| Node.js + Remotion | Motion graphics and assembly |
+| Codex, Claude Code, or another skill-capable agent | Running production and assembly |
+| ffmpeg, ffprobe, Python 3, Bash | Running the harness and scripts (WSL on Windows) |
+| Node.js 24 or newer | Engines (Remotion 4.0.529, HyperFrames 0.8.143, pinned) |
+| OpenCV, numpy (`scripts/requirements-ref.txt`) | Reference analysis |
| ChatGPT / Grok Imagine | Image and video generation |
-| Suno | Music |
-| ElevenLabs, Fish Audio | Voice |
-| whisper | Transcription review (the transcription integration in `verify.sh` is unverified) |
+| ElevenLabs, Fish Audio (composio CLI) | Voice |
+| whisper | Transcription review |
+
+## Known limitations
+
+- **The carry probe is Remotion-only.** It reads the boxes declared before rendering (`track.ts`). HyperFrames renders are measured on the mp4 with `verify.sh`, `gate.py final` and `gate.py ref`. There is no mp4-side carry measurement yet.
+- **The wordcut demo is an untuned first render.** Against the reference targets, `gate.py ref` blocks 10 of 12 metrics; grain, sharpness ratio and contrast are furthest off. Re-running `look-fit.mjs` and `plan.mjs` to close that gap is how the skill is meant to be used.
+- **A closing image drops the carry score to 0.00 (FAIL).** The only counted boundary is the one where the image covers the page, and it counts as bare; the other detected boundary is exempt as a declared cut. Turn that boundary into a carry to get out of FAIL.
+- **The full text of the GSAP license clauses was not verified.** GSAP 3.14.2, used by the HyperFrames demo, says in its README that it is free including commercial use. Before releasing a commercial video, check https://gsap.com/standard-license.
## Repository structure
```
-README.md Korean README
-README.en.md English README
-LICENSE MIT
-NOTICE.md Summary of external tool guidance
-docs/assets/ README images
-docs/runtimes.md Runtime installation, invocation, and verification scope
+README.md, README.en.md Korean and English READMEs
+NOTICE.md, LICENSE External tool notice, MIT
+docs/ README images (diagram SVG sources included), runtime install and verification scope
skills/motion-video-production/ Skill folder to install (everything below is copied together)
SKILL.md Skill instructions
- agents/openai.yaml Codex display name and invocation example
- references/ Seven consistency criteria, beat grid, cost rules, tool notes, gotchas, licensing (external tool terms of use)
- harness/ gate.py (per-stage pass/fail checks), selftest.sh (harness self-check)
- scripts/ dupcheck.py, clipsheet.sh, key-plate.sh, mix-mux.sh, verify.sh, beat-grid.py
- templates/ STORY.md, CHARACTER_SHEET.md, PROMPTS.md, SCENE_AUDIT.md
+ references/ reference analysis, engines, art direction, consistency, beat grid, tool notes, gotchas, licensing
+ harness/ gate.py (per-stage verdicts), selftest.sh (harness self-validation)
+ scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh and more
+ templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md and more
+ engines/remotion/ carry demo, wordcut template, render, voice and score pipeline
+ engines/hyperframes/ HTML/GSAP carry demo
```
-Remotion composition code is not included in this repository. Install Remotion separately to use it.
+## Verification scope
+
+On 2026-10-25 the committed tree was exported and installed as is. All 76 skill files installed. Engine `npm ci`, typecheck, 13 tests, the carry probe and the selftest passed. Renders in both engines were measured with `verify.sh` and `gate.py ref`, and the HyperFrames render passed `gate.py final`. Not checked: external generation, voice credits, listening to audio, and invocation inside the seven other runtimes. Details are in [docs/runtimes.md](docs/runtimes.md).
## Built by
@@ -160,4 +233,4 @@ This skill distills the review criteria the team behind [SceneSteller](https://w
## Rights and responsibilities
-Rights and responsibilities for generated outputs are described in `NOTICE.md` and `skills/motion-video-production/references/licensing.md`.
+Rights and responsibilities for generated outputs are described in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md).
diff --git a/README.md b/README.md
index 05bb17f..013c418 100644
--- a/README.md
+++ b/README.md
@@ -1,40 +1,59 @@
-<p>
- <img src="docs/assets/logo.svg" width="80" height="80" alt="Motion Video Production 로고" />
-</p>
-
# motion-video-production
**한국어** · [English](README.en.md)
-모션 그래픽과 영상(30~90초)을 처음부터 끝까지 만드는 순서와 점검 기준을 담은 **Agent Skills 형식의 제작 스킬**입니다. Codex, Claude Code 및 다른 스킬 지원 런타임에서 같은 스킬 폴더를 사용합니다.
-제작 6단계마다 산출물을 측정해 통과 여부를 종료 코드로 판정하는 검사 스크립트(`harness/gate.py`, 이하 게이트)와, 자주 생기는 함정 29가지의 예방법(`references/gotchas.md`)이 들어 있습니다.
+음악과 목소리를 담은 15~90초 mp4를 만드는 **Agent Skills 형식의 제작 스킬**이에요. 모션 그래픽, 홍보 영상, 캐릭터 영상을 만들어요. 단계별 게이트, 레퍼런스 분석기, 렌더 엔진 두 개(Remotion, HyperFrames)가 들어 있어요.
-**바로 가기** · [설치](#설치) · [사용 흐름](#사용-흐름) · [실행 예시](#게이트-실행-예시) · [하네스](#하네스) · [필요한 도구](#필요한-도구)
+Codex, Claude Code와 다른 스킬 지원 런타임에서 같은 스킬 폴더를 써요.
----
+![5초 carry 데모의 움직이는 결과](docs/assets/carry-demo.gif)
-## 설치
+빠른 시작으로 만드는 5초 타이포그래피 데모예요. carry는 컷이 바뀔 때 화면 요소가 하나라도 이어지는 컷 전환의 비율이에요. 완성 mp4에는 음악만 있고 목소리는 없어요. 위 GIF에는 소리가 없어요. 캐릭터와 목소리를 넣는 흐름은 [첫 요청](#첫-요청)에서 시작해요.
-### 공통 설치 (Codex·Claude Code·다른 런타임)
+**바로 가기** · [빠른 시작](#빠른-시작) · [설치](#설치) · [들어 있는 것](#들어-있는-것) · [레퍼런스 분석](#레퍼런스-분석) · [사용 흐름](#사용-흐름) · [하네스](#하네스) · [캐릭터 일관성 7가지](#캐릭터-일관성-7가지) · [자주 겪는 함정](#자주-겪는-함정) · [참고 문서](#참고-문서) · [필요한 도구](#필요한-도구) · [알려진 한계](#알려진-한계) · [검증 범위](#검증-범위)
-스킬을 사용할 프로젝트 폴더에서 실행합니다. Node.js와 npx가 필요하며, 사용할 런타임을 선택해 설치합니다.
+## 빠른 시작
+
+스킬을 설치한 뒤(방법은 [설치](#설치)) 엔진을 작업 폴더로 복사해 데모 하나를 렌더해요. Node.js 24 이상과 ffmpeg가 필요해요. 스킬 폴더 안에서 `npm ci`를 실행하지 않아요. MacBook Air M3에서 아래 명령 전체는 약 28초 걸렸어요(엔진 의존성 설치 포함, 브라우저는 캐시 사용).
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
+# 찾기: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
+# 개인 설치면 "$HOME/.agents/skills/motion-video-production" 또는 "$HOME/.claude/skills/motion-video-production"
+# engine/이 이미 있으면 mkdir에서 멈춰요. 지우거나 다른 이름을 써요(있는 폴더에 cp -R 하면 engine/remotion으로 중첩돼요)
+mkdir engine && cp -R "$SKILL_ROOT/engines/remotion/." engine && cd engine && npm ci
+# 컷 전환의 carry를 검사해요
+node pipeline/probe.mjs productions/carry-demo # carry 1.00 PASS
+node pipeline/render.mjs carry-demo --stills 1.5 3.0 # renders/carry-demo/contact.png
+node pipeline/render.mjs carry-demo # renders/carry-demo/picture.mp4
+node pipeline/score.mjs productions/carry-demo # 절차적 스코어
+# <영상> <fps> <초> <음악> <대사, -는 없음> <출력>
+bash "$SKILL_ROOT/scripts/mix-mux.sh" renders/carry-demo/picture.mp4 60 5 productions/carry-demo/audio/score.wav - out/final.mp4
+bash "$SKILL_ROOT/scripts/verify.sh" out/final.mp4
+```
+
+렌더 브라우저는 `CHROME_PATH`나 캐시된 Playwright 헤드리스 셸을 써요. 둘 다 없으면 `npx remotion browser ensure`가 내려받아요(내려받기 전에 에이전트가 먼저 물어요).
+
+## 설치
+
+스킬을 쓸 프로젝트 폴더에서 실행해요. Node.js와 npx가 필요하고, 쓸 런타임을 골라 설치해요.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production
```
-Codex만 지정하려면 아래처럼 실행합니다. 개인 범위로 설치하려면 `--global`을 추가합니다.
+Codex만 지정하려면 아래처럼 실행해요. 개인 범위로 설치하려면 `--global`을 더해요.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex
```
-[Vercel skills CLI](https://github.com/vercel-labs/skills)가 Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf 등 지원 대상의 설치 위치를 처리합니다. **설치 호환성과 전체 영상 제작 검증은 다릅니다.** 생성 도구 연결과 이미지 보기·명령 실행 권한은 각 런타임 환경에 달려 있습니다. [런타임별 설치·호출과 검증 범위](docs/runtimes.md)를 참고합니다.
+[Vercel skills CLI](https://github.com/vercel-labs/skills)가 Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf 등의 설치 위치를 처리해요. 엔진은 스킬 폴더 안에 있어서 함께 설치돼요. **설치 호환성과 전체 영상 제작 검증은 달라요.** [런타임별 설치·호출과 검증 범위](docs/runtimes.md)를 참고해요.
<details>
<summary><strong>수동 설치 (Node.js 없이)</strong></summary>
-Codex는 프로젝트 `.agents/skills/`와 개인 `~/.agents/skills/`에서 스킬을 읽습니다. 아래는 개인 설치 예시입니다.
+Codex는 프로젝트 `.agents/skills/`와 개인 `~/.agents/skills/`에서 스킬을 읽어요. 아래는 개인 설치 예시예요.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -42,7 +61,7 @@ mkdir -p ~/.agents/skills
cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/
```
-Claude Code는 프로젝트 `.claude/skills/`와 개인 `~/.claude/skills/`에서 스킬을 읽습니다. 기존 설치 명령도 계속 사용할 수 있습니다.
+Claude Code는 프로젝트 `.claude/skills/`와 개인 `~/.claude/skills/`에서 스킬을 읽어요.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -50,114 +69,168 @@ mkdir -p ~/.claude/skills
cp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/
```
-특정 프로젝트에서만 쓰려면 해당 프로젝트의 런타임별 스킬 폴더 아래에 같은 폴더를 복사합니다. 한 런타임에 같은 이름을 여러 경로로 중복 설치하지 않습니다.
+한 프로젝트에서만 쓰려면 그 프로젝트의 런타임별 스킬 폴더에 같은 폴더를 복사해요. 한 런타임에 같은 이름을 여러 경로로 중복 설치하지 않아요.
</details>
### 첫 요청
-설치한 뒤 런타임의 스킬 목록에서 `motion-video-production`을 확인합니다. 보이지 않으면 런타임을 새로 시작합니다. Codex에서는 `$motion-video-production`, Claude Code와 Cursor에서는 `/motion-video-production`으로 명시적으로 호출하거나 아래처럼 요청합니다.
+설치한 뒤 런타임의 스킬 목록에서 `motion-video-production`을 확인해요. 보이지 않으면 런타임을 새로 시작해요. Codex에서는 `$motion-video-production`, Claude Code와 Cursor에서는 `/motion-video-production`으로 부르거나 아래처럼 요청해요.
+
+> 이 레퍼런스 영상 느낌으로 20초짜리 홍보 영상을 만들고 싶어.
+
+에이전트가 먼저 6가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소, 레퍼런스 영상, 엔진)를 묻고 단계 순서대로 진행해요. 생성 도구가 없으면 프롬프트를 건네고, 사용자가 만든 파일을 받아 이어가요.
+
+## 들어 있는 것
+
+| 무엇 | 하는 일 | 위치 |
+|---|---|---|
+| Remotion 엔진 | 버전이 고정된 렌더 파이프라인, 모션 모듈, 데모 | `engines/remotion/` |
+| carry 검사 | 컷 전환마다 화면 요소가 이어지는지를 렌더 전에 숫자로 재요 | `pipeline/carry.ts`, `probe.mjs` |
+| wordcut 템플릿 | 단어 하나를 한 자리에 두고 여러 장면이 넘겨받는 영상. `data.ts`만 바꿔요 | `productions/wordcut/` |
+| 질감 맞추기 | 레퍼런스의 대비·색·그레인·심도에 렌즈 값을 맞춰요 | `look-fit.mjs` |
+| 목소리와 음악 | composio CLI로 ElevenLabs·Fish Audio 목소리, 타이밍에 맞춘 절차적 스코어 | `vo.mjs`, `score.mjs` |
+| HyperFrames 엔진 | HTML/CSS 페이지를 GSAP으로 움직여 mp4로 렌더해요 | `engines/hyperframes/` |
+| 레퍼런스 분석 | 레퍼런스 영상을 OpenCV로 분해해 목표값을 만들어요 | `scripts/ref-analyze.py` |
-> 캐릭터가 나오는 30초짜리 오프닝 영상을 만들고 싶어.
+엔진은 바꿔 끼울 수 있어요. carry와 wordcut이 필요하면 Remotion, 재료가 웹페이지라면 HyperFrames가 맞아요. 비교는 [`references/engines.md`](skills/motion-video-production/references/engines.md)에 있어요.
-에이전트가 먼저 4가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소)를 묻고, `STORY.md`부터 단계 순서대로 진행합니다. 생성 도구가 없으면 프롬프트를 전달하고 사용자가 생성한 파일을 받아 이어갑니다. 이미지를 볼 수 없으면 사용자의 실제 눈 검수를 요청합니다.
+## 레퍼런스 분석
+
+<img src="docs/assets/ref-pipeline.png" width="480" alt="레퍼런스 분석 파이프라인">
+
+"이 영상처럼"이 가리키는 건 보통 질감보다 움직임과 편집이에요. 0단계에서 레퍼런스를 OpenCV로 분해해 컷과 홀드, 광학 흐름, 블러, 심도, 그레인, 질감을 숫자로 남겨요. 계획은 그 숫자를 인용해요. 렌더한 뒤에는 같은 분석으로 결과를 재고, `gate.py ref`가 지표마다 목표와 차이를 적고 범위를 벗어나면 막아요.
+
+엔진 폴더가 아니라 프로젝트 폴더에서 실행해요. `SKILL_ROOT`는 빠른 시작과 같게 정해요.
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
+PROJECT_ROOT="$PWD" # reference.mp4와 ref/를 둘 산출물 폴더
+python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
+mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # 빈칸(<...>)은 분석을 보고 채워요
+python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 -o ref/analysis.json --targets ref/targets.json
+python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
+```
+
+움직임은 1/30초당 값으로 재서 fps가 달라도 비교돼요. 레퍼런스 파일은 커밋하지 않고 숫자만 남겨요. 지표 설명과 실제 예시는 [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md)에 있어요.
## 사용 흐름
-![제작 6단계와 단계별 게이트](docs/assets/workflow.png)
+<img src="docs/assets/workflow-ref.png" width="480" alt="제작 단계와 단계별 게이트">
-1. 스킬이 단계 산출물을 만듭니다 (`STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
-2. 설치된 `SKILL.md`의 부모 폴더를 `SKILL_ROOT`, 산출물 폴더를 `PROJECT_ROOT`로 정하고, 단계가 끝나면 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`를 실행합니다.
-3. 종료 코드 0이면 다음 단계로 넘어갑니다. 1(BLOCK)이면 `qa/gate-<단계>.txt`의 BLOCK 줄을 읽고 산출물을 고쳐 같은 게이트를 다시 실행합니다.
-4. 눈으로 봐야 하는 검사는 스크립트가 판정할 수 없습니다. 프레임 스트립을 보고 남긴 기록 파일(`qa/clips-review.md`, `qa/review.md`)이 있어야 통과합니다.
+1. 스킬이 단계 산출물을 만들어요 (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
+2. 설치된 `SKILL.md`의 부모 폴더를 `SKILL_ROOT`, 산출물 폴더를 `PROJECT_ROOT`로 정하고, 단계가 끝나면 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`를 실행해요.
+3. 종료 코드 0이면 다음 단계로 가요. 1(BLOCK)이면 `qa/gate-<단계>.txt`의 BLOCK 줄을 읽고 고친 뒤 같은 게이트를 다시 실행해요.
+4. 눈으로 봐야 하는 검사는 스크립트가 판정하지 못해요. 프레임을 보고 남긴 기록(`qa/clips-review.md`, `qa/review.md`)이 있어야 통과해요.
-### 게이트 실행 예시
+시작 화면이 같아도 1초 뒤에 인물이 달라질 수 있어요(G01). `gate clips`가 클립마다 `qa/strip-<클립>.png`를 만들어요.
-`gate.py clips` 실행 예시입니다. 눈 검수 기록이 없어서 BLOCK(종료 코드 1)이 나오고, 기록을 남기면 PASS(종료 코드 0)가 됩니다. 기록은 프레임 스트립 이미지(`qa/strip-<클립>.png`)를 연 뒤에 씁니다.
+![인물 변화가 보이는 프레임 스트립](docs/assets/strip.png)
+
+`gate.py clips` 실행 예시예요. 눈 검수 기록이 없어서 BLOCK(종료 코드 1)이 나오고, 기록을 남기면 PASS(종료 코드 0)가 돼요.
![gate clips 실행: BLOCK, 눈 검수 기록, PASS](docs/assets/gate-demo.gif)
## 하네스
-![게이트 동작: 자동 측정, 눈으로 확인, 기록 파일](docs/assets/harness.png)
+<img src="docs/assets/harness.png" width="480" alt="게이트 동작: 자동 측정, 눈으로 확인, 기록 파일">
| 제작 단계 | 게이트 | 하는 검사 |
|---|---|---|
-| 1. 스토리·장면 기획 | `story` | 빈칸, BPM, 음악 싱크 지점 표(시간이 숫자인지), 장면 표 |
-| 2. 캐릭터 시트 | `character` | `character.txt`가 1개 문단 평문인지, 색 표현, 시트 이미지 |
+| 0. 레퍼런스 분석 | `ref` | 계획 전: ANALYSIS.md 빈칸, targets.json 형식. 렌더 후: 지표마다 목표와 비교 |
+| 1. 스토리·장면 기획 | `story` | 빈칸, BPM, 음악 싱크 지점 표, 장면 표 |
+| 2. 캐릭터 시트 | `character` | `character.txt`가 1개 문단인지, 색 표현, 시트 이미지 |
| 3. 키프레임 | `keyframes` | 중복 파일, 클립과의 화면비 |
-| 4. 영상 변환 | `clips` | 길이, 프레임 수, 시작 화면 일치, 프레임 스트립 생성, 클립별 판정 기록 |
+| 4. 영상 변환 | `clips` | 길이, 프레임 수, 시작 화면 일치, 프레임 스트립, 클립별 판정 기록 |
| 5. 음악·목소리 | `audio` | 음성 ID 1개, 대사 파일 |
| 6. 조립 | `edit`, `final` | 박 격자, 컷 연결, 반복 컷, 대사 길이, 프레임 수, 오디오, 라우드니스, true peak, 검수 기록 |
-### 프레임 스트립
+게이트는 엔진 내부가 아니라 산출물 파일과 완성된 mp4만 읽어요. 그래서 어느 엔진으로 만들었든 같은 기준이에요.
-시작 화면이 키프레임과 같아도 1~2초 뒤에 인물이 달라지는 클립이 있습니다. `gate clips`가 클립마다 키프레임, 0, 1.0, 1.5, 2.0, 3.0초를 한 줄에 놓은 이미지를 만듭니다.
+SSIM 같은 유사도 값은 인물의 움직임과 변형을 구분하지 못해요(`gotchas.md` G02). 게이트는 시작 화면 일치만 숫자로 판정하고, 뒤쪽 프레임은 사람이 프레임 스트립을 보고 기록하게 해요.
-![프레임 스트립 예시](docs/assets/strip.png)
+저장소 폴더에서 `bash skills/motion-video-production/harness/selftest.sh`를 실행해요. 설치된 사본은 `bash "$SKILL_ROOT/harness/selftest.sh"`로 점검해요. 종료 코드 0이면 이 컴퓨터에서 검사 사례가 기대대로 동작해요.
-SSIM 같은 화면 유사도 값은 인물의 움직임과 인물의 변형을 구분하지 못합니다(`gotchas.md` G02). 게이트는 시작 화면 일치만 숫자로 판정하고, 뒤쪽 프레임은 사람이 보고 기록하게 합니다.
+## 캐릭터 일관성 7가지
-### 하네스 점검
+장면이 바뀌어도 얼굴과 목소리를 같게 지키는 기준 7가지예요. 어느 제작 단계에서 적용하는지는 아래 그림과 [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md)에 있어요.
-저장소 폴더에서 `bash skills/motion-video-production/harness/selftest.sh`를 실행합니다. 설치된 사본을 점검하려면 `bash "$SKILL_ROOT/harness/selftest.sh"`를 실행합니다. 종료 코드 0이면 이 컴퓨터에서 셀프테스트의 검사 사례가 기대대로 동작합니다. (Bash, ffmpeg, ffprobe, Python 3 필요)
+<img src="docs/assets/seams.png" width="480" alt="일관성 7가지가 놓이는 자리">
-## 캐릭터 일관성 7가지
+## 자주 겪는 함정
-장면이 바뀌어도 얼굴과 목소리를 같게 유지하는 7가지 기준(캐릭터 시트, 외형 고정문, 키프레임 시작 화면, 목소리 고정, 대사와 입 모양, 음악 박자, 품질 검수)이 제작 6단계의 어느 이음새에 놓이는지는 아래 그림과 `skills/motion-video-production/references/consistency-7.md`에 있습니다.
+전체 29가지는 [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md)에 증상, 원인, 예방, 검사 ID로 정리돼 있어요. 엔진 쪽 함정은 [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md)에 있어요. 자주 부딪히는 것:
-![일관성 7가지가 놓이는 자리](docs/assets/seams.png)
+- 컷 길이는 박의 배수로 정하고, 시작 프레임은 누적 시간에서 한 번만 반올림해요. (G11, G12)
+- 대사 길이를 먼저 재고 컷 길이를 정해요. (G13)
+- `검사 | tail`처럼 자르면 종료 코드가 사라져요. (G21)
+- 아무것도 살아남지 않는 매끄러운 장면 전환도 carry 0.00이에요. 요소 하나를 컷 전환 너머로 옮겨요.
-## Gotchas
+## 참고 문서
-전체 29가지는 [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md)에 증상, 원인, 예방, 하네스 검사 ID로 정리되어 있습니다. 자주 부딪히는 것:
+설치된 스킬 폴더 안에 함께 들어 있어요. 에이전트가 단계마다 필요한 문서를 읽어요.
-- 클립은 시작 화면이 같아도 1~2초 뒤에 옷, 안경, 머리가 바뀝니다. (G01)
-- 컷 길이는 초가 아니라 박의 배수로 정하고, 시작 프레임은 누적 시간에서 한 번만 반올림합니다. (G11, G12)
-- 대사 길이를 먼저 재고 컷 길이를 정합니다. (G13)
-- `검사 | tail`처럼 파이프로 자르면 종료 코드가 사라집니다. (G21)
-- ICC 프로파일이 붙은 영상에서 `ffprobe -of csv=p=0`은 프레임 수를 `30,`처럼 출력합니다. `-of default=nw=1:nk=1`을 씁니다. (G27)
-- ffmpeg에서 `adelay` 뒤에 `apad`, `atrim`을 쓰면 지연이 사라집니다. `asetpts=N/SR/TB`가 필요합니다. (G26)
+| 문서 | 내용 |
+|---|---|
+| [`SKILL.md`](skills/motion-video-production/SKILL.md) | 스킬 본문. 단계 순서, 처음 묻는 6가지, 게이트 호출 |
+| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | 레퍼런스 분석 지표와 목표값 만들기 |
+| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion과 HyperFrames 비교, 엔진별 명령 |
+| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | carry, 모션 어휘, 스타일 고정 |
+| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | 편집·카메라·질감 용어(한국어·영어) |
+| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | BPM에서 컷 길이 계산 |
+| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | 캐릭터 일관성 7가지 |
+| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | 브랜드 소개 영상과 홈페이지 한 장 만들기 |
+| [`references/providers.md`](skills/motion-video-production/references/providers.md) | 이미지·영상·목소리 도구 사용 메모 |
+| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | 무료 먼저, 유료는 필요한 곳만 |
+| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | 자주 겪는 함정과 실수 |
+| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | 외부 도구 라이선스와 확인 날짜 |
+| [`templates/`](skills/motion-video-production/templates/) | STORY.md, ANALYSIS.md, BEATSHEET.md 등 단계 산출물 서식 |
## 필요한 도구
-무료 범위와 상업 이용 조건은 `NOTICE.md` 요약과 `skills/motion-video-production/references/licensing.md`(2026-10-02 확인, 출처 URL 포함)에 있습니다. 요금과 약관은 자주 바뀌므로 작업 직전에 다시 확인합니다.
+무료 범위와 상업 이용 조건은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)(출처 URL 포함)에 있어요. Remotion은 직원 4명 이상 영리 조직에 Company License가 필요하고, HyperFrames는 Apache-2.0이에요. 약관은 자주 바뀌니 작업 직전에 다시 확인해요.
| 도구 | 용도 |
|---|---|
| Codex, Claude Code 등 스킬 지원 에이전트 | 제작 진행·조립 |
-| ffmpeg, ffprobe, Python 3 | 하네스·스크립트 실행 |
-| Bash (macOS/Linux, Windows는 WSL) | `.sh` 스크립트 실행 |
-| Node.js + Remotion | 모션 그래픽·조립 |
+| ffmpeg, ffprobe, Python 3, Bash | 하네스·스크립트 실행 (Windows는 WSL) |
+| Node.js 24 이상 | 엔진 (Remotion 4.0.529, HyperFrames 0.8.143, 버전 고정) |
+| OpenCV, numpy (`scripts/requirements-ref.txt`) | 레퍼런스 분석 |
| ChatGPT / Grok Imagine | 이미지·영상 생성 |
-| Suno | 음악 |
-| ElevenLabs, Fish Audio | 목소리 |
-| whisper | 받아쓰기 검수 (`verify.sh`의 받아쓰기 연동은 미검증) |
+| ElevenLabs, Fish Audio (composio CLI) | 목소리 |
+| whisper | 받아쓰기 검수 |
+
+## 알려진 한계
+
+- **carry 검사는 Remotion 전용이에요.** 렌더 전에 선언한 상자(`track.ts`)를 읽기 때문이에요. HyperFrames 렌더는 `verify.sh`, `gate.py final`, `gate.py ref`로 mp4에서 재요. mp4에서 carry를 재는 방식은 아직 없어요.
+- **wordcut 데모는 조정 전 첫 렌더예요.** 레퍼런스 목표와 비교하면 `gate.py ref`가 12개 지표 중 10개에서 막아요. 그레인, 선명도 비, 대비가 특히 멀어요. `look-fit.mjs`와 `plan.mjs`를 다시 돌려 맞추는 과정이 이 스킬의 사용법이에요.
+- **마무리 이미지를 켜면 carry 점수가 0.00(FAIL)이에요.** 세지는 경계가 이미지가 페이지를 덮는 경계 하나뿐이고, 이 경계는 아무것도 넘어가지 않는 경계로 세지기 때문이에요. 다른 경계는 선언한 컷이라 면제돼요. 이 경계를 carry로 바꿔야 FAIL을 벗어나요.
+- **GSAP 라이선스 조항 전문은 확인하지 못했어요.** HyperFrames 데모가 쓰는 GSAP 3.14.2는 README에 상업 이용도 무료라고 적혀 있어요. 상업용 영상을 공개하기 전에 https://gsap.com/standard-license 를 확인해요.
## 저장소 구조
```
-README.md
-README.en.md 영문 README
-LICENSE MIT
-NOTICE.md 외부 도구 안내 요약
-docs/assets/ README 이미지
-docs/runtimes.md 런타임별 설치·호출과 검증 범위
-skills/motion-video-production/ 설치하는 스킬 폴더 (아래 전체가 함께 복사됩니다)
+README.md, README.en.md 한국어·영문 README
+NOTICE.md, LICENSE 외부 도구 안내, MIT
+docs/ README 이미지(그림 원본 SVG 포함), 런타임별 설치·검증 범위
+skills/motion-video-production/ 설치하는 스킬 폴더 (아래 전체가 함께 복사돼요)
SKILL.md 스킬 본문
- agents/openai.yaml Codex 표시 이름·호출 예시
- references/ 일관성 7가지, 박 격자, 비용 규칙, 도구 메모, gotchas, licensing(외부 도구 이용 조건)
- harness/ gate.py(단계별 통과 여부 판정), selftest.sh(하네스 자체 검증)
- scripts/ dupcheck.py, clipsheet.sh, key-plate.sh, mix-mux.sh, verify.sh, beat-grid.py
- templates/ STORY.md, CHARACTER_SHEET.md, PROMPTS.md, SCENE_AUDIT.md
+ references/ 레퍼런스 분석, 엔진, 아트 디렉션, 일관성, 박 격자, 도구 메모, gotchas, licensing
+ harness/ gate.py(단계별 판정), selftest.sh(하네스 자체 검증)
+ scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh 외
+ templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md 외
+ engines/remotion/ carry 데모, wordcut 템플릿, 렌더·목소리·스코어 파이프라인
+ engines/hyperframes/ HTML/GSAP carry 데모
```
-Remotion 컴포지션 코드는 이 저장소에 포함되어 있지 않습니다. Remotion을 직접 설치해 사용합니다.
+## 검증 범위
+
+2026-10-25에 커밋한 트리를 그대로 꺼내 설치하고 확인했어요. 스킬 파일 76개가 모두 설치됐어요. 엔진 `npm ci`, 타입 검사, 테스트 13개, carry 검사, selftest가 통과했어요. 두 엔진의 렌더를 `verify.sh`와 `gate.py ref`로 쟀고, HyperFrames 렌더는 `gate.py final`을 통과했어요. 외부 생성, 목소리 크레딧, 오디오 청취, 다른 일곱 런타임 안에서의 호출은 확인하지 않았어요. 자세한 내용은 [docs/runtimes.md](docs/runtimes.md)에 있어요.
## 만든 곳
-이 스킬은 [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill)를 만드는 팀이 영상 제작 과정에서 쌓은 점검 기준을 정리한 것입니다. 스토리에서 영상까지 브라우저에서 바로 만들어 보고 싶다면 SceneSteller를 사용해 보세요.
+이 스킬은 [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill)를 만드는 팀이 영상 제작 과정에서 쌓은 점검 기준을 정리한 것이에요. 스토리에서 영상까지 브라우저에서 바로 만들어 보고 싶다면 SceneSteller를 써 보세요.
## 책임 범위
-생성물의 권리와 책임은 `NOTICE.md`와 `skills/motion-video-production/references/licensing.md`에 있습니다.
+생성물의 권리와 책임은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)에 있어요.
diff --git a/docs/assets/README.md b/docs/assets/README.md
new file mode 100644
index 0000000..f11c37b
--- /dev/null
+++ b/docs/assets/README.md
@@ -0,0 +1,26 @@
+# README assets
+
+## Editable diagrams
+
+`ref-pipeline`, `workflow-ref`, `harness`, `seams`, and `strip` each have Korean (`.svg`) and English (`.en.svg`) sources. The paired layouts match. The four vertical diagrams retain the type, colors, grid, and arrow style from `d8b8b44`. Orange marks gate names and BLOCK messages only. Both READMEs display the four vertical diagrams at 480 pixels wide. Reference-flow steps are unnumbered; workflow stages use 0–6. The harness table owns the gate-name column, and the consistency map shows only stages with applicable criteria.
+
+Export at 2x with librsvg, from the repository root:
+
+```bash
+for name in ref-pipeline workflow-ref harness seams strip; do
+ for lang in '' .en; do
+ rsvg-convert --zoom 2 "docs/assets/$name$lang.svg" -o "docs/assets/$name$lang.png"
+ done
+done
+```
+
+Fonts: Noto Sans KR (fallback: Apple SD Gothic Neo) and IBM Plex Mono (fallback: SFMono-Regular). Font availability can change text metrics; inspect both language exports after editing.
+
+## Result and frame-strip sources
+
+- `carry-demo.gif` is the five-second quick-start render at 15 fps and 720 pixels wide, looping without audio. Export from the copied Remotion engine: `ffmpeg -i renders/carry-demo/picture.mp4 -vf "fps=15,scale=720:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 carry-demo.gif`, then copy it here. Both READMEs embed this moving result.
+- `carry-demo.png` remains the quick-start result contact sheet: the existing carry-demo stills at 1.5 and 3.0 seconds, scaled to 480×270 and placed left to right. The demo's Korean typography is real rendered content, not a translated diagram. It is five seconds long and the quick start adds music, not voice.
+- To reproduce it, run the README's `node pipeline/render.mjs carry-demo --stills 1.5 3.0` in the copied Remotion engine, then copy `renders/carry-demo/contact.png` here as `carry-demo.png`.
+- `strip-frames.png` preserves only the six image tiles from the previous `strip.png` at `cd1e75b`. Crop: 3036×280 at (82, 180), resized to 1518×140. No new character footage was generated. The strip is a QA example, not the quick-start result.
+- `strip.svg` and `strip.en.svg` crop six separate tiles from that shared image. Keep it beside them when exporting. Both PNGs are 1600×420; labels are 36 pixels in the export (18 pixels at an 800-pixel README width). A 32-pixel gap after the keyframe becomes 16 pixels at that display width. The explanatory caption lives only in the README, not the image.
+- `gate-demo.gif` is unchanged real gate output in Korean. Both READMEs keep it next to the strip; the English caption identifies the output language.
diff --git a/docs/assets/carry-demo.gif b/docs/assets/carry-demo.gif
new file mode 100644
index 0000000..63a1fd5
Binary files /dev/null and b/docs/assets/carry-demo.gif differ
diff --git a/docs/assets/carry-demo.png b/docs/assets/carry-demo.png
new file mode 100644
index 0000000..84e4c04
Binary files /dev/null and b/docs/assets/carry-demo.png differ
diff --git a/docs/assets/harness.en.png b/docs/assets/harness.en.png
new file mode 100644
index 0000000..cbbf660
Binary files /dev/null and b/docs/assets/harness.en.png differ
diff --git a/docs/assets/harness.en.svg b/docs/assets/harness.en.svg
new file mode 100644
index 0000000..93c5ae5
--- /dev/null
+++ b/docs/assets/harness.en.svg
@@ -0,0 +1,37 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="788" viewBox="0 0 720 788" role="img" aria-labelledby="harness-title harness-desc">
+ <title id="harness-title">How gates work</title>
+ <desc id="harness-desc">Gates combine automated measurement and human review records, returning exit code 0 or 1. Each check leaves its own record; these are not sequential steps.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="788" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">How gates work</text>
+ <text x="40" y="112" class="muted">Measurement + human review + records</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="40" y="190" class="label">AUTOMATED MEASUREMENT</text>
+ <text x="64" y="232">ffprobe · ffmpeg · start-frame SSIM</text>
+ <text x="64" y="270" class="mono accent">gate.py &lt;stage&gt; &lt;folder&gt;</text>
+ <path d="M40 300H680" class="rule"/>
+ <text x="40" y="338" class="label">VISUAL REVIEW</text>
+ <text x="64" y="380">Compare clothes, glasses, and hair in the strips.</text>
+ <path d="M40 412H680" class="rule"/>
+ <text x="40" y="450" class="label">RECORD FILES (ONE PER CHECK)</text>
+ <text x="64" y="492" class="mono">qa/gate-&lt;stage&gt;.txt</text>
+ <text x="64" y="530" class="mono">qa/clips-review.md · qa/review.md</text>
+ <rect x="40" y="568" width="640" height="180" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
+ <text x="64" y="610" class="heading">Exit code</text>
+ <text x="64" y="650">0 = PASS · 1 = BLOCK</text>
+ <text x="64" y="690" class="muted">clips / final also require a visual review record.</text>
+ <text x="64" y="726" class="accent">A BLOCK must be fixed before proceeding.</text>
+</svg>
diff --git a/docs/assets/harness.png b/docs/assets/harness.png
index 70ba6c5..474f23f 100644
Binary files a/docs/assets/harness.png and b/docs/assets/harness.png differ
diff --git a/docs/assets/harness.svg b/docs/assets/harness.svg
new file mode 100644
index 0000000..f8319ec
--- /dev/null
+++ b/docs/assets/harness.svg
@@ -0,0 +1,37 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="788" viewBox="0 0 720 788" role="img" aria-labelledby="harness-title harness-desc">
+ <title id="harness-title">게이트가 동작하는 방식</title>
+ <desc id="harness-desc">자동 측정과 눈 검수 기록을 확인하고 종료 코드 0 또는 1을 돌려줘요. 기록 파일은 순서대로 만드는 단계가 아니라 각각 남기는 산출물이에요.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="788" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">게이트가 동작하는 방식</text>
+ <text x="40" y="112" class="muted">자동 측정 + 눈 검수 + 기록 파일</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="40" y="190" class="label">자동 측정</text>
+ <text x="64" y="232">ffprobe · ffmpeg · 시작 화면 SSIM</text>
+ <text x="64" y="270" class="mono accent">gate.py &lt;단계&gt; &lt;폴더&gt;</text>
+ <path d="M40 300H680" class="rule"/>
+ <text x="40" y="338" class="label">눈으로 확인</text>
+ <text x="64" y="380">프레임 스트립에서 옷·안경·머리를 비교해요.</text>
+ <path d="M40 412H680" class="rule"/>
+ <text x="40" y="450" class="label">기록 파일 (각각 남겨요)</text>
+ <text x="64" y="492" class="mono">qa/gate-&lt;단계&gt;.txt</text>
+ <text x="64" y="530" class="mono">qa/clips-review.md · qa/review.md</text>
+ <rect x="40" y="568" width="640" height="180" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
+ <text x="64" y="610" class="heading">종료 코드</text>
+ <text x="64" y="650">0 = 통과 · 1 = BLOCK</text>
+ <text x="64" y="690" class="muted">clips · final은 눈 검수 기록도 있어야 해요.</text>
+ <text x="64" y="726" class="accent">BLOCK이면 고친 뒤 다시 실행해요.</text>
+</svg>
diff --git a/docs/assets/ref-pipeline.en.png b/docs/assets/ref-pipeline.en.png
new file mode 100644
index 0000000..e229b59
Binary files /dev/null and b/docs/assets/ref-pipeline.en.png differ
diff --git a/docs/assets/ref-pipeline.en.svg b/docs/assets/ref-pipeline.en.svg
new file mode 100644
index 0000000..91c248f
--- /dev/null
+++ b/docs/assets/ref-pipeline.en.svg
@@ -0,0 +1,65 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1444" viewBox="0 0 720 1444" role="img" aria-labelledby="ref-pipeline-title ref-pipeline-desc">
+ <title id="ref-pipeline-title">Reference analysis pipeline</title>
+ <desc id="ref-pipeline-desc">Analyze the reference, set targets, plan and render, then compare the result. The dotted arrow carries targets to the ref gate.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="1444" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">Reference analysis pipeline</text>
+ <text x="40" y="112" class="muted">Compare targets and results with the same metrics.</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="100" y="192" class="heading">Reference video</text>
+ <text x="100" y="230" class="mono">reference.mp4</text>
+ <text x="100" y="264" class="muted">Keep numbers, not the source file.</text>
+ <path d="M56 212v50" class="flow"/>
+ <path d="M40 292H680" class="rule"/>
+ <text x="100" y="332" class="heading">Analysis · ref-analyze.py</text>
+ <text x="100" y="370" class="muted">Cuts · holds · optical flow · blur</text>
+ <text x="100" y="404" class="muted">Depth bands · grain · look</text>
+ <path d="M56 352v50" class="flow"/>
+ <path d="M40 432H680" class="rule"/>
+ <text x="100" y="472" class="heading">Targets · ref/targets.json</text>
+ <text x="100" y="510" class="muted">Targets and tolerances per metric</text>
+ <text x="100" y="544" class="muted">Cited in ANALYSIS.md</text>
+ <path d="M56 492v50" class="flow"/>
+ <path d="M40 572H680" class="rule"/>
+ <text x="100" y="612" class="heading">Plan</text>
+ <text x="100" y="650" class="mono">plan.mjs · look-fit.mjs</text>
+ <text x="100" y="684" class="mono">BEATSHEET.md</text>
+ <path d="M56 632v50" class="flow"/>
+ <path d="M40 712H680" class="rule"/>
+ <text x="100" y="752" class="heading">Swappable engine</text>
+ <text x="100" y="790" class="mono">Remotion · carry</text>
+ <text x="100" y="824" class="mono">HyperFrames · HTML</text>
+ <path d="M56 772v50" class="flow"/>
+ <path d="M40 852H680" class="rule"/>
+ <text x="100" y="892" class="heading">Result · out/final.mp4</text>
+ <text x="100" y="930" class="mono">mix-mux.sh · verify.sh</text>
+ <text x="100" y="964" class="muted">Finished video with music and voice</text>
+ <path d="M56 912v50" class="flow"/>
+ <path d="M40 992H680" class="rule"/>
+ <text x="100" y="1032" class="heading">Render analysis · ref-analyze.py</text>
+ <text x="100" y="1070" class="mono">qa/render-analysis.json</text>
+ <text x="100" y="1104" class="muted">Measure with the same analyzer.</text>
+ <path d="M56 1052v50" class="flow"/>
+ <text x="674" y="512" class="label" text-anchor="end">Targets</text>
+ <path d="M680 506H704V1160H680" class="flow" stroke-dasharray="5 7"/>
+ <rect x="40" y="1132" width="640" height="184" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
+ <text x="64" y="1172" class="mono accent">gate.py ref</text>
+ <text x="64" y="1212">Compare target, measured value, and difference.</text>
+ <text x="64" y="1252">PASS · exit 0: next stage</text>
+ <text x="64" y="1290" class="accent">BLOCK · exit 1: revise the plan</text>
+ <text x="40" y="1368" class="muted">Motion per 1/30 s: compare across frame rates.</text>
+ <text x="40" y="1408" class="muted">The same criteria apply to either engine.</text>
+</svg>
diff --git a/docs/assets/ref-pipeline.png b/docs/assets/ref-pipeline.png
new file mode 100644
index 0000000..214045a
Binary files /dev/null and b/docs/assets/ref-pipeline.png differ
diff --git a/docs/assets/ref-pipeline.svg b/docs/assets/ref-pipeline.svg
new file mode 100644
index 0000000..4c823a8
--- /dev/null
+++ b/docs/assets/ref-pipeline.svg
@@ -0,0 +1,65 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1444" viewBox="0 0 720 1444" role="img" aria-labelledby="ref-pipeline-title ref-pipeline-desc">
+ <title id="ref-pipeline-title">레퍼런스 분석 파이프라인</title>
+ <desc id="ref-pipeline-desc">레퍼런스에서 목표를 정하고 계획과 엔진을 거쳐 완성본을 만들어요. 같은 지표로 분석해 비교해요. 점선은 ref 게이트에 목표값을 전달해요.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="1444" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">레퍼런스 분석 파이프라인</text>
+ <text x="40" y="112" class="muted">같은 지표로 목표와 완성본을 비교해요.</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="100" y="192" class="heading">레퍼런스 영상</text>
+ <text x="100" y="230" class="mono">reference.mp4</text>
+ <text x="100" y="264" class="muted">원본 대신 숫자만 남겨요.</text>
+ <path d="M56 212v50" class="flow"/>
+ <path d="M40 292H680" class="rule"/>
+ <text x="100" y="332" class="heading">분석 · ref-analyze.py</text>
+ <text x="100" y="370" class="muted">컷·홀드 · 광학 흐름 · 블러</text>
+ <text x="100" y="404" class="muted">심도 띠 · 그레인 · 질감</text>
+ <path d="M56 352v50" class="flow"/>
+ <path d="M40 432H680" class="rule"/>
+ <text x="100" y="472" class="heading">목표 · ref/targets.json</text>
+ <text x="100" y="510" class="muted">지표별 목표와 허용 오차</text>
+ <text x="100" y="544" class="muted">ANALYSIS.md에서 인용해요.</text>
+ <path d="M56 492v50" class="flow"/>
+ <path d="M40 572H680" class="rule"/>
+ <text x="100" y="612" class="heading">계획</text>
+ <text x="100" y="650" class="mono">plan.mjs · look-fit.mjs</text>
+ <text x="100" y="684" class="mono">BEATSHEET.md</text>
+ <path d="M56 632v50" class="flow"/>
+ <path d="M40 712H680" class="rule"/>
+ <text x="100" y="752" class="heading">바꿔 끼우는 엔진</text>
+ <text x="100" y="790" class="mono">Remotion · carry</text>
+ <text x="100" y="824" class="mono">HyperFrames · HTML</text>
+ <path d="M56 772v50" class="flow"/>
+ <path d="M40 852H680" class="rule"/>
+ <text x="100" y="892" class="heading">완성본 · out/final.mp4</text>
+ <text x="100" y="930" class="mono">mix-mux.sh · verify.sh</text>
+ <text x="100" y="964" class="muted">음악·목소리를 입힌 완성본이에요.</text>
+ <path d="M56 912v50" class="flow"/>
+ <path d="M40 992H680" class="rule"/>
+ <text x="100" y="1032" class="heading">렌더 분석 · ref-analyze.py</text>
+ <text x="100" y="1070" class="mono">qa/render-analysis.json</text>
+ <text x="100" y="1104" class="muted">레퍼런스와 같은 분석기로 재요.</text>
+ <path d="M56 1052v50" class="flow"/>
+ <text x="674" y="512" class="label" text-anchor="end">목표값</text>
+ <path d="M680 506H704V1160H680" class="flow" stroke-dasharray="5 7"/>
+ <rect x="40" y="1132" width="640" height="184" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
+ <text x="64" y="1172" class="mono accent">gate.py ref</text>
+ <text x="64" y="1212">지표마다 목표·측정값·차이를 비교해요.</text>
+ <text x="64" y="1252">PASS · exit 0: 다음 단계로 가요</text>
+ <text x="64" y="1290" class="accent">BLOCK · exit 1: 계획을 고쳐요</text>
+ <text x="40" y="1368" class="muted">움직임은 1/30초당 값으로 비교해요.</text>
+ <text x="40" y="1408" class="muted">fps나 엔진이 달라도 기준은 같아요.</text>
+</svg>
diff --git a/docs/assets/seams.en.png b/docs/assets/seams.en.png
new file mode 100644
index 0000000..1e1e75e
Binary files /dev/null and b/docs/assets/seams.en.png differ
diff --git a/docs/assets/seams.en.svg b/docs/assets/seams.en.svg
new file mode 100644
index 0000000..df27cac
--- /dev/null
+++ b/docs/assets/seams.en.svg
@@ -0,0 +1,59 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="884" viewBox="0 0 720 884" role="img" aria-labelledby="seams-title seams-desc">
+ <title id="seams-title">Where consistency checks belong</title>
+ <desc id="seams-desc">Seven consistency criteria mapped to production stages. Only applicable stages are shown; criteria 01 and 06 apply at two stages.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="884" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">Where consistency checks belong</text>
+ <text x="40" y="112" class="muted">One criterion can apply at more than one stage.</text>
+ <text x="40" y="168" class="label">STAGE</text>
+ <text x="350" y="168" class="label">APPLICABLE CRITERIA</text>
+ <path d="M40 192H680" class="rule"/>
+ <g transform="translate(0 -126)">
+ <text x="40" y="358" class="mono muted">2</text>
+ <text x="100" y="358" class="heading">Character sheet</text>
+ <text x="100" y="396" class="muted">PNG</text>
+ <text x="350" y="358">Criterion 01 · Sheet</text>
+ <path d="M56 376v50" class="flow"/>
+ <path d="M40 444H680" class="rule"/>
+ <text x="40" y="484" class="mono muted">3</text>
+ <text x="100" y="484" class="heading">Keyframes</text>
+ <text x="100" y="522" class="muted">One per scene</text>
+ <text x="350" y="484">Criterion 01 · Sheet</text>
+ <text x="350" y="520">Criterion 02 · Look text</text>
+ <path d="M56 502v50" class="flow"/>
+ <path d="M40 570H680" class="rule"/>
+ <text x="40" y="610" class="mono muted">4</text>
+ <text x="100" y="610" class="heading">Video clips</text>
+ <text x="100" y="648" class="muted">Clips</text>
+ <text x="350" y="610">Criterion 03 · Start frame</text>
+ <path d="M56 628v50" class="flow"/>
+ <path d="M40 696H680" class="rule"/>
+ <text x="40" y="736" class="mono muted">5</text>
+ <text x="100" y="736" class="heading">Music and voice</text>
+ <text x="100" y="774" class="muted">BPM · voice ID</text>
+ <text x="350" y="736">Criterion 04 · Voice ID</text>
+ <text x="350" y="772">Criterion 06 · Music beats</text>
+ <path d="M56 754v50" class="flow"/>
+ <path d="M40 822H680" class="rule"/>
+ <text x="40" y="862" class="mono muted">6</text>
+ <text x="100" y="862" class="heading">Assembly</text>
+ <text x="100" y="900" class="muted">Either engine</text>
+ <text x="350" y="862">Criterion 05 · Lip timing</text>
+ <text x="350" y="898">Criterion 06 · Music beats</text>
+ <text x="350" y="934">Criterion 07 · Review</text>
+ <path d="M40 970H680" class="rule"/>
+ </g>
+</svg>
diff --git a/docs/assets/seams.png b/docs/assets/seams.png
index 5e5e9ae..eff97c5 100644
Binary files a/docs/assets/seams.png and b/docs/assets/seams.png differ
diff --git a/docs/assets/seams.svg b/docs/assets/seams.svg
new file mode 100644
index 0000000..b762c7f
--- /dev/null
+++ b/docs/assets/seams.svg
@@ -0,0 +1,59 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="884" viewBox="0 0 720 884" role="img" aria-labelledby="seams-title seams-desc">
+ <title id="seams-title">일관성 7가지가 놓이는 자리</title>
+ <desc id="seams-desc">제작 단계별로 걸리는 일관성 기준이에요. 기준이 있는 단계만 보여요. 기준 01과 06은 두 단계에 걸려요.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="884" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">일관성 7가지가 놓이는 자리</text>
+ <text x="40" y="112" class="muted">같은 기준이 두 단계에 놓일 수 있어요.</text>
+ <text x="40" y="168" class="label">제작 단계</text>
+ <text x="350" y="168" class="label">걸리는 기준</text>
+ <path d="M40 192H680" class="rule"/>
+ <g transform="translate(0 -126)">
+ <text x="40" y="358" class="mono muted">2</text>
+ <text x="100" y="358" class="heading">캐릭터 시트</text>
+ <text x="100" y="396" class="muted">PNG</text>
+ <text x="350" y="358">기준 01 · 캐릭터 시트</text>
+ <path d="M56 376v50" class="flow"/>
+ <path d="M40 444H680" class="rule"/>
+ <text x="40" y="484" class="mono muted">3</text>
+ <text x="100" y="484" class="heading">키프레임</text>
+ <text x="100" y="522" class="muted">장면당 1장</text>
+ <text x="350" y="484">기준 01 · 캐릭터 시트</text>
+ <text x="350" y="520">기준 02 · 외형 고정문</text>
+ <path d="M56 502v50" class="flow"/>
+ <path d="M40 570H680" class="rule"/>
+ <text x="40" y="610" class="mono muted">4</text>
+ <text x="100" y="610" class="heading">영상 변환</text>
+ <text x="100" y="648" class="muted">클립</text>
+ <text x="350" y="610">기준 03 · 시작 화면</text>
+ <path d="M56 628v50" class="flow"/>
+ <path d="M40 696H680" class="rule"/>
+ <text x="40" y="736" class="mono muted">5</text>
+ <text x="100" y="736" class="heading">음악·목소리</text>
+ <text x="100" y="774" class="muted">BPM · 음성 ID</text>
+ <text x="350" y="736">기준 04 · 목소리 고정</text>
+ <text x="350" y="772">기준 06 · 음악 박자</text>
+ <path d="M56 754v50" class="flow"/>
+ <path d="M40 822H680" class="rule"/>
+ <text x="40" y="862" class="mono muted">6</text>
+ <text x="100" y="862" class="heading">조립</text>
+ <text x="100" y="900" class="muted">엔진 공통</text>
+ <text x="350" y="862">기준 05 · 대사·입 모양</text>
+ <text x="350" y="898">기준 06 · 음악 박자</text>
+ <text x="350" y="934">기준 07 · 품질 검수</text>
+ <path d="M40 970H680" class="rule"/>
+ </g>
+</svg>
diff --git a/docs/assets/strip-frames.png b/docs/assets/strip-frames.png
new file mode 100644
index 0000000..56f2119
Binary files /dev/null and b/docs/assets/strip-frames.png differ
diff --git a/docs/assets/strip.en.png b/docs/assets/strip.en.png
new file mode 100644
index 0000000..b3cee2e
Binary files /dev/null and b/docs/assets/strip.en.png differ
diff --git a/docs/assets/strip.en.svg b/docs/assets/strip.en.svg
new file mode 100644
index 0000000..4a27fa5
--- /dev/null
+++ b/docs/assets/strip.en.svg
@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="210" viewBox="0 0 800 210" role="img" aria-labelledby="strip-title strip-desc">
+ <title id="strip-title">Frame strip</title>
+ <desc id="strip-desc">Compare the keyframe with five clip frames to spot character drift.</desc>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 18px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .label { fill: #626860; }
+ </style>
+ <rect width="800" height="210" fill="#FFFFFF"/>
+ <text x="20" y="54" class="title">Frame strip</text>
+ <svg x="20" y="88" width="120" height="66.4" viewBox="0 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="80" y="185" class="label" text-anchor="middle">Key</text>
+ <svg x="156" y="88" width="120" height="66.4" viewBox="253 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="216" y="185" class="label" text-anchor="middle">0 s</text>
+ <svg x="282" y="88" width="120" height="66.4" viewBox="506 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="342" y="185" class="label" text-anchor="middle">1.0 s</text>
+ <svg x="408" y="88" width="120" height="66.4" viewBox="759 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="468" y="185" class="label" text-anchor="middle">1.5 s</text>
+ <svg x="534" y="88" width="120" height="66.4" viewBox="1012 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="594" y="185" class="label" text-anchor="middle">2.0 s</text>
+ <svg x="660" y="88" width="120" height="66.4" viewBox="1265 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="720" y="185" class="label" text-anchor="middle">3.0 s</text>
+</svg>
diff --git a/docs/assets/strip.png b/docs/assets/strip.png
index 629d390..34d899a 100644
Binary files a/docs/assets/strip.png and b/docs/assets/strip.png differ
diff --git a/docs/assets/strip.svg b/docs/assets/strip.svg
new file mode 100644
index 0000000..9e4111e
--- /dev/null
+++ b/docs/assets/strip.svg
@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="210" viewBox="0 0 800 210" role="img" aria-labelledby="strip-title strip-desc">
+ <title id="strip-title">프레임 스트립</title>
+ <desc id="strip-desc">키프레임과 클립의 다섯 화면을 비교해 인물 변화를 찾아요.</desc>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 18px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .label { fill: #626860; }
+ </style>
+ <rect width="800" height="210" fill="#FFFFFF"/>
+ <text x="20" y="54" class="title">프레임 스트립</text>
+ <svg x="20" y="88" width="120" height="66.4" viewBox="0 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="80" y="185" class="label" text-anchor="middle">키프레임</text>
+ <svg x="156" y="88" width="120" height="66.4" viewBox="253 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="216" y="185" class="label" text-anchor="middle">0초</text>
+ <svg x="282" y="88" width="120" height="66.4" viewBox="506 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="342" y="185" class="label" text-anchor="middle">1.0초</text>
+ <svg x="408" y="88" width="120" height="66.4" viewBox="759 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="468" y="185" class="label" text-anchor="middle">1.5초</text>
+ <svg x="534" y="88" width="120" height="66.4" viewBox="1012 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="594" y="185" class="label" text-anchor="middle">2.0초</text>
+ <svg x="660" y="88" width="120" height="66.4" viewBox="1265 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
+ <text x="720" y="185" class="label" text-anchor="middle">3.0초</text>
+</svg>
diff --git a/docs/assets/workflow-ref.en.png b/docs/assets/workflow-ref.en.png
new file mode 100644
index 0000000..4608fc3
Binary files /dev/null and b/docs/assets/workflow-ref.en.png differ
diff --git a/docs/assets/workflow-ref.en.svg b/docs/assets/workflow-ref.en.svg
new file mode 100644
index 0000000..2c67968
--- /dev/null
+++ b/docs/assets/workflow-ref.en.svg
@@ -0,0 +1,68 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1324" viewBox="0 0 720 1324" role="img" aria-labelledby="workflow-ref-title workflow-ref-desc">
+ <title id="workflow-ref-title">Production stages and gates</title>
+ <desc id="workflow-ref-desc">Seven stages from reference analysis to assembly. Check outputs at each gate; fix a BLOCK before proceeding.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="1324" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">Production stages and gates</text>
+ <text x="40" y="112" class="muted">Make it, check it, then move on.</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="40" y="192" class="mono muted">0</text>
+ <text x="100" y="192" class="heading">Reference analysis</text>
+ <text x="100" y="228" class="muted">OpenCV</text>
+ <text x="100" y="262" class="mono">ref/ANALYSIS.md</text>
+ <text x="100" y="294" class="mono">ref/targets.json</text>
+ <path d="M56 212v50" class="flow"/>
+ <path d="M40 316H680" class="rule"/>
+ <text x="40" y="356" class="mono muted">1</text>
+ <text x="100" y="356" class="heading">Story and scenes</text>
+ <text x="100" y="392" class="muted">Agent</text>
+ <text x="100" y="426" class="mono">STORY.md</text>
+ <path d="M56 376v50" class="flow"/>
+ <path d="M40 448H680" class="rule"/>
+ <text x="40" y="488" class="mono muted">2</text>
+ <text x="100" y="488" class="heading">Character sheet</text>
+ <text x="100" y="524" class="muted">Image generation</text>
+ <text x="100" y="558" class="mono">character.txt · sheet/*.png</text>
+ <path d="M56 508v50" class="flow"/>
+ <path d="M40 580H680" class="rule"/>
+ <text x="40" y="620" class="mono muted">3</text>
+ <text x="100" y="620" class="heading">Keyframes</text>
+ <text x="100" y="656" class="muted">Image generation</text>
+ <text x="100" y="690" class="mono">key/*.png</text>
+ <path d="M56 640v50" class="flow"/>
+ <path d="M40 712H680" class="rule"/>
+ <text x="40" y="752" class="mono muted">4</text>
+ <text x="100" y="752" class="heading">Video conversion</text>
+ <text x="100" y="788" class="muted">Video generation</text>
+ <text x="100" y="822" class="mono">clip/*.mp4</text>
+ <path d="M56 772v50" class="flow"/>
+ <path d="M40 844H680" class="rule"/>
+ <text x="40" y="884" class="mono muted">5</text>
+ <text x="100" y="884" class="heading">Music and voice</text>
+ <text x="100" y="920" class="muted">composio · score</text>
+ <text x="100" y="954" class="mono">voices.json · audio/*.wav</text>
+ <path d="M56 904v50" class="flow"/>
+ <path d="M40 976H680" class="rule"/>
+ <text x="40" y="1016" class="mono muted">6</text>
+ <text x="100" y="1016" class="heading">Assembly</text>
+ <text x="100" y="1052" class="muted">Swappable engine</text>
+ <text x="100" y="1086" class="mono">Remotion · HyperFrames</text>
+ <path d="M40 1108H680" class="rule"/>
+ <text x="40" y="1150">PASS · exit 0: next stage</text>
+ <text x="40" y="1190" class="accent">BLOCK · exit 1: fix and rerun</text>
+ <text x="40" y="1246" class="muted">Before planning: check documents and targets.</text>
+ <text x="40" y="1286" class="muted">After rendering: compare the result to targets.</text>
+</svg>
diff --git a/docs/assets/workflow-ref.png b/docs/assets/workflow-ref.png
new file mode 100644
index 0000000..f6ac7cb
Binary files /dev/null and b/docs/assets/workflow-ref.png differ
diff --git a/docs/assets/workflow-ref.svg b/docs/assets/workflow-ref.svg
new file mode 100644
index 0000000..0cf12c9
--- /dev/null
+++ b/docs/assets/workflow-ref.svg
@@ -0,0 +1,68 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1324" viewBox="0 0 720 1324" role="img" aria-labelledby="workflow-ref-title workflow-ref-desc">
+ <title id="workflow-ref-title">제작 단계와 단계별 게이트</title>
+ <desc id="workflow-ref-desc">레퍼런스 분석부터 조립까지 7단계예요. 산출물을 검사하고 BLOCK이면 고쳐서 같은 게이트를 다시 실행해요.</desc>
+ <defs>
+ <style>
+ text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
+ .title { font-size: 34px; font-weight: 700; }
+ .heading { font-size: 28px; font-weight: 700; }
+ .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
+ .muted { fill: #626860; }
+ .label { font-size: 24px; fill: #626860; }
+ .accent { fill: #B8441A; }
+ .rule { stroke: #626860; stroke-opacity: .24; }
+ .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
+ </style>
+ <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
+ </defs>
+ <rect width="720" height="1324" fill="#FFFFFF"/>
+ <text x="40" y="68" class="title">제작 단계와 단계별 게이트</text>
+ <text x="40" y="112" class="muted">만들고 검사한 뒤 다음 단계로 가요.</text>
+ <path d="M40 152H680" class="rule"/>
+ <text x="40" y="192" class="mono muted">0</text>
+ <text x="100" y="192" class="heading">레퍼런스 분석</text>
+ <text x="100" y="228" class="muted">OpenCV</text>
+ <text x="100" y="262" class="mono">ref/ANALYSIS.md</text>
+ <text x="100" y="294" class="mono">ref/targets.json</text>
+ <path d="M56 212v50" class="flow"/>
+ <path d="M40 316H680" class="rule"/>
+ <text x="40" y="356" class="mono muted">1</text>
+ <text x="100" y="356" class="heading">스토리·장면</text>
+ <text x="100" y="392" class="muted">에이전트</text>
+ <text x="100" y="426" class="mono">STORY.md</text>
+ <path d="M56 376v50" class="flow"/>
+ <path d="M40 448H680" class="rule"/>
+ <text x="40" y="488" class="mono muted">2</text>
+ <text x="100" y="488" class="heading">캐릭터 시트</text>
+ <text x="100" y="524" class="muted">이미지 생성</text>
+ <text x="100" y="558" class="mono">character.txt · sheet/*.png</text>
+ <path d="M56 508v50" class="flow"/>
+ <path d="M40 580H680" class="rule"/>
+ <text x="40" y="620" class="mono muted">3</text>
+ <text x="100" y="620" class="heading">키프레임</text>
+ <text x="100" y="656" class="muted">이미지 생성</text>
+ <text x="100" y="690" class="mono">key/*.png</text>
+ <path d="M56 640v50" class="flow"/>
+ <path d="M40 712H680" class="rule"/>
+ <text x="40" y="752" class="mono muted">4</text>
+ <text x="100" y="752" class="heading">영상 변환</text>
+ <text x="100" y="788" class="muted">영상 생성</text>
+ <text x="100" y="822" class="mono">clip/*.mp4</text>
+ <path d="M56 772v50" class="flow"/>
+ <path d="M40 844H680" class="rule"/>
+ <text x="40" y="884" class="mono muted">5</text>
+ <text x="100" y="884" class="heading">음악·목소리</text>
+ <text x="100" y="920" class="muted">composio · score</text>
+ <text x="100" y="954" class="mono">voices.json · audio/*.wav</text>
+ <path d="M56 904v50" class="flow"/>
+ <path d="M40 976H680" class="rule"/>
+ <text x="40" y="1016" class="mono muted">6</text>
+ <text x="100" y="1016" class="heading">조립</text>
+ <text x="100" y="1052" class="muted">바꿔 끼우는 엔진</text>
+ <text x="100" y="1086" class="mono">Remotion · HyperFrames</text>
+ <path d="M40 1108H680" class="rule"/>
+ <text x="40" y="1150">PASS · exit 0: 다음 단계로 가요</text>
+ <text x="40" y="1190" class="accent">BLOCK · exit 1: 고쳐서 다시 실행해요</text>
+ <text x="40" y="1246" class="muted">계획 전에는 문서와 목표값을 검사해요.</text>
+ <text x="40" y="1286" class="muted">렌더 후에는 완성본을 목표와 비교해요.</text>
+</svg>
diff --git a/docs/assets/workflow.png b/docs/assets/workflow.png
deleted file mode 100644
index 23ca43a..0000000
Binary files a/docs/assets/workflow.png and /dev/null differ
diff --git a/docs/runtimes.md b/docs/runtimes.md
index 71ca669..142e817 100644
--- a/docs/runtimes.md
+++ b/docs/runtimes.md
@@ -2,7 +2,7 @@
[한국어 README](../README.md) | [English README](../README.en.md)
-The source of truth is `skills/motion-video-production/`. Its `SKILL.md`, references, templates, harness, and scripts are shared by all runtimes. The repository does not include model API adapters, service credentials, media generation connectors, or Remotion compositions.
+The source of truth is `skills/motion-video-production/`. Its `SKILL.md`, references, templates, harness, scripts, and engines are shared by all runtimes. The engines (`engines/remotion/`, `engines/hyperframes/`) live inside the skill folder so that installers that copy only the skill still ship them; they contain this repository's code plus pinned `package.json` and `package-lock.json`, not the third-party packages themselves. The repository does not include model API adapters, service credentials, or media generation connectors.
## Install for the runtimes you use
@@ -38,6 +38,14 @@ The [Vercel skills CLI supported-agent list](https://github.com/vercel-labs/skil
Use the manual Codex/Claude commands in either README when you do not want the Node.js installer. Copy the **entire** `motion-video-production` folder, not just `SKILL.md`. Other runtimes use their documented discovery path.
+Never run `npm ci` inside the installed skill folder: it is one shared copy, often a symlink target. Copy an engine into the output project and install it there:
+
+```bash
+# mkdir stops if engine/ exists; to reinstall, remove it first (cp -R into an existing folder nests engine/remotion)
+mkdir "$PROJECT_ROOT/engine" && cp -R "$SKILL_ROOT/engines/remotion/." "$PROJECT_ROOT/engine" # or engines/hyperframes
+(cd "$PROJECT_ROOT/engine" && npm ci)
+```
+
Keep the installed skill directory separate from the output project. For a project installation that uses `.agents/skills/`, for example, run from your video project:
```bash
@@ -53,17 +61,22 @@ For a personal Codex installation, set `SKILL_ROOT="$HOME/.agents/skills/motion-
## Capabilities and review boundaries
-- File access and a terminal are needed for the harness. Requires Python 3, ffmpeg, ffprobe, and Bash for `.sh` scripts. Node.js and a separately installed Remotion project are needed for assembly.
+- File access and a terminal are needed for the harness. Requires Python 3, ffmpeg, ffprobe, and Bash for `.sh` scripts. The engines need Node.js 24 or newer. Reference analysis needs the pinned OpenCV and numpy from `scripts/requirements-ref.txt` in a virtual environment. Rendering needs a Chromium: Remotion uses `CHROME_PATH` or a cached Playwright headless shell, otherwise `npx remotion browser ensure` downloads one; HyperFrames uses the system Chrome, otherwise `npx hyperframes browser ensure`.
- Image/video/music/voice generation requires separately available services or tools. A web subscription does not imply API access. If tools are absent, the agent provides prompts and target filenames; the user generates and supplies the files.
- If the runtime cannot view frame strips or contact sheets, the user must inspect them and provide actual review results. Never manufacture a `REVIEWED` record from measurements alone. Scripts cannot judge character deformation in later frames.
- Use the provided `STORY.md` template's Korean field names and table headings: the current gate reads those names. Fill values in the user's language. For a non-Korean character description, include `#RRGGBB` codes alongside color names so the current color check can recognize them.
-- Remotion code is not bundled. Whisper transcription integration in `verify.sh` remains unverified. Check external service pricing and license terms immediately before work, as described in `NOTICE.md` and the licensing reference.
+- Remotion is a company-size licensed package (organizations of four or more employees need a Company License); HyperFrames is Apache-2.0. Voice automation (`vo.mjs`) needs the user's own composio CLI connection and spends their credits. Whisper transcription integration in `verify.sh` remains unverified. Check external service pricing and license terms immediately before work, as described in `NOTICE.md` and the licensing reference.
## Verification scope
-Package checks on 2026-10-08 used `[email protected]` with all nine `--agent` identifiers listed above. All 21 skill files reached the canonical project installation, with the expected runtime aliases. A fresh Codex 0.155.1 process discovered the enabled skill and its `agents/openai.yaml` interface; Gemini CLI 0.46.0 also listed the skill as enabled. For the other seven runtimes, only installation was checked, not invocation inside the app.
+Checks on 2026-10-25 (macOS, Node.js 24.20.0, Python 3.14.8), run on a `git archive` export of the committed branch so no local `node_modules` could ride along:
+
+- `npx [email protected] add <local export> --skill motion-video-production --agent codex claude-code -y` exited 0 into a project path containing a space. All 76 skill files arrived in `.agents/skills/motion-video-production` (the same file list as the source, 45 of them under `engines/`), with Claude Code as a symlink. Only these two `--agent` identifiers were run; runtime discovery inside the apps was not re-checked for this version.
+- From the installed copy: the Remotion engine copied out and `npm ci` (258 packages) exited 0; `tsc --noEmit` exited 0; `node --test` on the carry, iris and wordcut timing tests ran 13 tests, 13 passed; the carry probe on `carry-demo` scored 1.00 (PASS); two wordcut stills rendered with the npm-installed fonts. The HyperFrames engine copied out, `npm ci` exited 0, and `hyperframes lint` reported 0 errors.
+- `harness/selftest.sh` from the installed copy, run from another directory, exited 0 with no failed cases (the optional Pillow ICC case was skipped because Pillow was not installed).
+- In the source worktree: full renders of the wordcut demo (9:16, 600 frames) and of the carry demo in both engines, mixed with the procedural score, passed through `verify.sh`; the HyperFrames render passed `gate.py final`; `gate.py ref` compared renders to analysed targets (exit codes and numbers are in the lane report, not in this repository).
-The installed story gate ran from a different working directory with a space in the output path and wrote its report. The harness selftest exited 0 with no failed cases; its optional Pillow ICC regression case was skipped because Pillow was not installed. These checks did not include external generation, Remotion assembly, listening, or a full video production run.
+Not checked: external generation (images, video, voice credits), listening to audio, invocation inside the seven other runtimes, Windows, and Docker rendering.
Installation checks should verify that the whole package (including `harness/`, `scripts/`, `references/`, `templates/`, and `agents/`) reaches the intended discovery location. A runtime discovery check confirms that `motion-video-production` appears in that runtime's actual skill list. A harness selftest checks synthetic media cases on the current computer.
diff --git a/skills/motion-video-production/SKILL.md b/skills/motion-video-production/SKILL.md
index 91ce2a7..dcd0398 100644
--- a/skills/motion-video-production/SKILL.md
+++ b/skills/motion-video-production/SKILL.md
@@ -1,34 +1,39 @@
---
name: motion-video-production
-description: Plan and assemble 30–90 second motion graphics and character videos with six production stages, media gates, and visual review. Use for video production, keyframes, character consistency, and Remotion assembly. 모션 그래픽·캐릭터 영상·오프닝 영상 제작에 사용한다.
+description: Plan, build and verify 15–90 second motion graphics, promo and character videos. Take a reference video apart with OpenCV into measured targets, then produce through gated stages (story, character, keyframes, clips, voice and music, assembly) on a bundled engine, Remotion (carry oracle, one-word cut template) or HyperFrames, and judge the rendered mp4 against the targets. Voice via ElevenLabs or Fish Audio through the composio CLI, a procedural score, mix and verify. Use for video production, reference matching, keyframes, character consistency and motion graphics assembly. 모션 그래픽·홍보 영상·캐릭터 영상 제작과 레퍼런스 영상 분석에 사용한다.
---
# 모션 그래픽·영상 제작 스킬 (motion-video-production)
이 스킬은 모션 그래픽과 영상(예: 한 명의 캐릭터가 나오는 30~90초 영상)을 만드는 순서와 점검 기준을 제공합니다.
-이 스킬을 따라가면 STORY.md, 캐릭터 시트, 키프레임, 장면 영상, 음악·목소리, 최종 mp4를 얻어가십니다.
+이 스킬을 따라가면 레퍼런스 분석(`ref/ANALYSIS.md`, `ref/targets.json`), STORY.md, 캐릭터 시트, 키프레임, 장면 영상, 음악·목소리, 최종 mp4를 얻어가십니다. 화면은 스킬에 들어 있는 엔진(Remotion 또는 HyperFrames)으로 만들고, 완성된 mp4를 숫자로 판정합니다.
+
+편집·카메라·질감 용어(매치 컷, 휩 팬, 푸시 인, 얕은 심도 등)는 `references/glossary.md`에 한국어와 영어로 정리돼 있습니다.
모든 답변은 사용자의 언어(기본 한국어)로 합니다. 도구를 대신 로그인하거나 결제하지 않습니다. 로그인·결제·대용량 다운로드가 필요한 시점에서는 사용자에게 먼저 묻습니다.
## 실행 환경과 경로
-이 스킬은 Agent Skills 형식의 공통 지침입니다. Codex, Claude Code 및 다른 스킬 지원 런타임에서 같은 폴더를 사용합니다. 특정 모델의 API나 생성 도구 연결을 포함하지 않습니다.
+이 스킬은 Agent Skills 형식의 공통 지침입니다. Codex, Claude Code 및 다른 스킬 지원 런타임에서 같은 폴더를 사용합니다. 특정 모델의 API나 생성 도구 연결을 포함하지 않습니다. 목소리 자동화는 사용자가 연결한 composio CLI 계정이 있을 때만 씁니다.
-- 런타임이 알려 준 이 `SKILL.md`의 실제 경로에서 부모 폴더를 `SKILL_ROOT`로 정합니다. `~/.claude/skills` 같은 특정 설치 경로를 가정하지 않습니다. 아래 `references/`, `templates/`, `harness/`, `scripts/`는 모두 이 폴더 기준입니다.
+- 런타임이 알려 준 이 `SKILL.md`의 실제 경로에서 부모 폴더를 `SKILL_ROOT`로 정합니다. `~/.claude/skills` 같은 특정 설치 경로를 가정하지 않습니다. 아래 `references/`, `templates/`, `harness/`, `scripts/`, `engines/`는 모두 이 폴더 기준입니다.
- 산출물 폴더의 절대 경로를 `PROJECT_ROOT`로 정합니다. 두 경로를 구분하고, 스크립트는 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`처럼 절대 경로로 실행합니다. 보조 스크립트는 산출물 폴더에서 `bash "$SKILL_ROOT/scripts/<파일>.sh" ...`로 실행합니다.
-- Python 3, ffmpeg, ffprobe가 필요합니다. `.sh` 스크립트에는 Bash가 필요합니다(macOS/Linux 또는 Windows의 WSL). Remotion은 Node.js와 별도 설치가 필요합니다.
+- Python 3, ffmpeg, ffprobe가 필요합니다. `.sh` 스크립트에는 Bash가 필요합니다(macOS/Linux 또는 Windows의 WSL). 엔진에는 Node.js 24 이상이 필요합니다. 레퍼런스 분석에는 `scripts/requirements-ref.txt`의 OpenCV를 가상환경에 설치합니다.
+- 엔진(`engines/remotion`, `engines/hyperframes`)은 스킬 폴더 안에서 설치하지 않습니다. 스킬 폴더는 여러 런타임이 함께 쓰는 사본입니다. `cp -R "$SKILL_ROOT/engines/<엔진>" "$PROJECT_ROOT/engine"`으로 복사한 뒤 그 안에서 `npm ci`를 실행합니다.
- 시작할 때 실제로 제공된 파일 읽기·터미널·이미지 보기·생성 도구를 확인합니다. 생성 도구가 없으면 프롬프트와 저장 위치를 제공하고 사용자가 만든 파일을 받아 이어갑니다. 구독만으로 API 접근이나 자동 생성을 할 수 있다고 가정하지 않습니다.
- 이미지를 볼 수 없는 런타임은 사용자의 실제 눈 검수 결과를 요청합니다. 보지 않은 프레임의 검수 기록을 대신 만들지 않습니다. 검사 스크립트 실행이 불가능하면 명령을 전달하고 실제 종료 코드·보고서를 받은 뒤에만 결과를 판단합니다.
- `STORY.md`는 제공된 템플릿의 한국어 항목명과 표 구조를 유지하고, 내용은 사용자 언어로 채웁니다. 게이트가 이 항목명을 읽습니다. 한국어 외의 `character.txt`에는 색 이름과 함께 `#RRGGBB` 색상 코드를 적습니다(현재 색 검사에서 인식 가능).
## 0. 시작하기 전에 정할 것
-작업을 시작할 때 아래 4가지를 사용자에게 한 번에 묻고 `STORY.md` 맨 위에 기록합니다.
+작업을 시작할 때 아래 6가지를 사용자에게 한 번에 묻고 `STORY.md` 맨 위에 기록합니다.
1. 공개 방식: 비공개 시안인가, 상업적으로 공개하는 최종본인가. (공개 방식이 비용 규칙을 정합니다. `references/cost-rules.md`)
-2. 길이와 화면비: 기본값 30~90초, 16:9.
+2. 길이와 화면비: 15~90초(기본 30~90초), 16:9.
3. 사용 가능한 도구와 구독 상태: 이미지 생성, 영상 생성, 음악, 목소리 도구 중 어떤 것을 쓸 수 있는지.
4. 금지 사항: 영상에 넣지 않을 요소(예: 로고, 실존 인물, 읽히는 글자).
+5. 레퍼런스 영상: "이런 느낌으로" 따라갈 영상이 있는가. 있으면 0단계를 먼저 합니다.
+6. 엔진: Remotion 또는 HyperFrames. 정하기 어려우면 아래 "엔진 선택"의 기준으로 추천합니다.
## 제작 6단계
@@ -36,12 +41,13 @@ description: Plan and assemble 30–90 second motion graphics and character vide
| 단계 | 하는 일 | 쓰는 도구(예시) | 산출물 |
|---|---|---|---|
+| 0. 레퍼런스 분석 | 레퍼런스 영상을 OpenCV로 분해해 편집 리듬·움직임·블러·심도·그레인·질감을 숫자로 남기고, 계획이 그 숫자를 인용하게 함 | `scripts/ref-analyze.py` | `ref/ANALYSIS.md`, `ref/targets.json` |
| 1. 스토리·장면 기획 | 한 줄 줄거리, 장면 목록(시간·장소·행동·대사), 음악 싱크 지점 확정 | 현재 에이전트 | `STORY.md`, 장면 목록 |
| 2. 캐릭터 시트 | 정면·측면·표정·의상을 한 장에 고정한 기준 이미지 | 이미지 생성 도구 | 캐릭터 시트 PNG, 외형 고정문 |
| 3. 키프레임 | 장면마다 시작 화면 1장씩 생성 | 이미지 생성 도구 | 키프레임 PNG |
| 4. 영상 변환 | 키프레임을 시작 화면으로 고정하고 3~6초 클립 생성 | 영상 생성 도구 | 장면별 mp4 |
| 5. 음악·목소리 | 음악 1곡, 캐릭터 목소리 1개(ID 고정), 대사 음성 | 음악·음성 도구 | 음악 wav/mp3, 대사 wav |
-| 6. Remotion 조립 | 박 격자에 맞춰 컷 배치, 자막·타이틀·엔드카드 모션 그래픽, 믹스, mux | Remotion, ffmpeg | 최종 mp4 |
+| 6. 조립 | 박 격자(beat grid)에 맞춰 컷 배치, 자막·타이틀·엔드카드 모션 그래픽, 믹스, mux | 엔진(Remotion 또는 HyperFrames), ffmpeg | 최종 mp4 |
## Gotchas (먼저 읽을 것)
@@ -66,6 +72,7 @@ python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"
| 제작 단계 | 게이트 | 하는 검사 |
|---|---|---|
+| 0. 레퍼런스 분석 | `ref` | 계획 전: ANALYSIS.md 빈칸, targets.json 형식. 렌더 후: 렌더 분석을 지표마다 목표값과 비교(목표, 값, 차이 %, 허용 범위) |
| 1. 스토리·장면 기획 | `story` | STORY.md 빈칸, BPM, 음악 싱크 지점 표(시간이 숫자인지), 장면 표 |
| 2. 캐릭터 시트 | `character` | character.txt(1개 문단 평문, 색 표현), 시트 이미지 |
| 3. 키프레임 | `keyframes` | 중복 파일, 클립과의 화면비 |
@@ -79,11 +86,19 @@ python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"
- 눈으로 봐야 하는 검사는 기록 파일을 요구합니다. 에이전트가 프레임 스트립과 컨택트 시트를 실제로 보거나 사용자의 실제 검수 결과를 받은 뒤에만 아래 줄을 씁니다.
- `qa/clips-review.md`: `REVIEWED: <이름> <YYYY-MM-DD>` 줄과, 클립마다 `<클립 이름>: ok|trim|redo|replace` 줄. `redo`, `replace`가 남아 있으면 통과하지 못합니다. 키프레임이 없는 클립은 `nokey: <클립 이름>` 줄로 허용합니다.
- `qa/review.md`: `REVIEWED: <이름> <YYYY-MM-DD>` 줄과, 본 결과를 적은 줄. 최종본(`out/final.mp4`)보다 나중에 작성해야 합니다.
-- 임계값은 환경 변수로 바꿉니다. (`GATE_SSIM_START`, `GATE_LUFS`, `GATE_LUFS_TOL`, `GATE_TP_MAX`)
+- 임계값은 환경 변수로 바꿉니다. (`GATE_REF_TOL_SCALE`, `GATE_SSIM_START`, `GATE_LUFS`, `GATE_LUFS_TOL`, `GATE_TP_MAX`)
+- 게이트는 엔진을 가리지 않습니다. `ref`와 `final`은 완성된 mp4만 잽니다. `ref/` 폴더가 없으면 `ref` 게이트는 WARN 한 줄을 남기고 건너뜁니다.
- 게이트를 고치거나 새 검사를 더하면 `bash "$SKILL_ROOT/harness/selftest.sh"`가 종료 코드 0으로 끝나야 합니다. 막아야 할 사례를 합성 프로젝트로 실제로 막는지 확인하는 셀프테스트이고, 새 검사에는 막아야 할 사례를 함께 추가합니다.
## 단계별 상세
+### 0단계. 레퍼런스 분석
+- 사용자가 레퍼런스 영상을 주면 계획 전에 분해합니다. 레퍼런스 파일과 그 프레임은 저장소에 커밋하지 않고 숫자만 남깁니다.
+- `python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" <레퍼런스.mp4> -o "$PROJECT_ROOT/ref/analysis.json" --targets "$PROJECT_ROOT/ref/targets.json"` (OpenCV가 설치된 가상환경의 python3로 실행)
+- `templates/ANALYSIS.md`를 `ref/ANALYSIS.md`로 복사해 숫자와 그 숫자가 이번 작품에 주는 뜻을 채웁니다. `gate.py ref`가 통과해야 1단계로 넘어갑니다.
+- 1단계 이후의 계획(컷 길이, 홀드, 전환, 블러, 질감)은 ANALYSIS.md의 숫자를 인용합니다. 렌더한 뒤에는 같은 스크립트로 최종본을 분석해 `qa/render-analysis.json`에 쓰고 `gate.py ref`로 비교합니다.
+- 지표의 뜻, 재는 방법, 다를 때 고칠 것, 실제 예시는 `references/reference-analysis.md`에 있습니다.
+
### 1단계. 스토리·장면 기획
- `templates/STORY.md`를 복사해 채웁니다. 장면마다 시간대, 장소, 캐릭터 행동 1개, 감정 1개를 적습니다.
- 한 장면에는 행동을 1개만 넣습니다. 영상 생성 모델은 한 클립에 여러 행동이 있으면 손·소품이 변형됩니다.
@@ -102,7 +117,7 @@ python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"
### 4단계. 영상 변환
- 키프레임을 영상의 **시작 화면**으로 고정하고, 캐릭터 시트를 참조 이미지로 함께 넣습니다.
- 클립 길이는 3~6초로 짧게 잡습니다. 길수록 뒤쪽에서 얼굴이 녹거나 소품이 사라집니다.
-- 생성한 클립은 `scripts/clipsheet.sh`로 프레임 시트(클립의 모든 프레임)를 만들어 눈으로 확인하고, 결함이 있는 구간은 잘라 내고 쓸 수 있는 구간만 사용합니다. (`templates/SCENE_AUDIT.md`에 기록)
+- 생성한 클립은 `bash "$SKILL_ROOT/scripts/clipsheet.sh" <클립.mp4>`로 프레임 시트(클립의 모든 프레임, 기본 `qa/sheets/`)를 만들어 눈으로 확인하고, 결함이 있는 구간은 잘라 내고 쓸 수 있는 구간만 사용합니다. (`templates/SCENE_AUDIT.md`에 기록)
- 초록 배경으로 생성한 클립에서 캐릭터만 떼어 합성하는 경우 `scripts/key-plate.sh`를 사용합니다.
### 5단계. 음악·목소리
@@ -110,15 +125,30 @@ python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"
- 목소리는 도구에서 음성 1개를 골라 그 ID만 모든 대사에 씁니다. 대사를 합성한 뒤 받아쓰기(whisper)로 대본과 일치하는지 확인합니다.
- 유명인·정치인·저작물 캐릭터의 목소리 복제 모델은 사용하지 않습니다.
-### 6단계. Remotion 조립
-모션 그래픽(자막, 타이틀, 엔드카드, 화면 효과)과 최종 조립은 Remotion으로 합니다. 아래는 Remotion 공식 구성요소(`Composition`, `Sequence`, `OffthreadVideo`, `Audio`, `useCurrentFrame`, `staticFile`)를 쓰는 구조입니다.
-
-- 프로젝트는 `npx create-video@latest`로 직접 만듭니다. 이 스킬은 Remotion 코드를 포함하지 않습니다. (라이선스는 `references/licensing.md`)
-- 컷 목록을 JSON(`edit.json`)으로 두고, 각 컷을 `<Sequence from={시작프레임} durationInFrames={길이}>` 안에 `<OffthreadVideo src={staticFile(...)} />`로 배치합니다.
-- 컷의 시작 프레임은 박 격자(박 길이 x 정수)에 맞춥니다.
-- 자막·타이틀은 `useCurrentFrame()` 값에서 계산하는 순수 함수로 작성합니다. 같은 프레임을 다시 렌더해도 같은 결과가 나옵니다.
-- 렌더는 `npx remotion render <컴포지션ID> out/picture.mp4`로 하고, 렌더 후 `scripts/mix-mux.sh`로 음악·대사를 섞어 입힙니다.
-- 최종 확인은 `scripts/verify.sh`로 하고, 생성된 컨택트 시트를 직접 봅니다.
+### 엔진 선택
+화면을 만드는 엔진은 둘 중 하나를 고릅니다. 두 엔진 모두 스킬에 들어 있고, 버전이 고정돼 있습니다. 자세한 비교와 명령은 `references/engines.md`에 있습니다.
+- **Remotion** (`engines/remotion/`): React로 프레임마다 값을 계산합니다. 경계마다 무언가가 살아남는지(carry)를 렌더 전에 숫자로 재는 검사, 단어 하나를 한 자리에 두고 장면이 넘겨받는 wordcut 템플릿이 여기에만 있습니다. 직원 4명 이상 영리 조직은 Remotion Company License가 필요합니다.
+- **HyperFrames** (`engines/hyperframes/`): 평범한 HTML/CSS 페이지를 GSAP으로 움직여 mp4로 렌더합니다. 재료가 웹페이지·문서일 때, HTML을 아는 사람이 바로 고쳐야 할 때 좋습니다. Apache-2.0입니다. 선언한 track이 없어서 carry 점수는 내지 못하고, 움직임은 `gate.py ref`가 mp4에서 잽니다.
+- 정하기 어려우면 Remotion으로 시작하고, 라이선스 조건이 맞지 않으면 HyperFrames를 씁니다.
+
+### 6단계. 조립
+- 엔진 폴더를 작업 폴더로 복사하고 `npm ci`로 설치합니다(스킬 폴더 안에서 설치하지 않음).
+- **carry가 기본 경계입니다.** carry는 이 스킬의 용어로, 경계를 넘어 살아남는 요소입니다. 비트 경계마다 화면에 있던 요소가 살아남아 다음 비트로 움직이거나 커집니다. 아무것도 남지 않는 장면 교체(하드 컷, 디졸브, 와이프)는 몰아치기(몽타주) 안이나 엔드카드로 갈 때만 씁니다. 어휘는 `references/art-direction.md`에 있습니다.
+- Remotion: 모션은 `motions/`의 순수 함수로, 작품별 기하는 순수 `scene(t)`로 씁니다. 화면과 `track.ts`가 같은 `scene(t)`를 읽습니다. 렌더 전에 `node pipeline/probe.mjs productions/<id>`로 carry를 재고(0.5 미만 FAIL), 스틸(`node pipeline/render.mjs <id> --stills 0.5 1.5 3.0`)을 직접 본 뒤 영상을 렌더합니다(`renders/<id>/`). `productions/carry-demo/`가 모든 파일의 예시입니다.
+- 비트 시트는 `templates/BEATSHEET.md`로 `timing.ts`와 함께 씁니다. 모든 경계에 살아남는 요소를 적습니다.
+- 단어 하나를 여러 장면이 넘겨받는 영상(매치 컷, graphic match cut)은 `productions/wordcut/`의 `data.ts`만 바꿔서 만듭니다. 레퍼런스가 있으면 `node productions/wordcut/plan.mjs "$PROJECT_ROOT/ref/analysis.json" <초>`로 타이밍을 뽑고, `node productions/wordcut/drift.mjs`가 단어가 한 자리에 있는지 픽셀로 잽니다(0.5px 초과면 종료 코드 1). 첫 프레임은 페이지가 아니라 미드숏(medium shot)입니다. 단어가 가운데, 단어 줄만 선명한 초점 띠(얕은 심도, shallow depth of field), 0프레임부터 렌즈 질감(RGB 분리, 그레인, 비네트), 페이지 크롬 없음, 하이라이트만 색. `node productions/wordcut/frame0.mjs --check`가 확인합니다. 첫 프레임만이 아닙니다. 모든 장면에서 단어 하나만 선명하고, 위아래 줄은 단어 줄에서 멀수록 더 흐려집니다. 장면마다 각도(책상 위 종이, 손에 든 휴대폰, 정면), 확대(가까이, 더 가까이, 아주 가까이), 심도, 바닥, 빛과 그레인을 바꾸고, 이웃한 두 장면이 같은 각도+확대+심도 조합을 쓰지 않습니다(`timing.ts`의 `shots`). `node productions/wordcut/focus.mjs --check`가 장면마다 착지 프레임의 초점 비율을 재고 2 미만이면 종료 코드 1을 냅니다.
+- 목소리는 대사를 먼저 생성하고 길이를 잰 뒤 타이밍을 정합니다(`pipeline/vo.mjs`, `pipeline/vo-assemble.mjs`, composio CLI. `references/providers.md`). 크레딧이 드므로 생성 전에 사용자에게 알립니다.
+- 음악은 `node pipeline/score.mjs productions/<id>`의 기본 스코어로 시작하거나, `templates/MUSIC_BRIEF.md`로 워커에게 맡깁니다.
+- 믹스와 mux는 `bash "$SKILL_ROOT/scripts/mix-mux.sh" <picture.mp4> <fps> <초> <music.wav> <vo.wav|-> <out.mp4>`로 합니다. 프레임 수가 맞을 때만 mux하고, 대사가 나올 때 음악을 낮춥니다.
+- 최종 확인은 `bash "$SKILL_ROOT/scripts/verify.sh" <mp4>`(`PRODUCTION=productions/<id>`를 주면 carry 검사도 함께)로 하고, 생성된 컨택트 시트를 직접 봅니다. 레퍼런스가 있으면 `gate.py ref`로 비교합니다.
+
+### 브랜드 소개 영상과 홈페이지 (레시피)
+"우리 가게 소개 영상을 홈페이지에 넣고 싶다"는 요청은 이 순서로 만듭니다. 새 엔진 없이 wordcut 템플릿과 `templates/homepage-intro.html`을 씁니다. 자세한 순서와 예시는 `references/brand-intro.md`에 있습니다.
+1. 레퍼런스를 읽고(있으면 0단계) 장면 목록을 4줄 이하로 씁니다. 한 줄 = 프레임 범위, 화면, 빌려 오는 레퍼런스.
+2. 이미지 프롬프트와 마무리를 정하는 키워드 3~6개를 고릅니다. 하나는 wordcut의 단어가 됩니다.
+3. 마무리 이미지를 생성합니다. 화면비는 영상과 같게, 단어 자리는 비워 둡니다.
+4. wordcut으로 컷을 만듭니다. `data.ts`의 `closing`에 마무리 이미지를 넣으면 마지막 비트가 그 이미지에서 멈춥니다.
+5. 홈페이지 한 장: 히어로는 t=0 프레임이 영상의 마무리 이미지인 Three.js 장면입니다. 9:16 영상은 휴대폰에서만 짧은 카드로 보여 주고 데스크톱에서는 숨깁니다. 유튜브 오프닝에서 영상 끝을 사이트 첫 프레임으로 잇는 매치 컷은 페이지가 아니라 영상 편집에서 만듭니다. 출발점은 `templates/homepage-intro.html`이고, reduced motion이나 WebGL이 없으면 포스터(마지막 프레임)와 일반 페이지만 보여 줍니다. 간격, 섹션 배치, 외부 라이브러리 규칙도 `references/brand-intro.md`에 있습니다.
## 캐릭터 일관성 7가지
@@ -141,10 +171,13 @@ python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"
| 파일 | 용도 |
|---|---|
+| `ref-analyze.py` | 레퍼런스(또는 렌더) 영상을 OpenCV로 분해해 JSON 하나로 (`requirements-ref.txt`) |
| `dupcheck.py` | 같은 키프레임을 쓰는 반복 컷 검출 |
| `clipsheet.sh` | 프레임 시트(클립의 모든 프레임을 6x5 칸으로 배치) |
| `key-plate.sh` | 초록 배경 -> 투명 PNG |
| `mix-mux.sh` | 음악·대사 믹스와 프레임 수 게이트 mux |
-| `verify.sh` | 영상 측정과 컨택트 시트 (받아쓰기 연동은 미검증) |
+| `verify.sh` | 영상 측정, 반복 프레임, 가장자리 색, 컨택트 시트, 받아쓰기, 선택적 carry 검사 |
| `beat-grid.py` | BPM 기준 박 길이·스냅 계산 |
| `../harness/gate.py` | 단계별 통과 여부를 종료 코드로 판정 |
+
+엔진 폴더의 스크립트(`pipeline/render.mjs`, `probe.mjs`, `score.mjs`, `vo.mjs`, `vo-assemble.mjs`, `productions/wordcut/*.mjs`)는 `references/engines.md`에 정리돼 있습니다.
diff --git a/skills/motion-video-production/engines/hyperframes/hyperframes.json b/skills/motion-video-production/engines/hyperframes/hyperframes.json
new file mode 100644
index 0000000..c4816b5
--- /dev/null
+++ b/skills/motion-video-production/engines/hyperframes/hyperframes.json
@@ -0,0 +1,8 @@
+{
+ "$schema": "https://hyperframes.heygen.com/schema/hyperframes.json",
+ "paths": {
+ "blocks": "compositions",
+ "components": "compositions/components",
+ "assets": "assets"
+ }
+}
diff --git a/skills/motion-video-production/engines/hyperframes/index.html b/skills/motion-video-production/engines/hyperframes/index.html
new file mode 100644
index 0000000..9c0bf13
--- /dev/null
+++ b/skills/motion-video-production/engines/hyperframes/index.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html lang="ko">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=1920, height=1080">
+ <title>carry demo</title>
+ <!-- The same 5 s carry demo as engines/remotion/productions/carry-demo, as one HTML page.
+ 96 BPM, beat 0.625 s: the first word rises at 0.9 s, an ink circle opens behind it centred on beat 3 (1.875 s)
+ while the word lifts and shrinks into a label (the carry), the big line pops on beat 3, the tail at 2.5 s. -->
+ <script src="node_modules/gsap/dist/gsap.min.js"></script>
+ <style>
+ @font-face {
+ font-family: "Pretendard";
+ src: url("node_modules/pretendard/dist/web/variable/woff2/PretendardVariable.woff2") format("woff2-variations");
+ font-weight: 45 920;
+ }
+ html, body { margin: 0; width: 1920px; height: 1080px; overflow: hidden; background: #1d1d1f; }
+ #root { position: relative; width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; font-family: Pretendard, sans-serif; }
+ .ink { position: absolute; inset: 0; background: #1d1d1f; clip-path: circle(0% at 50% 50%); }
+ .line { position: absolute; left: 0; width: 1920px; text-align: center; line-height: 1.1; white-space: nowrap; letter-spacing: -0.035em; }
+ #big { top: 360px; font-size: 280px; font-weight: 900; color: #ffffff; opacity: 0; }
+ #tail { top: 720px; font-size: 72px; font-weight: 700; color: #a1a1a6; opacity: 0; }
+ #lead { top: 420px; font-size: 150px; font-weight: 800; color: #1d1d1f; opacity: 0; }
+ </style>
+ </head>
+ <body>
+ <div id="root" data-composition-id="root" data-start="0" data-width="1920" data-height="1080" data-duration="5">
+ <div class="ink" id="ink">
+ <div class="line" id="big">한 장에</div>
+ <div class="line" id="tail">정리돼요</div>
+ </div>
+ <div class="line" id="lead">모아 두면</div>
+ </div>
+ <script>
+ const beat = 60 / 96;
+ const tl = gsap.timeline({ paused: true });
+ tl.fromTo("#lead", { opacity: 0, y: 50 }, { opacity: 1, y: 0, duration: 0.5, ease: "power3.out" }, 0.9);
+ tl.to("#ink", { clipPath: "circle(75% at 50% 50%)", duration: 0.4, ease: "power2.inOut" }, 3 * beat - 0.2);
+ tl.to("#lead", { y: -200, scale: 0.4, color: "#a1a1a6", duration: 0.4, ease: "power2.inOut" }, 3 * beat - 0.2);
+ tl.fromTo("#big", { opacity: 0, scale: 0.6 }, { opacity: 1, scale: 1, duration: 0.3, ease: "back.out(1.7)" }, 3 * beat);
+ tl.to("#tail", { opacity: 1, duration: 0.4, ease: "power3.out" }, 4 * beat);
+ window.__timelines = window.__timelines || {};
+ window.__timelines["root"] = tl;
+ </script>
+ </body>
+</html>
diff --git a/skills/motion-video-production/engines/hyperframes/package-lock.json b/skills/motion-video-production/engines/hyperframes/package-lock.json
new file mode 100644
index 0000000..c4e95e3
--- /dev/null
+++ b/skills/motion-video-production/engines/hyperframes/package-lock.json
@@ -0,0 +1,1907 @@
+{
+ "name": "motion-video-hyperframes",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "motion-video-hyperframes",
+ "version": "0.1.0",
+ "dependencies": {
+ "gsap": "3.14.2",
+ "hyperframes": "0.8.143",
+ "pretendard": "1.3.9"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.11.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",
+ "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz",
+ "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz",
+ "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz",
+ "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz",
+ "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz",
+ "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz",
+ "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz",
+ "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz",
+ "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz",
+ "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz",
+ "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==",
+ "cpu": [
+ "loong64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz",
+ "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz",
+ "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz",
+ "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==",
+ "cpu": [
+ "riscv64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz",
+ "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz",
+ "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz",
+ "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz",
+ "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz",
+ "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz",
+ "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz",
+ "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz",
+ "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz",
+ "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
+ "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@hono/node-server": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz",
+ "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ },
+ "peerDependencies": {
+ "hono": "^4 || ^5.0.0-0"
+ }
+ },
+ "node_modules/@img/colour": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@img/sharp-darwin-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",
+ "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-darwin-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",
+ "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-darwin-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-freebsd-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",
+ "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "dependencies": {
+ "@img/sharp-wasm32": "0.35.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",
+ "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-darwin-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",
+ "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",
+ "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",
+ "cpu": [
+ "arm"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",
+ "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-ppc64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",
+ "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-riscv64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",
+ "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-s390x": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",
+ "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linux-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",
+ "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",
+ "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",
+ "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",
+ "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",
+ "cpu": [
+ "arm"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",
+ "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-ppc64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",
+ "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-ppc64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-riscv64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",
+ "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-riscv64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-s390x": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",
+ "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",
+ "cpu": [
+ "s390x"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-s390x": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linux-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",
+ "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",
+ "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-linuxmusl-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",
+ "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4"
+ }
+ },
+ "node_modules/@img/sharp-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",
+ "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",
+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/runtime": "^1.11.3"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-webcontainers-wasm32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",
+ "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "Apache-2.0",
+ "optional": true,
+ "dependencies": {
+ "@img/sharp-wasm32": "0.35.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-arm64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",
+ "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-ia32": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",
+ "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@img/sharp-win32-x64": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",
+ "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
+ },
+ "node_modules/@puppeteer/browsers": {
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.2.6.tgz",
+ "integrity": "sha512-MJP29gVoHznmqmwhH1tlZqzfeQ3aylTpSSa6WKZXtkwYUH02i9imBmWGTyZrbnAou5paX78SE4jMAUqnEPf8ug==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "modern-tar": "^0.8.6",
+ "yargs": "^18.0.0"
+ },
+ "bin": {
+ "browsers": "lib/main-cli.js"
+ },
+ "engines": {
+ "node": ">=22.12.0"
+ },
+ "peerDependencies": {
+ "proxy-agent": ">=8.0.1",
+ "yauzl": "^2.10.0 || ^3.4.0"
+ },
+ "peerDependenciesMeta": {
+ "proxy-agent": {
+ "optional": true
+ },
+ "yauzl": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.23",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",
+ "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "tslib": "^2.8.0"
+ }
+ },
+ "node_modules/adm-zip": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.6.1.tgz",
+ "integrity": "sha512-Xwrja8nx9e5o2N1my4DsKCeKpdrnACyr1wtbPxBDgGzKzKyE9kRtBFA8mWldI+RVlD7CBZNWY/wQ2+ydwOR6kQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",
+ "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/brotli": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.3.tgz",
+ "integrity": "sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==",
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.1.2"
+ }
+ },
+ "node_modules/bundle-name": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.1.tgz",
+ "integrity": "sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==",
+ "license": "MIT",
+ "dependencies": {
+ "run-applescript": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/chromium-bidi": {
+ "version": "157.0.8090-0",
+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-157.0.8090-0.tgz",
+ "integrity": "sha512-KJw7IQgqXwxpJgJlEIPg5mr2ZoqA+jkTRtc5EABI7sUJ3bu3cpI7NuEBoj4Gn1AsF78CaT9So5WQWspK3/wYag==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "mitt": "^3.0.1",
+ "zod": "^4.6.5"
+ },
+ "engines": {
+ "node": ">=20.19.0 <22.0.0 || >=22.12.0"
+ },
+ "peerDependencies": {
+ "devtools-protocol": "*"
+ }
+ },
+ "node_modules/citty": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/citty/-/citty-0.2.2.tgz",
+ "integrity": "sha512-+6vJA3L98yv+IdfKGZHBNiGW5KHn22e/JwID0Strsz8h4S/csAu/OuICwxrg44k5MRiZHWIo8XXuJgQTriRP4w==",
+ "license": "MIT"
+ },
+ "node_modules/cliui": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",
+ "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==",
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^7.2.0",
+ "strip-ansi": "^7.1.0",
+ "wrap-ansi": "^9.0.0"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
+ "node_modules/cliui/node_modules/string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/clone": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
+ "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/compare-versions": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz",
+ "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==",
+ "license": "MIT"
+ },
+ "node_modules/css-tree": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz",
+ "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==",
+ "license": "MIT",
+ "dependencies": {
+ "mdn-data": "2.27.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/default-browser": {
+ "version": "5.5.1",
+ "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.1.tgz",
+ "integrity": "sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==",
+ "license": "MIT",
+ "dependencies": {
+ "bundle-name": "^4.1.0",
+ "default-browser-id": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/default-browser-id": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz",
+ "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz",
+ "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/devtools-protocol": {
+ "version": "0.0.1704951",
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1704951.tgz",
+ "integrity": "sha512-GQhQOs9u/Mvm1zMtJIH872JS4AskuZdUSsPNPk4ChahtWAUqgz6atEtIsMt+nO7MqF1Ic4HxII/k8Cu36JivNg==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/dfa": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz",
+ "integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q==",
+ "license": "MIT"
+ },
+ "node_modules/emoji-regex": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.25.12",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
+ "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.12",
+ "@esbuild/android-arm": "0.25.12",
+ "@esbuild/android-arm64": "0.25.12",
+ "@esbuild/android-x64": "0.25.12",
+ "@esbuild/darwin-arm64": "0.25.12",
+ "@esbuild/darwin-x64": "0.25.12",
+ "@esbuild/freebsd-arm64": "0.25.12",
+ "@esbuild/freebsd-x64": "0.25.12",
+ "@esbuild/linux-arm": "0.25.12",
+ "@esbuild/linux-arm64": "0.25.12",
+ "@esbuild/linux-ia32": "0.25.12",
+ "@esbuild/linux-loong64": "0.25.12",
+ "@esbuild/linux-mips64el": "0.25.12",
+ "@esbuild/linux-ppc64": "0.25.12",
+ "@esbuild/linux-riscv64": "0.25.12",
+ "@esbuild/linux-s390x": "0.25.12",
+ "@esbuild/linux-x64": "0.25.12",
+ "@esbuild/netbsd-arm64": "0.25.12",
+ "@esbuild/netbsd-x64": "0.25.12",
+ "@esbuild/openbsd-arm64": "0.25.12",
+ "@esbuild/openbsd-x64": "0.25.12",
+ "@esbuild/openharmony-arm64": "0.25.12",
+ "@esbuild/sunos-x64": "0.25.12",
+ "@esbuild/win32-arm64": "0.25.12",
+ "@esbuild/win32-ia32": "0.25.12",
+ "@esbuild/win32-x64": "0.25.12"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "license": "MIT"
+ },
+ "node_modules/fontkit": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/fontkit/-/fontkit-2.0.4.tgz",
+ "integrity": "sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g==",
+ "license": "MIT",
+ "dependencies": {
+ "@swc/helpers": "^0.5.12",
+ "brotli": "^1.3.2",
+ "clone": "^2.1.2",
+ "dfa": "^1.2.0",
+ "fast-deep-equal": "^3.1.3",
+ "restructure": "^3.0.0",
+ "tiny-inflate": "^1.0.3",
+ "unicode-properties": "^1.4.0",
+ "unicode-trie": "^2.0.0"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/get-east-asian-width": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz",
+ "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/giget": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/giget/-/giget-3.3.1.tgz",
+ "integrity": "sha512-r+mvuDjrjMpsdw46Kmeydb8bdHm7wOKw8wNBtTndkjbPjgAp5oUJUxRE76wZFknxIPokfWvep2qSXK37aXE6zg==",
+ "license": "MIT",
+ "bin": {
+ "giget": "dist/cli.mjs"
+ }
+ },
+ "node_modules/gsap": {
+ "version": "3.14.2",
+ "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.14.2.tgz",
+ "integrity": "sha512-P8/mMxVLU7o4+55+1TCnQrPmgjPKnwkzkXOK1asnR9Jg2lna4tEY5qBJjMmAaOBDDZWtlRjBXjLa0w53G/uBLA==",
+ "license": "Standard 'no charge' license: https://gsap.com/standard-license."
+ },
+ "node_modules/hono": {
+ "version": "4.13.13",
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.13.tgz",
+ "integrity": "sha512-CQ46U0ZkAGmbT/4UxdzzGJpacP2IeKgY4a5/tOI9AABbpOMfK739wfDXmv1usCk+3RkKj1hQy4/fjhiwa2xlrA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.9.0"
+ }
+ },
+ "node_modules/hyperframes": {
+ "version": "0.8.143",
+ "resolved": "https://registry.npmjs.org/hyperframes/-/hyperframes-0.8.143.tgz",
+ "integrity": "sha512-kCNOSZXJFTX30hOBt8nyLD/3kCIGOhdRHKHzF1H0fL1aYPFnGQpZPZZbNK0AW8QpYG5TdQ5TZRJr+EuQdX8Rtw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@hono/node-server": "^2.0.5",
+ "@puppeteer/browsers": "^3.2.2",
+ "adm-zip": "^0.6.0",
+ "citty": "^0.2.1",
+ "compare-versions": "^6.1.1",
+ "css-tree": "^3.2.1",
+ "debug": "^4.4.0",
+ "esbuild": "^0.25.12",
+ "fontkit": "^2.0.4",
+ "giget": "^3.2.0",
+ "hono": "^4.0.0",
+ "ignore": "^5.3.2",
+ "open": "^10.0.0",
+ "postcss": "^8.5.8",
+ "prettier": "^3.8.1",
+ "puppeteer-core": "^25.10.0",
+ "sharp": "^0.35.0"
+ },
+ "bin": {
+ "hyperframes": "bin/hyperframes.mjs",
+ "hyperframes-localize-fonts": "bin/hyperframes-localize-fonts.mjs"
+ },
+ "engines": {
+ "node": ">=22"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/is-docker": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz",
+ "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==",
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-inside-container": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz",
+ "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==",
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^3.0.0"
+ },
+ "bin": {
+ "is-inside-container": "cli.js"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz",
+ "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-inside-container": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mdn-data": {
+ "version": "2.27.1",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",
+ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",
+ "license": "CC0-1.0"
+ },
+ "node_modules/mitt": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
+ "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==",
+ "license": "MIT"
+ },
+ "node_modules/modern-tar": {
+ "version": "0.8.6",
+ "resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.6.tgz",
+ "integrity": "sha512-LYSks0tNVqbtez/9OB0YFP6qLRSqkdAxJWOQpVaR67lNTbj2zNLyYpowkRMia5lXLCZKzxwoxkxH2MbbBR2aEg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.20",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
+ "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/open": {
+ "version": "10.2.0",
+ "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz",
+ "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==",
+ "license": "MIT",
+ "dependencies": {
+ "default-browser": "^5.2.1",
+ "define-lazy-prop": "^3.0.0",
+ "is-inside-container": "^1.0.0",
+ "wsl-utils": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/pako": {
+ "version": "0.2.9",
+ "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",
+ "integrity": "sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==",
+ "license": "MIT"
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/postcss": {
+ "version": "8.5.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz",
+ "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.20",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/pretendard": {
+ "version": "1.3.9",
+ "resolved": "https://registry.npmjs.org/pretendard/-/pretendard-1.3.9.tgz",
+ "integrity": "sha512-PaQAADyLY5v4kYFwkpSJHbSSYIkiriY/1xXw75TKoZ9UQQqeU+tvP05yTdZAWibiIYoo8ZKtRv8PM7w0IaywSw==",
+ "license": "OFL-1.1"
+ },
+ "node_modules/prettier": {
+ "version": "3.9.10",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.10.tgz",
+ "integrity": "sha512-skGHTH1Yb9QvaTC4hWnRTzEYtCpApF0UMBPz+t/0ZPzP8ihefo/btKd+QA7pUE0fEwA1SbS/NmhyEcstdXOIdA==",
+ "license": "MIT",
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/puppeteer-core": {
+ "version": "25.16.0",
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-25.16.0.tgz",
+ "integrity": "sha512-VA5Pf54N8shfopNkZZXCdiiwfnnY8ZJYAMqFQRhlH5mGUhfwf53Ar770GPtdpTDLUqvQeYpIBtC9/G2Jij2IJw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@puppeteer/browsers": "3.2.6",
+ "chromium-bidi": "157.0.8090-0",
+ "devtools-protocol": "0.0.1704951",
+ "typed-query-selector": "^2.12.3",
+ "webdriver-bidi-protocol": "1.0.1",
+ "ws": "^8.22.0"
+ },
+ "engines": {
+ "node": ">=22.12.0"
+ }
+ },
+ "node_modules/restructure": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/restructure/-/restructure-3.0.2.tgz",
+ "integrity": "sha512-gSfoiOEA0VPE6Tukkrr7I0RBdE0s7H1eFCDBk05l1KIQT1UIKNc5JZy6jdyW6eYH3aR3g5b3PuL77rq0hvwtAw==",
+ "license": "MIT"
+ },
+ "node_modules/run-applescript": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz",
+ "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/sharp": {
+ "version": "0.35.5",
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",
+ "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@img/colour": "^1.1.0",
+ "detect-libc": "^2.1.2",
+ "semver": "^7.8.5"
+ },
+ "engines": {
+ "node": ">=20.9.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-darwin-arm64": "0.35.5",
+ "@img/sharp-darwin-x64": "0.35.5",
+ "@img/sharp-freebsd-wasm32": "0.35.5",
+ "@img/sharp-libvips-darwin-arm64": "1.3.4",
+ "@img/sharp-libvips-darwin-x64": "1.3.4",
+ "@img/sharp-libvips-linux-arm": "1.3.4",
+ "@img/sharp-libvips-linux-arm64": "1.3.4",
+ "@img/sharp-libvips-linux-ppc64": "1.3.4",
+ "@img/sharp-libvips-linux-riscv64": "1.3.4",
+ "@img/sharp-libvips-linux-s390x": "1.3.4",
+ "@img/sharp-libvips-linux-x64": "1.3.4",
+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4",
+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4",
+ "@img/sharp-linux-arm": "0.35.5",
+ "@img/sharp-linux-arm64": "0.35.5",
+ "@img/sharp-linux-ppc64": "0.35.5",
+ "@img/sharp-linux-riscv64": "0.35.5",
+ "@img/sharp-linux-s390x": "0.35.5",
+ "@img/sharp-linux-x64": "0.35.5",
+ "@img/sharp-linuxmusl-arm64": "0.35.5",
+ "@img/sharp-linuxmusl-x64": "0.35.5",
+ "@img/sharp-webcontainers-wasm32": "0.35.5",
+ "@img/sharp-win32-arm64": "0.35.5",
+ "@img/sharp-win32-ia32": "0.35.5",
+ "@img/sharp-win32-x64": "0.35.5"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",
+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz",
+ "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "get-east-asian-width": "^1.5.0",
+ "strip-ansi": "^7.1.2"
+ },
+ "engines": {
+ "node": ">=20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.2.2"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/tiny-inflate": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",
+ "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==",
+ "license": "MIT"
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
+ "license": "0BSD"
+ },
+ "node_modules/typed-query-selector": {
+ "version": "2.12.3",
+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.3.tgz",
+ "integrity": "sha512-/dtuMZyutHLlrxWhhC1uib00ELUr2dZ8C9B8YzZYsJmeE3V56OxRblrSM2UaF142pcMtak7ehZ6+poWGeehNIg==",
+ "license": "MIT"
+ },
+ "node_modules/unicode-properties": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.4.1.tgz",
+ "integrity": "sha512-CLjCCLQ6UuMxWnbIylkisbRj31qxHPAurvena/0iwSVbQ2G1VY5/HjV0IRabOEbDHlzZlRdCrD4NhB0JtU40Pg==",
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.0",
+ "unicode-trie": "^2.0.0"
+ }
+ },
+ "node_modules/unicode-trie": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz",
+ "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==",
+ "license": "MIT",
+ "dependencies": {
+ "pako": "^0.2.5",
+ "tiny-inflate": "^1.0.0"
+ }
+ },
+ "node_modules/webdriver-bidi-protocol": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-1.0.1.tgz",
+ "integrity": "sha512-WXWs/aXF2a6Al1Z2/V/7Gp2oPZOAAmHjJOTmv4KCXRJ122IMj3tSSMc6a4q3K4QOmhQbse/Ahr+oTVJOU2dUiw==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/wrap-ansi": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",
+ "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "string-width": "^7.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi/node_modules/string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.22.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",
+ "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/wsl-utils": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.1.0.tgz",
+ "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-wsl": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "18.2.0",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.2.0.tgz",
+ "integrity": "sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==",
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^9.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "string-width": "^8.2.1",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^22.0.0"
+ },
+ "engines": {
+ "node": "^20.19.0 || ^22.12.0 || >=23"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "22.0.0",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",
+ "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==",
+ "license": "ISC",
+ "engines": {
+ "node": "^20.19.0 || ^22.12.0 || >=23"
+ }
+ },
+ "node_modules/zod": {
+ "version": "4.6.7",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
+ "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ }
+ }
+}
diff --git a/skills/motion-video-production/engines/hyperframes/package.json b/skills/motion-video-production/engines/hyperframes/package.json
new file mode 100644
index 0000000..7910ca8
--- /dev/null
+++ b/skills/motion-video-production/engines/hyperframes/package.json
@@ -0,0 +1,17 @@
+{
+ "name": "motion-video-hyperframes",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "HyperFrames engine for the motion-video-production skill: plain HTML/CSS pages animated with GSAP, rendered to MP4",
+ "scripts": {
+ "preview": "hyperframes preview",
+ "check": "hyperframes lint && hyperframes validate",
+ "render": "hyperframes render --fps 30 --quality high -o renders/carry-demo.mp4"
+ },
+ "dependencies": {
+ "gsap": "3.14.2",
+ "hyperframes": "0.8.143",
+ "pretendard": "1.3.9"
+ }
+}
diff --git a/skills/motion-video-production/engines/remotion/motions/_lib/ease.ts b/skills/motion-video-production/engines/remotion/motions/_lib/ease.ts
new file mode 100644
index 0000000..9e28d0e
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/motions/_lib/ease.ts
@@ -0,0 +1,45 @@
+// Easing curves shared by every motion module. Pure functions of progress u ∈ [0, 1] → eased progress.
+// Names match the motion vocabulary in the art-direction reference.
+
+export type Ease = (u: number) => number;
+
+/** CSS cubic-bezier(x1, y1, x2, y2), solved for x by Newton iterations with a bisection fallback. */
+export function cubicBezier(x1: number, y1: number, x2: number, y2: number): Ease {
+ const bx = (s: number) => 3 * x1 * s * (1 - s) ** 2 + 3 * x2 * s ** 2 * (1 - s) + s ** 3;
+ const by = (s: number) => 3 * y1 * s * (1 - s) ** 2 + 3 * y2 * s ** 2 * (1 - s) + s ** 3;
+ const dx = (s: number) => 3 * x1 * (1 - s) ** 2 + 6 * (x2 - x1) * s * (1 - s) + 3 * (1 - x2) * s ** 2;
+ return (u) => {
+ if (u <= 0) return 0;
+ if (u >= 1) return 1;
+ let s = u;
+ for (let i = 0; i < 8; i++) {
+ const err = bx(s) - u;
+ if (Math.abs(err) < 1e-7) return by(s);
+ const d = dx(s);
+ if (Math.abs(d) < 1e-6) break;
+ s -= err / d;
+ }
+ let lo = 0, hi = 1;
+ s = u;
+ for (let i = 0; i < 40; i++) {
+ if (bx(s) < u) lo = s; else hi = s;
+ s = (lo + hi) / 2;
+ }
+ return by(s);
+ };
+}
+
+export const ease = {
+ /** opens, slides */
+ out: cubicBezier(0.22, 1, 0.36, 1),
+ /** entrances with overshoot */
+ back: cubicBezier(0.34, 1.56, 0.64, 1),
+ /** exits that leave the frame */
+ in: cubicBezier(0.4, 0, 1, 1),
+ /** wipes and pushes */
+ swipe: cubicBezier(0.65, 0, 0.35, 1),
+ linear: (u: number) => Math.min(1, Math.max(0, u)),
+} satisfies Record<string, Ease>;
+
+/** Progress of a window that starts at t0 and lasts d seconds, clamped to [0, 1]. */
+export const progress = (t: number, t0: number, d: number) => Math.min(1, Math.max(0, (t - t0) / d));
diff --git a/skills/motion-video-production/engines/remotion/motions/iris/iris.test.ts b/skills/motion-video-production/engines/remotion/motions/iris/iris.test.ts
new file mode 100644
index 0000000..9ba0d2b
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/motions/iris/iris.test.ts
@@ -0,0 +1,25 @@
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { iris } from './iris.ts';
+
+const P = { t0: 2.2, d: 0.4 };
+
+test('closed before the window, open after it', () => {
+ assert.equal(iris(0, P), 'circle(0.000% at 50% 50%)');
+ assert.equal(iris(2.2, P), 'circle(0.000% at 50% 50%)');
+ assert.equal(iris(2.6, P), 'circle(75.000% at 50% 50%)');
+ assert.equal(iris(9, P), 'circle(75.000% at 50% 50%)');
+});
+
+test('swipe easing is symmetric: half radius at the midpoint (the beat)', () => {
+ assert.equal(iris(2.4, P), 'circle(37.500% at 50% 50%)');
+});
+
+test('radius grows monotonically across the window, frame by frame at 60 fps', () => {
+ const r = (t: number) => Number(iris(t, P).match(/circle\(([\d.]+)%/)![1]);
+ for (let f = 132; f < 156; f++) assert.ok(r((f + 1) / 60) >= r(f / 60), `frame ${f}`);
+});
+
+test('centre and final radius are parameters', () => {
+ assert.equal(iris(3, { ...P, x: 0, y: 100, to: 150 }), 'circle(150.000% at 0% 100%)');
+});
diff --git a/skills/motion-video-production/engines/remotion/motions/iris/iris.ts b/skills/motion-video-production/engines/remotion/motions/iris/iris.ts
new file mode 100644
index 0000000..c2cdeae
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/motions/iris/iris.ts
@@ -0,0 +1,28 @@
+import { ease, progress, type Ease } from '../_lib/ease.ts';
+
+export type IrisParams = {
+ /** transition start, seconds */
+ t0: number;
+ /** transition length, seconds (0.35–0.45 s reads as a motion transition, shorter as a cut) */
+ d: number;
+ /** circle centre in % of the frame (default the centre) */
+ x?: number;
+ y?: number;
+ /** final radius in % — 75 covers a 16:9 frame from the centre; use ~150 from a corner */
+ to?: number;
+ easing?: Ease;
+};
+
+/**
+ * Iris: the incoming layer is revealed through a growing circle.
+ * Returns the CSS `clip-path` for the incoming layer at time t. Before t0 the circle is 0 %, after t0 + d it is `to`.
+ */
+export function iris(t: number, p: IrisParams): string {
+ const { x = 50, y = 50 } = p;
+ return `circle(${irisRadius(t, p).toFixed(3)}% at ${x}% ${y}%)`;
+}
+
+/** The iris radius at time t in CSS `circle()` percent: of sqrt((w² + h²) / 2) of the layer. */
+export function irisRadius(t: number, { t0, d, to = 75, easing = ease.swipe }: IrisParams): number {
+ return to * easing(progress(t, t0, d));
+}
diff --git a/skills/motion-video-production/engines/remotion/package-lock.json b/skills/motion-video-production/engines/remotion/package-lock.json
new file mode 100644
index 0000000..1849e74
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/package-lock.json
@@ -0,0 +1,3915 @@
+{
+ "name": "motion-video-engine",
+ "version": "0.1.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "motion-video-engine",
+ "version": "0.1.0",
+ "dependencies": {
+ "@fontsource/jetbrains-mono": "5.3.0",
+ "@fontsource/nanum-myeongjo": "5.3.0",
+ "@remotion/bundler": "4.0.529",
+ "@remotion/cli": "4.0.529",
+ "@remotion/renderer": "4.0.529",
+ "pretendard": "1.3.9",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "4.0.529"
+ },
+ "devDependencies": {
+ "@types/node": "24.19.0",
+ "@types/react": "18.3.31",
+ "typescript": "5.9.3"
+ },
+ "engines": {
+ "node": ">=24"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
+ "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",
+ "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",
+ "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.7",
+ "@babel/helper-compilation-targets": "^7.29.7",
+ "@babel/helper-module-transforms": "^7.29.7",
+ "@babel/helpers": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/template": "^7.29.7",
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/core/node_modules/@babel/parser": {
+ "version": "7.29.9",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/core/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz",
+ "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.8",
+ "@babel/types": "^7.29.8",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/generator/node_modules/@babel/parser": {
+ "version": "7.29.9",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/generator/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",
+ "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.29.7",
+ "@babel/helper-validator-option": "^7.29.7",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",
+ "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",
+ "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",
+ "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7",
+ "@babel/traverse": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",
+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",
+ "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",
+ "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.24.1",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz",
+ "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==",
+ "license": "MIT",
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.29.7",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",
+ "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/parser": "^7.29.7",
+ "@babel/types": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template/node_modules/@babel/parser": {
+ "version": "7.29.9",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/template/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz",
+ "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.7",
+ "@babel/generator": "^7.29.8",
+ "@babel/helper-globals": "^7.29.7",
+ "@babel/parser": "^7.29.8",
+ "@babel/template": "^7.29.7",
+ "@babel/types": "^7.29.8",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/@babel/parser": {
+ "version": "7.29.9",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",
+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.8"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/@babel/types": {
+ "version": "7.29.8",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",
+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.29.7",
+ "@babel/helper-validator-identifier": "^7.29.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz",
+ "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.23.4",
+ "@babel/helper-validator-identifier": "^7.22.20",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.11.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.3.tgz",
+ "integrity": "sha512-zLpS5asjEb7lq8jYLq37N6XKaE41DIexlY1rF/z4/tIl3wo13Sqm28fRyfIsKZD+NZ8mM5RoKkpW/rBcuoSZSg==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.2.3",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.11.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",
+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.3.tgz",
+ "integrity": "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.1.tgz",
+ "integrity": "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.1.tgz",
+ "integrity": "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.1.tgz",
+ "integrity": "sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.1.tgz",
+ "integrity": "sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.1.tgz",
+ "integrity": "sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.1.tgz",
+ "integrity": "sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.1.tgz",
+ "integrity": "sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.1.tgz",
+ "integrity": "sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.1.tgz",
+ "integrity": "sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.1.tgz",
+ "integrity": "sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==",
+ "cpu": [
+ "loong64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.1.tgz",
+ "integrity": "sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.1.tgz",
+ "integrity": "sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.1.tgz",
+ "integrity": "sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.1.tgz",
+ "integrity": "sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.1.tgz",
+ "integrity": "sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.1.tgz",
+ "integrity": "sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.1.tgz",
+ "integrity": "sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openharmony-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.1.tgz",
+ "integrity": "sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.1.tgz",
+ "integrity": "sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.1.tgz",
+ "integrity": "sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.1.tgz",
+ "integrity": "sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.1.tgz",
+ "integrity": "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@fontsource/jetbrains-mono": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource/jetbrains-mono/-/jetbrains-mono-5.3.0.tgz",
+ "integrity": "sha512-fqDfB5I9f1p1TV486aUgB9t8zP84P0O1FtQR5Ol9vjwPy+S+EIGlVYm1cvj2W5shcZMTg2nZFdVMoH5wFu8a1A==",
+ "license": "OFL-1.1",
+ "funding": {
+ "url": "https://github.com/sponsors/ayuhito"
+ }
+ },
+ "node_modules/@fontsource/nanum-myeongjo": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/@fontsource/nanum-myeongjo/-/nanum-myeongjo-5.3.0.tgz",
+ "integrity": "sha512-NydSAjJbL1XKHI9JIPhB0+4VgyivHhP+Po0hN33e46iMvyE8uej1d25E1/vvD0ucGuQ8A0otsqNw52Ic6JYigQ==",
+ "license": "OFL-1.1",
+ "funding": {
+ "url": "https://github.com/sponsors/ayuhito"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/source-map": {
+ "version": "0.3.11",
+ "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz",
+ "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",
+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@mediabunny/aac-encoder": {
+ "version": "1.56.1",
+ "resolved": "https://registry.npmjs.org/@mediabunny/aac-encoder/-/aac-encoder-1.56.1.tgz",
+ "integrity": "sha512-a+OY/BctP7zC4G/prHikooOVaoWXMD4+bUyEwHg2dtQiQdIwC6TDJdVYJu5dfrdSNOiAFkv1HKcYEeROdwMezg==",
+ "license": "MPL-2.0",
+ "funding": {
+ "type": "individual",
+ "url": "https://github.com/sponsors/Vanilagy"
+ },
+ "peerDependencies": {
+ "mediabunny": "^1.0.0"
+ }
+ },
+ "node_modules/@mediabunny/flac-encoder": {
+ "version": "1.56.1",
+ "resolved": "https://registry.npmjs.org/@mediabunny/flac-encoder/-/flac-encoder-1.56.1.tgz",
+ "integrity": "sha512-zbmorMVlF1izwtlz5mWnu7A1rJLM+V26I0pEFr9Td1EDTwE5uAGRSW+/UZlnjwj1t00Woe3Zonfh9kb7lRRBqg==",
+ "license": "MPL-2.0",
+ "funding": {
+ "type": "individual",
+ "url": "https://github.com/sponsors/Vanilagy"
+ },
+ "peerDependencies": {
+ "mediabunny": "^1.0.0"
+ }
+ },
+ "node_modules/@mediabunny/mp3-encoder": {
+ "version": "1.56.1",
+ "resolved": "https://registry.npmjs.org/@mediabunny/mp3-encoder/-/mp3-encoder-1.56.1.tgz",
+ "integrity": "sha512-p66ovEq6mZt3ejje45NOju84hIJI4v8rHfsmc1D2J34ziV0USE8AdJBzmiwqxl6nZkIAQLNB19HzbVRcQfc51g==",
+ "license": "MPL-2.0",
+ "funding": {
+ "type": "individual",
+ "url": "https://github.com/sponsors/Vanilagy"
+ },
+ "peerDependencies": {
+ "mediabunny": "^1.0.0"
+ }
+ },
+ "node_modules/@module-federation/error-codes": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz",
+ "integrity": "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==",
+ "license": "MIT"
+ },
+ "node_modules/@module-federation/runtime": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.22.0.tgz",
+ "integrity": "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==",
+ "license": "MIT",
+ "dependencies": {
+ "@module-federation/error-codes": "0.22.0",
+ "@module-federation/runtime-core": "0.22.0",
+ "@module-federation/sdk": "0.22.0"
+ }
+ },
+ "node_modules/@module-federation/runtime-core": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/runtime-core/-/runtime-core-0.22.0.tgz",
+ "integrity": "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==",
+ "license": "MIT",
+ "dependencies": {
+ "@module-federation/error-codes": "0.22.0",
+ "@module-federation/sdk": "0.22.0"
+ }
+ },
+ "node_modules/@module-federation/runtime-tools": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.22.0.tgz",
+ "integrity": "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==",
+ "license": "MIT",
+ "dependencies": {
+ "@module-federation/runtime": "0.22.0",
+ "@module-federation/webpack-bundler-runtime": "0.22.0"
+ }
+ },
+ "node_modules/@module-federation/sdk": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.22.0.tgz",
+ "integrity": "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==",
+ "license": "MIT"
+ },
+ "node_modules/@module-federation/webpack-bundler-runtime": {
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.22.0.tgz",
+ "integrity": "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==",
+ "license": "MIT",
+ "dependencies": {
+ "@module-federation/runtime": "0.22.0",
+ "@module-federation/sdk": "0.22.0"
+ }
+ },
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz",
+ "integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.5.0",
+ "@emnapi/runtime": "^1.5.0",
+ "@tybys/wasm-util": "^0.10.1"
+ }
+ },
+ "node_modules/@remotion/bundler": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/bundler/-/bundler-4.0.529.tgz",
+ "integrity": "sha512-yrOoPWjwYz+E6B4uRub2L08VYZgo37T9fRaFqhtenrBFMVmR6JhftpXHyizOpQWRbeEuk1KLLo+M2duLhbi2qw==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "dependencies": {
+ "@remotion/media-parser": "4.0.529",
+ "@remotion/studio": "4.0.529",
+ "@remotion/studio-shared": "4.0.529",
+ "@remotion/timeline-utils": "4.0.529",
+ "@rspack/core": "1.7.11",
+ "@rspack/plugin-react-refresh": "1.6.1",
+ "css-loader": "7.1.4",
+ "esbuild": "0.28.1",
+ "react-refresh": "0.18.0",
+ "remotion": "4.0.529",
+ "style-loader": "4.0.0",
+ "webpack": "5.105.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/canvas": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/canvas/-/canvas-4.0.529.tgz",
+ "integrity": "sha512-zemhIIfjf+4jxwH20n+HDSEE/DxbO8HvMGdD+moozbk75E868uZWSSKNHY9EaFVi3i7hwkSv03XEktsRFLQl9A==",
+ "license": "Remotion License",
+ "dependencies": {
+ "@remotion/player": "4.0.529",
+ "remotion": "4.0.529"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/captions": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/captions/-/captions-4.0.529.tgz",
+ "integrity": "sha512-zXHY/FCqKqxOid60dDUVYWV/yRsIg+7F6/Qs4OMsouNqL6fC6jKwjA/+lsbimdxRUv/VUeaVVyNEufXfenQGNA==",
+ "license": "MIT"
+ },
+ "node_modules/@remotion/cli": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/cli/-/cli-4.0.529.tgz",
+ "integrity": "sha512-1ONdF3q0adtw8FXW4CXeaSbzYV0vXIzJEm+b9mMrTDD9iyF+AKaLMzMUNespJaAvFxSxy/HV6hq17LS4UMfmiQ==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "dependencies": {
+ "@babel/parser": "7.24.1",
+ "@remotion/bundler": "4.0.529",
+ "@remotion/media-utils": "4.0.529",
+ "@remotion/player": "4.0.529",
+ "@remotion/renderer": "4.0.529",
+ "@remotion/studio": "4.0.529",
+ "@remotion/studio-server": "4.0.529",
+ "@remotion/studio-shared": "4.0.529",
+ "dotenv": "17.3.1",
+ "minimist": "1.2.6",
+ "prompts": "2.4.2",
+ "remotion": "4.0.529",
+ "semver": "7.5.3"
+ },
+ "bin": {
+ "remotion": "remotion-cli.js",
+ "remotionb": "remotionb-cli.js",
+ "remotiond": "remotiond-cli.js"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/codemods": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/codemods/-/codemods-4.0.529.tgz",
+ "integrity": "sha512-OfzvplLep4kpnxjZfnAPDTMWl+SDaudvrTpWizG7py58enZDpygoC3GD5TxqVcHi3KYja68k9vnJz/+DaAiJzw==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "7.24.1",
+ "@babel/types": "7.24.0",
+ "@remotion/studio-protocol": "4.0.529",
+ "@remotion/studio-shared": "4.0.529",
+ "ast-types": "0.16.1",
+ "recast": "0.23.21",
+ "remotion": "4.0.529"
+ }
+ },
+ "node_modules/@remotion/compositor-darwin-arm64": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-darwin-arm64/-/compositor-darwin-arm64-4.0.529.tgz",
+ "integrity": "sha512-uzCs1izkHlbQGvASFvnSSXodh0dfMIqaCwXX/4Zx6o+ML8MIiYfvoMXMH22bFAU6T5HYFKREhO+PKc/iDZKe4A==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@remotion/compositor-darwin-x64": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-darwin-x64/-/compositor-darwin-x64-4.0.529.tgz",
+ "integrity": "sha512-5nPifOtkadthsrJTG4YGUR22HrAVML77zYoFKRWQGHboLcCik7UPZVy/X7yRu6HlGYuFULe0N7MKWude8jo2GA==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@remotion/compositor-linux-arm64-gnu": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-arm64-gnu/-/compositor-linux-arm64-gnu-4.0.529.tgz",
+ "integrity": "sha512-hb1gOJPGiP588tTR2pfif6xkSvYOXh3qW2FHQOIRki97kj3EyANj/+0+naVroJhrpFpE6lDHz8BMDdd8Sc6MKg==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@remotion/compositor-linux-arm64-musl": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-arm64-musl/-/compositor-linux-arm64-musl-4.0.529.tgz",
+ "integrity": "sha512-ZmGciox6hDUDIwiw2bq9KBtA6dK/y0ZNdsYpf/06rSZJMbWM3HhhLG0k+uBb/ELhQt8ZtuFBx8neN8qq5zi5/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@remotion/compositor-linux-x64-gnu": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-x64-gnu/-/compositor-linux-x64-gnu-4.0.529.tgz",
+ "integrity": "sha512-MSsX7ut2AOrTsgxCNPR9IulNkiMnZ4waQcUd43l8yePlsirTHVvOseB7fJtOFHDmjYJWYbbm3IcfaUWQJa68Zw==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@remotion/compositor-linux-x64-musl": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-linux-x64-musl/-/compositor-linux-x64-musl-4.0.529.tgz",
+ "integrity": "sha512-Jada9IFuw4qY9YahXHVOgQy5tSRRLfTfaj3E5Xda7xJokju/hWUkBjUaGl6dtJmH+S+h19f5Tu2UH2J9M2v1gg==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@remotion/compositor-win32-x64-msvc": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/compositor-win32-x64-msvc/-/compositor-win32-x64-msvc-4.0.529.tgz",
+ "integrity": "sha512-kyg7sG3bRdsKlcwDQ1yNMwDkAKpwlTtTrwbVWKcmii8LvHdMEDGPuteuQn6ULxwIAFqyzNkNAxhKrIjj9r8hZg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@remotion/licensing": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/licensing/-/licensing-4.0.529.tgz",
+ "integrity": "sha512-+hVV68ouCdjeNGKQOdDueH1OZej5biXGXLr9ADdiJr7MEl5l9mWPHa2Z9z45TwBHihMe5wKOQ5fmXHc+TBOjBg==",
+ "license": "MIT"
+ },
+ "node_modules/@remotion/media": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/media/-/media-4.0.529.tgz",
+ "integrity": "sha512-ritB7TVRR3ZvYLNVCPwgZ33riUNn/B7IasroxLFXarMLZbz/9tHBbznO02Dth2ldkt643DTILUO/cBrnTtVWKg==",
+ "dependencies": {
+ "mediabunny": "1.56.1",
+ "remotion": "4.0.529",
+ "zod": "4.5.4"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/media-parser": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/media-parser/-/media-parser-4.0.529.tgz",
+ "integrity": "sha512-HGIm6dRtNRmGZbFZUy2/3EIWI0LW11l46qlAQs5fqQ6h24Cp+HqAfzNE05J75Hbv/2JYD+e1f5EPU/WKqykzzA==",
+ "license": "Remotion License https://remotion.dev/license"
+ },
+ "node_modules/@remotion/media-utils": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/media-utils/-/media-utils-4.0.529.tgz",
+ "integrity": "sha512-0tYUgdRhKFSOsmGdBPFJc0TGDOz5ovyl0h984+azm9Y18w2OQwy/86Y/Vy+sB9nLRmoqn/wlaPuyH5do6iVCQw==",
+ "license": "MIT",
+ "dependencies": {
+ "mediabunny": "1.56.1",
+ "remotion": "4.0.529"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/paths": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/paths/-/paths-4.0.529.tgz",
+ "integrity": "sha512-kTm3lehZkjpqLi+e1rdgsMoRulDVUTkZMOUFPu9tCZDDh+gVFqQcsuOnhYZlgxnSun8f8zvy9aP2khS3Oooq3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "remotion": "4.0.529"
+ }
+ },
+ "node_modules/@remotion/player": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/player/-/player-4.0.529.tgz",
+ "integrity": "sha512-unUylvuwwByzIitVea5iQsBlFNqbZRElvoYVxXzeGa0jpiQRty9fYVxt3wQ97LkPEH1J1BmkSITLBWw+y/GF3w==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "dependencies": {
+ "remotion": "4.0.529"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/renderer": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/renderer/-/renderer-4.0.529.tgz",
+ "integrity": "sha512-2/jo+awVY0J6d0ZDanmIVa1ZvVurDitQwjq/iFNGHRTHNAvtu1jIuY1l6OXFW0FG49KU7/2/VdOCB6+wqbF9tQ==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "dependencies": {
+ "@remotion/licensing": "4.0.529",
+ "@remotion/streaming": "4.0.529",
+ "execa": "5.1.1",
+ "remotion": "4.0.529",
+ "source-map": "0.8.0",
+ "ws": "8.21.0"
+ },
+ "optionalDependencies": {
+ "@remotion/compositor-darwin-arm64": "4.0.529",
+ "@remotion/compositor-darwin-x64": "4.0.529",
+ "@remotion/compositor-linux-arm64-gnu": "4.0.529",
+ "@remotion/compositor-linux-arm64-musl": "4.0.529",
+ "@remotion/compositor-linux-x64-gnu": "4.0.529",
+ "@remotion/compositor-linux-x64-musl": "4.0.529",
+ "@remotion/compositor-win32-x64-msvc": "4.0.529"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@remotion/streaming": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/streaming/-/streaming-4.0.529.tgz",
+ "integrity": "sha512-jGY65mgj1o6giB3vBmcCkRE6xu1oxVks5ogpXje1ISj3bUaptT+81flCXS8K60bhCs7lwLk1jXETsmFZLT3tsA==",
+ "license": "MIT"
+ },
+ "node_modules/@remotion/studio": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/studio/-/studio-4.0.529.tgz",
+ "integrity": "sha512-O+uL9nU8aM3xtPoTR7aFjuwipifwpAWi+RYKaWbL2/+G9bHUE+RHmQnp+3Y9az5VgXE5sR6Sh5tXSnGqPZhK2g==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "0.3.31",
+ "@remotion/canvas": "4.0.529",
+ "@remotion/captions": "4.0.529",
+ "@remotion/codemods": "4.0.529",
+ "@remotion/media": "4.0.529",
+ "@remotion/media-utils": "4.0.529",
+ "@remotion/paths": "4.0.529",
+ "@remotion/player": "4.0.529",
+ "@remotion/renderer": "4.0.529",
+ "@remotion/studio-protocol": "4.0.529",
+ "@remotion/studio-shared": "4.0.529",
+ "@remotion/timeline-utils": "4.0.529",
+ "@remotion/web-renderer": "4.0.529",
+ "@remotion/zod-types": "4.0.529",
+ "@tanstack/react-virtual": "3.14.9",
+ "mediabunny": "1.56.1",
+ "memfs": "3.4.3",
+ "open": "8.4.2",
+ "prismjs": "1.30.0",
+ "remotion": "4.0.529",
+ "semver": "7.5.3",
+ "zod": "4.5.4"
+ },
+ "peerDependencies": {
+ "@remotion/video-matting": "4.0.529",
+ "@remotion/whisper-webgpu": "4.0.529",
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@remotion/video-matting": {
+ "optional": true
+ },
+ "@remotion/whisper-webgpu": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@remotion/studio-protocol": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/studio-protocol/-/studio-protocol-4.0.529.tgz",
+ "integrity": "sha512-Sndjwx2xcPRD1d2YutpzALFP6sR0t1CR9VVQXopqmgjei7Ag6HlKKw8RKT8CXd63GdiNYm3mIBsw4MMWGyiWCQ==",
+ "license": "Remotion License",
+ "dependencies": {
+ "zod": "4.5.4"
+ }
+ },
+ "node_modules/@remotion/studio-server": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/studio-server/-/studio-server-4.0.529.tgz",
+ "integrity": "sha512-7il0R2ynvtd2omdCXsn3ze4XSEplHp/g9l/1TvRaK8OTgeRwHE6Kf0ko0WqsE55nzEjsOxkOo4MALA7K2p/Q7g==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "7.24.1",
+ "@babel/types": "7.24.0",
+ "@remotion/bundler": "4.0.529",
+ "@remotion/codemods": "4.0.529",
+ "@remotion/renderer": "4.0.529",
+ "@remotion/studio-protocol": "4.0.529",
+ "@remotion/studio-shared": "4.0.529",
+ "@svgr/core": "8.1.0",
+ "@svgr/plugin-jsx": "8.1.0",
+ "kiwi-schema": "0.5.0",
+ "memfs": "3.4.3",
+ "open": "8.4.2",
+ "recast": "0.23.21",
+ "remotion": "4.0.529",
+ "semver": "7.5.3",
+ "zod": "4.5.4"
+ }
+ },
+ "node_modules/@remotion/studio-shared": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/studio-shared/-/studio-shared-4.0.529.tgz",
+ "integrity": "sha512-WQoNqqmTeho932NEIzhL5yH7UOeDjSpI3Ek38g9LaDx+wFZ6jVmBYaaYqjMlAHWkmom/mRl8lbMDOxyLz/7/Jg==",
+ "license": "MIT",
+ "dependencies": {
+ "remotion": "4.0.529"
+ }
+ },
+ "node_modules/@remotion/timeline-utils": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/timeline-utils/-/timeline-utils-4.0.529.tgz",
+ "integrity": "sha512-nw+H4/Q/gzxXbKU/XD8Sw9L5bpuccPS1c/CtpgZvyeEAGzlsgYPsbHInTAa++oIkasZgVK1X59qWjj5GXabiig==",
+ "license": "MIT",
+ "dependencies": {
+ "mediabunny": "1.56.1",
+ "remotion": "4.0.529"
+ }
+ },
+ "node_modules/@remotion/web-renderer": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/web-renderer/-/web-renderer-4.0.529.tgz",
+ "integrity": "sha512-+QP9k2C8PlvBfA+hmJ17BP/my92q6O/TYEz8Qiqc1cuE+1hnPF1+iNemjv5ETEWEZ2FUwbxVOYqa9+2khmdTYQ==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "dependencies": {
+ "@mediabunny/aac-encoder": "1.56.1",
+ "@mediabunny/flac-encoder": "1.56.1",
+ "@mediabunny/mp3-encoder": "1.56.1",
+ "@remotion/licensing": "4.0.529",
+ "mediabunny": "1.56.1",
+ "remotion": "4.0.529"
+ },
+ "peerDependencies": {
+ "react": ">=18.0.0",
+ "react-dom": ">=18.0.0"
+ }
+ },
+ "node_modules/@remotion/zod-types": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/@remotion/zod-types/-/zod-types-4.0.529.tgz",
+ "integrity": "sha512-EInt82hUV5dH6QjI4hn4PhB9gFXiJH4QrJKJYxDI8Bog56nVGWkKLQE3vUQGhT5+3EUPdQnWEEm/OACutXvHFg==",
+ "license": "MIT",
+ "dependencies": {
+ "remotion": "4.0.529"
+ }
+ },
+ "node_modules/@rspack/binding": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-1.7.11.tgz",
+ "integrity": "sha512-2MGdy2s2HimsDT444Bp5XnALzNRxuBNc7y0JzyuqKbHBywd4x2NeXyhWXXoxufaCFu5PBc9Qq9jyfjW2Aeh06Q==",
+ "license": "MIT",
+ "optionalDependencies": {
+ "@rspack/binding-darwin-arm64": "1.7.11",
+ "@rspack/binding-darwin-x64": "1.7.11",
+ "@rspack/binding-linux-arm64-gnu": "1.7.11",
+ "@rspack/binding-linux-arm64-musl": "1.7.11",
+ "@rspack/binding-linux-x64-gnu": "1.7.11",
+ "@rspack/binding-linux-x64-musl": "1.7.11",
+ "@rspack/binding-wasm32-wasi": "1.7.11",
+ "@rspack/binding-win32-arm64-msvc": "1.7.11",
+ "@rspack/binding-win32-ia32-msvc": "1.7.11",
+ "@rspack/binding-win32-x64-msvc": "1.7.11"
+ }
+ },
+ "node_modules/@rspack/binding-darwin-arm64": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-arm64/-/binding-darwin-arm64-1.7.11.tgz",
+ "integrity": "sha512-oduECiZVqbO5zlVw+q7Vy65sJFth99fWPTyucwvLJJtJkPL5n17Uiql2cYP6Ijn0pkqtf1SXgK8WjiKLG5bIig==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rspack/binding-darwin-x64": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-darwin-x64/-/binding-darwin-x64-1.7.11.tgz",
+ "integrity": "sha512-a1+TtTE9ap6RalgFi7FGIgkJP6O4Vy6ctv+9WGJy53E4kuqHR0RygzaiVxCI/GMc/vBT9vY23hyrpWb3d1vtXA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rspack/binding-linux-arm64-gnu": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.7.11.tgz",
+ "integrity": "sha512-P0QrGRPbTWu6RKWfN0bDtbnEps3rXH0MWIMreZABoUrVmNQKtXR6e73J3ub6a+di5s2+K0M2LJ9Bh2/H4UsDUA==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rspack/binding-linux-arm64-musl": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.7.11.tgz",
+ "integrity": "sha512-6ky7R43VMjWwmx3Yx7Jl7faLBBMAgMDt+/bN35RgwjiPgsIByz65EwytUVuW9rikB43BGHvA/eqlnjLrUzNBqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rspack/binding-linux-x64-gnu": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.7.11.tgz",
+ "integrity": "sha512-cuOJMfCOvb2Wgsry5enXJ3iT1FGUjdPqtGUBVupQlEG4ntSYsQ2PtF4wIDVasR3wdxC5nQbipOrDiN/u6fYsdQ==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rspack/binding-linux-x64-musl": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-linux-x64-musl/-/binding-linux-x64-musl-1.7.11.tgz",
+ "integrity": "sha512-CoK37hva4AmHGh3VCsQXmGr40L36m1/AdnN5LEjUX6kx5rEH7/1nEBN6Ii72pejqDVvk9anEROmPDiPw10tpFg==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rspack/binding-wasm32-wasi": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-wasm32-wasi/-/binding-wasm32-wasi-1.7.11.tgz",
+ "integrity": "sha512-OtrmnPUVJMxjNa3eDMfHyPdtlLRmmp/aIm0fQHlAOATbZvlGm12q7rhPW5BXTu1yh+1rQ1/uqvz+SzKEZXuJaQ==",
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "1.0.7"
+ }
+ },
+ "node_modules/@rspack/binding-win32-arm64-msvc": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.7.11.tgz",
+ "integrity": "sha512-lObFW6e5lCWNgTBNwT//yiEDbsxm9QG4BYUojqeXxothuzJ/L6ibXz6+gLMvbOvLGV3nKgkXmx8GvT9WDKR0mA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rspack/binding-win32-ia32-msvc": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.7.11.tgz",
+ "integrity": "sha512-0pYGnZd8PPqNR68zQ8skamqNAXEA1sUfXuAdYcknIIRq2wsbiwFzIc0Pov1cIfHYab37G7sSIPBiOUdOWF5Ivw==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rspack/binding-win32-x64-msvc": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.7.11.tgz",
+ "integrity": "sha512-EeQXayoQk/uBkI3pdoXfQBXNIUrADq56L3s/DFyM2pJeUDrWmhfIw2UFIGkYPTMSCo8F2JcdcGM32FGJrSnU0Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rspack/core": {
+ "version": "1.7.11",
+ "resolved": "https://registry.npmjs.org/@rspack/core/-/core-1.7.11.tgz",
+ "integrity": "sha512-rsD9b+Khmot5DwCMiB3cqTQo53ioPG3M/A7BySu8+0+RS7GCxKm+Z+mtsjtG/vsu4Tn2tcqCdZtA3pgLoJB+ew==",
+ "license": "MIT",
+ "dependencies": {
+ "@module-federation/runtime-tools": "0.22.0",
+ "@rspack/binding": "1.7.11",
+ "@rspack/lite-tapable": "1.1.0"
+ },
+ "engines": {
+ "node": ">=18.12.0"
+ },
+ "peerDependencies": {
+ "@swc/helpers": ">=0.5.1"
+ },
+ "peerDependenciesMeta": {
+ "@swc/helpers": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rspack/lite-tapable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@rspack/lite-tapable/-/lite-tapable-1.1.0.tgz",
+ "integrity": "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==",
+ "license": "MIT"
+ },
+ "node_modules/@rspack/plugin-react-refresh": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/@rspack/plugin-react-refresh/-/plugin-react-refresh-1.6.1.tgz",
+ "integrity": "sha512-eqqW5645VG3CzGzFgNg5HqNdHVXY+567PGjtDhhrM8t67caxmsSzRmT5qfoEIfBcGgFkH9vEg7kzXwmCYQdQDw==",
+ "license": "MIT",
+ "dependencies": {
+ "error-stack-parser": "^2.1.4",
+ "html-entities": "^2.6.0"
+ },
+ "peerDependencies": {
+ "react-refresh": ">=0.10.0 <1.0.0",
+ "webpack-hot-middleware": "2.x"
+ },
+ "peerDependenciesMeta": {
+ "webpack-hot-middleware": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@svgr/babel-plugin-add-jsx-attribute": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-8.0.0.tgz",
+ "integrity": "sha512-b9MIk7yhdS1pMCZM8VeNfUlSKVRhsHZNMl5O9SfaX0l0t5wjdgu4IDzGB8bpnGBBOjGST3rRFVsaaEtI4W6f7g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-remove-jsx-attribute": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-8.0.0.tgz",
+ "integrity": "sha512-BcCkm/STipKvbCl6b7QFrMh/vx00vIP63k2eM66MfHJzPr6O2U0jYEViXkHJWqXqQYjdeA9cuCl5KWmlwjDvbA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-remove-jsx-empty-expression": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-8.0.0.tgz",
+ "integrity": "sha512-5BcGCBfBxB5+XSDSWnhTThfI9jcO5f0Ai2V24gZpG+wXF14BzwxxdDb4g6trdOux0rhibGs385BeFMSmxtS3uA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-replace-jsx-attribute-value": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-8.0.0.tgz",
+ "integrity": "sha512-KVQ+PtIjb1BuYT3ht8M5KbzWBhdAjjUPdlMtpuw/VjT8coTrItWX6Qafl9+ji831JaJcu6PJNKCV0bp01lBNzQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-svg-dynamic-title": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-8.0.0.tgz",
+ "integrity": "sha512-omNiKqwjNmOQJ2v6ge4SErBbkooV2aAWwaPFs2vUY7p7GhVkzRkJ00kILXQvRhA6miHnNpXv7MRnnSjdRjK8og==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-svg-em-dimensions": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-8.0.0.tgz",
+ "integrity": "sha512-mURHYnu6Iw3UBTbhGwE/vsngtCIbHE43xCRK7kCw4t01xyGqb2Pd+WXekRRoFOBIY29ZoOhUCTEweDMdrjfi9g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-transform-react-native-svg": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-8.1.0.tgz",
+ "integrity": "sha512-Tx8T58CHo+7nwJ+EhUwx3LfdNSG9R2OKfaIXXs5soiy5HtgoAEkDay9LIimLOcG8dJQH1wPZp/cnAv6S9CrR1Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-plugin-transform-svg-component": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-8.0.0.tgz",
+ "integrity": "sha512-DFx8xa3cZXTdb/k3kfPeaixecQLgKh5NVBMwD0AQxOzcZawK4oo1Jh9LbrcACUivsCA7TLG8eeWgrDXjTMhRmw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/babel-preset": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-preset/-/babel-preset-8.1.0.tgz",
+ "integrity": "sha512-7EYDbHE7MxHpv4sxvnVPngw5fuR6pw79SkcrILHJ/iMpuKySNCl5W1qcwPEpU+LgyRXOaAFgH0KhwD18wwg6ug==",
+ "license": "MIT",
+ "dependencies": {
+ "@svgr/babel-plugin-add-jsx-attribute": "8.0.0",
+ "@svgr/babel-plugin-remove-jsx-attribute": "8.0.0",
+ "@svgr/babel-plugin-remove-jsx-empty-expression": "8.0.0",
+ "@svgr/babel-plugin-replace-jsx-attribute-value": "8.0.0",
+ "@svgr/babel-plugin-svg-dynamic-title": "8.0.0",
+ "@svgr/babel-plugin-svg-em-dimensions": "8.0.0",
+ "@svgr/babel-plugin-transform-react-native-svg": "8.1.0",
+ "@svgr/babel-plugin-transform-svg-component": "8.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@svgr/core": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/@svgr/core/-/core-8.1.0.tgz",
+ "integrity": "sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.21.3",
+ "@svgr/babel-preset": "8.1.0",
+ "camelcase": "^6.2.0",
+ "cosmiconfig": "^8.1.3",
+ "snake-case": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ }
+ },
+ "node_modules/@svgr/hast-util-to-babel-ast": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-8.0.0.tgz",
+ "integrity": "sha512-EbDKwO9GpfWP4jN9sGdYwPBU0kdomaPIL2Eu4YwmgP+sJeXT+L7bMwJUBnhzfH8Q2qMBqZ4fJwpCyYsAN3mt2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.21.3",
+ "entities": "^4.4.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ }
+ },
+ "node_modules/@svgr/plugin-jsx": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/@svgr/plugin-jsx/-/plugin-jsx-8.1.0.tgz",
+ "integrity": "sha512-0xiIyBsLlr8quN+WyuxooNW9RJ0Dpr8uOnH/xrCVO8GLUcwHISwj1AG0k+LFzteTkAA0GbX0kj9q6Dk70PTiPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.21.3",
+ "@svgr/babel-preset": "8.1.0",
+ "@svgr/hast-util-to-babel-ast": "8.0.0",
+ "svg-parser": "^2.0.4"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/gregberge"
+ },
+ "peerDependencies": {
+ "@svgr/core": "*"
+ }
+ },
+ "node_modules/@tanstack/react-virtual": {
+ "version": "3.14.9",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.9.tgz",
+ "integrity": "sha512-qZyr0FZDP8rDC4WBhsryIZmAd9bveJvFGUJJtskWaew6/0dTRS6wZxnR6VQ5bY2KwL3LjerrHqQLk3a0GKcPXQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/virtual-core": "3.17.7"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@tanstack/virtual-core": {
+ "version": "3.17.7",
+ "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.17.7.tgz",
+ "integrity": "sha512-bp+v10y65sp2H7WpWfIMyxTNfl8ZVfxFTLRjPIFRryi6FV/J33z4IS53WO4pTk36KlvJ4iLiQz+oaydDC1xbcA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.4",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",
+ "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/dom-mediacapture-transform": {
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/@types/dom-mediacapture-transform/-/dom-mediacapture-transform-0.1.12.tgz",
+ "integrity": "sha512-d7/QsLRwF864A5mgIM/YrfiglHoYn7zgCcAoJgW404r+2DwnNr7EBbLnCWpmOMgH8y0te73L1AV6H1bmauaWFw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/dom-webcodecs": "*"
+ }
+ },
+ "node_modules/@types/dom-webcodecs": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/@types/dom-webcodecs/-/dom-webcodecs-0.1.13.tgz",
+ "integrity": "sha512-O5hkiFIcjjszPIYyUSyvScyvrBoV3NOEEZx/pMlsu44TKzWNkLVBBxnxJz42in5n3QIolYOcBYFCPZZ0h8SkwQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/eslint": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
+ "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*",
+ "@types/json-schema": "*"
+ }
+ },
+ "node_modules/@types/eslint-scope": {
+ "version": "3.7.7",
+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
+ "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/eslint": "*",
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",
+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.19.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.19.0.tgz",
+ "integrity": "sha512-zY+5tKxXdhGh1PYI0ac+7juvEu4OI6vWtVVoj5i2m42jxAY1U+zHGt6QCyOFwykdP62sM3MJ9stoYYUw5aCWew==",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": ">=7.24.0 <7.24.7"
+ }
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.15",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
+ "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "18.3.31",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz",
+ "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@webassemblyjs/ast": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz",
+ "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/helper-numbers": "1.13.2",
+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2"
+ }
+ },
+ "node_modules/@webassemblyjs/floating-point-hex-parser": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz",
+ "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==",
+ "license": "MIT"
+ },
+ "node_modules/@webassemblyjs/helper-api-error": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz",
+ "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==",
+ "license": "MIT"
+ },
+ "node_modules/@webassemblyjs/helper-buffer": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz",
+ "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==",
+ "license": "MIT"
+ },
+ "node_modules/@webassemblyjs/helper-numbers": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz",
+ "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/floating-point-hex-parser": "1.13.2",
+ "@webassemblyjs/helper-api-error": "1.13.2",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@webassemblyjs/helper-wasm-bytecode": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz",
+ "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==",
+ "license": "MIT"
+ },
+ "node_modules/@webassemblyjs/helper-wasm-section": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz",
+ "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@webassemblyjs/helper-buffer": "1.14.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
+ "@webassemblyjs/wasm-gen": "1.14.1"
+ }
+ },
+ "node_modules/@webassemblyjs/ieee754": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz",
+ "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==",
+ "license": "MIT",
+ "dependencies": {
+ "@xtuc/ieee754": "^1.2.0"
+ }
+ },
+ "node_modules/@webassemblyjs/leb128": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz",
+ "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@webassemblyjs/utf8": {
+ "version": "1.13.2",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz",
+ "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==",
+ "license": "MIT"
+ },
+ "node_modules/@webassemblyjs/wasm-edit": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz",
+ "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@webassemblyjs/helper-buffer": "1.14.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
+ "@webassemblyjs/helper-wasm-section": "1.14.1",
+ "@webassemblyjs/wasm-gen": "1.14.1",
+ "@webassemblyjs/wasm-opt": "1.14.1",
+ "@webassemblyjs/wasm-parser": "1.14.1",
+ "@webassemblyjs/wast-printer": "1.14.1"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-gen": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz",
+ "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
+ "@webassemblyjs/ieee754": "1.13.2",
+ "@webassemblyjs/leb128": "1.13.2",
+ "@webassemblyjs/utf8": "1.13.2"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-opt": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz",
+ "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@webassemblyjs/helper-buffer": "1.14.1",
+ "@webassemblyjs/wasm-gen": "1.14.1",
+ "@webassemblyjs/wasm-parser": "1.14.1"
+ }
+ },
+ "node_modules/@webassemblyjs/wasm-parser": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz",
+ "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@webassemblyjs/helper-api-error": "1.13.2",
+ "@webassemblyjs/helper-wasm-bytecode": "1.13.2",
+ "@webassemblyjs/ieee754": "1.13.2",
+ "@webassemblyjs/leb128": "1.13.2",
+ "@webassemblyjs/utf8": "1.13.2"
+ }
+ },
+ "node_modules/@webassemblyjs/wast-printer": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz",
+ "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==",
+ "license": "MIT",
+ "dependencies": {
+ "@webassemblyjs/ast": "1.14.1",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "node_modules/@xtuc/ieee754": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@xtuc/long": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/acorn": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",
+ "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-import-phases": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz",
+ "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "peerDependencies": {
+ "acorn": "^8.14.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.3",
+ "fast-uri": "^3.0.1",
+ "json-schema-traverse": "^1.0.0",
+ "require-from-string": "^2.0.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ajv-formats": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz",
+ "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^8.0.0"
+ },
+ "peerDependencies": {
+ "ajv": "^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "ajv": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ajv-keywords": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz",
+ "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==",
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.3"
+ },
+ "peerDependencies": {
+ "ajv": "^8.8.2"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "license": "Python-2.0"
+ },
+ "node_modules/ast-types": {
+ "version": "0.16.1",
+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz",
+ "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.11.26",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.26.tgz",
+ "integrity": "sha512-GLQdD3y6UF8iVuMJl5fHgE4jdn/ua7n+toKfLgNlg3BqQtOZjpy68T8Tup8/wGWZCDlm7KMg7tPb4MPn7oN0TQ==",
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.1.tgz",
+ "integrity": "sha512-AUdjuRyCNGUYtqpqfTmWyM4fXay8yIQhmLnvYe/THMGfT9B/34X7xQd3ifKxwyNPPpowVBjLb+64BN9Rn1mizw==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.11.25",
+ "caniuse-lite": "^1.0.30001810",
+ "electron-to-chromium": "^1.5.438",
+ "node-releases": "^2.0.57",
+ "update-browserslist-db": "^1.3.3"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
+ "license": "MIT"
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001812",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001812.tgz",
+ "integrity": "sha512-qN+QNNBr93TCmFrmte0bBCjSDMuRvt78VlHT99qIGPszm4QsqCX8lnyWUFkHi8B7ZBAPq8SH+UqyXNy/odMdng==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chrome-trace-event": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz",
+ "integrity": "sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0"
+ }
+ },
+ "node_modules/commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "license": "MIT"
+ },
+ "node_modules/cosmiconfig": {
+ "version": "8.3.6",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz",
+ "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==",
+ "license": "MIT",
+ "dependencies": {
+ "import-fresh": "^3.3.0",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.2.0",
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/d-fischer"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.9.5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/css-loader": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-7.1.4.tgz",
+ "integrity": "sha512-vv3J9tlOl04WjiMvHQI/9tmIrCxVrj6PFbHemBB1iihpeRbi/I4h033eoFIhwxBBqLhI0KYFS7yvynBFhIZfTw==",
+ "license": "MIT",
+ "dependencies": {
+ "icss-utils": "^5.1.0",
+ "postcss": "^8.4.40",
+ "postcss-modules-extract-imports": "^3.1.0",
+ "postcss-modules-local-by-default": "^4.0.5",
+ "postcss-modules-scope": "^3.2.0",
+ "postcss-modules-values": "^4.0.0",
+ "postcss-value-parser": "^4.2.0",
+ "semver": "^7.6.3"
+ },
+ "engines": {
+ "node": ">= 18.12.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependencies": {
+ "@rspack/core": "0.x || ^1.0.0 || ^2.0.0-0",
+ "webpack": "^5.27.0"
+ },
+ "peerDependenciesMeta": {
+ "@rspack/core": {
+ "optional": true
+ },
+ "webpack": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/css-loader/node_modules/semver": {
+ "version": "7.8.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/dot-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz",
+ "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==",
+ "license": "MIT",
+ "dependencies": {
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/dotenv": {
+ "version": "17.3.1",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.3.1.tgz",
+ "integrity": "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.439",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.439.tgz",
+ "integrity": "sha512-qu6QIPXhsb+CRcAiTMNjR4A1y/7tCYKkKjr5CZXRVih6qkDf79peZ2BpEU3qoDBNCRrcy3Mra3X9nG5oruuA7Q==",
+ "license": "ISC"
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.25.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.25.1.tgz",
+ "integrity": "sha512-nGXts5znJzmWPu+mIE9izCOzdg63oJca2mDzGWWTth7sr4aCToKcoyFVBQwN75Ij5Pf6p510EwkTqViTRzDV+w==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
+ "license": "MIT",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/error-stack-parser": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz",
+ "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==",
+ "license": "MIT",
+ "dependencies": {
+ "stackframe": "^1.3.4"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz",
+ "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==",
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.28.1",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.1.tgz",
+ "integrity": "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.28.1",
+ "@esbuild/android-arm": "0.28.1",
+ "@esbuild/android-arm64": "0.28.1",
+ "@esbuild/android-x64": "0.28.1",
+ "@esbuild/darwin-arm64": "0.28.1",
+ "@esbuild/darwin-x64": "0.28.1",
+ "@esbuild/freebsd-arm64": "0.28.1",
+ "@esbuild/freebsd-x64": "0.28.1",
+ "@esbuild/linux-arm": "0.28.1",
+ "@esbuild/linux-arm64": "0.28.1",
+ "@esbuild/linux-ia32": "0.28.1",
+ "@esbuild/linux-loong64": "0.28.1",
+ "@esbuild/linux-mips64el": "0.28.1",
+ "@esbuild/linux-ppc64": "0.28.1",
+ "@esbuild/linux-riscv64": "0.28.1",
+ "@esbuild/linux-s390x": "0.28.1",
+ "@esbuild/linux-x64": "0.28.1",
+ "@esbuild/netbsd-arm64": "0.28.1",
+ "@esbuild/netbsd-x64": "0.28.1",
+ "@esbuild/openbsd-arm64": "0.28.1",
+ "@esbuild/openbsd-x64": "0.28.1",
+ "@esbuild/openharmony-arm64": "0.28.1",
+ "@esbuild/sunos-x64": "0.28.1",
+ "@esbuild/win32-arm64": "0.28.1",
+ "@esbuild/win32-ia32": "0.28.1",
+ "@esbuild/win32-x64": "0.28.1"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "license": "BSD-2-Clause",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esrecurse/node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.x"
+ }
+ },
+ "node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "license": "MIT"
+ },
+ "node_modules/fast-uri": {
+ "version": "3.1.8",
+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",
+ "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fastify"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fastify"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/fs-monkey": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz",
+ "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==",
+ "license": "Unlicense"
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/glob-to-regexp": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
+ "license": "BSD-2-Clause"
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "license": "ISC"
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/html-entities": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.6.0.tgz",
+ "integrity": "sha512-kig+rMn/QOVRvr7c86gQ8lWXq+Hkv6CbAH1hLu+RG338StTpE8Z0b44SDVaqVu7HGKf27frdmUYEs9hTUX/cLQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/mdevils"
+ },
+ {
+ "type": "patreon",
+ "url": "https://patreon.com/mdevils"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/icss-utils": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz",
+ "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==",
+ "license": "ISC",
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "license": "MIT"
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "license": "ISC"
+ },
+ "node_modules/jest-worker": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
+ "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^8.0.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz",
+ "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/puzrin"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/nodeca"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/kiwi-schema": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/kiwi-schema/-/kiwi-schema-0.5.0.tgz",
+ "integrity": "sha512-X+FpfU0yTEtc6aTHS7VwbOpvQwRt70+pXXWRI5fd6CvWhe7pSVC854TVo4Zo0x5/wwcWj+/9KUlXpdcP0dY9AA==",
+ "license": "MIT",
+ "bin": {
+ "kiwic": "cli.js"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "license": "MIT"
+ },
+ "node_modules/loader-runner": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.2.tgz",
+ "integrity": "sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.11.5"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "node_modules/lower-case": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/mediabunny": {
+ "version": "1.56.1",
+ "resolved": "https://registry.npmjs.org/mediabunny/-/mediabunny-1.56.1.tgz",
+ "integrity": "sha512-DNOm0bRBmeOxJgCK/g3LxNWbxY5morTauNdlychujGmJ9L37ezVezkNoI1WtO2Xdb4WlWWJlYfIKnOEzd5phRw==",
+ "license": "MPL-2.0",
+ "workspaces": [
+ ".",
+ "packages/*"
+ ],
+ "dependencies": {
+ "@types/dom-mediacapture-transform": "^0.1.11",
+ "@types/dom-webcodecs": "0.1.13"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://github.com/sponsors/Vanilagy"
+ }
+ },
+ "node_modules/memfs": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.3.tgz",
+ "integrity": "sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg==",
+ "license": "Unlicense",
+ "dependencies": {
+ "fs-monkey": "1.0.3"
+ },
+ "engines": {
+ "node": ">= 4.0.0"
+ }
+ },
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "license": "MIT"
+ },
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
+ "license": "MIT"
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.19",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz",
+ "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/neo-async": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
+ "license": "MIT"
+ },
+ "node_modules/no-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
+ "license": "MIT",
+ "dependencies": {
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.57",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.57.tgz",
+ "integrity": "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/postcss": {
+ "version": "8.5.28",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz",
+ "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.18",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-modules-extract-imports": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz",
+ "integrity": "sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==",
+ "license": "ISC",
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/postcss-modules-local-by-default": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.2.0.tgz",
+ "integrity": "sha512-5kcJm/zk+GJDSfw+V/42fJ5fhjL5YbFDl8nVdXkJPLLW+Vf9mTD5Xe0wqIaDnLuL2U6cDNpTr+UQ+v2HWIBhzw==",
+ "license": "MIT",
+ "dependencies": {
+ "icss-utils": "^5.0.0",
+ "postcss-selector-parser": "^7.0.0",
+ "postcss-value-parser": "^4.1.0"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/postcss-modules-scope": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.2.1.tgz",
+ "integrity": "sha512-m9jZstCVaqGjTAuny8MdgE88scJnCiQSlSrOWcTQgM2t32UBe+MUmFSO5t7VMSfAf/FJKImAxBav8ooCHJXCJA==",
+ "license": "ISC",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/postcss-modules-values": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz",
+ "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==",
+ "license": "ISC",
+ "dependencies": {
+ "icss-utils": "^5.0.0"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >= 14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz",
+ "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==",
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "license": "MIT"
+ },
+ "node_modules/pretendard": {
+ "version": "1.3.9",
+ "resolved": "https://registry.npmjs.org/pretendard/-/pretendard-1.3.9.tgz",
+ "integrity": "sha512-PaQAADyLY5v4kYFwkpSJHbSSYIkiriY/1xXw75TKoZ9UQQqeU+tvP05yTdZAWibiIYoo8ZKtRv8PM7w0IaywSw==",
+ "license": "OFL-1.1"
+ },
+ "node_modules/prismjs": {
+ "version": "1.30.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",
+ "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.18.0",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz",
+ "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/recast": {
+ "version": "0.23.21",
+ "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.21.tgz",
+ "integrity": "sha512-mFAyJq9vUbSTARLZUvAEf1z3YxlvAwswbmxMx2mPA/MSm4KmpwvwvhsH/NIrZhyOuwD60Lzyw2qh83uCbgTPYw==",
+ "license": "MIT",
+ "dependencies": {
+ "ast-types": "^0.16.1",
+ "esprima": "~4.0.0",
+ "source-map": "~0.6.1",
+ "tiny-invariant": "^1.3.3",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/recast/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/remotion": {
+ "version": "4.0.529",
+ "resolved": "https://registry.npmjs.org/remotion/-/remotion-4.0.529.tgz",
+ "integrity": "sha512-x0oWWwPPiC5cV6ms80USr69GmtbHc3MK5eFTwJpP0oN+emvgtvq+flovERaN29jy0wJW/ZGemSwo119iGCiH0g==",
+ "license": "SEE LICENSE IN LICENSE.md",
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ }
+ },
+ "node_modules/schema-utils": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.5.0.tgz",
+ "integrity": "sha512-zJlMCZ0cAR5p/Y4oVpRoqioDMJcGxaXRrQ/4rP4WyR84vc5z/DolXdbvXeDpTwbtocDFr2rhPqHPErDCUtz2kA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15",
+ "ajv": "^8.20.0",
+ "ajv-formats": "^3.0.1",
+ "ajv-keywords": "^5.1.0"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/semver": {
+ "version": "7.5.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz",
+ "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==",
+ "license": "ISC",
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/semver/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/semver/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "license": "ISC"
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "license": "ISC"
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+ "license": "MIT"
+ },
+ "node_modules/snake-case": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/snake-case/-/snake-case-3.0.4.tgz",
+ "integrity": "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==",
+ "license": "MIT",
+ "dependencies": {
+ "dot-case": "^3.0.4",
+ "tslib": "^2.0.3"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0.tgz",
+ "integrity": "sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
+ "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/source-map-support/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/stackframe": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz",
+ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==",
+ "license": "MIT"
+ },
+ "node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/style-loader": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-4.0.0.tgz",
+ "integrity": "sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 18.12.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependencies": {
+ "webpack": "^5.27.0"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
+ }
+ },
+ "node_modules/svg-parser": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/svg-parser/-/svg-parser-2.1.0.tgz",
+ "integrity": "sha512-bwLf38YmY+TDYHJw1Ex0Co8c4yeXuJAo8YnXGZrscxrvYoVVIvLeniEkV1Ks/54VteMnL4FtyN1+P+TZJdUPmQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/tapable": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",
+ "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/terser": {
+ "version": "5.51.2",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.51.2.tgz",
+ "integrity": "sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q==",
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "@jridgewell/source-map": "^0.3.3",
+ "acorn": "^8.15.0",
+ "commander": "^2.20.0",
+ "source-map-support": "~0.5.20"
+ },
+ "bin": {
+ "terser": "bin/terser"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/terser-webpack-plugin": {
+ "version": "5.6.1",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.6.1.tgz",
+ "integrity": "sha512-201R5j+sJpK8nFWwKVyNfZot8FaJbLZDq5evriVzbV1wDtSXDjRUDRfJzHpAaxFDMEhsZL1QkeqM61wgsS3KaQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "jest-worker": "^27.4.5",
+ "schema-utils": "^4.3.0",
+ "terser": "^5.31.1"
+ },
+ "engines": {
+ "node": ">= 10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependencies": {
+ "webpack": "^5.1.0"
+ },
+ "peerDependenciesMeta": {
+ "@minify-html/node": {
+ "optional": true
+ },
+ "@swc/core": {
+ "optional": true
+ },
+ "@swc/css": {
+ "optional": true
+ },
+ "@swc/html": {
+ "optional": true
+ },
+ "clean-css": {
+ "optional": true
+ },
+ "cssnano": {
+ "optional": true
+ },
+ "csso": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "html-minifier-terser": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "uglify-js": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tiny-invariant": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",
+ "license": "MIT"
+ },
+ "node_modules/to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
+ "license": "0BSD"
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "devOptional": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "7.24.6",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
+ "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
+ "license": "MIT"
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz",
+ "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "license": "MIT"
+ },
+ "node_modules/watchpack": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.2.tgz",
+ "integrity": "sha512-6i/00NBjP4yGPs+caKSyRfpTF/8Torsu0MOW3mMzIbhgISFder8i7xbqgHlLMwJrdiN8ndBV3UA1/AfzPSr+jg==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.1.2"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/webpack": {
+ "version": "5.105.0",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.105.0.tgz",
+ "integrity": "sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/eslint-scope": "^3.7.7",
+ "@types/estree": "^1.0.8",
+ "@types/json-schema": "^7.0.15",
+ "@webassemblyjs/ast": "^1.14.1",
+ "@webassemblyjs/wasm-edit": "^1.14.1",
+ "@webassemblyjs/wasm-parser": "^1.14.1",
+ "acorn": "^8.15.0",
+ "acorn-import-phases": "^1.0.3",
+ "browserslist": "^4.28.1",
+ "chrome-trace-event": "^1.0.2",
+ "enhanced-resolve": "^5.19.0",
+ "es-module-lexer": "^2.0.0",
+ "eslint-scope": "5.1.1",
+ "events": "^3.2.0",
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.2.11",
+ "json-parse-even-better-errors": "^2.3.1",
+ "loader-runner": "^4.3.1",
+ "mime-types": "^2.1.27",
+ "neo-async": "^2.6.2",
+ "schema-utils": "^4.3.3",
+ "tapable": "^2.3.0",
+ "terser-webpack-plugin": "^5.3.16",
+ "watchpack": "^2.5.1",
+ "webpack-sources": "^3.3.3"
+ },
+ "bin": {
+ "webpack": "bin/webpack.js"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ },
+ "peerDependenciesMeta": {
+ "webpack-cli": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/webpack-sources": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.6.0.tgz",
+ "integrity": "sha512-EIMmPVvNI0CYXyRPp34F2Qk7W37/BZVZIofS6LAUnrNjCVahS+hO4mxwFJDjQjODTGZDtVzLYoN2+1dYkhk9qA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.21.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",
+ "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "license": "ISC"
+ },
+ "node_modules/zod": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.5.4.tgz",
+ "integrity": "sha512-sC95tT5iHHH9gtpj6A81kh+NEaRAUFN+qlUPDUbRfOMvNf5QCBqsb3WgvnpVtK5Y+4UfA6KqufotuTvMGiTlsA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ }
+ }
+}
diff --git a/skills/motion-video-production/engines/remotion/package.json b/skills/motion-video-production/engines/remotion/package.json
new file mode 100644
index 0000000..1fdac93
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "motion-video-engine",
+ "version": "0.1.0",
+ "private": true,
+ "type": "module",
+ "description": "Remotion engine for the motion-video-production skill: carry oracle, motion modules, render and voice pipeline",
+ "engines": {
+ "node": ">=24"
+ },
+ "scripts": {
+ "studio": "remotion studio src/index.ts",
+ "test": "node --test 'motions/**/*.test.ts' 'pipeline/**/*.test.ts' 'productions/**/*.test.ts'",
+ "typecheck": "tsc --noEmit",
+ "render": "node pipeline/render.mjs",
+ "probe": "node pipeline/probe.mjs"
+ },
+ "dependencies": {
+ "@fontsource/jetbrains-mono": "5.3.0",
+ "@fontsource/nanum-myeongjo": "5.3.0",
+ "@remotion/bundler": "4.0.529",
+ "@remotion/cli": "4.0.529",
+ "@remotion/renderer": "4.0.529",
+ "pretendard": "1.3.9",
+ "react": "18.3.1",
+ "react-dom": "18.3.1",
+ "remotion": "4.0.529"
+ },
+ "devDependencies": {
+ "@types/node": "24.19.0",
+ "@types/react": "18.3.31",
+ "typescript": "5.9.3"
+ }
+}
diff --git a/skills/motion-video-production/engines/remotion/pipeline/carry.test.ts b/skills/motion-video-production/engines/remotion/pipeline/carry.test.ts
new file mode 100644
index 0000000..521366b
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/carry.test.ts
@@ -0,0 +1,65 @@
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { probe, type Box, type Film } from './carry.ts';
+
+const ground: Box = { id: 'ground', role: 'ground', x: 0, y: 0, w: 1920, h: 1080, opacity: 1 };
+const card = (id: string, x = 660, opacity = 1): Box => ({ id, role: 'element', x, y: 390, w: 600, h: 300, opacity });
+const film = (track: (t: number) => Box[], beatBoundaries = [2]): Film =>
+ ({ width: 1920, height: 1080, fps: 30, seconds: 5, track, cuts: [], beatBoundaries });
+
+test('replacement on a static ground: one bare boundary, carry 0.00, fail', () => {
+ const r = probe(film((t) => [ground, t < 2 ? card('a') : card('b')]));
+ assert.deepEqual(r.boundaries.map((b) => [b.kind, b.survivors]), [['bare', []]]);
+ assert.ok(Math.abs(r.boundaries[0].t - 2) <= 0.2, `boundary at ${r.boundaries[0].t}`);
+ assert.equal(r.score, 0);
+ assert.equal(r.verdict, 'fail');
+});
+
+test('the same id moves 60 px while the ground changes: carried, 1.00, pass', () => {
+ const other: Box = { ...ground, id: 'ink' };
+ const r = probe(film((t) => [t < 2 ? ground : other, card('a', t < 2 ? 660 : 720), ...(t >= 2 ? [card('b', 100)] : [])]));
+ assert.deepEqual(r.boundaries.map((b) => [b.kind, b.survivors]), [['carried', ['a']]]);
+ assert.equal(r.score, 1);
+ assert.equal(r.verdict, 'pass');
+});
+
+test('a new id fading in at the old card size reads as a replacement (the two-element blind spot)', () => {
+ const r = probe(film((t) => [ground, card('a', 660, t < 2 ? 1 : 0), card('b', 660, t < 2 ? 0 : 1)]));
+ assert.deepEqual(r.boundaries.map((b) => b.kind), ['bare']);
+ assert.equal(r.verdict, 'fail');
+});
+
+test('a film with no boundaries warns and never scores 1.00', () => {
+ const r = probe(film(() => [ground, card('a')]));
+ assert.equal(r.boundaries.length, 0);
+ assert.equal(r.score, null);
+ assert.equal(r.verdict, 'warn');
+ assert.equal(r.notes.length, 1);
+});
+
+test('boundaries in the last 1.2 s and at declared cuts are exempt', () => {
+ const tail = probe(film((t) => [ground, t < 4.2 ? card('a') : card('b')], []));
+ assert.deepEqual(tail.boundaries.map((b) => b.exempt), ['tail']);
+ assert.equal(tail.verdict, 'warn');
+ const cut = probe({ ...film((t) => [ground, t < 2 ? card('a') : card('b')], []), cuts: [2] });
+ assert.deepEqual(cut.boundaries.map((b) => b.exempt), ['cut']);
+});
+
+test('a declared cut and the boundary it marks count once: two transitions are not a burst', () => {
+ const track = (t: number): Box[] => [{ id: t < 2 ? 'a' : t < 3 ? 'b' : 'c', role: 'element', x: 600, y: 300, w: 600, h: 300, opacity: 1 }];
+ // a cut on the boundary's frame, and one 0.1 s off but still inside the cut window
+ for (const cut of [2, 2.1]) {
+ const r = probe({ width: 1920, height: 1080, fps: 30, seconds: 6, cuts: [cut], beatBoundaries: [2, 3], track });
+ assert.deepEqual(r.boundaries.map((b) => b.exempt), ['cut', undefined], `cut at ${cut}`);
+ assert.equal(r.considered, 1, `cut at ${cut}`);
+ assert.equal(r.score, 0, `cut at ${cut}`);
+ assert.equal(r.verdict, 'fail', `cut at ${cut}`);
+ }
+});
+
+test('an entrance onto an empty ground is not a boundary; an exit and a later entrance are bridged into one', () => {
+ const entrance = probe(film((t) => [ground, ...(t >= 1 ? [card('a')] : [])], []));
+ assert.equal(entrance.boundaries.length, 0);
+ const bridged = probe(film((t) => [ground, ...(t < 1.5 ? [card('a')] : t >= 2.5 ? [card('b')] : [])]));
+ assert.deepEqual(bridged.boundaries.map((b) => b.kind), ['bare']);
+});
diff --git a/skills/motion-video-production/engines/remotion/pipeline/carry.ts b/skills/motion-video-production/engines/remotion/pipeline/carry.ts
new file mode 100644
index 0000000..3bd8b9c
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/carry.ts
@@ -0,0 +1,146 @@
+// carry.ts — the continuity oracle (clean-room). Reads what a composition declares with
+// `track(t)`, not the video: every frame is rasterised onto a coarse ownership grid (each cell belongs to the
+// topmost box that covers it at opacity ≥ 0.5). A boundary is a 0.4 s window in which most of the owned area changes
+// identity: the area of ids that disappear or appear, over all area — except a ground present on both sides, which is
+// left out entirely (otherwise a static background would hide every swap of the things on it). Moving is not a change
+// of identity. Each boundary is carried (an element survives and moves or scales), anchored (a large element survives
+// unchanged) or bare (nothing survives). Grounds never survive, so a persistent background cannot anchor.
+
+export type Circle = { cx: number; cy: number; r: number };
+
+/** One screen-space box at time t, in paint order (later boxes are on top). x/y/w/h are the final rect after scale. */
+export type Box = { id: string; role: 'ground' | 'element'; x: number; y: number; w: number; h: number; opacity: number; clip?: Circle };
+
+export type Film = {
+ width: number;
+ height: number;
+ fps: number;
+ seconds: number;
+ track: (t: number) => Box[];
+ /** declared hard cuts, seconds — boundaries within the window of one are exempt */
+ cuts: readonly number[];
+ /** beat boundaries the beat sheet intends — fewer probe boundaries than this is a warning, never a pass */
+ beatBoundaries: readonly number[];
+};
+
+export type Kind = 'carried' | 'anchored' | 'bare';
+export type Boundary = { t: number; change: number; kind: Kind; survivors: string[]; exempt?: 'cut' | 'burst' | 'tail' };
+export type Report = { boundaries: Boundary[]; considered: number; score: number | null; verdict: 'pass' | 'warn' | 'fail'; notes: string[] };
+
+export const CARRY = {
+ window: 0.4,
+ changeShare: 0.5,
+ opaque: 0.5,
+ grid: [192, 108] as const,
+ moveOfDiagonal: 0.02,
+ scale: 1.1,
+ anchorOfFrame: 0.03,
+ burst: { cuts: 3, within: 1.5 },
+ tail: 1.2,
+ fail: 0.5,
+ warn: 0.7,
+} as const;
+
+const center = (b: Box) => [b.x + b.w / 2, b.y + b.h / 2] as const;
+
+/** Cells owned by each id at one sample (a cell belongs to the topmost box covering its centre). */
+function owned(boxes: Box[], width: number, height: number): Map<string, number> {
+ const [gw, gh] = CARRY.grid;
+ const cells = new Int32Array(gw * gh).fill(-1);
+ boxes.forEach((b, k) => {
+ if (b.opacity < CARRY.opaque) return;
+ const x0 = Math.max(0, Math.floor((b.x / width) * gw)), x1 = Math.min(gw, Math.ceil(((b.x + b.w) / width) * gw));
+ const y0 = Math.max(0, Math.floor((b.y / height) * gh)), y1 = Math.min(gh, Math.ceil(((b.y + b.h) / height) * gh));
+ for (let j = y0; j < y1; j++) for (let i = x0; i < x1; i++) {
+ const px = ((i + 0.5) / gw) * width, py = ((j + 0.5) / gh) * height;
+ if (px < b.x || px > b.x + b.w || py < b.y || py > b.y + b.h) continue;
+ if (b.clip && Math.hypot(px - b.clip.cx, py - b.clip.cy) > b.clip.r) continue;
+ cells[j * gw + i] = k;
+ }
+ });
+ const perBox = new Array<number>(boxes.length).fill(0);
+ for (const k of cells) if (k >= 0) perBox[k]++;
+ const m = new Map<string, number>();
+ boxes.forEach((b, k) => { if (perBox[k]) m.set(b.id, (m.get(b.id) ?? 0) + perBox[k]); });
+ return m;
+}
+
+/** Elements visible at a sample: they own at least one cell. Keyed by id; a later box with the same id wins. */
+function visible(boxes: Box[], owned: Map<string, number>): Map<string, Box> {
+ return new Map(boxes.filter((b) => b.role === 'element' && owned.has(b.id)).map((b) => [b.id, b]));
+}
+
+export function probe(film: Film): Report {
+ const { width, height, fps } = film;
+ const n = Math.round(film.seconds * fps), lag = Math.round(CARRY.window * fps);
+ const diag = Math.hypot(width, height);
+ const boxes = Array.from({ length: n }, (_, f) => film.track(f / fps));
+ const areas = boxes.map((b) => owned(b, width, height));
+ const grounds = new Set(boxes.flat().filter((b) => b.role === 'ground').map((b) => b.id));
+
+ // Fades through the ground are bridged: the window starts at the last sample before f that showed an element,
+ // and a boundary needs something to leave and something to arrive — an entrance onto an empty ground is not one.
+ const hasElement = (f: number) => [...areas[f].keys()].some((id) => !grounds.has(id));
+ const before = (f: number) => { while (f > 0 && !hasElement(f)) f--; return f; };
+ // identity change of window [before(f), f + lag]; runs above the threshold collapse to one boundary at their peak
+ const change = (f: number) => {
+ const a = areas[before(f)], b = areas[f + lag];
+ let gone = 0, came = 0, all = 0;
+ for (const id of new Set([...a.keys(), ...b.keys()])) {
+ const x = a.get(id) ?? 0, y = b.get(id) ?? 0;
+ if (x && y && grounds.has(id)) continue;
+ all += x + y;
+ if (!y) gone += x;
+ if (!x) came += y;
+ }
+ return gone && came ? (gone + came) / all : 0;
+ };
+ const found: Boundary[] = [];
+ let run: number[] = [];
+ const flush = () => {
+ if (!run.length) return;
+ const peak = Math.max(...run.map(change));
+ const ties = run.filter((f) => change(f) === peak);
+ const f = ties[Math.floor((ties.length - 1) / 2)];
+ const pre = visible(boxes[before(f)], areas[before(f)]), post = visible(boxes[f + lag], areas[f + lag]);
+ const survivors = [...pre.keys()].filter((id) => post.has(id));
+ const moved = survivors.filter((id) => {
+ const a = pre.get(id)!, b = post.get(id)!;
+ const [ax, ay] = center(a), [bx, by] = center(b);
+ const s = Math.sqrt((b.w * b.h) / (a.w * a.h));
+ return Math.hypot(bx - ax, by - ay) >= CARRY.moveOfDiagonal * diag || s >= CARRY.scale || s <= 1 / CARRY.scale;
+ });
+ const large = survivors.filter((id) => pre.get(id)!.w * pre.get(id)!.h >= CARRY.anchorOfFrame * width * height);
+ const kind: Kind = moved.length ? 'carried' : large.length ? 'anchored' : 'bare';
+ found.push({ t: (f + lag / 2) / fps, change: peak, kind, survivors });
+ run = [];
+ };
+ for (let f = 0; f + lag < n; f++) {
+ if (change(f) > CARRY.changeShare) run.push(f);
+ else flush();
+ }
+ flush();
+
+ // a declared cut marks a detected boundary within one window of it: the same transition, counted once in a burst
+ const marks = (c: number, t: number) => Math.abs(c - t) <= CARRY.window;
+ const hits = [...found.map((b) => b.t), ...film.cuts.filter((c) => !found.some((b) => marks(c, b.t)))].sort((a, b) => a - b);
+ // in a burst: some 1.5 s window that contains the boundary holds ≥ 3 boundaries or declared cuts
+ const inBurst = (t: number) => hits.some((t0) => t0 <= t && t - t0 <= CARRY.burst.within
+ && hits.filter((h) => h >= t0 && h - t0 <= CARRY.burst.within).length >= CARRY.burst.cuts);
+ for (const b of found) {
+ if (film.cuts.some((c) => marks(c, b.t))) b.exempt = 'cut';
+ else if (inBurst(b.t)) b.exempt = 'burst';
+ else if (b.t > film.seconds - CARRY.tail) b.exempt = 'tail';
+ }
+
+ const counted = found.filter((b) => !b.exempt);
+ const notes: string[] = [];
+ if (counted.length < film.beatBoundaries.length) {
+ notes.push(`probe found ${counted.length} counted boundaries, the beat sheet has ${film.beatBoundaries.length}: a score over fewer boundaries is not evidence`);
+ }
+ if (!counted.length) return { boundaries: found, considered: 0, score: null, verdict: 'warn', notes };
+ const carried = counted.filter((b) => b.kind === 'carried').length, anchored = counted.filter((b) => b.kind === 'anchored').length;
+ const score = (carried + anchored / 2) / counted.length;
+ const verdict = score < CARRY.fail ? 'fail' : score < CARRY.warn || notes.length ? 'warn' : 'pass';
+ return { boundaries: found, considered: counted.length, score, verdict, notes };
+}
diff --git a/skills/motion-video-production/engines/remotion/pipeline/probe.mjs b/skills/motion-video-production/engines/remotion/pipeline/probe.mjs
new file mode 100644
index 0000000..34b6bca
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/probe.mjs
@@ -0,0 +1,23 @@
+// probe.mjs — the carry oracle over a production's declared track (pipeline/carry.ts). Reads the composition, not
+// the video, so it runs before any render.
+// Usage: node pipeline/probe.mjs productions/<id> (the directory must hold track.ts exporting `film`)
+// Exit: 0 pass or warn, 1 fail.
+import { resolve } from 'node:path';
+import { pathToFileURL } from 'node:url';
+import { CARRY, probe } from './carry.ts';
+
+const dir = process.argv[2];
+if (!dir) { console.error('usage: node pipeline/probe.mjs productions/<id>'); process.exit(2); }
+const { film } = await import(pathToFileURL(resolve(dir, 'track.ts')).href);
+const r = probe(film);
+
+console.log(`== carry (declared track, ${CARRY.grid.join('x')} ownership grid, ${CARRY.window} s window)`);
+for (const b of r.boundaries) {
+ const who = b.survivors.length ? `survivors: ${b.survivors.join(', ')}` : 'nothing survives';
+ console.log(` ${b.t.toFixed(3)} s ${b.kind.padEnd(8)} change ${b.change.toFixed(2)} ${who}${b.exempt ? ` (exempt: ${b.exempt})` : ''}`);
+}
+if (!r.boundaries.length) console.log(' no boundaries');
+for (const n of r.notes) console.log(` WARN ${n}`);
+const score = r.score === null ? 'n/a' : r.score.toFixed(2);
+console.log(`carry ${score} over ${r.considered} boundaries (beat sheet: ${film.beatBoundaries.length}; fail < ${CARRY.fail}, warn < ${CARRY.warn}) → ${r.verdict.toUpperCase()}`);
+process.exit(r.verdict === 'fail' ? 1 : 0);
diff --git a/skills/motion-video-production/engines/remotion/pipeline/render.mjs b/skills/motion-video-production/engines/remotion/pipeline/render.mjs
new file mode 100644
index 0000000..37500f5
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/render.mjs
@@ -0,0 +1,62 @@
+// render.mjs — render a composition to a muted h264 picture master, or chosen stills for a contact sheet.
+// Usage:
+// node pipeline/render.mjs <compositionId> [outDir=renders/<id>] → <outDir>/picture.mp4
+// node pipeline/render.mjs <compositionId> --stills 0.5 2.4 3.1 [--out dir] → <outDir>/stills/t_2.40.png … + contact.png
+// Env: CHROME_PATH (browser binary), CONCURRENCY (default: half the cores).
+// Browser: CHROME_PATH, else a Playwright headless shell already in the cache, else Remotion's own headless shell
+// (run `npx remotion browser ensure` once; it downloads, so ask first).
+import { bundle } from '@remotion/bundler';
+import { renderMedia, renderStill, selectComposition } from '@remotion/renderer';
+import { execFileSync } from 'node:child_process';
+import { existsSync, mkdirSync, readdirSync } from 'node:fs';
+import { cpus, homedir } from 'node:os';
+import { join, resolve } from 'node:path';
+
+const args = process.argv.slice(2);
+const id = args[0];
+if (!id) { console.error('usage: node pipeline/render.mjs <compositionId> [outDir] | --stills <t…> [--out dir]'); process.exit(2); }
+const stillsAt = args.includes('--stills') ? args.slice(args.indexOf('--stills') + 1).filter((a) => !a.startsWith('--') && !Number.isNaN(Number(a))).map(Number) : null;
+const outDir = resolve(args.includes('--out') ? args[args.indexOf('--out') + 1] : (!stillsAt && args[1]) || join('renders', id));
+
+function browserExecutable() {
+ if (process.env.CHROME_PATH) return process.env.CHROME_PATH;
+ const root = join(homedir(), 'Library/Caches/ms-playwright');
+ const dirs = existsSync(root) ? readdirSync(root).filter((d) => d.startsWith('chromium_headless_shell-')).sort().reverse() : [];
+ for (const d of dirs) for (const sub of ['chrome-mac/headless_shell', 'chrome-headless-shell-mac-arm64/chrome-headless-shell', 'chrome-headless-shell-linux64/chrome-headless-shell']) {
+ const p = join(root, d, sub);
+ if (existsSync(p)) return p;
+ }
+ return undefined;
+}
+
+const exe = browserExecutable();
+const serveUrl = await bundle({ entryPoint: resolve('src/index.ts'), ...(existsSync('public') ? { publicDir: resolve('public') } : {}) });
+const composition = await selectComposition({ serveUrl, id, browserExecutable: exe });
+mkdirSync(outDir, { recursive: true });
+const started = Date.now();
+
+if (stillsAt) {
+ const dir = join(outDir, 'stills');
+ mkdirSync(dir, { recursive: true });
+ const files = [];
+ for (const t of stillsAt) {
+ const output = join(dir, `t_${t.toFixed(2)}.png`);
+ await renderStill({ serveUrl, composition, frame: Math.min(composition.durationInFrames - 1, Math.round(t * composition.fps)), output, browserExecutable: exe });
+ files.push(output);
+ }
+ const cols = Math.min(4, files.length);
+ const tiles = files.map((_, i) => `[${i}]scale=480:270[s${i}]`).join(';');
+ const layout = files.map((_, i) => `${(i % cols) * 480}_${Math.floor(i / cols) * 270}`).join('|');
+ const stack = files.length === 1 ? '[s0]null' : `${files.map((_, i) => `[s${i}]`).join('')}xstack=inputs=${files.length}:layout=${layout}:fill=black`;
+ execFileSync('ffmpeg', ['-loglevel', 'error', '-y', ...files.flatMap((f) => ['-i', f]), '-filter_complex', `${tiles};${stack}`, '-frames:v', '1', join(outDir, 'contact.png')]);
+ // this ffmpeg build has no drawtext, so tiles are unlabeled: row-major in the order given
+ console.log(`rendered ${files.length} stills → ${join(outDir, 'contact.png')} (row-major, ${cols} per row: ${stillsAt.join(' ')} s) in ${Date.now() - started} ms`);
+} else {
+ const output = join(outDir, 'picture.mp4');
+ await renderMedia({
+ serveUrl, composition, codec: 'h264', crf: 17, pixelFormat: 'yuv420p', imageFormat: 'png', muted: true,
+ outputLocation: output, browserExecutable: exe, concurrency: Number(process.env.CONCURRENCY ?? Math.max(1, Math.floor(cpus().length / 2))),
+ });
+ const frames = composition.durationInFrames, ms = Date.now() - started;
+ console.log(`rendered ${frames} frames (${composition.width}x${composition.height} @ ${composition.fps}) → ${output} in ${ms} ms (${(ms / frames).toFixed(1)} ms/frame)`);
+}
diff --git a/skills/motion-video-production/engines/remotion/pipeline/score.mjs b/skills/motion-video-production/engines/remotion/pipeline/score.mjs
new file mode 100644
index 0000000..a9a1385
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/score.mjs
@@ -0,0 +1,53 @@
+// score.mjs — a procedural score keyed to a production's timing contract: no samples, no network, sample-exact.
+// Usage: node pipeline/score.mjs productions/<id> → productions/<id>/audio/score.wav (48 kHz stereo, 16-bit)
+// The production's timing.ts exports MUSIC: { seconds, bpm, root?: Hz, hits: s[], vo?: [start, end][] }.
+// Pad on the root chord, a soft kick on every beat, a low hit + noise swell into each hit, and the pad thinned under
+// every VO window (so the voice sits on top before mix-mux.sh ducks it further). The last 0.1 s is silent.
+import { writeFileSync, mkdirSync } from 'node:fs';
+import { join, resolve } from 'node:path';
+import { pathToFileURL } from 'node:url';
+
+const dir = process.argv[2];
+if (!dir) { console.error('usage: node pipeline/score.mjs productions/<id>'); process.exit(2); }
+const { MUSIC } = await import(pathToFileURL(resolve(dir, 'timing.ts')).href);
+if (!MUSIC) throw new Error(`${dir}/timing.ts does not export MUSIC`);
+
+const RATE = 48_000, TAU = 2 * Math.PI;
+const n = Math.round(MUSIC.seconds * RATE), beat = 60 / MUSIC.bpm, root = MUSIC.root ?? 110;
+const L = new Float32Array(n), R = new Float32Array(n);
+let seed = 0x5eed;
+const noise = () => ((seed = (seed * 1103515245 + 12345) >>> 0) / 2 ** 32) * 2 - 1;
+const inVo = (t) => (MUSIC.vo ?? []).some(([a, b]) => t >= a - beat / 8 && t <= b + beat / 4);
+
+for (let i = 0; i < n; i++) {
+ const t = i / RATE;
+ const fade = Math.min(1, t / 0.4, Math.max(0, (MUSIC.seconds - 0.1 - t) / 0.6));
+ const thin = inVo(t) ? 0.45 : 1;
+ // pad: root, fifth, octave; the octave (the part that masks speech) is what thins under VO
+ const pad = 0.10 * Math.sin(TAU * root * t) + 0.07 * Math.sin(TAU * root * 1.5 * t) + 0.05 * thin * Math.sin(TAU * root * 2 * t);
+ // kick: pitch drop 120 → 50 Hz with a 0.12 s decay on every beat
+ const kb = t % beat, kick = 0.35 * Math.exp(-kb / 0.12) * Math.sin(TAU * (50 * kb + 70 * 0.04 * (1 - Math.exp(-kb / 0.04))));
+ let hit = 0, swell = 0;
+ for (const h of MUSIC.hits) {
+ const d = t - h;
+ if (d >= 0 && d < 1.5) hit += 0.5 * Math.exp(-d / 0.35) * Math.sin(TAU * root / 2 * d);
+ if (d < 0 && d > -beat) swell += 0.12 * (1 + d / beat) ** 2 * noise();
+ }
+ const s = fade * (pad + kick + hit + swell);
+ L[i] = s; R[i] = s * 0.96 + 0.04 * pad;
+}
+// peak-normalise to -3 dBFS; loudness is set later by mix-mux.sh
+let peak = 0;
+for (let i = 0; i < n; i++) peak = Math.max(peak, Math.abs(L[i]), Math.abs(R[i]));
+const gain = peak ? 10 ** (-3 / 20) / peak : 0;
+const buf = Buffer.alloc(44 + n * 4);
+buf.write('RIFF', 0); buf.writeUInt32LE(36 + n * 4, 4); buf.write('WAVEfmt ', 8);
+buf.writeUInt32LE(16, 16); buf.writeUInt16LE(1, 20); buf.writeUInt16LE(2, 22); buf.writeUInt32LE(RATE, 24);
+buf.writeUInt32LE(RATE * 4, 28); buf.writeUInt16LE(4, 32); buf.writeUInt16LE(16, 34); buf.write('data', 36); buf.writeUInt32LE(n * 4, 40);
+for (let i = 0; i < n; i++) {
+ buf.writeInt16LE(Math.round(L[i] * gain * 32767), 44 + i * 4);
+ buf.writeInt16LE(Math.round(R[i] * gain * 32767), 46 + i * 4);
+}
+mkdirSync(join(dir, 'audio'), { recursive: true });
+writeFileSync(join(dir, 'audio', 'score.wav'), buf);
+console.log(`wrote ${join(dir, 'audio', 'score.wav')} (${n} samples = ${MUSIC.seconds} s @ ${RATE} Hz, ${MUSIC.bpm} BPM, hits ${MUSIC.hits.join(' ')})`);
diff --git a/skills/motion-video-production/engines/remotion/pipeline/vo-assemble.mjs b/skills/motion-video-production/engines/remotion/pipeline/vo-assemble.mjs
new file mode 100644
index 0000000..a9f60df
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/vo-assemble.mjs
@@ -0,0 +1,33 @@
+// vo-assemble.mjs — trim, loudness-normalize and place every VO line at its cue on one track.
+// Usage: node vo-assemble.mjs <voDir> <durationSeconds> <cues.json>
+// cues.json: [["n1", 0.6], ["n2", 3.6], …] (line id, start second — snap starts to beats)
+// Uses <voDir>/<id>.wav if present (a hand-fixed take), otherwise <voDir>/<id>.mp3.
+// Writes <voDir>/trim/*.wav, <voDir>/norm/*.wav, <voDir>/vo_track.wav and prints each line's length and end time.
+import { execFileSync } from 'node:child_process';
+import { readFileSync, existsSync, mkdirSync } from 'node:fs';
+import { join } from 'node:path';
+
+const [, , dir, durArg, cuesPath] = process.argv;
+if (!dir || !durArg || !cuesPath) { console.error('usage: node vo-assemble.mjs <voDir> <seconds> <cues.json>'); process.exit(2); }
+const duration = Number(durArg);
+const cues = JSON.parse(readFileSync(cuesPath, 'utf8'));
+mkdirSync(join(dir, 'trim'), { recursive: true }); mkdirSync(join(dir, 'norm'), { recursive: true });
+const ff = args => execFileSync('ffmpeg', ['-loglevel', 'error', '-y', ...args], { stdio: 'inherit' });
+const dur = f => Number(execFileSync('ffprobe', ['-v', 'error', '-show_entries', 'format=duration', '-of', 'csv=p=0', f], { encoding: 'utf8' }).trim());
+
+cues.forEach(([id, start], i) => {
+ const src = existsSync(join(dir, `${id}.wav`)) ? join(dir, `${id}.wav`) : join(dir, `${id}.mp3`);
+ ff(['-i', src, '-af', 'silenceremove=start_periods=1:start_threshold=-45dB:start_silence=0.02,areverse,silenceremove=start_periods=1:start_threshold=-45dB:start_silence=0.05,areverse', '-ar', '48000', '-ac', '2', join(dir, 'trim', `${id}.wav`)]);
+ ff(['-i', join(dir, 'trim', `${id}.wav`), '-af', 'loudnorm=I=-16:TP=-2:LRA=7', '-ar', '48000', '-ac', '2', join(dir, 'norm', `${id}.wav`)]);
+ const len = dur(join(dir, 'norm', `${id}.wav`)), end = start + len;
+ const next = cues[i + 1]?.[1];
+ console.log(`${id.padEnd(4)} start ${start.toFixed(3)} len ${len.toFixed(3)} end ${end.toFixed(3)}${next != null && end > next ? ` ⚠ overlaps next cue at ${next}` : ''}`);
+});
+
+const args = [];
+cues.forEach(([id]) => args.push('-i', join(dir, 'norm', `${id}.wav`)));
+const delays = cues.map(([, t], i) => { const ms = Math.round(t * 1000); return `[${i}]adelay=${ms}|${ms}[d${i}]`; }).join(';');
+const inputs = cues.map((_, i) => `[d${i}]`).join('');
+ff([...args, '-filter_complex', `${delays};${inputs}amix=inputs=${cues.length}:normalize=0:dropout_transition=0,apad=whole_dur=${duration},atrim=0:${duration}[o]`,
+ '-map', '[o]', '-ar', '48000', '-ac', '2', join(dir, 'vo_track.wav')]);
+console.log(`wrote ${join(dir, 'vo_track.wav')} (${dur(join(dir, 'vo_track.wav')).toFixed(3)} s)`);
diff --git a/skills/motion-video-production/engines/remotion/pipeline/vo.mjs b/skills/motion-video-production/engines/remotion/pipeline/vo.mjs
new file mode 100644
index 0000000..8c4b8b6
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/pipeline/vo.mjs
@@ -0,0 +1,56 @@
+// vo.mjs — generate one audio file per script line through the composio CLI (ElevenLabs / Fish Audio).
+// Usage: node vo.mjs <voDir> [lineId …] (no ids → generate every line whose mp3 is missing)
+// <voDir>/script.json : [{ "id": "n1", "who": "narrator", "text": "spoken form (스물다섯)", "caption": "shown form (25)" }]
+// <voDir>/voices.json : { "narrator": { "provider": "elevenlabs", "voice": "<voice_id>", "model": "eleven_v3" },
+// "mascot": { "provider": "fish", "voice": "<model_id>", "temperature": 0.8 } }
+// env SEED=<n> changes the ElevenLabs seed for a retake.
+// Accounts are not stored in the production: the single ACTIVE composio connection of the toolkit is used, or
+// "account": "<word_id>" in voices.json / env COMPOSIO_ACCOUNT_ELEVENLABS, COMPOSIO_ACCOUNT_FISH when there are several.
+import { execFileSync } from 'node:child_process';
+import { readFileSync, writeFileSync, existsSync } from 'node:fs';
+import { join } from 'node:path';
+
+const [, , dir, ...only] = process.argv;
+if (!dir) { console.error('usage: node vo.mjs <voDir> [ids…]'); process.exit(2); }
+const lines = JSON.parse(readFileSync(join(dir, 'script.json'), 'utf8'));
+const voices = JSON.parse(readFileSync(join(dir, 'voices.json'), 'utf8'));
+
+const TOOLKIT = { elevenlabs: 'elevenlabs', fish: 'fish_audio' };
+function accountFor(v) {
+ const pinned = v.account ?? process.env[`COMPOSIO_ACCOUNT_${v.provider.toUpperCase()}`];
+ if (pinned) return pinned;
+ const list = JSON.parse(execFileSync('composio', ['link', TOOLKIT[v.provider], '--list'], { encoding: 'utf8' }));
+ const active = list.items.filter((i) => i.status === 'ACTIVE' && !i.is_disabled);
+ if (active.length !== 1) throw new Error(`${active.length} ACTIVE ${TOOLKIT[v.provider]} connections: set "account" or COMPOSIO_ACCOUNT_${v.provider.toUpperCase()} (composio link ${TOOLKIT[v.provider]} --list)`);
+ return active[0].word_id;
+}
+
+function execute(slug, account, data) {
+ const out = execFileSync('composio', ['execute', slug, '--account', account, '-d', JSON.stringify(data)], { encoding: 'utf8', maxBuffer: 64 << 20 });
+ let json = JSON.parse(out);
+ // large responses are spilled to a file
+ if (json.outputFilePath) json = { ...json, data: JSON.parse(readFileSync(json.outputFilePath, 'utf8')) };
+ if (json.successful === false) throw new Error(`${slug}: ${typeof json.error === 'string' ? json.error : JSON.stringify(json.error)}`);
+ return json;
+}
+// the audio arrives as a (presigned) URL somewhere in the response
+function findUrl(o) {
+ if (typeof o === 'string' && /^https?:\/\//.test(o)) return o;
+ if (o && typeof o === 'object') for (const k of Object.keys(o)) { const u = findUrl(o[k]); if (u) return u; }
+ return null;
+}
+
+for (const line of lines) {
+ if (only.length && !only.includes(line.id)) continue;
+ const file = join(dir, `${line.id}.mp3`);
+ if (!only.length && existsSync(file)) continue;
+ const v = voices[line.who];
+ if (!v) throw new Error(`no voice configured for "${line.who}"`);
+ const res = v.provider === 'elevenlabs'
+ ? execute('ELEVENLABS_TEXT_TO_SPEECH', accountFor(v), { voice_id: v.voice, model_id: v.model ?? 'eleven_v3', text: line.text, output_format: 'mp3_44100_128', seed: Number(process.env.SEED ?? 11) })
+ : execute('FISH_AUDIO_SYNTHESIZE_SPEECH', accountFor(v), { voice_model_ids: [v.voice], text: line.text, format: 'mp3', temperature: v.temperature ?? 0.8 });
+ const url = findUrl(res.data);
+ if (!url) { writeFileSync(file + '.response.json', JSON.stringify(res, null, 2)); throw new Error(`${line.id}: no audio URL in response`); }
+ execFileSync('curl', ['-sSfL', '-o', file, url]);
+ console.log(line.id, line.who, 'ok');
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/carry-demo/CarryDemo.tsx b/skills/motion-video-production/engines/remotion/productions/carry-demo/CarryDemo.tsx
new file mode 100644
index 0000000..7aea412
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/carry-demo/CarryDemo.tsx
@@ -0,0 +1,36 @@
+import React from 'react';
+import { AbsoluteFill, useCurrentFrame, useVideoConfig } from 'remotion';
+import { FONT } from '../../src/fonts.ts';
+import { COPY } from './copy.ts';
+import { scene } from './scene.ts';
+
+const INK = '#1D1D1F', WHITE = '#FFFFFF';
+const line: React.CSSProperties = {
+ position: 'absolute', left: 0, width: 1920, textAlign: 'center', lineHeight: 1.1, whiteSpace: 'nowrap',
+ fontFamily: FONT.sans, letterSpacing: '-0.035em',
+};
+
+export const CarryDemo: React.FC = () => {
+ const { fps } = useVideoConfig();
+ const t = useCurrentFrame() / fps;
+ const s = scene(t);
+ return (
+ <AbsoluteFill style={{ background: INK }}>
+ {s.paper && <AbsoluteFill style={{ background: WHITE }} />}
+ {s.inkRadius !== null && (
+ <AbsoluteFill style={{ background: INK, clipPath: `circle(${s.inkRadius.toFixed(3)}% at 50% 50%)` }}>
+ <div style={{ ...line, top: 360, fontSize: 280, fontWeight: 900, color: WHITE, opacity: s.big.opacity, transform: `scale(${s.big.scale})` }}>
+ {COPY.big}
+ </div>
+ <div style={{ ...line, top: 720, fontSize: 72, fontWeight: 700, color: '#A1A1A6', opacity: s.tail.opacity }}>
+ {COPY.tail}
+ </div>
+ </AbsoluteFill>
+ )}
+ {/* one element across the boundary, above both layers: the carry */}
+ <div style={{ ...line, top: 420, fontSize: 150, fontWeight: 800, color: s.lead.color, opacity: s.lead.opacity, transform: `translateY(${s.lead.dy}px) scale(${s.lead.scale})` }}>
+ {COPY.lead}
+ </div>
+ </AbsoluteFill>
+ );
+};
diff --git a/skills/motion-video-production/engines/remotion/productions/carry-demo/copy.ts b/skills/motion-video-production/engines/remotion/productions/carry-demo/copy.ts
new file mode 100644
index 0000000..3a363e9
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/carry-demo/copy.ts
@@ -0,0 +1,2 @@
+// The demo's words. Change them here; then re-measure the ink boxes in track.ts (they depend on font and text).
+export const COPY = { lead: '모아 두면', big: '한 장에', tail: '정리돼요' } as const;
diff --git a/skills/motion-video-production/engines/remotion/productions/carry-demo/scene.ts b/skills/motion-video-production/engines/remotion/productions/carry-demo/scene.ts
new file mode 100644
index 0000000..6029d14
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/carry-demo/scene.ts
@@ -0,0 +1,30 @@
+// The state of every element at time t — a pure function with no React/remotion imports, so the picture
+// (CarryDemo.tsx) and the carry probe's track (track.ts) read the same numbers and cannot drift apart.
+import { irisRadius } from '../../motions/iris/iris.ts';
+import { ease, progress } from '../../motions/_lib/ease.ts';
+import { CARRY_DEMO as T } from './timing.ts';
+
+/** the first word is carried across the iris: it lifts from its line to a label above the big line and shrinks */
+export const LABEL = { lift: -200, scale: 0.4 } as const;
+const INK = [0x1d, 0x1d, 0x1f], GREY = [0xa1, 0xa1, 0xa6];
+
+export function scene(t: number) {
+ const rise = ease.out(progress(t, T.riseAt, 0.5));
+ const carry = ease.swipe(progress(t, T.iris.t0, T.iris.d));
+ const pop = ease.back(progress(t, T.bigAt, 0.3));
+ return {
+ /** white layer, removed when the iris has closed over it */
+ paper: t < T.iris.t0 + T.iris.d,
+ /** ink layer revealed through the iris: radius in CSS circle() percent, null before it starts */
+ inkRadius: t >= T.iris.t0 ? irisRadius(t, T.iris) : null,
+ lead: {
+ opacity: rise,
+ dy: 50 * (1 - rise) + LABEL.lift * carry,
+ scale: 1 + (LABEL.scale - 1) * carry,
+ /** ink on paper → grey that reads on both grounds while the iris passes behind it */
+ color: `rgb(${INK.map((c, i) => Math.round(c + (GREY[i] - c) * carry)).join(', ')})`,
+ },
+ big: { opacity: pop, scale: 0.6 + 0.4 * pop },
+ tail: { opacity: ease.out(progress(t, T.tailAt, 0.4)) },
+ };
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/carry-demo/timing.ts b/skills/motion-video-production/engines/remotion/productions/carry-demo/timing.ts
new file mode 100644
index 0000000..8797ae8
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/carry-demo/timing.ts
@@ -0,0 +1,17 @@
+// The contract every lane reads (picture: CarryDemo.tsx, track: track.ts, score: pipeline/score.mjs).
+// 96 BPM → beat 0.625 s. The big line lands on beat 3 (1.875 s); the carry window is centred on it.
+const beat = 60 / 96;
+
+export const CARRY_DEMO = {
+ fps: 60,
+ seconds: 5,
+ bpm: 96,
+ beat,
+ riseAt: 0.9,
+ bigAt: 3 * beat,
+ iris: { t0: 3 * beat - 0.2, d: 0.4 },
+ tailAt: 4 * beat,
+} as const;
+
+/** what pipeline/score.mjs reads: a hit where the big line lands */
+export const MUSIC = { seconds: CARRY_DEMO.seconds, bpm: CARRY_DEMO.bpm, hits: [CARRY_DEMO.bigAt] } as const;
diff --git a/skills/motion-video-production/engines/remotion/productions/carry-demo/track.ts b/skills/motion-video-production/engines/remotion/productions/carry-demo/track.ts
new file mode 100644
index 0000000..f1a1bae
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/carry-demo/track.ts
@@ -0,0 +1,41 @@
+// What carry-demo declares to the carry probe (pipeline/carry.ts): screen boxes per element over time, built from the
+// same scene() the picture renders, so positions cannot drift. Text boxes are the glyph ink boxes at rest, measured
+// on renderStill PNGs (ink = any channel > 48 away from the ground), then moved/scaled the way CarryDemo.tsx does.
+import type { Box, Film } from '../../pipeline/carry.ts';
+import { scene } from './scene.ts';
+import { CARRY_DEMO as T } from './timing.ts';
+
+const W = 1920, H = 1080;
+/** CSS circle() percent is of sqrt((w² + h²) / 2) */
+const CIRCLE_BASE = Math.hypot(W, H) / Math.SQRT2;
+
+/** glyph ink boxes at rest (x, y, w, h), measured on Pretendard 1.3.9 stills at 1.5 s (lead) and 3.0 s (big, tail) */
+const REST = {
+ lead: { x: 700, y: 435, w: 519, h: 135 },
+ big: { x: 591, y: 387, w: 737, h: 254 },
+ tail: { x: 842, y: 727, w: 239, h: 65 },
+};
+/** centre of each scaled text div (transform origin): x centre of the 1920 line, top + fontSize × 1.1 / 2 */
+const ORIGIN = { lead: [960, 420 + 165 / 2], big: [960, 360 + 308 / 2] } as const;
+
+type Rect = { x: number; y: number; w: number; h: number };
+const scaled = (r: Rect, [ox, oy]: readonly [number, number], s: number): Rect =>
+ ({ x: ox + (r.x - ox) * s, y: oy + (r.y - oy) * s, w: r.w * s, h: r.h * s });
+
+export function track(t: number): Box[] {
+ const s = scene(t);
+ const full = { x: 0, y: 0, w: W, h: H, opacity: 1 };
+ const boxes: Box[] = [{ id: 'ink', role: 'ground', ...full }];
+ if (s.paper) boxes.push({ id: 'paper', role: 'ground', ...full });
+ if (s.inkRadius !== null) {
+ const clip = { cx: W / 2, cy: H / 2, r: (s.inkRadius / 100) * CIRCLE_BASE };
+ boxes.push({ id: 'ink', role: 'ground', ...full, clip });
+ boxes.push({ id: 'big', role: 'element', ...scaled(REST.big, ORIGIN.big, s.big.scale), opacity: Math.min(1, s.big.opacity), clip });
+ boxes.push({ id: 'tail', role: 'element', ...REST.tail, opacity: s.tail.opacity, clip });
+ }
+ const lead = scaled(REST.lead, ORIGIN.lead, s.lead.scale);
+ boxes.push({ id: 'lead', role: 'element', ...lead, y: lead.y + s.lead.dy, opacity: s.lead.opacity });
+ return boxes;
+}
+
+export const film: Film = { width: W, height: H, fps: T.fps, seconds: T.seconds, track, cuts: [], beatBoundaries: [T.bigAt] };
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/Sheets.tsx b/skills/motion-video-production/engines/remotion/productions/wordcut/Sheets.tsx
new file mode 100644
index 0000000..ffab0ea
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/Sheets.tsx
@@ -0,0 +1,120 @@
+// The source sheets, rendered from data.ts. Every sheet holds exactly one <mark class="w"> (the {w} in its text).
+import React from 'react';
+import { DATA, type Sheet } from './data.ts';
+import type { SheetRef } from './timing.ts';
+import { dictDef, letterOffset, textbookScatter } from './scene.ts';
+
+const W = () => <mark className="w">{DATA.word}</mark>;
+/** text with its {w} replaced by the marked word */
+const T = ({ s }: { s: string }) => {
+ const at = s.indexOf('{w}');
+ return at < 0 ? <>{s}</> : <>{s.slice(0, at)}<W />{s.slice(at + 3)}</>;
+};
+const Glass = ({ c = '#3c6fd8' }: { c?: string }) => (
+ <svg viewBox="0 0 20 20" aria-hidden="true"><circle cx="8.5" cy="8.5" r="6" fill="none" stroke={c} strokeWidth="2.2" /><path d="M13 13l5 5" stroke={c} strokeWidth="2.2" strokeLinecap="round" /></svg>
+);
+
+function Doc({ s }: { s: Sheet }) {
+ switch (s.kind) {
+ case 'post': return (
+ <article className="sheet s-doc post">
+ <div className="meta">{s.meta}</div>
+ <h4><T s={s.title} /></h4>
+ {s.body.map((p, n) => <p key={n}><T s={p} /></p>)}
+ <p className="tags">{s.tags}</p>
+ </article>
+ );
+ case 'receipt': return (
+ <article className="sheet receipt">
+ <div className="c title">{s.title}</div>
+ <div className="c">{s.sub}</div>
+ <hr />
+ {s.rows.map(([a, b], n) => <div key={n} className="row"><span><T s={a} /></span><span>{b}</span></div>)}
+ <hr />
+ <div className="row"><b>{s.total[0]}</b><b>{s.total[1]}</b></div>
+ </article>
+ );
+ case 'qa': return (
+ <article className="sheet s-doc qa">
+ <div className="chips">{s.chips.map((c) => <span key={c}>{c}</span>)}</div>
+ <div className="q"><T s={s.q} /></div>
+ {s.body.map((p, n) => <p key={n}><T s={p} /></p>)}
+ </article>
+ );
+ case 'news': return (
+ <article className="sheet news">
+ <h3><T s={s.headline} /></h3>
+ {s.body.map((p, n) => <p key={n}><T s={p} /></p>)}
+ </article>
+ );
+ case 'chat': return (
+ <article className="sheet chat">
+ {s.bubbles.map((b, n) => <div key={n} className={b.me ? 'b me' : 'b'}><T s={b.text} /></div>)}
+ </article>
+ );
+ case 'subtitle': return (
+ <article className="sheet subtitle">
+ {s.lines.map((l, n) => <React.Fragment key={n}><div className="tc">{l.tc}</div><div className="ln"><T s={l.text} /></div></React.Fragment>)}
+ <div className="wave" />
+ </article>
+ );
+ case 'memo': return (
+ <article className="sheet memo">
+ <div className="top"><span>{s.top[0]}</span><span>{s.top[1]}</span></div>
+ <h4>{s.title}</h4>
+ {s.items.map((it, n) => <div key={n} className={it.done ? 'it done' : 'it'}><i /><T s={it.text} /></div>)}
+ </article>
+ );
+ case 'search': return (
+ <article className="sheet search">
+ <div className="box"><Glass /><span><T s={s.query} /><span className="caret" /></span></div>
+ {s.suggestions.map((o) => <div key={o} className="opt"><Glass c="#555" /><span>{DATA.word} <b>{o}</b></span></div>)}
+ </article>
+ );
+ case 'diary': return (
+ <article className="sheet diary">
+ <div className="date">{s.date}</div>
+ {s.lines.map((p, n) => <p key={n}><T s={p} /></p>)}
+ </article>
+ );
+ case 'notice': return (
+ <article className="sheet notice">
+ <div className="clock">{s.clock}</div>
+ <div className="day">{s.day}</div>
+ {s.cards.map((c, n) => <div key={n} className={n ? 'card dim' : 'card'}><div className="hd"><span>{c.app}</span><span>{c.when}</span></div><b>{c.title}</b><p><T s={c.text} /></p></div>)}
+ </article>
+ );
+ }
+}
+
+/** Static markup; `f` drives only the beat-local motion inside the textbook and dictionary. */
+export const SheetBody: React.FC<{ k: SheetRef; f: number; dictPx: number; slot: { x: number; y: number } }> = ({ k, f, dictPx, slot }) => {
+ if (typeof k === 'number') return <Doc s={DATA.sheets[k]} />;
+ if (k === 'textbook') {
+ const { p, q } = textbookScatter(f), tb = DATA.textbook;
+ let n = 0;
+ const letters = (s: string) => [...s].map((ch) => {
+ const o = letterOffset(n++, p);
+ return <span key={n} className="ch" style={{ transform: `translate(${o.x}px,${o.y}px)`, opacity: o.o }}>{ch}</span>;
+ });
+ return (
+ <article className="sheet textbook" style={{ background: q > 0 ? `color-mix(in srgb, ${DATA.bg.textbook} ${100 - q * 100}%, ${DATA.bg.dict})` : undefined }}>
+ <h5 style={{ opacity: 1 - q }}>{tb.chapter}</h5>
+ {tb.before.map((s, i) => <p key={`b${i}`} style={{ opacity: 1 - q }}>{s}</p>)}
+ <p>{letters(tb.line[0])}<W />{letters(tb.line[1])}</p>
+ {tb.after.map((s, i) => <p key={`a${i}`} style={{ opacity: 1 - q }}>{s}</p>)}
+ </article>
+ );
+ }
+ return (
+ <article className="sheet dict">
+ <div className="head" style={{ fontSize: dictPx, left: slot.x, top: slot.y, transform: 'translate(-50%,-50%)' }}><W /></div>
+ <div className="defs" style={{ top: slot.y + dictPx * 0.85, fontSize: dictPx * 0.57 }}>
+ {DATA.dict.map((d, n) => { const s = dictDef(f, n); return <div key={n} className="def" style={{ opacity: s.o, transform: `translate(${s.x}px,${s.y}px)` }}>{'tag' in d && d.tag ? <small>{d.tag}</small> : null}{d.text}</div>; })}
+ </div>
+ </article>
+ );
+};
+
+/** every page the film can show, in measuring order */
+export const SHEET_REFS: SheetRef[] = [...DATA.sheets.map((_, i) => i), 'textbook', 'dict'];
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/Wordcut.tsx b/skills/motion-video-production/engines/remotion/productions/wordcut/Wordcut.tsx
new file mode 100644
index 0000000..e59a905
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/Wordcut.tsx
@@ -0,0 +1,150 @@
+// Thin Remotion host for the one-word cut. scene.ts decides every timed value; this file lays the sheets out once,
+// measures where each sheet's own word sits (static layout, no transforms), and from then on places every sheet so
+// that word lies exactly under the slot. The sharp slot word is that same sheet drawn a second time at rest (no whip
+// offset, no blur) with everything but its word hidden, so it is the document's own word, pixel for pixel; the
+// highlighter behind it is a whole-px box placed by transform. `aspect` picks the 9:16 or 16:9 framing. For the pixel
+// drift check (drift.mjs) `diag` drops the lens layers and paints one thing magenta: 'sheet' the moving sheet's word
+// (slot hidden), 'slot' the slot word, 'slotbox' the highlighter box, 'slotdot' a 1 px dot on the word's centre point
+// (a box tilted in perspective leans its area centroid toward its near edge; the dot does not).
+// Each shot (timing.ts `shots`) tilts and scales about the word; the sheet, the highlighter and the slot word share one
+// wrapper carrying that transform, so they rasterise in one layer and the word cannot drift off its own document.
+import React, { useEffect, useRef, useState } from 'react';
+import { AbsoluteFill, Img, continueRender, delayRender, random, staticFile, useCurrentFrame } from 'remotion';
+import { DATA, type Aspect } from './data.ts';
+import { SHEET_REFS, SheetBody } from './Sheets.tsx';
+import { CSS } from './sheets.css.ts';
+import { fontsReady } from './fonts.ts';
+import { LOOK, type Look } from './look.ts';
+import { VIEW, cam, closingOpacity, dictHeadPx, slotOf, textbookScatter } from './scene.ts';
+import { WORDCUT as T, kindOf, type SheetRef } from './timing.ts';
+
+export type WordcutProps = { aspect: Aspect; diag?: false | 'sheet' | 'slot' | 'slotbox' | 'slotdot'; look?: Partial<Look> };
+type Anchor = { x: number; y: number; w: number; h: number; size: number };
+// diag-slot hides the sheet's own word under the magenta slot word, so neither pass blends magenta over dark ink
+const DIAG_CSS = '.wc.diag .sheet mark.w{background:none!important;color:#ff00ff!important;text-shadow:none!important}'
+ + '.wc.diag-slot [data-k] mark.w{color:transparent!important;text-shadow:none!important}';
+const key = (k: SheetRef) => String(k);
+
+/** The highlighter box behind the slot word, in the shot's own (sheet) px: a whole number of px wide and tall, centred
+ * on the word by transform only, so layout snapping cannot move its centre off the word. */
+const Highlight: React.FC<{ a: Anchor; style: React.CSSProperties }> = ({ a, style }) => {
+ const w = Math.ceil(a.w + 0.08 * a.size), h = Math.ceil(a.h);
+ return <span className="slot" style={{ left: 0, top: 0, width: w, height: h, padding: 0, transform: `translate(${a.x - w / 2}px,${a.y - h / 2}px)`, ...style }} />;
+};
+/** the shot's tilt and the camera scale, applied about the word (the transform origin) */
+const PERSPECTIVE = 650;
+const shotLens = (c: { rx: number; rz: number; scale: number }) =>
+ `${c.rx || c.rz ? `perspective(${PERSPECTIVE}px) rotateX(${c.rx}deg) rotateZ(${c.rz}deg) ` : ''}scale(${c.scale})`;
+
+export const Wordcut: React.FC<WordcutProps> = ({ aspect, diag = false, look }) => {
+ const L = { ...LOOK, ...look };
+ const f = useCurrentFrame();
+ const V = VIEW[aspect], S = slotOf(aspect), kOut = V.out[0] / V.w;
+ const dictPx = dictHeadPx(aspect);
+ const [handle] = useState(() => delayRender('wordcut: measure sheets'));
+ const [anchors, setAnchors] = useState<Record<string, Anchor> | null>(null);
+ const root = useRef<HTMLDivElement>(null);
+
+ // where each sheet's word centre is, in sheet px
+ useEffect(() => {
+ let live = true;
+ fontsReady.then(() => {
+ if (!live || !root.current) return;
+ const out: Record<string, Anchor> = {};
+ for (const k of SHEET_REFS) {
+ const el = root.current.querySelector<HTMLElement>(`[data-k="${key(k)}"]`);
+ const m = el?.querySelector<HTMLElement>('mark.w');
+ if (!el || !m) throw new Error(`wordcut: sheet ${key(k)} has no marked word`);
+ const a = el.getBoundingClientRect(), b = m.getBoundingClientRect();
+ out[key(k)] = { x: (b.left - a.left + b.width / 2) / kOut, y: (b.top - a.top + b.height / 2) / kOut, w: b.width / kOut, h: b.height / kOut, size: parseFloat(getComputedStyle(m).fontSize) };
+ }
+ setAnchors(out);
+ continueRender(handle);
+ });
+ return () => { live = false; };
+ }, []);
+
+ const measuring = !anchors;
+ const c = cam(f, aspect);
+ const cur = T.cuts[c.i].k, kind = kindOf(cur);
+ const keys: SheetRef[] = measuring ? SHEET_REFS : [cur];
+ const tbq = kind === 'textbook' ? textbookScatter(f).q : 0;
+ const bg = kind === 'textbook' && tbq > 0 ? `color-mix(in srgb, ${DATA.bg.textbook} ${100 - tbq * 100}%, ${DATA.bg.dict})` : c.ground ?? DATA.bg[kind];
+ const lens = shotLens(c);
+ const closing = closingOpacity(f, !!DATA.closing);
+ const a = anchors?.[key(cur)];
+ const blurOn = !diag && (c.bx > 0.2 || c.by > 0.2);
+ const body = <SheetBody k={cur} f={f} dictPx={dictPx} slot={S} />;
+ const word = <div className="word-only" style={{ position: 'absolute', left: 0, top: 0 }}>{body}</div>;
+ const hlBg = `linear-gradient(90deg,var(--hl) ${c.hl * 100}%,transparent ${c.hl * 100}%) 0 50%/100% 76% no-repeat`;
+
+ return (
+ <AbsoluteFill style={{ background: DATA.bg.dict, overflow: 'hidden' }}>
+ <style>{CSS + DIAG_CSS}</style>
+ <svg width="0" height="0" style={{ position: 'absolute' }}>
+ <filter id="wc-whip" x="-30%" y="-30%" width="160%" height="160%"><feGaussianBlur stdDeviation={`${c.bx.toFixed(2)} ${c.by.toFixed(2)}`} /></filter>
+ <filter id="wc-grade" colorInterpolationFilters="sRGB">
+ <feComponentTransfer>{(['R', 'G', 'B'] as const).map((ch) => React.createElement(`feFunc${ch}`, { key: ch, type: 'gamma', exponent: L.gamma }))}</feComponentTransfer>
+ <feComponentTransfer><feFuncB type="table" tableValues={`${L.shadowTint} 1`} /></feComponentTransfer>
+ </filter>
+ <filter id="wc-rgb" colorInterpolationFilters="sRGB">
+ {(['1 0 0 0 0', '0 1 0 0 0', '0 0 1 0 0'] as const).map((row, n) => (
+ <React.Fragment key={n}>
+ <feColorMatrix in="SourceGraphic" type="matrix" values={[0, 1, 2].map((m) => (m === n ? row : '0 0 0 0 0')).join(' ') + ' 0 0 0 1 0'} result={`c${n}`} />
+ <feOffset in={`c${n}`} dx={((1 - n) * -c.split).toFixed(2)} result={`o${n}`} />
+ </React.Fragment>
+ ))}
+ <feBlend in="o0" in2="o1" mode="screen" result="rg" /><feBlend in="rg" in2="o2" mode="screen" />
+ </filter>
+ <filter id="wc-oof" colorInterpolationFilters="sRGB">
+ <feColorMatrix in="SourceGraphic" type="matrix" values="1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" result="r" /><feOffset in="r" dx={(-c.oof).toFixed(2)} result="ro" />
+ <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0" result="g" />
+ <feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0" result="b" /><feOffset in="b" dx={c.oof.toFixed(2)} result="bo" />
+ <feBlend in="ro" in2="g" mode="screen" result="rg" /><feBlend in="rg" in2="bo" mode="screen" />
+ </filter>
+ <filter id="wc-grain"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves={1} seed={Math.floor(random(`grain-${f}`) * 1000)} /><feColorMatrix type="saturate" values="0" /></filter>
+ </svg>
+ <div ref={root} className={`wc${diag === 'sheet' ? ' diag' : diag === 'slot' ? ' diag-slot' : ''}`} style={{ position: 'absolute', left: 0, top: 0, width: V.w, height: V.h, transform: `scale(${kOut})`, transformOrigin: '0 0', overflow: 'hidden', filter: diag ? undefined : `${c.split > 0 ? 'url(#wc-rgb) ' : ''}${L.gamma !== 1 || L.shadowTint ? 'url(#wc-grade) ' : ''}contrast(${L.contrast}) saturate(${L.saturate}) brightness(${L.brightness})`, ['--vw' as string]: `${V.w / 100}px`, ['--vh' as string]: `${V.h / 100}px` }}>
+ <div style={{ position: 'absolute', inset: 0, background: bg }} />
+ {/* the closing image sits under the shot; the sheet fades out over it while the word stays on top */}
+ {closing > 0 && <Img src={staticFile(DATA.closing!)} style={{ position: 'absolute', inset: 0, width: V.w, height: V.h, objectFit: 'cover', opacity: closing }} />}
+ {measuring
+ ? keys.map((k) => <div key={key(k)} data-k={key(k)} style={{ position: 'absolute', left: 0, top: 0, visibility: 'hidden' }}><SheetBody k={k} f={f} dictPx={dictPx} slot={S} /></div>)
+ : a && (
+ // the shot: the placement (the sheet's word on the slot), then the shot's tilt and scale about that word; the
+ // whip moves (and blurs) only the sheet, by its offset in the shot's px
+ <div style={{ position: 'absolute', left: 0, top: 0, transform: `translate(${S.x - a.x}px,${S.y - a.y}px) ${lens}`, transformOrigin: `${a.x}px ${a.y}px` }}>
+ <div data-k={key(cur)} style={{ position: 'absolute', left: 0, top: 0, transform: c.dx || c.dy ? `translate(${c.dx / c.scale}px,${c.dy / c.scale}px)` : undefined, filter: blurOn ? 'url(#wc-whip)' : undefined, opacity: closing > 0 ? 1 - closing : undefined }}>{body}</div>
+ {diag === 'slotbox' && <Highlight a={a} style={{ background: '#ff00ff' }} />}
+ {diag === 'slotdot' && <span style={{ position: 'absolute', left: 0, top: 0, width: 1, height: 1, background: '#ff00ff', transform: `translate(${a.x - 0.5}px,${a.y - 0.5}px)` }} />}
+ {!diag && <Highlight a={a} style={{ background: hlBg }} />}
+ {(diag === 'slot' || !diag) && word}
+ </div>
+ )}
+ {!diag && !measuring && (
+ <>
+ <div style={{ position: 'absolute', inset: 0, pointerEvents: 'none' }}>
+ {[0, 1].map((n) => (
+ <i key={n} style={{ position: 'absolute', left: 0, right: 0, height: '34%', [n ? 'bottom' : 'top']: 0, backdropFilter: `blur(${(L.dof + Math.max(c.bx, c.by) * 0.6).toFixed(2)}px)`, WebkitMaskImage: n ? 'linear-gradient(transparent,#000 65%)' : 'linear-gradient(#000 35%,transparent)' }} />
+ ))}
+ {c.band > 0.05 && a && (() => {
+ // one word in focus: only an ellipse round the word stays sharp (its neighbours on the same line soften
+ // too); each ring is an ellipse k times larger with twice the blur, so the depth of field grows with
+ // distance from the word (pitch ≈ 1.45 × the word's box height); the out-of-focus rings also split RGB
+ const pitch = 1.45 * a.h * c.scale, half = (a.w * c.scale) / 2;
+ const ring = (k: number, blur: number) => (
+ <i key={k} style={{ position: 'absolute', inset: 0, backdropFilter: `${c.oof > 0 ? 'url(#wc-oof) ' : ''}blur(${blur.toFixed(2)}px)`, WebkitMaskImage: `radial-gradient(ellipse ${(2 * half * k).toFixed(1)}px ${(pitch * k).toFixed(1)}px at ${S.x}px ${S.y}px,transparent 55%,#000 100%)` }} />
+ );
+ return [ring(1, c.band), ring(2.2, 2 * c.band), ring(4, 4 * c.band)];
+ })()}
+ </div>
+ <div style={{ position: 'absolute', inset: '-20%', pointerEvents: 'none', mixBlendMode: 'soft-light', opacity: Math.min(1, L.light * c.light), background: `repeating-linear-gradient(${115 + ((c.i * 37) % 50) - 25}deg,rgba(255,250,235,0) 0 9%,rgba(255,250,235,.55) 13% 17%,rgba(255,250,235,0) 22% 30%)` }} />
+ {L.shade > 0 && <div style={{ position: 'absolute', inset: '-20%', pointerEvents: 'none', mixBlendMode: 'multiply', opacity: L.shade, background: 'repeating-linear-gradient(115deg,rgba(60,48,34,0) 0 2%,rgba(60,48,34,.5) 6% 9%,rgba(60,48,34,0) 13% 30%)' }} />}
+ <div style={{ position: 'absolute', inset: 0, pointerEvents: 'none', background: `radial-gradient(120% 90% at 50% 45%,transparent 55%,rgba(44,28,10,${L.vignette}))` }} />
+ <svg width={V.w} height={V.h} style={{ position: 'absolute', inset: 0, opacity: L.grain * c.grain, mixBlendMode: 'multiply', pointerEvents: 'none' }}><rect width="100%" height="100%" filter="url(#wc-grain)" /></svg>
+ </>
+ )}
+ </div>
+ </AbsoluteFill>
+ );
+};
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/data.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/data.ts
new file mode 100644
index 0000000..cab7a81
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/data.ts
@@ -0,0 +1,46 @@
+// The one-word cut's content: the word, the sheets that hand it over, and the ending. Edit this file (or copy the folder)
+// to make your own; timing comes from plan.ts (written by plan.mjs from a reference analysis), the structure is fixed.
+// Every text field marks the word with {w}; every sheet must hold it exactly once (checked by timing.test.ts).
+// The demo is invented and neutral: a person keeps meaning to take a walk. No real names, places or claims.
+export type Aspect = '9x16' | '16x9';
+export type SheetKind = 'post' | 'receipt' | 'qa' | 'news' | 'chat' | 'subtitle' | 'memo' | 'search' | 'diary' | 'notice';
+
+export type Sheet =
+ | { kind: 'post'; meta: string; title: string; body: string[]; tags: string }
+ | { kind: 'receipt'; title: string; sub: string; rows: [string, string][]; total: [string, string] }
+ | { kind: 'qa'; chips: string[]; q: string; body: string[] }
+ | { kind: 'news'; headline: string; body: string[] }
+ | { kind: 'chat'; bubbles: { me?: boolean; text: string }[] }
+ | { kind: 'subtitle'; lines: { tc: string; text: string }[] }
+ | { kind: 'memo'; top: [string, string]; title: string; items: { done?: boolean; text: string }[] }
+ | { kind: 'search'; query: string; suggestions: string[] }
+ | { kind: 'diary'; date: string; lines: string[] }
+ | { kind: 'notice'; clock: string; day: string; cards: { app: string; when: string; title: string; text: string }[] };
+
+export const DATA = {
+ /** the word that stays in one slot for the whole film (Hangul or Latin; keep it short) */
+ word: '산책',
+ /** default framing; render.mjs can override it per run */
+ aspect: '9x16' as Aspect,
+ /** sheets in the order they first appear; the burst cycles through them again */
+ sheets: [
+ { kind: 'post', meta: '일상 · 익명 · 3분 전', title: '퇴근하고 바로 눕게 되는 거, 저만 그런가요', body: ['요즘은 집에 오면 아무것도 하기 싫어요. 주말엔 더 그래요.', '친구는 저녁에 {w}이라도 해 보래요. 정말 달라질까요?', '일단 운동화부터 현관에 꺼내 뒀어요.'], tags: '#저녁루틴 #작심삼일 #걷기' },
+ { kind: 'receipt', title: '동네문구', sub: '영수증 · 2026-10-12 19:42', rows: [['손목 시계줄', '6,500'], ['{w} 수첩', '4,800'], ['볼펜 3색', '2,000'], ['물통 500ml', '7,000']], total: ['합계', '20,300'] },
+ { kind: 'qa', chips: ['#생활습관', '#걷기', '#저녁'], q: '저녁 {w}, 몇 분부터 해야 효과가 있나요?', body: ['처음엔 시간보다 매일 나가는 게 더 중요해요. 10분이라도 같은 시간에 나가 보세요.', '익숙해지면 조금씩 늘려도 늦지 않아요.'] },
+ { kind: 'news', headline: '가을 저녁, 다시 늘어난 {w} 인구', body: ['해가 짧아지면서 퇴근 뒤 동네를 걷는 사람이 늘었다. 공원 둘레길은 저녁 일곱 시면 붐빈다.', '걷는 이유는 저마다 다르다. 생각을 정리하려고, 잠을 잘 자려고, 그냥 바람을 쐬려고.', '무엇보다 부담 없이 시작할 수 있다는 점이 꼽혔다.'] },
+ { kind: 'chat', bubbles: [{ text: '오늘 저녁에 시간 돼?' }, { me: true, text: '응, 여덟 시에 공원 {w} 어때?' }, { text: '좋아. 편한 신발 신고 갈게.' }, { me: true, text: '물만 챙겨 오면 돼.' }] },
+ { kind: 'subtitle', lines: [{ tc: '00:03:12,400 → 00:03:14,200 · 1.8초', text: '거창한 게 아니라 결국 {w}부터였어요' }, { tc: '00:03:14,400 → 00:03:16,300 · 1.9초', text: '집 앞 한 바퀴로 시작했죠' }] },
+ { kind: 'memo', top: ['‹ 메모', '10월 11일 금요일'], title: '이번 주말', items: [{ done: true, text: '세탁소 들르기' }, { text: '토요일 아침 {w}' }, { text: '운동화 끈 바꾸기' }, { text: '물통 씻어 두기' }] },
+ { kind: 'search', query: '{w}', suggestions: ['코스', '시간', '음악 추천', '하기 좋은 날씨'] },
+ { kind: 'diary', date: '10월 9일 목요일 · 맑음', lines: ['저녁 먹고 나가 보니 바람이 좋았다.', '짧은 {w}, 그래도 오늘은 나갔다.', '내일도 같은 시간에 나가 봐야지.'] },
+ { kind: 'notice', clock: '7:42', day: '10월 12일 토요일', cards: [{ app: '메시지', when: '지금', title: '친구', text: '오늘도 {w} 갈 거지?' }, { app: '캘린더', when: '오전 8:00', title: '아침 걷기', text: '물통 챙기기' }] },
+ ] satisfies Sheet[] as Sheet[],
+ /** the ending: a textbook line whose letters scatter, then the word becomes a dictionary head word */
+ textbook: { chapter: '3장 · 몸과 습관', before: ['몸은 쓰는 만큼 깨어나고, 쉬는 만큼 회복한다. 둘 사이의 균형이 하루의 결을 정한다.'], line: ['가볍게 바람을 쐬며 천천히 걷는 일을 ', '이라고 부른다.'], after: ['방법은 사람마다 다르다. 같은 이름으로 부르지만 걷는 이유는 저마다 있다.'] },
+ /** optional closing image (a file under the engine's public/ folder, e.g. 'closing.jpg'): the last beat fades to it
+ * and holds while the word stays in its slot on top. null ends on the dictionary page. */
+ closing: null as string | null,
+ dict: [{ tag: '명사', text: '휴식이나 건강을 위해서 천천히 걷는 일' }, { text: '저녁마다 공원을 산책하다' }, { tag: '비슷한말', text: '산보(散步)' }, { tag: '영어', text: 'walk' }],
+ /** paper colour per sheet kind behind the sheet */
+ bg: { post: '#121314', receipt: '#fbfaf6', qa: '#ffffff', news: '#f3efe4', chat: '#e9ecef', subtitle: '#1b1d20', memo: '#fffdf7', search: '#ffffff', diary: '#fbf8f1', notice: '#22262c', textbook: '#faf7ef', dict: '#F6F3EC' },
+} as const;
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/drift.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/drift.mjs
new file mode 100644
index 0000000..60615d7
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/drift.mjs
@@ -0,0 +1,109 @@
+// drift.mjs — measures, in rendered pixels, that the word never leaves its slot.
+// slot : diag-slotbox render (the slot word's box solid magenta, lens layers off). Coverage-weighted centroid on the
+// last frame before and the first frame after every cut (both whip frames).
+// lens : the same pairs on the real render, from the yellow highlighter's anti-aliased edges. Grain and the blurred
+// sheet showing through the 72 % highlighter make this the noisy one; it is kept as the end-to-end check.
+// sheet : glyph centroid of each sheet's own word (diag-sheet: its glyphs magenta, slot hidden) minus the glyph centroid
+// of the slot word on the same frame (diag-slot), with the sheet at rest 3 frames after it lands: how far the
+// document's word sits from the word drawn over it. Same font, size and scale, so glyph shape cancels.
+// dot : diag-slotdot, a 1 px dot on the word's centre point, on the same pairs. A shot tilted in perspective leans the
+// slot box's area centroid toward its near (lower) half; the dot is the point itself, so the gate uses it.
+// Slot centres are also compared with the slot centre the layout asks for (VIEW × slotY). Writes renders/wordcut/drift-<aspect>.json.
+// Usage (engine folder): node productions/wordcut/drift.mjs [9x16|16x9] Exit 1 when the word's centre point moves more
+// than 0.5 px across a boundary, the sheet's word sits more than 0.5 px off the slot word, or a measurement is missing.
+import { execFileSync } from 'node:child_process';
+import { mkdirSync, writeFileSync } from 'node:fs';
+import { join } from 'node:path';
+import { VIEW, slotOf } from './scene.ts';
+import { WORDCUT as T, kindOf } from './timing.ts';
+import { DATA } from './data.ts';
+
+const aspect = process.argv[2] ?? DATA.aspect;
+if (!['9x16', '16x9'].includes(aspect)) { console.error('usage: drift.mjs [9x16|16x9]'); process.exit(2); }
+const V = VIEW[aspect], [W, H] = V.out, k = W / V.w, S = slotOf(aspect);
+const want = { x: S.x * k, y: S.y * k };
+const dir = `renders/wordcut/drift-${aspect}`;
+
+// frame pairs straddling each boundary; the textbook lands unhighlighted, so its "after" is the end of the highlighter wipe.
+const pairs = T.cuts.slice(1).map((c) => [c.f - 1, kindOf(c.k) === 'textbook' ? T.textbook.hlFrom + T.textbook.hlFrames : c.f]);
+// each sheet at rest: 3 frames after it lands, but never on or after the next whip's out-frame (next.f - 1), where the
+// sheet is shifted on purpose; in a 4-frame burst that is the frame after landing + 2 (refocus blur only, no offset)
+const rest = T.cuts.map((c, i) => (T.cuts[i + 1] ? Math.min(c.f + 3, T.cuts[i + 1].f - 2) : c.f + 3));
+
+const render = (frames, mode) => {
+ const out = join(dir, mode);
+ mkdirSync(out, { recursive: true });
+ const flag = { lens: [], sheet: ['--diag'], slot: ['--diag-slot'], slotbox: ['--diag-slotbox'], slotdot: ['--diag-slotdot'] }[mode];
+ execFileSync('node', ['productions/wordcut/render.mjs', 'stills', aspect, ...frames.map(String), ...flag, '--out', out], { stdio: 'inherit' });
+ return out;
+};
+const rgb = (png) => execFileSync('ffmpeg', ['-loglevel', 'error', '-i', png, '-f', 'rawvideo', '-pix_fmt', 'rgb24', '-'], { maxBuffer: W * H * 4 });
+const at = (b, x, y) => { const i = (y * W + x) * 3; return [b[i], b[i + 1], b[i + 2]]; };
+const png = (d, f) => join(d, `f_${String(f).padStart(4, '0')}.png`);
+
+/** highlighter centre: yellowness Y = (R+G)/2 − B; per row, the yellow run's edges refined by the edge pixels' coverage */
+function slotCentre(b) {
+ const Y = (x, y) => { const [r, g, bl] = at(b, x, y); return (r + g) / 2 - bl; };
+ const box = { x0: Math.round(want.x - W * 0.3), x1: Math.round(want.x + W * 0.3), y0: Math.round(want.y - H * 0.08), y1: Math.round(want.y + H * 0.08) };
+ const rows = [];
+ let top = Infinity, bottom = -Infinity;
+ for (let y = box.y0; y <= box.y1; y++) {
+ let xl = -1, xr = -1;
+ for (let x = box.x0; x <= box.x1; x++) if (Y(x, y) > 50) { if (xl < 0) xl = x; xr = x; }
+ if (xl < 0 || xr - xl < 20) continue;
+ top = Math.min(top, y); bottom = Math.max(bottom, y);
+ const full = (Y(xl + 2, y) + Y(xr - 2, y)) / 2, bgL = Y(xl - 3, y), bgR = Y(xr + 3, y);
+ const cov = (v, bg) => Math.min(1, Math.max(0, (v - bg) / (full - bg)));
+ rows.push(((xl - cov(Y(xl - 1, y), bgL)) + (xr + 1 + cov(Y(xr + 1, y), bgR))) / 2);
+ }
+ if (!rows.length) return null;
+ // drop the band's first/last two rows (gradient stop rows), average the rest
+ const mid = rows.slice(2, -2).length ? rows.slice(2, -2) : rows;
+ return { x: mid.reduce((s, v) => s + v, 0) / mid.length, y: (top + bottom + 1) / 2, rows: mid.length };
+}
+
+/** magenta centroid, weighted by coverage M = (min(R, B) − G) / 255 (blue and teal ink score below 0) */
+function sheetCentre(b) {
+ let sx = 0, sy = 0, s = 0;
+ const x0 = Math.round(want.x - W * 0.3), x1 = Math.round(want.x + W * 0.3), y0 = Math.round(want.y - H * 0.08), y1 = Math.round(want.y + H * 0.08);
+ for (let y = y0; y <= y1; y++) for (let x = x0; x <= x1; x++) {
+ const [r, g, bl] = at(b, x, y), m = (Math.min(r, bl) - g) / 255;
+ if (m < 0.02) continue; // neutral paper, ink and the dark sheets score ≈ 0; anti-aliased magenta edges keep their share
+ const w = Math.min(1, m);
+ sx += (x + 0.5) * w; sy += (y + 0.5) * w; s += w;
+ }
+ return s ? { x: sx / s, y: sy / s, area: s } : null;
+}
+
+const pairFrames = [...new Set(pairs.flat())].sort((a, b) => a - b);
+const lensDir = render(pairFrames, 'lens'), boxDir = render(pairFrames, 'slotbox'), dotDir = render(pairFrames, 'slotdot'), diagDir = render(rest, 'sheet'), glyphDir = render(rest, 'slot');
+const r2 = (v) => Math.round(v * 100) / 100;
+const report = { aspect, want, pairs: [], rest: [] };
+const delta = (p, q) => (p && q ? { dx: r2(q.x - p.x), dy: r2(q.y - p.y) } : { dx: null, dy: null });
+for (const [a, b] of pairs) {
+ const p = sheetCentre(rgb(png(boxDir, a))), q = sheetCentre(rgb(png(boxDir, b)));
+ const lp = slotCentre(rgb(png(lensDir, a))), lq = slotCentre(rgb(png(lensDir, b)));
+ const dp = sheetCentre(rgb(png(dotDir, a))), dq = sheetCentre(rgb(png(dotDir, b)));
+ report.pairs.push({ before: a, after: b, ...delta(p, q), off: p && { x: r2(p.x - want.x), y: r2(p.y - want.y) }, lens: delta(lp, lq), dot: delta(dp, dq) });
+}
+T.cuts.forEach((c, n) => {
+ const m = sheetCentre(rgb(png(diagDir, rest[n]))), g = sheetCentre(rgb(png(glyphDir, rest[n])));
+ report.rest.push({ sheet: String(c.k), frame: rest[n], dx: m && g && r2(m.x - g.x), dy: m && g && r2(m.y - g.y) });
+});
+const maxAbs = (xs) => Math.max(...xs.filter((v) => v !== null).map(Math.abs));
+report.max = {
+ dotAcrossBoundary: { dx: maxAbs(report.pairs.map((p) => p.dot.dx)), dy: maxAbs(report.pairs.map((p) => p.dot.dy)) },
+ slotAcrossBoundary: { dx: maxAbs(report.pairs.map((p) => p.dx)), dy: maxAbs(report.pairs.map((p) => p.dy)) },
+ slotVsWanted: { dx: maxAbs(report.pairs.map((p) => p.off?.x ?? null)), dy: maxAbs(report.pairs.map((p) => p.off?.y ?? null)) },
+ lensAcrossBoundary: { dx: maxAbs(report.pairs.map((p) => p.lens.dx)), dy: maxAbs(report.pairs.map((p) => p.lens.dy)) },
+ sheetWordVsSlot: { dx: maxAbs(report.rest.map((p) => p.dx)), dy: maxAbs(report.rest.map((p) => p.dy)) },
+};
+writeFileSync(`renders/wordcut/drift-${aspect}.json`, JSON.stringify(report, null, 1));
+console.log(`== drift ${aspect} (${W}x${H}, slot centre wanted at ${r2(want.x)}, ${r2(want.y)} px)`);
+for (const p of report.pairs) console.log(` slot f${p.before}→f${p.after} Δ ${p.dx?.toFixed(2)}, ${p.dy?.toFixed(2)} px (centre − wanted ${p.off?.x.toFixed(2)}, ${p.off?.y.toFixed(2)}) lens Δ ${p.lens.dx?.toFixed(2)}, ${p.lens.dy?.toFixed(2)} dot Δ ${p.dot.dx?.toFixed(2)}, ${p.dot.dy?.toFixed(2)}`);
+for (const p of report.rest) console.log(` sheet ${p.sheet.padEnd(9)} f${p.frame} word − slot ${p.dx?.toFixed(2)}, ${p.dy?.toFixed(2)} px`);
+const m = report.max, xy = (v) => `${v.dx.toFixed(2)}, ${v.dy.toFixed(2)} px`;
+console.log(`max |Δ| word centre point across boundaries ${xy(m.dotAcrossBoundary)} · slot box across boundaries ${xy(m.slotAcrossBoundary)} · slot vs wanted ${xy(m.slotVsWanted)} · sheet word vs slot ${xy(m.sheetWordVsSlot)} · lens (noisy) ${xy(m.lensAcrossBoundary)}`);
+const missing = [...report.pairs, ...report.rest, ...report.pairs.map((p) => p.dot)].filter((r) => r.dx === null).length;
+if (missing) console.log(`FAIL ${missing} measurements found no word (frame on a whip, or the word left the window)`);
+process.exit(missing || Math.max(m.dotAcrossBoundary.dx, m.dotAcrossBoundary.dy, m.sheetWordVsSlot.dx, m.sheetWordVsSlot.dy) > 0.5 ? 1 : 0);
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/focus.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/focus.mjs
new file mode 100644
index 0000000..124fb92
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/focus.mjs
@@ -0,0 +1,46 @@
+// focus.mjs — one word in focus per shot: frame0.mjs's measure (keyword centre offset, focus ratio = sharpness of the
+// keyword line ÷ the 2nd text line above and below) on every sheet's landing frame, not only frame 0.
+// Landing = the first frame after the refocus (cut + 3); the textbook lands unhighlighted, so its landing is the end of
+// the highlighter wipe. Optional --sheet <png> tiles the landing frames into one contact sheet (row-major, cut order).
+// Usage (engine folder): node productions/wordcut/focus.mjs [--check] [--sheet out.png] [video] (default: renders/wordcut/wordcut-<DATA.aspect>.mp4)
+// --check exits 1 when any sheet's focus < LIMIT (sheets with no measurable ±2 lines are reported, not failed).
+import { execFileSync } from 'node:child_process';
+import { frame0 } from './frame0.mjs';
+import { WORDCUT as T, kindOf } from './timing.ts';
+import { DATA } from './data.ts';
+
+const LIMIT = 2;
+// a 4-frame burst sheet's landing is its last frame before the next whip's out-frame
+export const landings = () => T.cuts.map((c, i) => ({
+ i, k: String(c.k),
+ f: kindOf(c.k) === 'textbook' ? T.textbook.hlFrom + T.textbook.hlFrames : T.cuts[i + 1] ? Math.min(c.f + T.refocus.length, T.cuts[i + 1].f - 2) : c.f + T.refocus.length,
+}));
+
+function frameAt(src, n) {
+ const [w0, h0] = execFileSync('ffprobe', ['-v', 'error', '-select_streams', 'v:0', '-show_entries', 'stream=width,height', '-of', 'csv=p=0', src]).toString().trim().split(',').map(Number);
+ const k = 540 / Math.min(w0, h0), W = Math.round(w0 * k), H = Math.round(h0 * k);
+ const rgb = execFileSync('ffmpeg', ['-loglevel', 'error', '-i', src, '-vf', `select=eq(n\\,${n}),scale=${W}:${H}:flags=area`, '-frames:v', '1', '-f', 'rawvideo', '-pix_fmt', 'rgb24', '-'], { maxBuffer: W * H * 4 });
+ return { W, H, rgb };
+}
+
+if (import.meta.url === `file://${process.argv[1]}`) {
+ const args = process.argv.slice(2), check = args.includes('--check');
+ const sheetAt = args.indexOf('--sheet'), sheet = sheetAt >= 0 ? args[sheetAt + 1] : null;
+ const src = args.filter((a, n) => !a.startsWith('--') && (sheetAt < 0 || n !== sheetAt + 1))[0] ?? `renders/wordcut/wordcut-${DATA.aspect}.mp4`;
+ const L = landings();
+ let fails = 0;
+ for (const l of L) {
+ const m = frame0(frameAt(src, l.f));
+ const r = (v) => (typeof v === 'number' ? Math.round(v * 100) / 100 : v);
+ const ok = !m.error && m.focus !== null && m.focus >= LIMIT;
+ if (!ok && m.focus !== null) fails++;
+ console.log(`cut ${String(l.i).padStart(2)} ${l.k.padEnd(9)} f${String(l.f).padStart(3)} focus ${m.error ? m.error : String(r(m.focus)).padEnd(5)} kw ${r(m.kwSharp)} around ${r(m.aroundSharp)} dx,dy ${r(m.dx)}, ${r(m.dy)} ${m.focus === null || m.error ? 'n/a' : ok ? 'pass' : 'FAIL'}`);
+ }
+ if (sheet) {
+ const portrait = src.includes('9x16');
+ const sel = L.map((l) => `eq(n\\,${l.f})`).join('+');
+ execFileSync('ffmpeg', ['-loglevel', 'error', '-y', '-i', src, '-vf', `select='${sel}',scale=${portrait ? '270:480' : '480:270'},tile=${portrait ? '9x2' : '6x3'}`, '-frames:v', '1', sheet]);
+ console.log(`sheet → ${sheet}`);
+ }
+ if (check && fails) { console.error(`focus: ${fails} sheet(s) below ${LIMIT}`); process.exit(1); }
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/fonts.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/fonts.ts
new file mode 100644
index 0000000..32c7bef
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/fonts.ts
@@ -0,0 +1,22 @@
+// Serif and mono faces for the word cut (Pretendard comes from src/fonts.ts). Pinned npm packages, SIL OFL 1.1:
+// @fontsource/nanum-myeongjo 5.3.0 (Korean subsets) and @fontsource/jetbrains-mono 5.3.0. Never system fonts.
+import { pretendardReady } from '../../src/fonts.ts';
+import '@fontsource/nanum-myeongjo/korean-400.css';
+import '@fontsource/nanum-myeongjo/korean-700.css';
+import '@fontsource/nanum-myeongjo/latin-400.css';
+import '@fontsource/nanum-myeongjo/latin-700.css';
+import '@fontsource/jetbrains-mono/latin-500.css';
+import '@fontsource/jetbrains-mono/latin-700.css';
+import { DATA } from './data.ts';
+
+// The Korean face is split by unicode-range, so load exactly the characters the film shows.
+const text = JSON.stringify(DATA).replaceAll('{w}', DATA.word);
+
+/** resolves once every face (and Pretendard) can lay out the film's text */
+export const fontsReady: Promise<void> = pretendardReady.then(() => Promise.all([
+ document.fonts.load('400 16px "Nanum Myeongjo"', text),
+ document.fonts.load('700 16px "Nanum Myeongjo"', text),
+ document.fonts.load('500 16px "JetBrains Mono"', text),
+ document.fonts.load('700 16px "JetBrains Mono"', text),
+ document.fonts.load('16px Pretendard', text),
+])).then(() => document.fonts.ready).then(() => undefined);
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/frame0.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/frame0.mjs
new file mode 100644
index 0000000..86b53ff
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/frame0.mjs
@@ -0,0 +1,117 @@
+// frame0.mjs: does the cut's first frame read like the reference's (a mid-shot on the word, not a page)?
+// offset : centre of the keyword highlight (yellow-green: G and R high, B low) from the frame centre, in px of the
+// frame scaled to 540 px on its short side, and as a fraction of width / height
+// focus : sharpness of a band one highlight high on the keyword line ÷ the mean sharpness of the same bands on the
+// 2nd text line above and below it (sharpness = Laplacian variance per unit luma variance, grain smoothed out).
+// A reference cut that opens on a focus band measures about 2.5 on frame 0 and racks open to about 1 by 0.3 s;
+// a flat page shot measures below 1.
+// colour : reported, not gated: share of pixels away from the word whose 9 px box-blurred chroma is > 30 (blue
+// hashtags; a strong RGB split also scores, the reference's frame 0 does); blue: the same with blue > max(R, G) + 25
+// Assumes a yellow-green highlighter behind the word (sheets.css.ts --hl); change the test in frame0() if yours differs.
+// Usage (engine folder): node productions/wordcut/frame0.mjs [--check] [<video|png>[@seconds] …]
+// no file: renders/wordcut/wordcut-9x16.mp4@0 and renders/wordcut/wordcut-16x9.mp4@0 (those that exist)
+// --check exits 1 when a frame fails: |offset x| > 5 % W, |offset y| > 12 % H, focus < LIMIT.focus.
+import { execFileSync } from 'node:child_process';
+import { existsSync } from 'node:fs';
+import { pathToFileURL } from 'node:url';
+
+const LIMIT = { x: 0.05, y: 0.12, focus: 2 };
+
+function grab(spec) {
+ const at = spec.lastIndexOf('@'), src = at > 0 ? spec.slice(0, at) : spec, t = at > 0 ? spec.slice(at + 1) : null;
+ const [w0, h0] = execFileSync('ffprobe', ['-v', 'error', '-select_streams', 'v:0', '-show_entries', 'stream=width,height', '-of', 'csv=p=0', src]).toString().trim().split(',').map(Number);
+ const k = 540 / Math.min(w0, h0), W = Math.round(w0 * k), H = Math.round(h0 * k);
+ const rgb = execFileSync('ffmpeg', ['-loglevel', 'error', ...(t ? ['-ss', t] : []), '-i', src, '-frames:v', '1', '-vf', `scale=${W}:${H}:flags=area`, '-f', 'rawvideo', '-pix_fmt', 'rgb24', '-'], { maxBuffer: W * H * 4 });
+ return { src: src.split('/').pop() + (t ? `@${t}` : ''), W, H, rgb };
+}
+
+export function frame0({ W, H, rgb }) {
+ const n = W * H, Y = new Float32Array(n), hl = new Uint8Array(n);
+ let sx = 0, sy = 0, c = 0, y0 = H, y1 = 0;
+ // the frame box-blurred by 9 px: thin RGB-split fringes average out (white text with its blue pulled off reads
+ // yellow, like the highlighter), solid areas (the highlighter, blue hashtags) remain
+ const r9 = 4, col0 = new Float32Array(n * 3);
+ for (let y = r9; y < H - r9; y++) for (let x = r9; x < W - r9; x++) {
+ let a = 0, b = 0, d = 0;
+ for (let v = -r9; v <= r9; v++) for (let u = -r9; u <= r9; u++) { const j = ((y + v) * W + x + u) * 3; a += rgb[j]; b += rgb[j + 1]; d += rgb[j + 2]; }
+ const i = (y * W + x) * 3, m = (2 * r9 + 1) ** 2; col0[i] = a / m; col0[i + 1] = b / m; col0[i + 2] = d / m;
+ }
+ for (let i = 0; i < n; i++) {
+ const r = rgb[i * 3], g = rgb[i * 3 + 1], b = rgb[i * 3 + 2];
+ Y[i] = 0.2126 * r + 0.7152 * g + 0.0722 * b;
+ const R = col0[i * 3], G = col0[i * 3 + 1], Bl = col0[i * 3 + 2];
+ if (G > 100 && R > 75 && G - Bl > 55 && R - Bl > 40) hl[i] = 1;
+ }
+ // keep the largest 4-connected highlight blob: the highlighter is one solid box, split fringes are scattered
+ const lab = new Int32Array(n), sizes = [0];
+ for (let i = 0; i < n; i++) {
+ if (!hl[i] || lab[i]) continue;
+ const id = sizes.length, stack = [i]; lab[i] = id; let k = 0;
+ while (stack.length) { const j = stack.pop(); k++; for (const q of [j - 1, j + 1, j - W, j + W]) if (q >= 0 && q < n && hl[q] && !lab[q] && Math.abs((q % W) - (j % W)) <= 1) { lab[q] = id; stack.push(q); } }
+ sizes.push(k);
+ }
+ const big = sizes.indexOf(Math.max(...sizes));
+ for (let i = 0; i < n; i++) { hl[i] = lab[i] === big && big > 0 ? 1 : 0; if (hl[i]) { sx += i % W; sy += (i / W) | 0; c++; } }
+ if (c < 50) return { error: 'no keyword highlight found' };
+ const cx = sx / c, cy = sy / c;
+ // highlight height: rows near the centroid column span holding highlight pixels
+ for (let y = 0; y < H; y++) { let m = 0; for (let x = Math.round(cx - 20); x < Math.round(cx + 20); x++) m += hl[y * W + x]; if (m > 8) { y0 = Math.min(y0, y); y1 = Math.max(y1, y); } }
+ const h = Math.max(8, y1 - y0 + 1);
+ // text line centres: peaks of the row luma std (smoothed over h/3), at least 0.8 h apart, std > 6. Lines are not evenly
+ // spaced (headings, paragraph gaps), so the bands compared are the 2nd text line above and below the keyword's line.
+ const rowStd = Array.from({ length: H }, (_, y) => { let s1 = 0, s2 = 0; for (let x = 0; x < W; x++) { const v = Y[y * W + x]; s1 += v; s2 += v * v; } return Math.sqrt(Math.max(0, s2 / W - (s1 / W) ** 2)); });
+ const r3 = Math.max(1, Math.round(h / 6));
+ const prof = rowStd.map((_, y) => { let t = 0, k = 0; for (let v = y - r3; v <= y + r3; v++) if (v >= 0 && v < H) { t += rowStd[v]; k++; } return t / k; });
+ const win = Math.round(0.4 * h), peaks = [];
+ for (let y = 0; y < H; y++) {
+ if (prof[y] <= 6) continue;
+ let top = true; for (let v = Math.max(0, y - win); v <= Math.min(H - 1, y + win); v++) if (prof[v] > prof[y] || (prof[v] === prof[y] && v < y)) { top = false; break; }
+ if (top && (!peaks.length || y - peaks[peaks.length - 1] >= 0.8 * h)) peaks.push(y);
+ }
+ let at = 0; peaks.forEach((y, j) => { if (Math.abs(y - cy) < Math.abs(peaks[at] - cy)) at = j; });
+ const lines = [peaks[at - 2], peaks[at + 2]].filter((y) => y !== undefined);
+ // Laplacian at a 3 px step on the 3×3 box-smoothed luma: text edges register, per-pixel grain does not
+ const B = new Float32Array(n);
+ for (let y = 1; y < H - 1; y++) for (let x = 1; x < W - 1; x++) { let t = 0; for (let v = -1; v <= 1; v++) for (let u = -1; u <= 1; u++) t += Y[(y + v) * W + x + u]; B[y * W + x] = t / 9; }
+ const lapVar = (yc) => {
+ let s = 0, s2 = 0, k = 0;
+ for (let y = Math.max(4, Math.round(yc - h / 2)); y < Math.min(H - 4, Math.round(yc + h / 2)); y++) for (let x = 4; x < W - 4; x++) {
+ const i = y * W + x, v = 4 * B[i] - B[i - 3] - B[i + 3] - B[i - 3 * W] - B[i + 3 * W];
+ s += v; s2 += v * v; k++;
+ }
+ return k ? s2 / k - (s / k) ** 2 : 0;
+ };
+ // a band's sharpness is its Laplacian variance per unit of luma variance, so text density cancels; a band with no
+ // text (luma std < 6) has nothing to be sharp or blurred and is left out
+ const lumaVar = (yc) => {
+ let s = 0, s2 = 0, k = 0;
+ for (let y = Math.max(0, Math.round(yc - h / 2)); y < Math.min(H, Math.round(yc + h / 2)); y++) for (let x = 0; x < W; x++) { const v = Y[y * W + x]; s += v; s2 += v * v; k++; }
+ return k ? s2 / k - (s / k) ** 2 : 0;
+ };
+ const sharp = (yc) => (lumaVar(yc) < 36 ? null : lapVar(yc) / lumaVar(yc));
+ const kw = sharp(cy), around = lines.map(sharp).filter((v) => v !== null);
+ const off = around.length ? around.reduce((a, b) => a + b) / around.length : null;
+ let col = 0, blue = 0;
+ for (let y = r9; y < H - r9; y++) for (let x = r9; x < W - r9; x++) {
+ const i = y * W + x; if (Math.abs(x - cx) < W * 0.3 && Math.abs(y - cy) < h * 1.5) continue;
+ const r = col0[i * 3], g = col0[i * 3 + 1], b = col0[i * 3 + 2]; if (Math.max(r, g, b) - Math.min(r, g, b) > 30) col++;
+ if (b - Math.max(r, g) > 25) blue++;
+ }
+ return { W, H, dx: cx - W / 2, dy: cy - H / 2, fx: (cx - W / 2) / W, fy: (cy - H / 2) / H, hlH: h, lines: lines.map((y) => Math.round(y - cy)), focus: kw !== null && off !== null ? kw / off : null, kwSharp: kw, aroundSharp: off, colour: col / n, blue: blue / n };
+}
+
+const pass = (m) => !m.error && Math.abs(m.fx) <= LIMIT.x && Math.abs(m.fy) <= LIMIT.y && m.focus !== null && m.focus >= LIMIT.focus;
+
+if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
+ const args = process.argv.slice(2), check = args.includes('--check');
+ let files = args.filter((a) => a !== '--check');
+ if (!files.length) files = ['9x16', '16x9'].map((a) => `renders/wordcut/wordcut-${a}.mp4`).filter(existsSync).map((p) => `${p}@0`);
+ if (!files.length) { console.error('frame0: no render found; pass a video or png'); process.exit(2); }
+ let ok = true;
+ for (const spec of files) {
+ const f = grab(spec), m = frame0(f), p = pass(m);
+ ok &&= p;
+ console.log(JSON.stringify({ src: f.src, ...m, pass: p }, (k, v) => (typeof v === 'number' ? Math.round(v * 1e4) / 1e4 : v)));
+ }
+ if (check && !ok) { console.error(`frame0: FAIL (limits ${JSON.stringify(LIMIT)})`); process.exit(1); }
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/look-fit.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/look-fit.mjs
new file mode 100644
index 0000000..0074e04
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/look-fit.mjs
@@ -0,0 +1,66 @@
+// look-fit.mjs — fit the lens (look.ts) so six landing frames' mean texture numbers (look.mjs) land within ±10 % of the
+// reference's (objective: the worst relative error). Seeded random local search; bundles once.
+// Usage (engine folder): node productions/wordcut/look-fit.mjs <analysis.json> ['<start look json>']
+// analysis.json is the reference's ref-analyze.py output; its `look` block is the target. ITERS (default 60).
+// Prints every evaluation and the best look; paste the best into look.ts. Writes only scratch stills under renders/.
+import { bundle } from '@remotion/bundler';
+import { renderStill, selectComposition } from '@remotion/renderer';
+import { execFileSync } from 'node:child_process';
+import { existsSync, mkdirSync, readFileSync, readdirSync } from 'node:fs';
+import { homedir } from 'node:os';
+import { join, resolve } from 'node:path';
+import { metrics } from './look.mjs';
+import { LOOK } from './look.ts';
+import { WORDCUT as T } from './timing.ts';
+
+const ref = JSON.parse(readFileSync(process.argv[2], 'utf8')).look;
+let look = { ...LOOK, ...JSON.parse(process.argv[3] ?? '{}') };
+// six landings spread across the film, 3 frames after each lands (at rest)
+const FRAMES = [0, 0.2, 0.4, 0.6, 0.8, 1].map((p) => T.cuts[Math.round(p * (T.cuts.length - 1))].f + 3);
+const RANGE = { dof: [0, 4], shadowTint: [0, 0.12], gamma: [1, 2.2], light: [0, 1], shade: [0, 0.6], vignette: [0, 0.9], grain: [0, 0.08], contrast: [0.8, 1.4], saturate: [0.5, 5], brightness: [0.8, 1.05] };
+const KEYS = ['sharpRatio', 'rms', 'sat', 'chroma', 'black', 'grain'];
+const dir = 'renders/wordcut/look-fit';
+mkdirSync(dir, { recursive: true });
+
+const root = join(homedir(), 'Library/Caches/ms-playwright');
+const exe = process.env.CHROME_PATH ?? (existsSync(root) ? readdirSync(root).filter((d) => d.startsWith('chromium_headless_shell-')).sort().reverse()
+ .map((d) => join(root, d, 'chrome-mac/headless_shell')).find((p) => existsSync(p)) : undefined);
+const serveUrl = await bundle({ entryPoint: resolve('src/index.ts'), ...(existsSync('public') ? { publicDir: resolve('public') } : {}) });
+
+// Encode proxy: the fitted numbers must hold after the master's h264 encode (crf 17, yuv420p), which drops faint
+// per-frame grain and some near-black chroma. Each landing renders the 5 frames ending at it, encodes them as a clip
+// and is measured on the last decoded frame (a P-frame, as in the master).
+async function evaluate(l) {
+ const inputProps = { aspect: '9x16', diag: false, look: l };
+ const composition = await selectComposition({ serveUrl, id: 'wordcut', inputProps, browserExecutable: exe });
+ const rows = [];
+ for (const frame of FRAMES) {
+ for (let k = 0; k < 5; k++) {
+ await renderStill({ serveUrl, composition, frame: Math.max(0, frame - 4 + k), inputProps, imageFormat: 'png', output: join(dir, `b${frame}_${k}.png`), browserExecutable: exe });
+ }
+ const clip = join(dir, `b${frame}.mp4`);
+ execFileSync('ffmpeg', ['-loglevel', 'error', '-y', '-framerate', '30', '-i', join(dir, `b${frame}_%d.png`), '-c:v', 'libx264', '-crf', '17', '-pix_fmt', 'yuv420p', clip]);
+ rows.push(metrics(execFileSync('ffmpeg', ['-loglevel', 'error', '-i', clip, '-vf', 'select=eq(n\\,4),scale=540:960:flags=area', '-frames:v', '1', '-f', 'rawvideo', '-pix_fmt', 'rgb24', '-'], { maxBuffer: 540 * 960 * 4 })));
+ }
+ const mean = Object.fromEntries(KEYS.map((k) => [k, rows.reduce((s, r) => s + r[k], 0) / rows.length]));
+ const err = Math.max(...KEYS.map((k) => Math.abs(mean[k] / ref[k] - 1)));
+ console.log(JSON.stringify({ err: +err.toFixed(3), mean: Object.fromEntries(KEYS.map((k) => [k, +mean[k].toFixed(4)])), look: l }));
+ return err;
+}
+
+let best = await evaluate(look);
+// seeded random local search: nudge two parameters at a time, keep improvements, shrink the step after 12 misses
+let seed = 20261024;
+const rnd = () => ((seed = (seed * 1103515245 + 12345) % 2 ** 31) / 2 ** 31);
+const keys = Object.keys(RANGE);
+let scale = 0.25, misses = 0;
+for (let it = 0; it < Number(process.env.ITERS ?? 60) && best > 0.06; it++) {
+ const cand = { ...look };
+ for (let j = 0; j < 2; j++) {
+ const k = keys[Math.floor(rnd() * keys.length)], [a, b] = RANGE[k];
+ cand[k] = +Math.min(b, Math.max(a, cand[k] + (rnd() * 2 - 1) * scale * (b - a))).toFixed(4);
+ }
+ const e = await evaluate(cand);
+ if (e < best) { best = e; look = cand; misses = 0; } else if (++misses >= 12) { scale /= 2; misses = 0; }
+}
+console.log(JSON.stringify({ best: +best.toFixed(3), look }));
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/look.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/look.mjs
new file mode 100644
index 0000000..96189bb
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/look.mjs
@@ -0,0 +1,65 @@
+// look.mjs — five texture numbers per frame, to match the render's look to the reference video.
+// sharpRatio : Laplacian variance of the top + bottom 25 % of the frame ÷ that of the middle 50 % (depth of field)
+// rms : RMS contrast, std of luma / 255
+// sat : mean HSV saturation, (max − min) / max (unstable near black: a near-black pixel with any tint scores high)
+// chroma : mean (max − min) / 255, the same colourfulness without the near-black blow-up
+// black : 1st-percentile luma (0–255)
+// grain : high-pass std (luma − its 3×3 mean) in the flattest 20 % of 8×8 blocks (flat = lowest 5×5-smoothed variance)
+// Every frame is scaled to 540×960 first so grain and sharpness compare like for like (ref-analyze.py measures the same six).
+// Usage: node look.mjs <video|png>@<seconds|-> … → JSON lines {src, t, …} then the mean of each metric.
+import { execFileSync } from 'node:child_process';
+import { pathToFileURL } from 'node:url';
+
+const W = Number(process.env.LOOK_W ?? 540), H = Number(process.env.LOOK_H ?? 960); // 16:9: LOOK_W=960 LOOK_H=540
+
+function frame(src, t) {
+ const args = ['-loglevel', 'error', ...(t === '-' ? [] : ['-ss', String(t)]), '-i', src, '-frames:v', '1', '-vf', `scale=${W}:${H}:flags=area`, '-f', 'rawvideo', '-pix_fmt', 'rgb24', '-'];
+ return execFileSync('ffmpeg', args, { maxBuffer: W * H * 4 });
+}
+
+export function metrics(rgb) {
+ const n = W * H, Y = new Float32Array(n);
+ let sat = 0, chroma = 0;
+ for (let i = 0; i < n; i++) {
+ const r = rgb[i * 3], g = rgb[i * 3 + 1], b = rgb[i * 3 + 2];
+ Y[i] = 0.2126 * r + 0.7152 * g + 0.0722 * b;
+ const mx = Math.max(r, g, b), mn = Math.min(r, g, b);
+ sat += mx ? (mx - mn) / mx : 0;
+ chroma += (mx - mn) / 255;
+ }
+ const lapVar = (y0, y1) => {
+ let s = 0, s2 = 0, c = 0;
+ for (let y = Math.max(1, y0); y < Math.min(H - 1, y1); y++) for (let x = 1; x < W - 1; x++) {
+ const i = y * W + x, v = 4 * Y[i] - Y[i - 1] - Y[i + 1] - Y[i - W] - Y[i + W];
+ s += v; s2 += v * v; c++;
+ }
+ return s2 / c - (s / c) ** 2;
+ };
+ const edge = (lapVar(0, H * 0.25) + lapVar(H * 0.75, H)) / 2, mid = lapVar(H * 0.25, H * 0.75);
+ let m = 0; for (const v of Y) m += v; m /= n;
+ let v2 = 0; for (const v of Y) v2 += (v - m) ** 2;
+ const sorted = Float32Array.from(Y).sort();
+ // grain
+ const box = (r) => { const o = new Float32Array(n); for (let y = r; y < H - r; y++) for (let x = r; x < W - r; x++) { let s = 0; for (let dy = -r; dy <= r; dy++) for (let dx = -r; dx <= r; dx++) s += Y[(y + dy) * W + x + dx]; o[y * W + x] = s / (2 * r + 1) ** 2; } return o; };
+ const b1 = box(1), b2 = box(2), blocks = [];
+ for (let by = 8; by < H - 16; by += 8) for (let bx = 8; bx < W - 16; bx += 8) {
+ let sm = 0, sm2 = 0, h2 = 0;
+ for (let y = by; y < by + 8; y++) for (let x = bx; x < bx + 8; x++) { const i = y * W + x; sm += b2[i]; sm2 += b2[i] ** 2; h2 += (Y[i] - b1[i]) ** 2; }
+ blocks.push({ flat: sm2 / 64 - (sm / 64) ** 2, hp: Math.sqrt(h2 / 64) });
+ }
+ blocks.sort((a, b) => a.flat - b.flat);
+ const flat = blocks.slice(0, Math.round(blocks.length * 0.2)).map((b) => b.hp).sort((a, b) => a - b);
+ return { sharpRatio: edge / mid, rms: Math.sqrt(v2 / n) / 255, sat: sat / n, chroma: chroma / n, black: sorted[Math.floor(n * 0.01)], grain: flat[flat.length >> 1] };
+}
+
+if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
+ const rows = process.argv.slice(2).map((spec) => {
+ const at = spec.lastIndexOf('@'), src = spec.slice(0, at), t = spec.slice(at + 1);
+ const r = { src: src.split('/').pop(), t, ...metrics(frame(src, t)) };
+ console.log(JSON.stringify(r, (k, v) => (typeof v === 'number' ? Math.round(v * 1e4) / 1e4 : v)));
+ return r;
+ });
+ const keys = ['sharpRatio', 'rms', 'sat', 'chroma', 'black', 'grain'];
+ const mean = Object.fromEntries(keys.map((k) => [k, Math.round(rows.reduce((s, r) => s + r[k], 0) / rows.length * 1e4) / 1e4]));
+ console.log(JSON.stringify({ mean }));
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/look.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/look.ts
new file mode 100644
index 0000000..8f5b5ea
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/look.ts
@@ -0,0 +1,6 @@
+// The lens: depth-of-field blur on the top/bottom bands (design px), window-light streaks and the shadow bands between
+// them, vignette and grain opacity, and a colour grade on the whole frame (a gamma curve that darkens mid-tones without
+// clipping paper white, a cool lift of the blue channel in the shadows, then contrast / saturate / brightness).
+// Fit it to a reference with look-fit.mjs and paste the best result here. This is the neutral pre-fit lens.
+export type Look = { dof: number; light: number; shade: number; vignette: number; grain: number; gamma: number; shadowTint: number; contrast: number; saturate: number; brightness: number };
+export const LOOK: Look = { dof: 2, light: 0.45, shade: 0, vignette: 0.28, grain: 0.05, gamma: 1, shadowTint: 0, contrast: 1, saturate: 1, brightness: 1 };
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/plan.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/plan.mjs
new file mode 100644
index 0000000..ee7cbe4
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/plan.mjs
@@ -0,0 +1,52 @@
+// plan.mjs — turn a reference analysis (scripts/ref-analyze.py → analysis.json) into the word cut's timing (plan.ts).
+// Usage (engine folder): node productions/wordcut/plan.mjs <analysis.json> [seconds=20] [fps=30]
+// What it reads, and what it sets (frames at the composition fps):
+// edit.shots → open (the first shot), hold (median of shots 0.25–2 s), burstStep (median of shots < 0.25 s),
+// burstCount (how many shots < 0.25 s, capped at 12)
+// edit.holdMeanS → the textbook beat (a long hold) is at least this long
+// motion.transitions dirs → the whip direction cycle (most common first)
+// blur.alongPx → whip blur, scaled from the 540 px analysis width to the 390 px design width
+// Then render, analyse the render with the same script, and compare with `gate.py ref`: plan.ts is a first guess, the
+// gate is the judge.
+import { readFileSync, writeFileSync } from 'node:fs';
+import { fileURLToPath } from 'node:url';
+import { DATA } from './data.ts';
+
+const [, , path, secArg = '20', fpsArg = '30'] = process.argv;
+if (!path) { console.error('usage: node productions/wordcut/plan.mjs <analysis.json> [seconds] [fps]'); process.exit(2); }
+const a = JSON.parse(readFileSync(path, 'utf8'));
+const fps = Number(fpsArg), seconds = Number(secArg);
+const median = (xs) => { const s = [...xs].sort((p, q) => p - q); return s.length ? s[Math.floor((s.length - 1) / 2)] : null; };
+const fr = (s) => Math.max(1, Math.round(s * fps));
+
+const shots = a.edit.shots;
+const short = shots.filter((s) => s < 0.25), mid = shots.filter((s) => s >= 0.25 && s <= 2);
+const open = fr(Math.min(2, Math.max(0.8, shots.find((s) => s > 0.25) ?? 1.2)));
+const hold = fr(median(mid) ?? 1);
+const burstStep = Math.max(3, fr(median(short) ?? 0.17));
+const burstCount = Math.min(12, Math.max(4, short.length));
+// the slow landings (same count as buildCuts in timing.ts) and the burst take what they take; the textbook gets the
+// longer of the reference's mean hold and 4 s, and the dictionary keeps at least 2.5 s
+const n = DATA.sheets.length;
+const slowHolds = Math.min(n, Math.max(1, Math.ceil(n * 0.6))) - 1;
+const used = open + slowHolds * hold + burstCount * burstStep;
+const textbook = Math.max(fr(Math.max(4, a.edit.holdMeanS)), Math.min(fr(5.5), seconds * fps - used - fr(2.5)));
+const toDir = { 0: 'r', 180: 'l', 90: 'd', 270: 'u' };
+const dirs = a.motion.transitions.map((t) => toDir[t.dir]).filter(Boolean).join('').slice(0, 12) || 'lrulrdlr';
+const k = 390 / a.analysisShortSide;
+const blur = Math.max(4, Math.round(a.blur.alongPx * k * 4));
+
+const plan = {
+ source: `plan.mjs from ${path.split('/').pop()} (${a.source.seconds} s, ${a.source.fps} fps, ${a.edit.cutCount} cuts)`,
+ fps, seconds, open, hold, burstStep, burstCount, textbook,
+ whip: { outShift: 0.34, inShift: 0.2, outBlur: blur, inBlur: Math.round(blur * 0.7) },
+ refocus: [Math.round(blur * 0.7), Math.round(blur * 0.25), 1.5],
+ dirs,
+};
+if (used + textbook + fr(2) > seconds * fps) throw new Error(`plan does not fit in ${seconds} s: raise seconds`);
+const out = fileURLToPath(new URL('./plan.ts', import.meta.url));
+writeFileSync(out, `// Written by plan.mjs from a reference analysis (scripts/ref-analyze.py → analysis.json). Edit by re-running plan.mjs,
+// or by hand for a first draft. Every time is in frames at \`fps\`.
+export const PLAN = ${JSON.stringify(plan, null, 2)} as const;
+`);
+console.log(`wrote ${out}\n${JSON.stringify(plan)}`);
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/plan.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/plan.ts
new file mode 100644
index 0000000..e0d69e1
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/plan.ts
@@ -0,0 +1,24 @@
+// Written by plan.mjs from a reference analysis (scripts/ref-analyze.py → analysis.json). Edit by re-running plan.mjs,
+// or by hand for a first draft. Every time is in frames at `fps`.
+export const PLAN = {
+ "source": "plan.mjs from reference.json (36.368 s, 54.36 fps, 51 cuts)",
+ "fps": 30,
+ "seconds": 20,
+ "open": 24,
+ "hold": 10,
+ "burstStep": 4,
+ "burstCount": 12,
+ "textbook": 165,
+ "whip": {
+ "outShift": 0.34,
+ "inShift": 0.2,
+ "outBlur": 9,
+ "inBlur": 6
+ },
+ "refocus": [
+ 6,
+ 2,
+ 1.5
+ ],
+ "dirs": "rdurluuuuddl"
+} as const;
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/render.mjs b/skills/motion-video-production/engines/remotion/productions/wordcut/render.mjs
new file mode 100644
index 0000000..128ed90
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/render.mjs
@@ -0,0 +1,58 @@
+// render.mjs — the word cut needs inputProps (aspect, diag, look), which pipeline/render.mjs does not pass.
+// Usage (from the engine folder):
+// node productions/wordcut/render.mjs video [9x16|16x9] → renders/wordcut/wordcut-<aspect>.mp4
+// node productions/wordcut/render.mjs stills [9x16|16x9] <frame…> [--diag | --diag-slot | --diag-slotbox | --diag-slotdot] [--look '{json}'] [--out dir]
+// → <dir>/f_0000.png … (lossless PNG)
+// The aspect defaults to DATA.aspect. Env: CHROME_PATH (browser binary), CONCURRENCY (default: half the cores).
+import { bundle } from '@remotion/bundler';
+import { renderMedia, renderStill, selectComposition } from '@remotion/renderer';
+import { existsSync, mkdirSync, readdirSync } from 'node:fs';
+import { cpus, homedir } from 'node:os';
+import { join, resolve } from 'node:path';
+import { DATA } from './data.ts';
+
+const [mode, ...args] = process.argv.slice(2);
+const aspect = ['9x16', '16x9'].includes(args[0]) ? args.shift() : DATA.aspect;
+if (!['video', 'stills'].includes(mode)) {
+ console.error('usage: render.mjs video [9x16|16x9] | stills [9x16|16x9] <frame…> [--diag] [--out dir]');
+ process.exit(2);
+}
+const diag = args.includes('--diag-slotdot') ? 'slotdot' : args.includes('--diag-slotbox') ? 'slotbox' : args.includes('--diag-slot') ? 'slot' : args.includes('--diag') ? 'sheet' : false;
+const outIdx = args.indexOf('--out');
+const frames = args.filter((a, i) => /^\d+$/.test(a) && args[i - 1] !== '--out').map(Number);
+
+function browserExecutable() {
+ if (process.env.CHROME_PATH) return process.env.CHROME_PATH;
+ const root = join(homedir(), 'Library/Caches/ms-playwright');
+ const dirs = existsSync(root) ? readdirSync(root).filter((d) => d.startsWith('chromium_headless_shell-')).sort().reverse() : [];
+ for (const d of dirs) for (const sub of ['chrome-mac/headless_shell', 'chrome-headless-shell-mac-arm64/chrome-headless-shell', 'chrome-headless-shell-linux64/chrome-headless-shell']) {
+ const p = join(root, d, sub);
+ if (existsSync(p)) return p;
+ }
+ return undefined; // Remotion's own headless shell (`npx remotion browser ensure` downloads it once; ask first)
+}
+
+const exe = browserExecutable();
+const lookAt = args.indexOf('--look');
+const inputProps = { aspect, diag, ...(lookAt >= 0 ? { look: JSON.parse(args[lookAt + 1]) } : {}) };
+const serveUrl = await bundle({ entryPoint: resolve('src/index.ts'), ...(existsSync('public') ? { publicDir: resolve('public') } : {}) });
+const composition = await selectComposition({ serveUrl, id: 'wordcut', inputProps, browserExecutable: exe });
+const started = Date.now();
+
+if (mode === 'stills') {
+ const dir = resolve(outIdx >= 0 ? args[outIdx + 1] : join('renders/wordcut', `stills-${aspect}${diag ? `-diag-${diag}` : ''}`));
+ mkdirSync(dir, { recursive: true });
+ for (const frame of frames) {
+ await renderStill({ serveUrl, composition, frame, inputProps, imageFormat: 'png', output: join(dir, `f_${String(frame).padStart(4, '0')}.png`), browserExecutable: exe });
+ }
+ console.log(`rendered ${frames.length} stills (${composition.width}x${composition.height}${diag ? `, diag ${diag}` : ''}) → ${dir} in ${Date.now() - started} ms`);
+} else {
+ mkdirSync('renders/wordcut', { recursive: true });
+ const output = resolve(`renders/wordcut/wordcut-${aspect}.mp4`);
+ await renderMedia({
+ serveUrl, composition, inputProps, codec: 'h264', crf: 17, pixelFormat: 'yuv420p', imageFormat: 'png', muted: true,
+ outputLocation: output, browserExecutable: exe, concurrency: Number(process.env.CONCURRENCY ?? Math.max(1, Math.floor(cpus().length / 2))),
+ });
+ const n = composition.durationInFrames, ms = Date.now() - started;
+ console.log(`rendered ${n} frames (${composition.width}x${composition.height} @ ${composition.fps}) → ${output} in ${ms} ms (${(ms / n).toFixed(1)} ms/frame)`);
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/scene.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/scene.ts
new file mode 100644
index 0000000..c941660
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/scene.ts
@@ -0,0 +1,101 @@
+// The camera and every timed value at frame f — pure, no React/remotion imports. Wordcut.tsx paints it and track.ts
+// hands the same numbers to the carry probe.
+// Carry: the word sits in one slot (slotOf) for the whole film. Each sheet is placed so its own copy of the word lies
+// under the slot (offsets measured once from the static layout), and the slot word drawn on top is that sheet's own
+// word at rest. Whips move and blur the sheets, never the slot.
+import type { Aspect } from './data.ts';
+import { WORDCUT as T, kindOf, type Dir } from './timing.ts';
+
+/** Design viewport in CSS px (sheet CSS is written for it), output size, and camera framing per aspect. */
+export const VIEW = {
+ '9x16': { w: 390, h: 693.33, out: [1080, 1920] as const, close: 1.6, slotY: 0.44 },
+ '16x9': { w: 1280, h: 720, out: [1920, 1080] as const, close: 2.2, slotY: 0.44 },
+} as const;
+
+export const slotOf = (a: Aspect) => ({ x: VIEW[a].w / 2, y: VIEW[a].h * VIEW[a].slotY });
+
+const clamp = (v: number, a: number, b: number) => Math.min(b, Math.max(a, v));
+export const prog = (f: number, from: number, frames: number) => clamp((f - from) / Math.max(1, frames), 0, 1);
+export const ease = {
+ in: (x: number) => x * x * x,
+ out: (x: number) => 1 - (1 - x) ** 3,
+ io: (x: number) => (x < 0.5 ? 4 * x ** 3 : 1 - (-2 * x + 2) ** 3 / 2),
+};
+const D: Record<Dir, readonly [number, number]> = { l: [-1, 0], r: [1, 0], u: [0, -1], d: [0, 1], n: [0, 0] };
+
+export function cutAt(f: number): number {
+ let i = 0;
+ for (let k = 1; k < T.cuts.length; k++) if (f >= T.cuts[k].f) i = k;
+ return i;
+}
+
+export type Cam = {
+ i: number;
+ /** sheet offset in design px, and its blur along x / y (directional motion blur) */
+ dx: number; dy: number; bx: number; by: number;
+ /** sheet scale about the slot */
+ scale: number;
+ /** highlighter width 0..1 on the textbook landing (1 everywhere else) */
+ hl: number;
+ /** opener lens, design px: blur outside the word's line (focus band) and the RGB split offset; 0 after cut 0 */
+ band: number; split: number;
+ /** the shot (timing.ts `shots`): tilt about the word (degrees), RGB split on the out-of-focus rings (design px), the
+ * ground round the page (null: the sheet's own paper) and lens multipliers */
+ rx: number; rz: number; oof: number; ground: string | null; light: number; grain: number;
+};
+
+/** The textbook's word size at the end of its push, so the dictionary head word continues it without a jump. */
+export const textbookEndScale = (a: Aspect) => VIEW[a].close * (1 + T.textbook.push);
+/** dictionary head font size (design px): the textbook's end size × its 17 px body */
+export const dictHeadPx = (a: Aspect) => 17 * textbookEndScale(a);
+
+export function cam(f: number, a: Aspect): Cam {
+ const V = VIEW[a];
+ const i = cutAt(f), cur = T.cuts[i], next = T.cuts[i + 1];
+ const since = f - cur.f;
+ let dx = 0, dy = 0, blur = 0, dir: Dir = cur.d;
+ if (cur.d !== 'n' && since < T.refocus.length) {
+ if (since === 0) { dx = -D[cur.d][0] * V.w * T.whip.inShift; dy = -D[cur.d][1] * V.w * T.whip.inShift; }
+ blur = since === 0 ? T.whip.inBlur : T.refocus[since];
+ }
+ // the outgoing sheet's last frame already flies off in the next whip's direction
+ if (next && next.d !== 'n' && f === next.f - 1) {
+ dx = D[next.d][0] * V.w * T.whip.outShift; dy = D[next.d][1] * V.w * T.whip.outShift;
+ blur = T.whip.outBlur; dir = next.d;
+ }
+ const horizontal = dir === 'l' || dir === 'r';
+ const bx = horizontal ? blur : blur * 0.15, by = horizontal ? blur * 0.15 : blur;
+
+ const kind = kindOf(cur.k);
+ const shot = T.shots[i];
+ let scale = kind === 'dict' ? 1 : V.close * shot.push;
+ if (i === 0) scale *= T.opener.push[a];
+ if (kind === 'textbook') scale *= 1 + T.textbook.push * ease.io(prog(f, T.textbook.pushFrom, T.textbook.pushTo - T.textbook.pushFrom));
+ if (kind === 'dict') scale = 1 + T.dict.push * ease.io(prog(f, cur.f, T.seconds * T.fps - cur.f));
+ const hl = kind === 'textbook' ? ease.out(prog(f, T.textbook.hlFrom, T.textbook.hlFrames)) : 1;
+ const O = T.opener, rack = 1 - ease.out(prog(f, 1, O.rack - 1));
+ // every shot keeps its own depth of field; the opener racks from its wide-open band down to it
+ const band = V.h * (i === 0 ? shot.dof + (O.band - shot.dof) * rack : shot.dof);
+ const split = i === 0 ? V.h * (O.splitRest + (O.split - O.splitRest) * rack) : 0;
+ return { i, dx, dy, bx, by, scale, hl, band, split, rx: shot.rx, rz: shot.rz, oof: shot.split, ground: shot.ground, light: shot.light, grain: shot.grain };
+}
+
+// ---- beat-local values ----
+/** textbook: letters on the word's line scatter, then the rest of the page empties out */
+export function textbookScatter(f: number) {
+ const p = ease.in(prog(f, T.textbook.scatterFrom, T.textbook.scatterFrames));
+ const q = prog(f, T.textbook.emptyFrom, T.textbook.emptyFrames);
+ return { p, q };
+}
+/** per-letter offset for letter n of the textbook line at scatter progress p */
+export function letterOffset(n: number, p: number) {
+ const dir = n % 2 ? 1 : -1, r = ((n * 37) % 11) / 11;
+ return { x: dir * p * (40 + r * 60), y: (r - 0.5) * p * 50, o: 1 - p };
+}
+/** opacity of the closing image (0 when DATA.closing is null or before it starts) */
+export const closingOpacity = (f: number, on: boolean) => (on ? ease.out(prog(f, T.closing.from, T.closing.frames)) : 0);
+/** dictionary definition n stacks in */
+export function dictDef(f: number, n: number) {
+ const a = ease.out(prog(f, T.dict.defFrom + n * T.dict.defStep, T.dict.defFrames));
+ return { o: a, y: (1 - a) * 10, x: 0 };
+}
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/sheets.css.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/sheets.css.ts
new file mode 100644
index 0000000..1052f9b
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/sheets.css.ts
@@ -0,0 +1,72 @@
+// Sheet styles for the one-word cut, written for the design viewport (--vw = 1 % of its width, --vh = 1 % of its
+// height). Fonts: Pretendard (src/fonts.ts), Nanum Myeongjo and JetBrains Mono (./fonts.ts), all SIL OFL 1.1 npm packages.
+export const CSS = `
+.wc{--paper:#F6F3EC;--ink:#1A1916;--ink-2:#56534B;--ink-3:#8C887D;--line:#DDD7CA;--night:#121314;--night-ink:#E9E7E1;
+ --hl:rgba(222,232,92,.72);--cta:#1E1D1A;
+ --sans:Pretendard,sans-serif;--serif:'Nanum Myeongjo',Pretendard,serif;--mono:'JetBrains Mono',Pretendard,monospace;
+ font-family:var(--sans);color:var(--ink);-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word}
+.wc *{box-sizing:border-box}
+.wc .sheet{position:absolute;left:0;top:0}
+.wc .sheet mark.w{background:none;color:inherit;font:inherit;padding:0 .08em}
+/* the slot word is the sheet itself drawn a second time at rest with everything but its word hidden */
+.wc .word-only .sheet{visibility:hidden}.wc .word-only mark.w{visibility:visible;background:none!important}
+.wc.diag-slot .word-only mark.w{color:#ff00ff!important;text-shadow:none!important}.wc.diag-slot .sheet mark.w{background:none!important}
+.wc .slot{position:absolute;white-space:nowrap;padding:0 .12em;border-radius:2px;line-height:normal}
+.wc .s-doc{width:min(calc(118 * var(--vw)),640px);padding:28px 26px;background:#fff;color:var(--ink)}
+.wc .s-doc p{margin:0 0 12px;font-size:16px;line-height:1.75}
+.wc .post{background:var(--night);color:var(--night-ink);text-shadow:0 0 6px rgba(233,231,225,.35)}
+.wc .post .meta{font-size:12px;color:#8d8b85;margin-bottom:14px}
+.wc .post h4{margin:0 0 14px;font-size:21px;font-weight:700}
+.wc .post .tags{font-size:13px;color:#8d8b85}
+.wc .receipt{width:min(calc(92 * var(--vw)),420px);background:#fbfaf6;font-family:var(--mono);font-size:14px;line-height:1.9;padding:26px 22px;box-shadow:0 0 0 1px #e6e1d5}
+.wc .receipt .c{text-align:center}.wc .receipt .row{display:flex;justify-content:space-between;gap:12px}
+.wc .receipt hr{border:0;border-top:1px dashed #b9b3a5;margin:8px 0}
+.wc .receipt .title{font-family:var(--sans);font-size:22px;font-weight:800;letter-spacing:.3em}
+.wc .qa .q{font-size:20px;font-weight:700;line-height:1.5;margin-bottom:12px}
+.wc .qa .chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
+.wc .qa .chips span{font-size:12px;color:#3c6fd8;background:#eef3ff;border-radius:999px;padding:4px 10px}
+.wc .news{width:min(calc(130 * var(--vw)),760px);background:#f3efe4;font-family:var(--serif);columns:2;column-gap:28px;padding:30px}
+.wc .news h3{column-span:all;margin:0 0 16px;font-size:24px;line-height:1.35;font-weight:700}
+.wc .news p{font-size:15px;line-height:1.8;text-align:justify;margin:0 0 12px}
+.wc .chat{width:min(calc(100 * var(--vw)),520px);background:#e9ecef;padding:24px 16px}
+.wc .chat .b{max-width:78%;margin:0 0 10px;padding:10px 14px;border-radius:16px;font-size:16px;line-height:1.55;background:#fff}
+.wc .chat .b.me{margin-left:auto;background:#d8dde3}
+.wc .subtitle{width:min(calc(118 * var(--vw)),700px);background:#1b1d20;color:#e8e8e6;padding:22px}
+.wc .subtitle .tc{font-family:var(--mono);font-size:12px;color:#8e949b;margin-top:14px}
+.wc .subtitle .ln{font-size:19px;font-weight:700;line-height:1.6}
+.wc .subtitle .wave{height:56px;margin-top:16px;background:repeating-linear-gradient(90deg,#4fd1c5 0 2px,transparent 2px 5px);-webkit-mask:linear-gradient(transparent,#000 30%,#000 70%,transparent);opacity:.65}
+.wc .memo{width:min(calc(110 * var(--vw)),560px);background:#fffdf7;padding:24px 26px}
+.wc .memo .top{display:flex;justify-content:space-between;font-size:13px;color:#c78a00;font-weight:600;margin-bottom:16px}
+.wc .memo h4{margin:0 0 16px;font-size:22px;font-weight:800}
+.wc .memo .it{display:flex;gap:12px;align-items:center;font-size:17px;line-height:1.6;padding:9px 0;border-bottom:1px solid #eee6d3}
+.wc .memo .it i{flex:none;width:18px;height:18px;border-radius:9px;border:1.5px solid #c78a00}
+.wc .memo .it.done{color:#a9a395;text-decoration:line-through}.wc .memo .it.done i{background:#c78a00}
+.wc .search{width:min(calc(110 * var(--vw)),560px);background:#fff;padding:26px 20px}
+.wc .search .box{display:flex;align-items:center;gap:12px;border:2px solid #3c6fd8;border-radius:999px;padding:10px 18px;font-size:20px;font-weight:600}
+.wc .search .box svg{flex:none;width:20px;height:20px}
+.wc .search .caret{display:inline-block;width:2px;height:1.1em;background:#3c6fd8;vertical-align:-.15em;margin-left:2px}
+.wc .search .opt{display:flex;gap:14px;align-items:center;padding:12px 18px;font-size:16px;color:#3b3a36}
+.wc .search .opt svg{flex:none;width:15px;height:15px;opacity:.45}
+.wc .search .opt b{font-weight:700}
+.wc .diary{width:min(calc(112 * var(--vw)),600px);padding:26px 30px 30px;font-family:var(--serif);color:#2c2a25;
+ background:#fbf8f1 repeating-linear-gradient(transparent 0 33px,#d9d2c1 33px 34px);background-position:0 18px}
+.wc .diary .date{font-family:var(--sans);font-size:13px;color:#9a9384;margin-bottom:8px;line-height:34px}
+.wc .diary p{margin:0;font-size:18px;line-height:34px}
+.wc .notice{width:min(calc(100 * var(--vw)),460px);padding:28px 18px;color:#fff;background:#22262c}
+.wc .notice .clock{text-align:center;font-size:64px;font-weight:300;letter-spacing:-.02em;line-height:1}
+.wc .notice .day{text-align:center;font-size:15px;opacity:.8;margin:8px 0 26px}
+.wc .notice .card{background:rgba(245,245,247,.92);color:#1d1d1f;border-radius:20px;padding:14px 16px}
+.wc .notice .card .hd{display:flex;justify-content:space-between;font-size:12px;color:#6e6e73;margin-bottom:4px}
+.wc .notice .card b{display:block;font-size:15px;margin-bottom:2px}
+.wc .notice .card p{margin:0;font-size:15px;line-height:1.45}
+.wc .notice .card.dim{opacity:.7;margin-top:8px}
+.wc .textbook{width:min(calc(150 * var(--vw)),680px);background:#faf7ef;font-family:var(--serif);padding:34px 30px}
+.wc .textbook h5{font-family:var(--sans);font-size:13px;color:var(--ink-3);margin:0 0 10px;letter-spacing:.06em;font-weight:600}
+.wc .textbook p{font-size:17px;line-height:1.95;margin:0 0 14px}
+.wc .textbook .ch{display:inline-block;white-space:pre}
+.wc .dict{width:calc(100 * var(--vw));height:calc(100 * var(--vh));font-family:var(--serif)}
+.wc .dict .head{position:absolute;font-weight:700;white-space:nowrap}
+.wc .dict .defs{position:absolute;left:0;width:100%;padding:0 28px;display:flex;flex-direction:column;gap:10px}
+.wc .dict .def{text-align:center;font-size:1em;line-height:1.6;color:var(--ink-2);text-wrap:balance}
+.wc .dict .def small{font-family:var(--sans);font-size:.7em;color:var(--ink-3);letter-spacing:.08em;margin-right:6px}
+`;
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/timing.test.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/timing.test.ts
new file mode 100644
index 0000000..0607148
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/timing.test.ts
@@ -0,0 +1,32 @@
+import { test } from 'node:test';
+import assert from 'node:assert/strict';
+import { DATA } from './data.ts';
+import { PLAN } from './plan.ts';
+import { WORDCUT, buildCuts } from './timing.ts';
+
+const count = (s: string) => s.split('{w}').length - 1;
+
+test('every sheet holds the word exactly once', () => {
+ DATA.sheets.forEach((s, i) => assert.equal(count(JSON.stringify(s)), 1, `sheet ${i} (${s.kind})`));
+ assert.equal(count(JSON.stringify(DATA.textbook)), 0, 'the textbook line marks the word between line[0] and line[1]');
+});
+
+test('cuts are integer frames, strictly increasing, and the dictionary keeps at least 2 s', () => {
+ const fs = WORDCUT.cuts.map((c) => c.f);
+ fs.forEach((f, i) => { assert.ok(Number.isInteger(f)); if (i) assert.ok(f > fs[i - 1], `cut ${i}`); });
+ assert.ok(WORDCUT.seconds * WORDCUT.fps - fs[fs.length - 1] >= 2 * WORDCUT.fps);
+});
+
+test('structure is fixed: one opener, slow landings, a burst of hard cuts, textbook, dictionary', () => {
+ const { cuts, burst } = buildCuts(10, PLAN);
+ assert.equal(cuts[0].d, 'n');
+ assert.equal(burst.length, PLAN.burstCount);
+ assert.deepEqual(cuts.slice(-2).map((c) => c.k), ['textbook', 'dict']);
+ assert.deepEqual(burst.slice(1).map((f, i) => f - burst[i]), Array(PLAN.burstCount - 1).fill(PLAN.burstStep));
+});
+
+test('one shot per cut, and no two neighbours share tilt + push + depth of field', () => {
+ assert.equal(WORDCUT.shots.length, WORDCUT.cuts.length);
+ const combo = (s: (typeof WORDCUT.shots)[number]) => `${s.rx}/${s.rz}/${s.push}/${s.dof}`;
+ WORDCUT.shots.slice(1).forEach((s, i) => assert.notEqual(combo(s), combo(WORDCUT.shots[i]), `cuts ${i} and ${i + 1}`));
+});
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/timing.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/timing.ts
new file mode 100644
index 0000000..47fba1d
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/timing.ts
@@ -0,0 +1,84 @@
+// The contract for the one-word cut (picture: Wordcut.tsx/scene.ts, probe: track.ts, checks: drift.mjs, score: MUSIC).
+// Built from data.ts (what is shown) and plan.ts (how long, from the reference). Every time is an integer frame so a
+// whip never straddles two frames. Structure: the first sheet holds, the next sheets land one per `hold`, a burst of
+// hard cuts every `burstStep` cycles through the sheets, then the textbook (letters scatter) and the dictionary.
+import { DATA, type SheetKind } from './data.ts';
+import { PLAN } from './plan.ts';
+
+export type Dir = 'l' | 'r' | 'u' | 'd' | 'n';
+/** a sheet index into DATA.sheets, or one of the two ending pages */
+export type SheetRef = number | 'textbook' | 'dict';
+export type Cut = { k: SheetRef; f: number; d: Dir };
+
+export function buildCuts(nSheets: number, plan: typeof PLAN): { cuts: Cut[]; burst: number[]; dictAt: number } {
+ const dirs = [...plan.dirs] as Dir[];
+ const dir = (n: number) => dirs[n % dirs.length];
+ const slow = Math.min(nSheets, Math.max(1, Math.ceil(nSheets * 0.6)));
+ const cuts: Cut[] = [{ k: 0, f: 0, d: 'n' }];
+ let f = plan.open;
+ for (let i = 1; i < slow; i++, f += plan.hold) cuts.push({ k: i, f, d: dir(i - 1) });
+ const burst: number[] = [];
+ for (let n = 0; n < plan.burstCount; n++, f += plan.burstStep) {
+ cuts.push({ k: (slow + n) % nSheets, f, d: dir(slow + n) });
+ burst.push(f);
+ }
+ cuts.push({ k: 'textbook', f, d: 'u' });
+ const dictAt = f + plan.textbook;
+ cuts.push({ k: 'dict', f: dictAt, d: 'n' });
+ return { cuts, burst, dictAt };
+}
+
+/** One word in focus per shot, and every shot varies angle, scale and depth of field (a reference contact sheet mixes
+ * pages on a desk, phones held up and flat screens; close, closer, very close). push multiplies the close-up scale; rx
+ * tilts the page back like paper on a desk (+) or a phone held up (−) and rz rolls it, both about the word, degrees;
+ * dof is the blur of the first ring round the word as a fraction of the frame height (rings 2 and 3 take 2× and 4×);
+ * split is the RGB offset on the out-of-focus rings (design px); ground shows round the page (null: the sheet's
+ * paper); light and grain scale the lens (the light's streak angle also turns per shot). The presets cycle, so no
+ * two neighbours share tilt + push + dof. */
+export type Shot = { push: number; rx: number; rz: number; dof: number; split: number; ground: string | null; light: number; grain: number };
+export const SHOT_PRESETS: Shot[] = [
+ { push: 1, rx: 0, rz: 0, dof: 0.006, split: 1.1, ground: null, light: 1, grain: 2 }, // flat, close
+ { push: 1.25, rx: 26, rz: -4, dof: 0.009, split: 1.2, ground: '#3a2f25', light: 1.4, grain: 1.5 }, // page on a desk
+ { push: 1.5, rx: 0, rz: 1.5, dof: 0.009, split: 1.2, ground: null, light: 0.7, grain: 3 }, // very close, flat
+ { push: 1.15, rx: -14, rz: 3, dof: 0.006, split: 1, ground: '#1c1d20', light: 0.5, grain: 1.5 }, // phone held up
+ { push: 1.6, rx: 18, rz: 0, dof: 0.0075, split: 1.2, ground: '#22302a', light: 1.2, grain: 2 }, // very close, on a desk
+ { push: 1, rx: 0, rz: -2, dof: 0.0045, split: 0.8, ground: null, light: 0.7, grain: 1 }, // flat, shallow
+];
+/** the ending pages stay flat at push 1 (the dictionary continues the textbook's word size) */
+const ENDING_SHOT: Record<'textbook' | 'dict', Shot> = {
+ textbook: { push: 1, rx: 0, rz: 0, dof: 0.0055, split: 1, ground: null, light: 1, grain: 1.5 },
+ dict: { push: 1, rx: 0, rz: 0, dof: 0.003, split: 0.6, ground: null, light: 1, grain: 1.5 },
+};
+
+const { cuts, burst, dictAt } = buildCuts(DATA.sheets.length, PLAN);
+const tb = cuts[cuts.length - 2].f, tbLen = dictAt - tb;
+
+export const WORDCUT = {
+ fps: PLAN.fps,
+ seconds: PLAN.seconds,
+ cuts,
+ whip: PLAN.whip,
+ refocus: PLAN.refocus,
+ textbook: {
+ pushFrom: tb, pushTo: dictAt, push: 0.035, hlFrom: tb + 12, hlFrames: 12,
+ scatterFrom: tb + Math.round(tbLen * 0.6), scatterFrames: Math.round(tbLen * 0.3),
+ emptyFrom: tb + Math.round(tbLen * 0.77), emptyFrames: Math.round(tbLen * 0.23),
+ },
+ /** the camera keeps pushing in on the dictionary entry while the definitions stack in */
+ dict: { push: 0.15, defFrom: dictAt + 15, defStep: 16, defFrames: 14 },
+ /** closing image (DATA.closing): fades in over the last 2 s and holds */
+ closing: { from: PLAN.seconds * PLAN.fps - 2 * PLAN.fps, frames: 15 },
+ /** frame 0 is a mid-shot, not a page: the opener (cut 0) is pushed in past the page so the word's line runs off both
+ * edges, a focus band keeps only that line and its neighbours sharp, and an RGB split is on. Both rack open over
+ * `rack` frames to the shot's `dof` / `splitRest`. Blur and split are fractions of the frame height. frame0.mjs checks it. */
+ opener: { push: { '9x16': 1.4, '16x9': 2 }, rack: 9, band: 0.008, split: 0.0035, splitRest: 0.0006 },
+ /** one shot per cut (same index as `cuts`); focus.mjs checks the focus on every landing */
+ shots: cuts.map((c, i) => (c.k === 'textbook' || c.k === 'dict' ? ENDING_SHOT[c.k] : SHOT_PRESETS[i % SHOT_PRESETS.length])),
+ /** the burst is hard cuts with a one-frame whip; declared as cuts to the probe */
+ burst,
+} as const;
+
+export const kindOf = (k: SheetRef): SheetKind | 'textbook' | 'dict' => (typeof k === 'number' ? DATA.sheets[k].kind : k);
+
+/** what pipeline/score.mjs reads: a hit on every landing outside the burst, plus the dictionary */
+export const MUSIC = { seconds: PLAN.seconds, bpm: 120, hits: cuts.slice(1).filter((c) => !burst.includes(c.f)).map((c) => c.f / PLAN.fps) };
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/track.ts b/skills/motion-video-production/engines/remotion/productions/wordcut/track.ts
new file mode 100644
index 0000000..41ce4d8
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/track.ts
@@ -0,0 +1,58 @@
+// What the word cut declares to the carry probe, in output px of one aspect (WORDCUT_ASPECT, default DATA.aspect).
+// Each source sheet fills the frame with its own paper, so it is declared as a full-frame element that whips with
+// the sheet offset. The slot is the word's box: centred on the slot, its size the sheet's word size × camera scale
+// (word sizes are the CSS sizes in sheets.css.ts for the element that holds the {w}; Hangul is 1 em per syllable,
+// Latin about 0.6 em per letter, plus the .12 em side padding). From the textbook on, the paper under the word is one
+// element ('paper'): the same blank page the textbook empties out and the dictionary writes on.
+import type { Box, Film } from '../../pipeline/carry.ts';
+import { DATA, type Aspect, type Sheet } from './data.ts';
+import { VIEW, cam, closingOpacity, dictDef, dictHeadPx, slotOf, textbookScatter } from './scene.ts';
+import { WORDCUT as T, kindOf } from './timing.ts';
+
+const aspect: Aspect = process.env.WORDCUT_ASPECT === '16x9' || process.env.WORDCUT_ASPECT === '9x16' ? process.env.WORDCUT_ASPECT : DATA.aspect;
+const V = VIEW[aspect], k = V.out[0] / V.w, S = slotOf(aspect);
+const has = (s: string | undefined) => !!s && s.includes('{w}');
+
+/** font size (design px) of the element that holds the word, from sheets.css.ts */
+export function wordPx(s: Sheet): number {
+ switch (s.kind) {
+ case 'post': return has(s.title) ? 21 : 16;
+ case 'receipt': return 14;
+ case 'qa': return has(s.q) ? 20 : 16;
+ case 'news': return has(s.headline) ? 24 : 15;
+ case 'chat': return 16;
+ case 'subtitle': return 19;
+ case 'memo': return 17;
+ case 'search': return 20;
+ case 'diary': return 18;
+ case 'notice': return 15;
+ }
+}
+const ems = [...DATA.word].reduce((n, ch) => n + (/[ㄱ-힝]/.test(ch) ? 1 : 0.6), 0) + 0.24;
+
+const R = (id: string, x: number, y: number, w: number, h: number, opacity = 1, role: Box['role'] = 'element'): Box =>
+ ({ id, role, x: x * k, y: y * k, w: w * k, h: h * k, opacity });
+
+export function track(t: number): Box[] {
+ const f = Math.round(t * T.fps);
+ const c = cam(f, aspect), cur = T.cuts[c.i].k, kind = kindOf(cur);
+ const boxes: Box[] = [R('ground', 0, 0, V.w, V.h, 1, 'ground')];
+ if (kind === 'textbook' || kind === 'dict') {
+ boxes.push(R('paper', 0, 0, V.w, V.h));
+ if (kind === 'textbook') boxes.push(R('textbook', 0, S.y - V.h * 0.3, V.w, V.h * 0.6, 1 - textbookScatter(f).q));
+ if (kind === 'dict') DATA.dict.forEach((_, n) => boxes.push(R(`def-${n}`, V.w * 0.1, S.y + 30 + n * 30, V.w * 0.8, 26, dictDef(f, n).o)));
+ } else {
+ boxes.push(R(`sheet-${String(cur)}`, c.dx, c.dy, V.w, V.h));
+ }
+ const co = closingOpacity(f, !!DATA.closing);
+ if (co > 0) boxes.push(R('closing', 0, 0, V.w, V.h, co));
+ const base = typeof cur === 'number' ? wordPx(DATA.sheets[cur]) : kind === 'dict' ? dictHeadPx(aspect) : 17;
+ const px = base * c.scale, w = px * ems, h = px * 1.3;
+ boxes.push(R('slot', S.x - w / 2, S.y - h / 2, w, h));
+ return boxes;
+}
+
+export const film: Film = {
+ width: V.out[0], height: V.out[1], fps: T.fps, seconds: T.seconds, track, cuts: T.burst.map((f) => f / T.fps),
+ beatBoundaries: T.cuts.slice(1).map((cut) => cut.f / T.fps),
+};
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/vo/cues.json b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/cues.json
new file mode 100644
index 0000000..861ff83
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/cues.json
@@ -0,0 +1 @@
+[["n1", 0.4], ["n2", 9.6]]
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/vo/script.json b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/script.json
new file mode 100644
index 0000000..2d414a7
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/script.json
@@ -0,0 +1,4 @@
+[
+ { "id": "n1", "who": "narrator", "text": "퇴근하면 바로 눕게 돼요.", "caption": "퇴근하면 바로 눕게 돼요." },
+ { "id": "n2", "who": "narrator", "text": "그래서 오늘은, 산책.", "caption": "그래서 오늘은, 산책." }
+]
diff --git a/skills/motion-video-production/engines/remotion/productions/wordcut/vo/voices.json b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/voices.json
new file mode 100644
index 0000000..7ab3b9d
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/productions/wordcut/vo/voices.json
@@ -0,0 +1,4 @@
+{
+ "narrator": { "provider": "elevenlabs", "voice": "<ElevenLabs voice_id>", "model": "eleven_v3" },
+ "mascot": { "provider": "fish", "voice": "<Fish Audio model_id>", "temperature": 0.8 }
+}
diff --git a/skills/motion-video-production/engines/remotion/src/Root.tsx b/skills/motion-video-production/engines/remotion/src/Root.tsx
new file mode 100644
index 0000000..02dc83a
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/src/Root.tsx
@@ -0,0 +1,17 @@
+import React from 'react';
+import { Composition } from 'remotion';
+import { CarryDemo } from '../productions/carry-demo/CarryDemo.tsx';
+import { CARRY_DEMO } from '../productions/carry-demo/timing.ts';
+import { Wordcut, type WordcutProps } from '../productions/wordcut/Wordcut.tsx';
+import { WORDCUT } from '../productions/wordcut/timing.ts';
+import { VIEW } from '../productions/wordcut/scene.ts';
+import { DATA } from '../productions/wordcut/data.ts';
+
+export const Root: React.FC = () => (
+ <>
+ <Composition id="carry-demo" component={CarryDemo} durationInFrames={CARRY_DEMO.seconds * CARRY_DEMO.fps} fps={CARRY_DEMO.fps} width={1920} height={1080} />
+ <Composition id="wordcut" component={Wordcut} durationInFrames={WORDCUT.seconds * WORDCUT.fps} fps={WORDCUT.fps} width={VIEW[DATA.aspect].out[0]} height={VIEW[DATA.aspect].out[1]}
+ defaultProps={{ aspect: DATA.aspect, diag: false } as WordcutProps}
+ calculateMetadata={({ props }) => ({ width: VIEW[props.aspect].out[0], height: VIEW[props.aspect].out[1] })} />
+ </>
+);
diff --git a/skills/motion-video-production/engines/remotion/src/assets.d.ts b/skills/motion-video-production/engines/remotion/src/assets.d.ts
new file mode 100644
index 0000000..7f063b4
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/src/assets.d.ts
@@ -0,0 +1,4 @@
+declare module '*.woff2' {
+ const url: string;
+ export default url;
+}
diff --git a/skills/motion-video-production/engines/remotion/src/fonts.ts b/skills/motion-video-production/engines/remotion/src/fonts.ts
new file mode 100644
index 0000000..144a52b
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/src/fonts.ts
@@ -0,0 +1,16 @@
+import { cancelRender, continueRender, delayRender } from 'remotion';
+import pretendard from 'pretendard/dist/web/variable/woff2/PretendardVariable.woff2';
+
+// Fonts come from pinned npm packages (pretendard 1.3.9, SIL OFL 1.1), never system fonts: the headless shell may
+// lack them. The bundler serves the imported file as an asset. Every frame waits until the face is loaded, so frame 0
+// never renders with a fallback font.
+const faces = [new FontFace('Pretendard', `url(${pretendard})`, { weight: '45 920' })];
+const handle = delayRender('fonts');
+/** resolves once Pretendard is added to document.fonts; a failed load cancels the render with its cause */
+export const pretendardReady: Promise<void> = Promise.all(faces.map((f) => f.load())).then((loaded) => {
+ loaded.forEach((f) => document.fonts.add(f));
+ continueRender(handle);
+});
+pretendardReady.catch((err: unknown) => cancelRender(err));
+
+export const FONT = { sans: 'Pretendard, sans-serif' };
diff --git a/skills/motion-video-production/engines/remotion/src/index.ts b/skills/motion-video-production/engines/remotion/src/index.ts
new file mode 100644
index 0000000..11f917b
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/src/index.ts
@@ -0,0 +1,4 @@
+import { registerRoot } from 'remotion';
+import { Root } from './Root.tsx';
+
+registerRoot(Root);
diff --git a/skills/motion-video-production/engines/remotion/tsconfig.json b/skills/motion-video-production/engines/remotion/tsconfig.json
new file mode 100644
index 0000000..a8fcc5f
--- /dev/null
+++ b/skills/motion-video-production/engines/remotion/tsconfig.json
@@ -0,0 +1,16 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "Bundler",
+ "jsx": "react-jsx",
+ "strict": true,
+ "noEmit": true,
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "skipLibCheck": true,
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
+ "types": ["node"]
+ },
+ "include": ["src", "motions", "productions", "pipeline"]
+}
diff --git a/skills/motion-video-production/harness/SMOKE.md b/skills/motion-video-production/harness/SMOKE.md
new file mode 100644
index 0000000..f4a2053
--- /dev/null
+++ b/skills/motion-video-production/harness/SMOKE.md
@@ -0,0 +1,38 @@
+# SMOKE — 유료 API 없이 실행 가능한 것 전수 테스트 (2026-10-23)
+
+대상: `skills/motion-video-production/{scripts,templates,engines,templates}` 의 실행 파일.
+`engines/hyperframes/node_modules/**` 는 검사에서 제외했다(제3자 배포물).
+
+## python3 -I <script> --help
+
+| 명령 | 종료 코드 | 비고 |
+|---|---|---|
+| `python3 -I scripts/beat-grid.py --help` | 2 | 설계대로: 인자 오류 시 사용법 출력 후 2 (`gate.py` 와 같은 규약) |
+| `python3 -I scripts/dupcheck.py --help` | 2 | 수정 후. 수정 전에는 `--help` 를 파일로 열어 traceback(exit 1). `-h/--help` 를 사용법 출력으로 처리하게 고침 |
+| `python3 -I scripts/ref-analyze.py --help` | 1 | `ModuleNotFoundError: cv2`. 의존(`requirements-ref.txt`: opencv-python-headless, numpy)을 이 머신에 설치하지 않아 환경 문제. 스크립트 버그 아님 |
+
+기능 확인(추가): `beat-grid.py grid 144 4` / `snap 144 1.7` exit 0, `dupcheck.py` 로 반복 컷 2개짜리 edit.json 이 REPEAT exit 1 정상 판정.
+
+## node --check (.mjs/.js, node_modules 제외)
+
+전부 exit 0: `engines/remotion/pipeline/{probe,render,score,vo,vo-assemble}.mjs`, `engines/remotion/productions/wordcut/{render,plan,drift,look,look-fit}.mjs`.
+
+## bash -n
+
+전부 exit 0: `harness/selftest.sh`, `scripts/{verify,mix-mux,clipsheet,key-plate}.sh`.
+
+## 문서화된 셀프테스트
+
+`bash harness/selftest.sh` — 약 2분 소요, exit 0, ok 55건 / FAIL 0건, `skip ICC 회귀 사례 (PIL 없음)`.
+(처음 120초 제한으로 돌았을 때는 타임아웃처럼 보였지만 실제로는 정상 완료 작업이었다.)
+
+`python3 -I harness/gate.py` (인자 없음) — 사용법 출력 exit 2, 정상.
+
+## 고친 것
+
+- `scripts/dupcheck.py`: `-h`/`--help` 를 사용법 출력으로 처리(수정 전 traceback).
+
+## 발견했지만 그대로 둔 것
+
+- `ref-analyze.py` 는 cv2·numpy 설치가 필요하다(이 머신에 없음). 설치하면 재검사 필요.
+- `selftest.sh` 의 ICC 회귀 사례는 PIL 이 없어 건너뛴다.
diff --git a/skills/motion-video-production/harness/gate.py b/skills/motion-video-production/harness/gate.py
index 0297f75..2bc12c3 100644
--- a/skills/motion-video-production/harness/gate.py
+++ b/skills/motion-video-production/harness/gate.py
@@ -2,21 +2,23 @@
"""단계 게이트: 산출물을 측정해 PASS/BLOCK을 종료 코드로 판정한다.
사용법: python3 harness/gate.py <단계> [프로젝트폴더=.]
-단계: story | character | keyframes | clips | audio | edit | final | all
+단계: ref | story | character | keyframes | clips | audio | edit | final | all
종료 코드: 0 = 모든 검사 통과(WARN 허용), 1 = BLOCK 하나 이상, 2 = 사용법 오류
보고서: <프로젝트>/qa/gate-<단계>.txt 에 같은 내용을 저장한다.
프로젝트 폴더 규칙
+ ref/ANALYSIS.md ref/targets.json qa/render-analysis.json (레퍼런스가 있을 때만, ref/ 폴더가 없으면 ref 게이트는 건너뜀)
STORY.md character.txt voices.json edit.json
sheet/*.png key/<이름>.png clip/<이름>.mp4 out/final.mp4 qa/clips-review.md qa/review.md
클립 이름 = 키프레임 이름 = edit.json 의 src 클립 ID (clip:<이름>@<시작초>)
-임계값은 환경 변수로 바꾼다: GATE_SSIM_START(0.55) GATE_LUFS(-14) GATE_LUFS_TOL(1.5) GATE_TP_MAX(-1.0)
+임계값은 환경 변수로 바꾼다: GATE_REF_TOL_SCALE(1.0, targets.json 의 허용 오차에 곱함) GATE_SSIM_START(0.55) GATE_LUFS(-14) GATE_LUFS_TOL(1.5) GATE_TP_MAX(-1.0)
주의: 클립 뒤쪽의 인물 변형은 SSIM으로 구분되지 않는다(정상 클립도 움직이면 값이 떨어진다). 그래서 프레임 스트립을 만들고 눈 검수 기록을 요구한다.
의존: python3 표준 라이브러리, ffmpeg, ffprobe
"""
import hashlib
import json
+import math
import os
import re
import subprocess
@@ -27,6 +29,9 @@ SSIM_START = float(os.environ.get("GATE_SSIM_START", "0.55"))
LUFS_TARGET = float(os.environ.get("GATE_LUFS", "-14"))
LUFS_TOL = float(os.environ.get("GATE_LUFS_TOL", "1.5"))
TP_MAX = float(os.environ.get("GATE_TP_MAX", "-1.0"))
+REF_TOL_SCALE = float(os.environ.get("GATE_REF_TOL_SCALE", "1.0"))
+if not (math.isfinite(REF_TOL_SCALE) and REF_TOL_SCALE >= 0):
+ sys.exit(f"GATE_REF_TOL_SCALE 는 0 이상의 유한한 수여야 함: {REF_TOL_SCALE}")
IMG = {".png", ".jpg", ".jpeg", ".webp"}
@@ -109,6 +114,61 @@ def table_rows(text, heading):
return out
+PLACEHOLDER = re.compile(r"<[^<>\n]{1,40}>")
+
+
+def pick(d, path):
+ for k in path.split("."):
+ if not isinstance(d, dict) or k not in d:
+ return None
+ d = d[k]
+ return d
+
+
+def g_ref(root, r):
+ """레퍼런스 분석: 계획 전에는 ANALYSIS.md 와 targets.json 을, 렌더 후에는 렌더 분석을 목표값과 비교한다.
+ 어느 엔진(Remotion, HyperFrames, 손 편집)으로 만들었든 out/final.mp4 를 분석한 숫자만 본다."""
+ ref = root / "ref"
+ if not ref.is_dir():
+ r.warn("R00", "ref/ 폴더 없음 - 레퍼런스 영상 없이 진행(레퍼런스가 있으면 ref/ 를 만들고 분석할 것)")
+ return
+ md = ref / "ANALYSIS.md"
+ if r.check(md.exists(), "R01", "ref/ANALYSIS.md 있음", "ref/ANALYSIS.md 없음 - templates/ANALYSIS.md 를 복사해 채울 것"):
+ text = md.read_text(encoding="utf-8")
+ left = PLACEHOLDER.findall(text)
+ r.check(not left, "R02", "ANALYSIS.md 빈칸 없음", f"ANALYSIS.md 에 채우지 않은 칸 {len(left)}개: {' '.join(left[:3])}")
+ targets = load_json(ref / "targets.json", r, "R03")
+ metrics = (targets or {}).get("metrics") if isinstance(targets, dict) else None
+ if targets is not None and not r.check(isinstance(metrics, dict) and metrics and all(
+ isinstance(m, dict) and isinstance(m.get("target"), (int, float)) and isinstance(m.get("tol"), (int, float))
+ and math.isfinite(m["target"]) and math.isfinite(m["tol"]) and m["tol"] >= 0
+ for m in metrics.values()), "R03", f"targets.json 지표 {len(metrics or {})}개",
+ "targets.json 형식 오류(target·tol 은 유한한 수, tol 은 0 이상) - {\"metrics\": {\"edit.stillShare\": {\"target\": 0.46, \"tol\": 0.25}, ...}}"):
+ return
+ final = root / "out" / "final.mp4"
+ if not final.exists() or not metrics:
+ return
+ ra = root / "qa" / "render-analysis.json"
+ if not r.check(ra.exists() and ra.stat().st_mtime >= final.stat().st_mtime, "R04", "qa/render-analysis.json 이 최종본보다 새것",
+ "최종본을 분석할 것: python3 -I \"$SKILL_ROOT/scripts/ref-analyze.py\" out/final.mp4 -o qa/render-analysis.json"):
+ return
+ got = load_json(ra, r, "R04")
+ if got is None:
+ return
+ for path, m in metrics.items():
+ value, target, tol = pick(got, path), float(m["target"]), float(m["tol"]) * REF_TOL_SCALE
+ if not isinstance(value, (int, float)):
+ r.block("R05", f"{path}: 렌더 분석에 값 없음")
+ continue
+ if target:
+ off = (value - target) / abs(target)
+ line = f"{path}: 목표 {target:g}, 값 {value:g}, {off * 100:+.0f}% (허용 ±{tol * 100:.0f}%)"
+ else: # 목표 0 은 비율이 없으므로 tol 을 절대 차이로 읽는다
+ off = value
+ line = f"{path}: 목표 0, 값 {value:g} (허용 ±{tol:g}, 목표가 0이라 절대 차이)"
+ r.check(abs(off) <= tol, "R05", line, line + " - 허용 범위 밖")
+
+
def g_story(root, r):
p = root / "STORY.md"
if not r.check(p.exists(), "S01", "STORY.md 있음", "STORY.md 없음"):
@@ -369,7 +429,7 @@ def g_final(root, r):
"qa/review.md 가 out/final.mp4 보다 오래됨 - 최종본을 다시 렌더했다면 다시 보고 기록할 것")
-STAGES = {"story": g_story, "character": g_character, "keyframes": g_keyframes,
+STAGES = {"ref": g_ref, "story": g_story, "character": g_character, "keyframes": g_keyframes,
"clips": g_clips, "audio": g_audio, "edit": g_edit, "final": g_final}
diff --git a/skills/motion-video-production/harness/selftest.sh b/skills/motion-video-production/harness/selftest.sh
index 50bd2df..9b5beae 100644
--- a/skills/motion-video-production/harness/selftest.sh
+++ b/skills/motion-video-production/harness/selftest.sh
@@ -111,6 +111,25 @@ B=$(mut shortaudio); ff -i "$W/good/out/final.mp4" -t 2 -vn -af "loudnorm=I=-14:
B=$(mut fps25); ff -i "$W/good/out/final.mp4" -vf fps=25 -c:a copy "$B/out/final.mp4"; sleep 1; touch "$B/qa/review.md"; expect "fps 가 edit.json 과 다름" 1 final "$B" F08
B=$(mut silent); ff -i "$W/good/out/final.mp4" -an -c:v copy "$B/out/final.mp4"; sleep 1; touch "$B/qa/review.md"; expect "오디오 없는 최종본" 1 final "$B" F03
+# ---- ref (레퍼런스 분석: 계획 전 기록, 렌더 후 목표값 비교)
+make_ref() { # $1 = 폴더. 빈칸 없는 ANALYSIS.md 와 지표 2개짜리 targets.json
+ mkdir -p "$1/ref"
+ sed 's/<[^<>.]*>/채움/g' "$HERE/../templates/ANALYSIS.md" > "$1/ref/ANALYSIS.md"
+ echo '{"metrics":{"edit.stillShare":{"target":0.46,"tol":0.25},"motion.meanFlow":{"target":2.0,"tol":0.35}}}' > "$1/ref/targets.json"
+}
+render_analysis() { # $1 = 폴더 $2 = stillShare $3 = meanFlow
+ echo "{\"edit\":{\"stillShare\":$2},\"motion\":{\"meanFlow\":$3}}" > "$1/qa/render-analysis.json"
+}
+expect "ref/ 없으면 건너뜀" 0 ref "$W/good"
+B=$(mut ref_nomd); make_ref "$B"; rm "$B/ref/ANALYSIS.md"; expect "ANALYSIS.md 없음" 1 ref "$B" R01
+B=$(mut ref_blank); make_ref "$B"; cp "$HERE/../templates/ANALYSIS.md" "$B/ref/ANALYSIS.md"; expect "ANALYSIS.md 빈칸 남음" 1 ref "$B" R02
+B=$(mut ref_notargets); make_ref "$B"; rm "$B/ref/targets.json"; expect "targets.json 없음" 1 ref "$B" R03
+B=$(mut ref_noanalysis); make_ref "$B"; expect "최종본은 있는데 렌더 분석 없음" 1 ref "$B" R04
+B=$(mut ref_stale); make_ref "$B"; render_analysis "$B" 0.5 2.1; touch -t 202001010000 "$B/qa/render-analysis.json"; expect "렌더 분석이 최종본보다 오래됨" 1 ref "$B" R04
+B=$(mut ref_ok); make_ref "$B"; render_analysis "$B" 0.5 2.1; expect "렌더가 목표 허용 범위 안" 0 ref "$B"
+B=$(mut ref_off); make_ref "$B"; render_analysis "$B" 0.67 2.1; expect "정지 프레임이 목표보다 46% 많음" 1 ref "$B" R05
+B=$(mut ref_plan); make_ref "$B"; rm "$B/out/final.mp4"; expect "렌더 전에는 기록만 확인" 0 ref "$B"
+
# ---- 회귀: ICC 프로파일이 붙은 클립도 프레임 수를 읽는다 (PIL 필요, 없으면 건너뜀)
if python3 -c "import PIL" 2>/dev/null; then
B=$(mut icc); mkdir -p "$B/_f"
diff --git a/skills/motion-video-production/references/art-direction.md b/skills/motion-video-production/references/art-direction.md
new file mode 100644
index 0000000..1437f27
--- /dev/null
+++ b/skills/motion-video-production/references/art-direction.md
@@ -0,0 +1,57 @@
+# 아트 디렉션: carry, 모션 어휘, 스타일
+
+영상 하나에는 스타일 하나를 정하고 끝까지 지킵니다. 색, 글꼴, 이징은 제품의 디자인 토큰에서 가져옵니다.
+모션은 `(t, params) → 스타일` 순수 함수로 씁니다. 엔진 폴더의 `motions/`(`iris`, `_lib/ease.ts`)가 예시입니다. 아래 동작 중 모듈이 없는 것은 먼저 그 작품의 `scene.ts`에 순수 함수로 쓰고, 두 번째 작품에서 또 필요하면 골든 값 테스트와 함께 `motions/<모듈>/`로 올립니다.
+
+## Carry: 기본 경계
+
+영상은 한 테이크처럼 흘러갑니다. 비트 경계마다 이미 화면에 있던 무언가가 살아남아 다음 비트로 눈에 띄게 움직이거나 커집니다. carry 검사(`pipeline/carry.ts`)는 살아남은 요소가 화면 대각선의 2% 이상 움직이거나 10% 이상 커지면 **carried**, 화면의 3% 이상 크기로 그대로 있으면 **anchored**(절반 점수), 아무것도 안 남으면 **bare**로 셉니다. 점수 = (carried + anchored/2) ÷ 경계 수, 0.5 미만 FAIL, 0.7 미만 WARN.
+
+잘 되는 carry
+- **정체성으로**: 한 요소가 다음 비트의 주인공이 됩니다. 누른 버튼이 결과가 되고, 단어가 위로 올라가며 작아져 다음 줄의 라벨이 됩니다(`productions/carry-demo`).
+- **크기로**: 카메라가 카드 안으로 밀고 들어가 카드가 곧 장면이 됩니다. 아이리스는 빈 페이지 위가 아니라 살아남은 요소에서 열립니다.
+- **원인으로**: 손이 다음 선택지를 끌어오고, 포물선으로 다음 칸에 뛰어듭니다.
+- **로고로 접기**: 끝에서 등장 요소들이 로고로 모입니다.
+- **한 자리에 고정**: 단어 하나가 같은 픽셀에 머물고 그 밑의 장면만 바뀝니다(`productions/wordcut`, 측정 드리프트 0.11px 이하).
+- 커서·손은 가장 싼 운반체입니다. 자신이 일으킨 경계를 넘는 동안 화면에 남겨 둡니다.
+
+carry가 아닌 것(bare로 셈): 각 페이지가 움직여도 페이지 다음 페이지, 숨김·표시 전환, `@remotion/transitions`의 장면 교체, 결과를 미리 보여 주고 원래 화면으로 돌아오기. bare는 몰아치기(1.5초 안에 큰 변화 3번 이상) 안이나 엔드카드로 갈 때만 씁니다.
+
+## 리듬
+
+컷 길이는 4배 이상 차이 나게 하고 같은 길이를 반복하지 않습니다. 완전히 멈춘 구간(프레임의 25% 이상, 1초 이상 한 번)이 있어야 움직임이 착지합니다. 같은 방식으로 끝나는 컷을 두 번 연달아 두지 않습니다. 레퍼런스가 있으면 숫자는 `ref/targets.json`이 정합니다(`references/reference-analysis.md`).
+
+## 깔끔한 제품 스타일 (기본)
+
+- 평평한 브랜드 팔레트, 행동 색 하나는 "지금 해 보세요" 순간에만. 크기 단계가 분명한 큰 글자, 숫자는 브랜드 고정폭 글꼴.
+- 움직임: 살짝 블러가 낀 상승, 도착에만 오버슈트, 실제 숫자의 카운트업, 인용 근거 위의 형광펜, 결과 막대 상승.
+- 카메라: 비트 안에서 느리게 밀기, 공개 직전 블러 줌. 영상 전체에 카메라 하나.
+
+## 애니메이션 PV 스타일 ("애니처럼")
+
+컷은 적고 길게, 컷 안에서 일이 더 많이 일어납니다. 예비 동작 → 동작 → 여운 → 정지.
+- 큰 순간 뒤의 **집중선**은 2프레임마다 다시 그립니다.
+- **임팩트 프레임**: 큰 타격마다 2프레임 반전.
+- **슬램**: 글자·로고가 넘쳤다가 눌렸다가 자리 잡고, 안쪽 레이어만 흔듭니다.
+- **정지**: 극적인 대사 뒤 모든 움직임을 멈추고 채도를 빼고(`saturate(0) brightness(.6)`) 음악도 끊습니다.
+- **더치 앵글**(−2~−4°), 캐릭터 대사는 **말풍선**.
+- **패럴랙스**: 같은 물체를 크기·속도·블러가 다른 3겹으로.
+- **동작에서 컷**: 충돌 프레임에서 정확히 컷(bare이므로 몰아치기 안에서만).
+
+## bare 경계 (몰아치기와 엔드카드에만)
+
+중간 지점을 비트에 맞춥니다. 어느 엔진에서나 `t`로 계산하는 스타일입니다.
+
+| 경계 | 방법 |
+|---|---|
+| 아이리스 | 다음 레이어 `clip-path: circle(0% at x y) → circle(75~150% at x y)`, 0.4초 (`motions/iris`) |
+| 커튼 | 다음 레이어 `clip-path: inset(0 0 100% 0) → inset(0)` |
+| 차오름 | 다음 레이어 `clip-path: inset(100% 0 0 0) → inset(0)` |
+| 밀기 | 이전 레이어가 화면 폭만큼 나가고 새 레이어가 들어옴 |
+| 스미어 | 어두운 판이 `skewX(-25deg)`로 화면을 쓸고 지나감 |
+
+이 위에 두 레이어를 넘어 움직이는 요소가 하나 있으면 carry가 됩니다(carry-demo가 아이리스로 그렇게 합니다).
+
+## 자막
+
+읽히는 문구 = 말하는 대사(또는 그 압축), 한 언어. 제목 줄 영역에는 배경 질감(실제 제목, URL)을 두지 않습니다. 흰 카드 위 흰 글자는 사라집니다.
diff --git a/skills/motion-video-production/references/assets/ref-pipeline.png b/skills/motion-video-production/references/assets/ref-pipeline.png
new file mode 100644
index 0000000..214045a
Binary files /dev/null and b/skills/motion-video-production/references/assets/ref-pipeline.png differ
diff --git a/skills/motion-video-production/references/brand-intro.md b/skills/motion-video-production/references/brand-intro.md
new file mode 100644
index 0000000..cd262ba
--- /dev/null
+++ b/skills/motion-video-production/references/brand-intro.md
@@ -0,0 +1,83 @@
+# 브랜드 소개 영상을 홈페이지에 넣기
+
+레퍼런스 몇 개를 받아 짧은 브랜드 소개 영상을 만들고, 그 영상이 재생되는 홈페이지 HTML 한 장까지 만드는 순서예요. 새 엔진은 없어요. Remotion 엔진의 wordcut 템플릿과 `templates/homepage-intro.html`을 써요. 아래 예시 가게("동네빵집 모퉁이")는 지어낸 것이에요. 편집 용어는 `references/glossary.md`에 있어요.
+
+산출물은 두 개예요. `media/intro.mp4`(소리 없는 짧은 영상, 마지막 장면이 마무리 이미지)와, 그 마무리 이미지에서 시작하는 홈페이지 `index.html` 한 장이에요.
+
+## 1. 레퍼런스를 읽고 장면 목록 쓰기 (4줄 이하)
+
+레퍼런스 영상이 있으면 0단계(`references/reference-analysis.md`)로 숫자를 먼저 뽑아요. 그다음 장면 목록을 4줄 이하로 써요. 한 줄 = 프레임 범위, 화면, 어느 레퍼런스에서 빌려 오는지.
+
+| 프레임 | 화면 | 빌려 오는 것 |
+|---|---|---|
+| 0-120 | "빵"이 한 자리에 머물고 메뉴판, 영수증, 메모가 차례로 넘겨받음 | 레퍼런스 A의 휙 넘김(휩 팬) 속도 |
+| 120-240 | 몰아치기(몽타주): 0.13초마다 장면이 바뀜 | 레퍼런스 A의 짧은 컷 구간 |
+| 240-450 | 교과서 문장에서 글자가 흩어지고 단어가 사전 표제어가 됨 | 레퍼런스 B의 긴 홀드 |
+| 450-600 | 마무리 이미지(진열대)로 넘어가 멈춤 | 레퍼런스 C의 마지막 장면 구도 |
+
+## 2. 키워드 3~6개
+
+이미지 프롬프트와 마무리를 정하는 단어예요. 예: `아침`, `갓 구운`, `진열대`, `이웃`. 단어 하나는 wordcut의 주인공(`data.ts`의 `word`)이 되고, 나머지는 장면 문구와 마무리 이미지 프롬프트에 들어가요.
+
+## 3. 마무리 이미지 만들기
+
+이미지 생성 도구로 마무리 이미지 한 장을 만들어요(`references/providers.md`). 화면비는 영상과 같게(9:16이면 1080x1920) 하고, 단어 자리(화면 높이 44% 부근)는 비워 둬요. 단어가 그 위에 남기 때문이에요. 사람이 만든 사진처럼 보이게 꾸미지 않고, 생성 이미지라는 표시가 필요하면 페이지에 적어요.
+
+## 4. wordcut으로 컷 만들기
+
+1. 엔진을 복사해 설치해요(`references/engines.md`).
+2. `productions/wordcut/data.ts`에 단어, 장면 문구, 끝 문구를 키워드로 채워요.
+3. 마무리 이미지를 엔진 폴더의 `public/closing.jpg`로 두고 `data.ts`의 `closing`을 `'closing.jpg'`로 바꿔요. 마지막 2초에 이미지로 넘어가 멈추고, 단어는 같은 자리에 남아요. 이미지가 페이지를 덮는 경계는 carry 검사에서 bare로 세져요. 데모에서는 세지는 경계가 이것 하나뿐이라 carry 점수가 0.00(FAIL)이에요. 단어가 같은 자리에 그대로 남으면 carry로 세지지 않으니, 이 경계에서 단어를 움직이거나 키워 carry로 바꿔야 FAIL을 벗어나요.
+4. 레퍼런스 분석이 있으면 `node productions/wordcut/plan.mjs ref/analysis.json <초>`로 타이밍을 뽑아요.
+5. `node productions/wordcut/render.mjs video 9x16`로 렌더하고, `drift.mjs`와 `verify.sh`로 재요. 레퍼런스가 있으면 `gate.py ref`로 비교해요.
+
+## 5. 홈페이지 한 장
+
+### 영상이 놓이는 자리
+
+한 단어 소개 영상은 페이지의 부품이 아니라 마케팅 조각이에요. 놓이는 자리가 셋이에요.
+
+- **유튜브 오프닝**: 영상의 마지막 장면에서 사이트의 첫 프레임으로 매치 컷(graphic match cut)해요. 단어나 마무리 이미지가 같은 자리에 남은 채 사이트 화면으로 넘어가요. 이 컷은 영상 편집에서 만들고, 페이지에서 흉내 내지 않아요.
+- **페이지 히어로**: 영상이 아니라 Three.js 장면이에요. 장면의 t=0 프레임이 영상의 마무리 이미지와 같아서, 영상을 보고 들어온 사람에게는 영상이 이어지는 것처럼 보여요.
+- **휴대폰에서만 짧은 카드**: 9:16 영상은 휴대폰 폭에서만 짧은 카드 하나로 보여 주고, 데스크톱에서는 숨겨요. 넓은 화면 가운데에 좁은 세로 띠가 끼면 페이지와 따로 노는 것처럼 보여요.
+
+`templates/homepage-intro.html`은 아직 히어로 카드에서 영상을 재생하는 최소 형태예요. 위 배치로 바꿀 때의 출발점으로 써요.
+
+```bash
+mkdir -p site/media
+cp "$SKILL_ROOT/templates/homepage-intro.html" site/index.html
+cp renders/wordcut/wordcut-9x16.mp4 site/media/intro.mp4
+ffmpeg -sseof -0.1 -i site/media/intro.mp4 -frames:v 1 -q:v 3 site/media/poster.jpg # 마지막 프레임 = 포스터 = 히어로의 t=0
+```
+
+- 템플릿에서는 영상이 Three.js 장면 안의 카드에 텍스처로 재생돼요. 카드는 포인터를 살짝 따라 기울고 천천히 숨 쉬듯 움직여요.
+- 영상은 `muted loop playsinline`이라 자동 재생돼요. 자동 재생이 막히면 포스터를 그대로 보여 줘요.
+- `prefers-reduced-motion`이 켜져 있거나 WebGL이 없으면 Three.js를 불러오지 않고, 포스터 이미지와 일반 페이지만 보여 줘요.
+- Three.js는 `[email protected]`(MIT)을 jsDelivr에서 고정 버전으로 불러와요. 오프라인으로 배포하려면 같은 버전 파일을 옆에 두고 import map 주소만 바꿔요.
+- 문구, 색(`:root` 변수), 버튼 링크를 가게 것으로 바꿔요. 주 버튼은 읽는 흐름의 끝(오른쪽)에 둬요.
+
+### 간격 기준
+
+<!-- 비전 QA 뒤에 숫자를 채워요. 모든 섹션이 이 한 가지 간격 단계만 써요. -->
+페이지 전체가 간격 단계 하나를 같이 써요. 숫자는 아직 정하지 않았어요.
+
+### 단조로움 피하기
+
+- 지그재그: 섹션마다 글과 그림의 좌우를 바꿔요. 이번 섹션에서 글이 왼쪽이면 다음 섹션에서는 오른쪽이에요.
+- 섹션 패턴을 섞어요: 화면 끝까지 차는 띠(full-bleed band), 카드, 모자이크, 한 문장(statement line).
+- 이웃한 두 섹션은 같은 패턴을 쓰지 않아요.
+
+### 외부 라이브러리
+
+템플릿에 없는 라이브러리도 쓸 만한 이유가 있으면 더해요. 예: GSAP + ScrollTrigger(스크롤 연동 모션), Lenis(부드러운 스크롤), Motion(motion.dev), Floating UI(툴팁·팝오버 위치).
+
+- CDN에서 정확한 버전으로 고정해요(`[email protected]`처럼). `@latest`나 범위 버전은 쓰지 않아요.
+- `prefers-reduced-motion`을 지켜요. 켜져 있으면 스크롤 연동과 부드러운 스크롤을 끄고 정지 화면을 보여 줘요.
+- 레이아웃이 밀리지 않게 해요. 스크립트가 불러와지기 전과 후에 요소의 자리와 크기가 같아야 해요.
+- 한 가지 일에 라이브러리 하나만 써요. 스크롤 모션에 GSAP을 썼으면 같은 일에 Motion을 겹쳐 쓰지 않아요.
+
+## 확인한 것 (2026-10-25)
+
+wordcut 데모 렌더를 `media/intro.mp4`로 넣고 로컬 서버에서 열었어요. Google Chrome(헤드리스)에서 영상이 WebGL 카드 위에서 재생됐어요(`paused=false`). reduced motion과 WebGL 끔 상태에서는 Three.js를 부르지 않고 포스터만 보였어요. 포스터는 카드와 같은 자리, 같은 크기, 같은 흰 테두리로 놓여서 두 상태를 오가도 그림이 움직이지 않아요. 폭 390px과 1280px에서 확인했어요.
+
+확인할 때 주의할 점이 두 가지 있어요. Playwright의 Chromium 헤드리스 셸은 H.264를 재생하지 못해서 포스터에 머물러요(VP9 사본으로는 재생돼요). 헤드리스 Google Chrome은 창 폭을 500px 아래로 줄이지 못해서, 390px 스크린샷이 500px 레이아웃을 잘라 낸 것이 돼요. 휴대폰 폭은 헤드리스 셸이나 실제 기기로 확인해요.
diff --git a/skills/motion-video-production/references/engines.md b/skills/motion-video-production/references/engines.md
new file mode 100644
index 0000000..1c5c061
--- /dev/null
+++ b/skills/motion-video-production/references/engines.md
@@ -0,0 +1,71 @@
+# 엔진: Remotion과 HyperFrames
+
+화면을 만드는 엔진은 바꿔 끼울 수 있습니다. 엔진이 무엇이든 마지막 산출물은 mp4 하나이고, 믹스(`scripts/mix-mux.sh`), 측정(`scripts/verify.sh`), 레퍼런스 비교(`gate.py ref`), 최종 게이트(`gate.py final`)는 그 mp4만 봅니다.
+
+![엔진을 바꿔 끼우는 분석 파이프라인](assets/ref-pipeline.png)
+
+## 어느 쪽을 고를까
+
+| | Remotion (`engines/remotion/`) | HyperFrames (`engines/hyperframes/`) |
+|---|---|---|
+| 만드는 방식 | React 컴포넌트. 모든 값을 프레임 번호에서 계산 | 평범한 HTML/CSS 페이지에 GSAP 타임라인 |
+| 잘 맞는 경우 | 프레임 단위로 정확해야 할 때, 요소가 경계를 넘어 살아남는지(carry) 숫자로 증명하고 싶을 때, wordcut처럼 한 자리 고정이 핵심일 때 | 재료가 웹페이지·문서일 때, HTML/CSS를 아는 사람이 바로 고쳐야 할 때, 빠른 시안 |
+| carry 검사 | 있음. `track.ts`로 선언한 상자를 `pipeline/probe.mjs`가 렌더 전에 잽니다 | 선언한 track이 없어서 carry 점수는 못 냅니다. 움직임·편집 리듬은 `gate.py ref`가 mp4에서 잽니다 |
+| 들어 있는 것 | carry 데모, wordcut 템플릿, 모션 모듈, 렌더·목소리·스코어 스크립트 | 같은 carry 데모 한 페이지 |
+| 라이선스 | 회사 규모에 따른 자체 라이선스(직원 4명 이상 영리 조직은 Company License) | Apache-2.0 (애니메이션은 GSAP 표준 무료 라이선스) |
+| 렌더 브라우저 | Playwright 헤드리스 셸이나 `CHROME_PATH`. 없으면 `npx remotion browser ensure`(다운로드, 먼저 물어봄) | 시스템 Chrome. 없으면 `npx hyperframes browser ensure`(다운로드, 먼저 물어봄) |
+
+정하기 어려우면 Remotion으로 시작합니다. carry와 wordcut이 Remotion에만 있기 때문입니다. 라이선스 조건(`references/licensing.md`)이 맞지 않으면 HyperFrames를 씁니다.
+
+## 준비
+
+엔진은 스킬 폴더 안에 들어 있습니다. 스킬 폴더는 여러 런타임이 함께 쓰므로 그 안에서 설치하지 않습니다. 작업 폴더로 복사한 뒤 설치합니다.
+
+```bash
+cp -R "$SKILL_ROOT/engines/remotion" "$PROJECT_ROOT/engine" # 또는 engines/hyperframes
+cd "$PROJECT_ROOT/engine" && npm ci # 버전은 package-lock.json에 고정
+```
+
+Node.js 24 이상이 필요합니다(`.ts` 파일을 바로 실행). 모든 의존성은 정확한 버전으로 고정돼 있습니다.
+
+## Remotion 엔진에서 하는 일 (엔진 폴더에서 실행)
+
+| 일 | 명령 |
+|---|---|
+| 타입 확인, 테스트 | `npm run typecheck`, `node --test pipeline/carry.test.ts motions/iris/iris.test.ts productions/wordcut/timing.test.ts` |
+| carry 검사 (렌더 전) | `node pipeline/probe.mjs productions/<id>` (종료 코드 1 = FAIL) |
+| 스틸과 컨택트 시트 | `node pipeline/render.mjs <id> --stills 0.5 1.5 3.0` |
+| 영상 렌더 (소리 없음) | `node pipeline/render.mjs <id>` → `renders/<id>/picture.mp4` |
+| 기본 스코어 | `node pipeline/score.mjs productions/<id>` → `productions/<id>/audio/score.wav` |
+| 목소리 | `node pipeline/vo.mjs productions/<id>/vo`, `node pipeline/vo-assemble.mjs productions/<id>/vo <초> productions/<id>/vo/cues.json` |
+| 믹스와 mux | `bash "$SKILL_ROOT/scripts/mix-mux.sh" <picture.mp4> <fps> <초> <score.wav> <vo_track.wav 또는 -> "$PROJECT_ROOT/out/final.mp4"` |
+| 측정 | `PRODUCTION=productions/<id> bash "$SKILL_ROOT/scripts/verify.sh" "$PROJECT_ROOT/out/final.mp4"` |
+
+새 작품은 `productions/carry-demo/`를 복사해 시작합니다. 파일 구성: `timing.ts`(계약), `scene.ts`(시각 t의 순수 기하), `<이름>.tsx`(얇은 Remotion 호스트), `track.ts`(carry 검사가 읽는 상자), `BEATSHEET.md`(`templates/BEATSHEET.md`), `vo/`, `audio/`. 컴포지션은 `src/Root.tsx`에 등록합니다.
+
+## wordcut 템플릿 (`productions/wordcut/`)
+
+단어 하나가 화면의 한 자리에 머물고, 그 단어를 담은 여러 장면(게시글, 영수증, 기사, 채팅, 메모, 검색창, 알림…)이 카메라 휙 넘김(휩 팬, whip pan)으로 차례로 단어를 넘겨받는 매치 컷(graphic match cut) 형식입니다. 용어는 `references/glossary.md`에 있습니다. 끝은 교과서 문장의 글자가 흩어지고 단어가 사전 표제어가 됩니다.
+
+- **바꾸는 곳**: `data.ts`(단어, 장면 목록과 문구, 끝 문구, 화면비). 모든 문구는 단어 자리를 `{w}`로 표시하고, 장면마다 정확히 한 번 씁니다(`timing.test.ts`가 확인).
+- **타이밍**: `plan.ts`. 레퍼런스가 있으면 `node productions/wordcut/plan.mjs "$PROJECT_ROOT/ref/analysis.json" <초>`가 컷 간격·몰아치기·블러를 레퍼런스에서 뽑아 씁니다.
+- **고정된 구조**: 단어는 한 자리(측정 드리프트 0.11px 이하), 장면이 단어를 넘겨받음, 휙 넘김(나가는 장면의 마지막 프레임과 들어오는 장면의 첫 프레임이 모션 블러와 함께 이동), 몰아치기 구간(하드 컷 몽타주), 교과서, 사전.
+- **마무리 이미지**: `data.ts`의 `closing`에 엔진 `public/` 폴더의 이미지 파일 이름을 넣으면 마지막 2초에 그 이미지로 넘어가 멈추고 단어는 자리에 남습니다(`references/brand-intro.md`).
+- **렌더**: `node productions/wordcut/render.mjs video [9x16|16x9]` → `renders/wordcut/wordcut-<화면비>.mp4`
+- **한 자리 확인**: `node productions/wordcut/drift.mjs [9x16|16x9]` (픽셀 측정, 0.5px 넘게 움직이면 종료 코드 1)
+- **첫 프레임은 페이지가 아니라 미드숏(medium shot)입니다**: 단어가 화면 가운데에 있고, 단어 줄만 선명한 초점 띠(얕은 심도)가 있고, 렌즈 질감(RGB 분리 = 색수차, 그레인, 비네트)이 0프레임부터 켜져 있고, 페이지 크롬(메타 줄, 카드 테두리)이 보이지 않고, 하이라이트가 유일한 색입니다. 첫 장면은 페이지보다 더 밀어 들어가(푸시 인) 단어 줄이 양쪽 끝을 넘고, 초점 띠와 RGB 분리는 `timing.ts`의 `opener`대로 9프레임에 걸쳐 풀립니다(랙 포커스). 해시태그 같은 다른 색 글자는 회색으로 둡니다.
+- **첫 프레임 확인**: `node productions/wordcut/frame0.mjs --check` (렌더한 영상의 0프레임에서 단어 중심이 가로 5%, 세로 12%를 넘게 벗어나거나 초점 비율이 2 미만이면 종료 코드 1)
+- **장면마다 초점 확인**: `node productions/wordcut/focus.mjs --check [--sheet 착지.png]` (모든 컷의 착지 프레임에서 같은 초점 비율을 재고, 하나라도 2 미만이면 종료 코드 1. `--sheet`는 착지 프레임 대조표를 만듭니다)
+- **장면마다 다르게**: `timing.ts`의 `SHOT_PRESETS`가 컷마다 기울기(`rx` 책상 위 종이 +, 들어 올린 휴대폰 −, `rz` 회전), 확대(`push`), 심도(`dof`), 흐린 줄의 RGB 분리(`split`), 바닥(`ground`), 빛과 그레인을 정합니다. 이웃한 두 컷은 같은 조합을 쓰지 않습니다(`timing.test.ts`가 확인). 시트, 하이라이트, 단어는 한 래퍼 안에서 같이 기울어서 단어가 자기 문서에서 벗어나지 않습니다. 원근으로 기울인 상자는 면적 중심이 가까운 쪽으로 쏠리므로 `drift.mjs`는 단어 중심점(1px 점)으로 판정합니다.
+- **질감 맞추기**: `node productions/wordcut/look-fit.mjs "$PROJECT_ROOT/ref/analysis.json"` → 결과를 `look.ts`에 붙여 넣습니다. 렌더 한 번에 스틸 30장을 여러 번 렌더하므로 오래 걸립니다.
+- 글꼴: Pretendard, 나눔명조, JetBrains Mono. 모두 SIL OFL 1.1 npm 패키지이고 버전이 고정돼 있습니다.
+
+## HyperFrames 엔진에서 하는 일
+
+| 일 | 명령 |
+|---|---|
+| 검사 | `npx hyperframes lint`, `npx hyperframes validate` |
+| 미리보기 | `npx hyperframes preview` (계속 도는 서버) |
+| 렌더 | `npx hyperframes render --fps 30 --quality high -o renders/<이름>.mp4` |
+
+`index.html`의 루트 요소에 `data-composition-id`, `data-width`, `data-height`, `data-duration`을 두고, `gsap.timeline({ paused: true })`를 `window.__timelines["<컴포지션 ID>"]`에 등록합니다. 자세한 규칙은 `npx hyperframes docs compositions`, `npx hyperframes docs gsap`에 있습니다. 렌더한 mp4는 Remotion과 같은 `mix-mux.sh`, `verify.sh`, `gate.py ref`, `gate.py final`로 넘깁니다.
diff --git a/skills/motion-video-production/references/glossary.md b/skills/motion-video-production/references/glossary.md
new file mode 100644
index 0000000..7fe553e
--- /dev/null
+++ b/skills/motion-video-production/references/glossary.md
@@ -0,0 +1,53 @@
+# 편집·모션 용어집
+
+이 스킬의 문서와 템플릿에 나오는 편집·카메라·질감 용어를 한국어로 먼저, 영어를 괄호에 적었어요. 한 줄에 뜻과, 이 스킬에서 어디에 나오는지(템플릿, 게이트, 스크립트)를 같이 적어요. 이 스킬이 쓰는 쉬운 말(휙 넘김, 몰아치기, 박, 홀드)도 같이 적어서 어느 쪽으로 찾아도 걸리게 했어요.
+
+## 컷과 전환
+
+- 매치 컷(graphic match cut): 장면은 바뀌는데 단어 하나가 화면의 같은 자리에 남아 이어지는 편집이에요. wordcut 템플릿 전체가 이 형식이고(`productions/wordcut/`), `drift.mjs`가 단어가 0.5px 넘게 움직이면 종료 코드 1을 내요.
+- 휩 팬(whip pan): 컷 사이에 화면이 빠르게 휙 쓸리는 전환이에요. 이 스킬의 "휙 넘김"이고, wordcut `timing.ts`의 `whip`(나가는 블러 `outBlur`, 들어오는 블러 `inBlur`)이 정하고, 레퍼런스에서는 `motion.transitions`로 재요.
+- 하드 컷(hard cut): 전환 효과 없이 바로 다음 장면으로 넘어가는 컷이에요. carry 검사에서는 bare로 세지만, wordcut 몰아치기(`burst`)처럼 몰아치기 안의 하드 컷은 점수에서 빠져요(`references/pitfalls.md`).
+- 점프 컷(jump cut): 같은 장면 안에서 시간이 툭 건너뛰어 화면이 튀어 보이는 컷이에요. 이 스킬은 일부러 쓰지 않고, 의도하지 않은 건너뜀은 `templates/SCENE_AUDIT.md`의 "시간·장소 점프" 항목으로 잡아요.
+- 몽타주(montage): 짧은 컷을 빠르게 이어 붙여 하나의 인상을 만드는 편집이에요. 이 스킬의 "몰아치기"(1.5초 안에 큰 변화 3번 이상, `references/art-direction.md`)이고, wordcut에서는 `plan.ts`의 `burstStep`, `burstCount`가 정해요.
+- 디졸브·크로스 페이드(dissolve / cross-fade): 앞 장면이 서서히 사라지며 다음 장면과 겹쳐 바뀌는 전환이에요. wordcut에서는 마무리 이미지가 마지막 2초에 15프레임 동안 서서히 덮이는 곳(`timing.ts`의 `closing`)에만 쓰고, carry 검사에서는 bare로 세요.
+- 와이프·아이리스(wipe / iris): 다음 장면이 선이나 원 모양으로 앞 장면을 밀어내며 드러나는 전환이에요. 커튼, 차오름, 밀기, 스미어가 같은 갈래이고, `references/art-direction.md`의 bare 경계 표와 `motions/iris`에 있어요.
+- 동작에서 컷(cut on action): 움직임이 부딪히는 프레임에서 정확히 자르는 컷이에요. bare라서 몰아치기 안에서만 써요(`references/art-direction.md`).
+- J컷·L컷(J-cut / L-cut): 다음 장면의 소리가 화면보다 먼저 들어오거나(J), 화면이 바뀐 뒤에도 앞 장면 소리가 남는(L) 편집이에요. 이 스킬에는 전용 템플릿이나 검사가 없어요. 대사는 길이를 먼저 재고 컷을 맞춰요(G13, `pipeline/vo-assemble.mjs`).
+- carry(이 스킬의 용어): 비트 경계를 넘어 화면에 살아남아 움직이거나 커지는 요소예요. `pipeline/probe.mjs`가 렌더 전에 재고(0.5 미만 FAIL), `verify.sh`에 `PRODUCTION`을 주면 같이 재요.
+- carried·anchored·bare(이 스킬의 용어): carry 검사가 경계를 세는 세 가지예요. 살아남아 움직이면 carried, 그대로 있으면 anchored(절반 점수), 아무것도 안 남으면 bare예요(`pipeline/carry.ts`).
+- 엔드카드(end card): 영상 끝에 로고, 문구, 행동 버튼을 보여 주는 마지막 화면이에요. bare 경계를 써도 되는 두 곳 중 하나예요.
+
+## 카메라
+
+- 미드숏(medium shot): 피사체와 주변이 함께 보이는 중간 거리의 화면이에요. wordcut의 0프레임이 페이지 전체가 아니라 미드숏이고, `frame0.mjs --check`가 확인해요.
+- 클로즈업(close-up): 피사체 하나가 화면을 채우는 가까운 화면이에요. wordcut의 컷은 클로즈업 배율(`scene.ts`의 `close`)에서 시작해요.
+- 푸시 인·돌리(push-in / dolly): 카메라가 피사체 쪽으로 다가가 화면이 서서히 커지는 움직임이에요. 이 스킬의 "밀기", "밀고 들어가기"이고, wordcut `timing.ts`의 `opener.push`, `textbook.push`, `dict.push`가 정해요.
+- 랙 포커스(rack focus): 초점을 한 거리에서 다른 거리로 옮기는 것이에요. wordcut 첫 장면의 초점 띠가 `opener.rack` 프레임(9프레임)에 걸쳐 풀리는 것이 이것이에요.
+- 얕은 심도(shallow depth of field): 초점이 맞는 깊이가 좁아서 한 줄만 선명하고 나머지는 흐린 화면이에요. 이 스킬의 "초점 띠"이고, `look.ts`의 `dof`가 정하고, `frame0.mjs`가 초점 비율(2 미만이면 실패)로, 레퍼런스에서는 `dof.bands`로 재요.
+- 패럴랙스(parallax): 가까운 것은 빠르게, 먼 것은 느리게 움직여 깊이가 느껴지게 하는 것이에요. `references/art-direction.md`의 "크기·속도·블러가 다른 3겹"이에요.
+- 더치 앵글(dutch angle): 화면을 몇 도 기울여 긴장을 주는 구도예요. 애니메이션 PV 스타일에서 −2~−4°로 써요(`references/art-direction.md`).
+
+## 렌즈 질감
+
+- 모션 블러(motion blur): 빠르게 움직이는 것이 움직임 방향으로 번져 보이는 것이에요. wordcut은 휩 팬 동안 방향성 블러를 넣고(`scene.ts`), 레퍼런스에서는 `blur.alongPx`, `blur.anisotropy`로 재요.
+- 색수차·RGB 분리(chromatic aberration / RGB split): 빨강·초록·파랑이 살짝 어긋나 가장자리에 색 테두리가 생기는 렌즈 질감이에요. wordcut `timing.ts`의 `opener.split`, `splitRest`가 정해요.
+- 그레인(film grain): 필름 같은 미세한 입자감이에요. `look.ts`의 `grain`이 정하고, 레퍼런스에서는 `look.grain`으로 재요. 그레인을 넣으면 md5로 반복 프레임을 못 찾아요(`references/gotchas.md`).
+- 비네트(vignette): 화면 가장자리가 가운데보다 어두워지는 것이에요. `look.ts`의 `vignette`가 정해요.
+
+## 리듬
+
+- 비트·박 격자(beat / beat grid): 음악의 박을 시간 눈금으로 삼아 컷을 거기에 맞추는 것이에요. `references/beat-grid.md`, `scripts/beat-grid.py`, `templates/BEATSHEET.md`, wordcut `timing.ts`의 `MUSIC.hits`에 있어요.
+- 홀드(hold): 움직임을 멈추고 한 화면에 머무는 구간이에요. 움직임이 착지하는 자리이고, 레퍼런스에서는 `edit.holds`로, wordcut에서는 `plan.ts`의 `hold`가 컷 간격을 정해요.
+- 오버슈트(overshoot): 목표를 조금 지나쳤다가 돌아와 자리 잡는 움직임이에요. 깔끔한 제품 스타일에서는 도착에만 써요(`references/art-direction.md`).
+- 임팩트 프레임(impact frame): 큰 타격 순간에 1~2프레임 화면을 반전시키는 강조예요. 애니메이션 PV 스타일에 있어요(`references/art-direction.md`).
+- 덕킹(ducking): 대사가 나오는 동안 음악 볼륨을 자동으로 낮추는 믹스예요. `scripts/mix-mux.sh`가 해요.
+
+## 화면과 출력
+
+- 첫 프레임·썸네일 프레임(first frame / thumbnail frame): 재생 전이나 피드에서 처음 보이는 한 장이에요. wordcut은 0프레임을 `frame0.mjs --check`로 판정하고, 홈페이지 템플릿은 마지막 프레임을 포스터로 써요(`references/brand-intro.md`).
+- 세이프 영역(safe area): 화면 가장자리에서 잘리거나 플랫폼 UI에 가려질 수 있어 글자를 두지 않는 안쪽 경계예요. 이 스킬에는 전용 검사가 없어요. 가장자리 색은 `verify.sh`가 재요.
+- 키프레임(keyframe): 이 스킬에서는 영상 생성의 시작 화면으로 쓰는 이미지 한 장이에요(3단계). 애니메이션 도구의 "값을 찍는 시점"과 다른 뜻이에요.
+- 컨택트 시트(contact sheet): 영상의 여러 시점을 한 장에 격자로 늘어놓은 이미지예요. `scripts/verify.sh`와 `scripts/clipsheet.sh`가 만들어요.
+- 크로마키(chroma key): 단색(초록) 배경을 지워 캐릭터만 떼어 내는 합성이에요. 이 스킬은 RGB 기준 `colorkey`를 쓰는 `scripts/key-plate.sh`로 해요.
+- 키네틱 타이포그래피(kinetic typography): 글자 자체가 움직이며 내용을 전하는 모션 그래픽이에요. wordcut 끝의 교과서 글자가 흩어지고 단어가 사전 표제어가 되는 구간, `productions/carry-demo`의 단어가 라벨이 되는 경계가 이것이에요.
+- 스크롤 연동 영상(scroll-scrubbed video): 스크롤 위치에 따라 영상의 재생 위치가 앞뒤로 움직이는 웹 기법이에요. 이 스킬의 홈페이지 템플릿은 쓰지 않고 자동 재생 반복을 써요. 쓰려면 `references/brand-intro.md`의 외부 라이브러리 규칙을 따라요.
diff --git a/skills/motion-video-production/references/gotchas.md b/skills/motion-video-production/references/gotchas.md
index dfef2f9..a0f8efa 100644
--- a/skills/motion-video-production/references/gotchas.md
+++ b/skills/motion-video-production/references/gotchas.md
@@ -81,7 +81,7 @@
- 하네스: 없음.
**G15. 컷 하나만 바꿨는데 뒤 컷이 모두 밀린다 / 첫 컷 앞이 비어 있다**
-- 예방: 컷을 자르거나 늘리면 이후 컷의 시작 시간을 다시 계산하고 `edit` 게이트를 다시 돌립니다.
+- 예방: 컷을 자르거나 늘리면 이후 컷의 시작 시간과 음악 싱크 지점 앞뒤 컷 길이를 다시 계산하고 `edit` 게이트를 다시 돌립니다.
- 하네스: B02, B03(첫 컷이 0초에서 시작하는지, 컷 사이에 빈틈·겹침이 없는지. 컷은 시작 시간순으로 정렬해서 검사).
**G16. 컷 속도를 0.9~1.1배 밖으로 바꾼다**
@@ -93,10 +93,11 @@
**G17. loudnorm을 한 번만 적용하면 목표값에서 어긋난다**
- 증상: 짧은 클립에서 목표와 0.5~1.5 LUFS 벗어납니다.
-- 예방: 최종 mp4에서 다시 측정하고 차이를 그대로 보고합니다.
+- 예방: WAV가 아니라 mux한 최종 mp4에서 다시 측정하고 차이를 그대로 보고합니다.
- 하네스: `final` 단계 F05(목표 ± 1.5 LUFS).
**G18. AAC로 인코딩하면 true peak가 올라간다**
+- 증상: 거의 꽉 찬 WAV를 AAC로 인코딩하면 0dBTP 위로 밀립니다.
- 예방: mux 후 true peak를 다시 측정하고 -1.5 dBTP 이하로 여유를 둡니다.
- 하네스: F06(true peak가 -1.0 dBTP를 넘으면 막음).
@@ -116,17 +117,19 @@
- 예방: 종료 코드로 판정할 때는 파이프를 쓰지 않고 파일로 저장한 뒤 읽습니다. 하네스는 보고서 파일(`qa/gate-<단계>.txt`)을 남깁니다.
**G22. 크로마키가 민트·청록 색까지 지운다**
+- 증상: 초록 배경과 함께 민트·청록 브랜드 색까지 지워집니다.
- 원인: `chromakey`는 YUV 기준입니다.
-- 예방: RGB 기준의 `colorkey`를 씁니다(`scripts/key-plate.sh`).
+- 예방: RGB 기준의 `colorkey` 0.22~0.24를 씁니다(`scripts/key-plate.sh`).
**G23. ffmpeg 빌드에 drawtext가 없을 수 있다**
- 예방: 글자는 Remotion에서 올립니다.
**G24. whisper가 메모리 부족으로 멈춘다**
-- 예방: 멈춘 프로세스를 종료하고 작은 모델로 다시 실행합니다.
+- 증상: openai-whisper가 메모리 부족으로 멈춥니다.
+- 예방: 멈춘 PID를 종료하고 작은 모델로 다시 실행합니다. whisper.cpp는 빠르지만 토큰 시각이 싱크 지점에 쓸 만큼 정확하지 않으므로, 단어 시작 시각은 openai-whisper `--word_timestamps`로 잡습니다. silencedetect는 무음 구간만 알려 주므로 쉼 없이 이어지는 발화의 단어 시작에는 쓰지 않고, 대사 앞뒤 무음 경계를 확인할 때만 씁니다.
**G25. h264로 인코딩한 영상은 같은 프레임도 바이트가 달라진다**
-- 증상: md5로 반복 프레임을 찾으면 놓칩니다.
+- 증상: md5로 반복 프레임을 찾으면 놓칩니다. 그레인을 넣은 영상은 모든 프레임이 달라서 반복이 0으로 나옵니다.
- 예방: 차이 비교(임계값)나 렌더된 PNG 비교를 씁니다.
**G26. ffmpeg 필터에서 `adelay` 뒤 `apad`와 `atrim`을 쓰면 지연이 사라진다**
@@ -137,7 +140,7 @@
**G27. ICC 프로파일이 붙은 영상에서 `ffprobe -of csv=p=0`이 프레임 수를 `30,`처럼 출력한다**
- 증상: 프레임 수 비교가 실패해 정상 영상이 막히거나 `mix-mux.sh`가 중단됩니다. Remotion 기본 설정(JPEG 프레임)으로 렌더한 영상에서 생깁니다.
- 원인: 프레임 부가 데이터(side data)가 있으면 csv 출력에 빈 필드가 붙습니다.
-- 예방: 값 하나를 읽을 때는 `-of default=nw=1:nk=1`을 씁니다. Remotion은 `remotion.config.ts`에서 프레임 형식을 PNG로 지정합니다.
+- 예방: 값 하나를 읽을 때는 `-of default=nw=1:nk=1`을 씁니다. 렌더 스크립트(`pipeline/render.mjs`, `productions/wordcut/render.mjs`)가 렌더할 때 프레임 형식으로 PNG를 지정합니다.
- 하네스: V04, F02, `scripts/mix-mux.sh`, `scripts/verify.sh`가 이 형식으로 읽습니다. `selftest.sh`에 회귀 사례가 있습니다(PIL이 있을 때).
## 보고
diff --git a/skills/motion-video-production/references/licensing.md b/skills/motion-video-production/references/licensing.md
index cb5d39f..ed4b3ee 100644
--- a/skills/motion-video-production/references/licensing.md
+++ b/skills/motion-video-production/references/licensing.md
@@ -1,6 +1,6 @@
# 외부 도구 라이선스·이용 안내
-- 확인 날짜: **2026-10-02**
+- 확인 날짜: **2026-10-02** (1장 Remotion, 1-2장 HyperFrames·GSAP, 1-3장 글꼴은 **2026-10-25**에 다시 확인)
- 확인 방법: 아래 각 출처 URL의 공개 페이지를 이 날짜에 조회했습니다. "요약 확인" 표시 항목은 원문 전체가 아니라 요약본으로 확인한 내용입니다. 상업 공개 전에 원문으로 다시 확인합니다.
- 확인하지 못한 항목은 "미확인"으로 두었습니다.
- 이 문서는 법률 자문이 아닙니다. (4장 참조)
@@ -9,7 +9,7 @@
출처
- https://www.remotion.dev/docs/license (미확인)
-- https://github.com/remotion-dev/remotion/blob/main/LICENSE.md (요약 확인)
+- https://github.com/remotion-dev/remotion/blob/main/LICENSE.md (2026-10-25 원문 확인: https://raw.githubusercontent.com/remotion-dev/remotion/main/LICENSE.md)
- https://www.remotion.pro/license (요약 확인)
확인한 내용
@@ -19,10 +19,38 @@
- 금지: Remotion 코드를 복사·수정해 자신의 파생 제품을 판매·대여·라이선스·재라이선스·서브라이선스하는 목적의 사용.
- 미확인: "직원"의 정의(계약직·프리랜서 포함 여부 등). 원문 LICENSE.md와 Remotion FAQ에서 확인해야 합니다.
+- 2026-10-25 원문 문구: 무료 라이선스 대상은 "an individual", "a for-profit organization with up to 3 employees", "a non-profit or not-for-profit organization", "evaluating whether Remotion is a good fit, and are not yet using it in a commercial way". 원문에는 "In Remotion 5.0, the license will slightly change."라는 예고가 있습니다. 엔진은 4.0.529로 고정돼 있습니다.
+
이 저장소와의 관계
-- 이 저장소는 Remotion 코드를 포함하거나 재배포하지 않습니다.
-- 사용자가 `remotion/` 템플릿을 프로젝트 폴더로 복사한 뒤 `npm install`로 Remotion을 직접 설치하고, 본인 또는 소속 조직의 해당 여부를 스스로 확인한 뒤 사용합니다.
-- 소속 조직의 직원이 4명 이상이면 영상 제작 전에 Company License를 구매해야 합니다.
+- 이 저장소는 Remotion 소스 코드를 포함하거나 재배포하지 않습니다. `engines/remotion/`에는 Remotion을 쓰는 이 저장소의 코드(MIT)와 `package.json`·`package-lock.json`(버전 고정)만 있습니다.
+- 사용자가 엔진 폴더를 작업 폴더로 복사한 뒤 `npm ci`로 Remotion을 직접 설치합니다. 본인 또는 소속 조직이 무료 대상인지 스스로 확인한 뒤 사용합니다.
+- 소속 조직의 직원이 4명 이상인 영리 조직이면 영상 제작 전에 Company License를 구매해야 합니다. 이 조건이 맞지 않으면 HyperFrames 엔진을 씁니다(1-2장).
+
+## 1-2. HyperFrames와 GSAP (HTML 엔진)
+
+출처
+- https://github.com/heygen-com/hyperframes/blob/main/LICENSE (2026-10-25 원문 확인: Apache License, Version 2.0, 저작권 HeyGen, Inc.)
+- npm `hyperframes` 0.8.143의 `license` 필드: `Apache-2.0`
+- npm `gsap` 3.14.2의 `license` 필드: "Standard 'no charge' license: https://gsap.com/standard-license"
+- https://gsap.com/standard-license (2026-10-25 조회. 페이지에는 "GSAP is now free for everyone, thanks to Webflow's support!"만 보였고 조항 전문은 확인하지 못함)
+
+확인한 내용
+- HyperFrames는 Apache-2.0입니다. 회사 규모에 따른 조건이 없습니다. 재배포할 때는 라이선스 사본과 고지를 함께 둡니다(이 저장소는 재배포하지 않고 npm으로 설치합니다).
+- GSAP 3.14.2의 README에는 "the entire GSAP toolset is FREE, even for commercial use"라고 적혀 있습니다. 표준 무료 라이선스의 제한 조항(예: 경쟁 제품 관련)은 미확인입니다. 상업 공개 전에 위 URL에서 원문을 확인합니다.
+
+## 1-2-1. Three.js (홈페이지 템플릿)
+
+- `templates/homepage-intro.html`이 `[email protected]`을 jsDelivr에서 불러옵니다. npm `license` 필드: MIT (2026-10-25 확인). 저장소에는 Three.js 파일을 넣지 않았습니다.
+
+## 1-3. 글꼴
+
+| 글꼴 | 패키지(고정 버전) | 라이선스 | 확인 |
+|---|---|---|---|
+| Pretendard | `pretendard` 1.3.9 | SIL Open Font License 1.1 | 패키지 `license` 필드와 동봉 LICENSE (2026-10-25) |
+| 나눔명조 | `@fontsource/nanum-myeongjo` 5.3.0 | SIL Open Font License 1.1 | 패키지 `license` 필드 (2026-10-25) |
+| JetBrains Mono | `@fontsource/jetbrains-mono` 5.3.0 | SIL Open Font License 1.1 | 패키지 `license` 필드 (2026-10-25) |
+
+- 글꼴 파일은 저장소에 커밋하지 않고 `npm ci`로 받습니다. OFL은 글꼴을 영상에 쓰는 것을 허용하고, 글꼴 파일 자체를 단독으로 판매하는 것을 금지합니다.
## 2. 음악·목소리 도구의 무료 플랜과 상업 이용
diff --git a/skills/motion-video-production/references/pitfalls.md b/skills/motion-video-production/references/pitfalls.md
index 4521d67..08101be 100644
--- a/skills/motion-video-production/references/pitfalls.md
+++ b/skills/motion-video-production/references/pitfalls.md
@@ -7,9 +7,27 @@
- 화면 안에 읽히는 글자·로고를 넣지 않기로 했다면, 자막과 타이틀은 Remotion 쪽에서만 올립니다.
- 욱일기를 연상시키는 방사형 빛줄기와 붉은 원형 해 구도는 피합니다. 공개 전에 노을·일출 장면을 따로 확인합니다.
-## 이미지·영상 생성
-- 영상 모델이 바닥에 소품을 만들어 내면 해당 프레임 구간만 마스크로 지웁니다.
-
## 조립·측정
-- 컷을 자르면 음악 싱크 지점 앞뒤 컷 길이를 다시 맞춰야 합니다.
- ffmpeg의 `loudnorm` 요약에서 파일의 라우드니스는 "Input Integrated" 줄입니다.
+
+## 엔진 (Remotion, HyperFrames)
+- **매끄러운 페이지 전환도 bare입니다.** 아무것도 살아남지 않는 아이리스는 carry 0.00(FAIL)으로 잽니다. 두 레이어 위에 요소 하나를 두고 그 구간에서 움직이거나 키운 뒤 `pipeline/probe.mjs`를 돌립니다.
+- **선언한 상자는 어긋납니다.** `track.ts`의 글자 상자는 스틸에서 잰 잉크 상자입니다. 글꼴이나 크기를 바꾸면 다시 잽니다. 화면과 `track.ts`가 같은 `scene(t)`를 읽게 만들어야 위치가 서로 어긋나지 않습니다.
+- **경계 0개는 1.00이 아닙니다.** probe는 비트 시트보다 경계를 적게 찾으면 WARN을 냅니다. 몰아치기 안의 경계는 점수에서 빠지므로 몰아치기가 많은 작품은 WARN이 정상입니다.
+- **흔들기는 페이지 배경을 드러냅니다.** 잘라 내는 틀을 흔들면 가장자리가 움직입니다. 고정된 `overflow: hidden` 틀 안의 안쪽 레이어만 흔들고, `verify.sh`의 가장자리 색 검사로 확인합니다.
+- **글꼴은 고정 버전 npm 패키지에서만** 불러오고, 첫 프레임 전에 다 불러올 때까지 기다립니다(`delayRender`, `document.fonts.load`). 헤드리스 브라우저에는 시스템 글꼴이 없을 수 있습니다. 한글 웹폰트가 unicode-range로 나뉘어 있으면 화면에 나올 글자로 직접 불러옵니다(`productions/wordcut/fonts.ts`).
+- **결정성 확인**: 같은 컴포지션을 두 번 렌더해 `framemd5`를 비교합니다.
+
+## 키잉과 플레이트
+- 영상 모델이 만든 소품은 있는 프레임 구간만 가립니다. 캐릭터가 그 소품을 잡기 직전에 가림을 풀면 "집어 드는" 것처럼 보입니다.
+- 비트마다 영상 시각 → 클립 시각을 계산해서, 동작의 타격(도장이 찍히는 순간)이 박에 오게 클립 시각을 풉니다.
+
+## 측정
+- yuv420p 영상은 1px로 자르기 전에 `format=rgb24`가 필요합니다.
+- `node --test <폴더>`는 실패합니다. 파일 경로를 직접 넘기고, 넘긴 파일이 모두 있는지 먼저 확인합니다. 통과 개수(`# pass`)를 봅니다.
+- 무거운 렌더는 기기당 한 번에 하나만 돌리고, 시간과 부하를 함께 적습니다.
+- fps가 다른 영상의 움직임은 프레임당 값으로 비교하면 틀립니다. `ref-analyze.py`는 1/30초당으로 환산합니다.
+- Python 3.14에서 numpy 2.2.x는 같은 프레임을 매번 다른 값으로 읽었습니다. `requirements-ref.txt`의 버전을 씁니다.
+
+## 오디오
+- zsh에서 `"$var[$i]"`는 배열 첨자입니다. ffmpeg 필터 그래프는 셸 문자열 대신 Node나 Python에서 만듭니다. zsh는 변수 안의 명령을 단어로 나누지 않으므로 `$CMD args` 대신 함수를 씁니다.
diff --git a/skills/motion-video-production/references/providers.md b/skills/motion-video-production/references/providers.md
index f6931dc..e60b7b0 100644
--- a/skills/motion-video-production/references/providers.md
+++ b/skills/motion-video-production/references/providers.md
@@ -33,3 +33,21 @@
- `pip install openai-whisper` 후 `whisper <wav> --model small --language ko`.
- 모델 파일은 수백 MB이므로 다운로드 전에 사용자에게 알립니다.
- 단어 단위 시간이 필요하면 `--word_timestamps True --output_format json`을 씁니다.
+
+## 목소리 자동화: composio CLI (`engines/remotion/pipeline/vo.mjs`)
+- 계정 확인: `composio link elevenlabs --list`, `composio link fish_audio --list`. ACTIVE가 없으면 `composio link <toolkit>`으로 사용자가 직접 연결합니다.
+- `vo.mjs`는 실행할 때 계정을 고릅니다. ACTIVE 연결이 하나면 그것을, 여러 개면 `voices.json`의 `"account"`나 환경 변수 `COMPOSIO_ACCOUNT_ELEVENLABS`, `COMPOSIO_ACCOUNT_FISH`를 씁니다. 저장소에는 계정을 적지 않습니다.
+- `productions/<id>/vo/script.json`(`id, who, text, caption`)과 `voices.json`을 채우고 `node pipeline/vo.mjs productions/<id>/vo`를 돌립니다. 없는 줄만 생성합니다. 호출마다 크레딧이 들므로 실행 전에 사용자에게 알립니다.
+- **ElevenLabs**(`ELEVENLABS_TEXT_TO_SPEECH`, 모델 `eleven_v3`): 무료 플랜은 API로 라이브러리 음성을 쓸 수 없습니다("paid_plan_required"). 기본 제공 음성을 씁니다. 실존 인물의 복제처럼 보이는 음성은 고르지 않습니다.
+- **Fish Audio**(`FISH_AUDIO_LIST_VOICE_MODELS`, `FISH_AUDIO_SYNTHESIZE_SPEECH`): 캐릭터 목소리에 좋습니다. 유명인·정치인·아이돌·저작물 캐릭터의 복제는 고르지 않습니다.
+- 큰 응답은 `{outputFilePath}` 파일로 옵니다(`vo.mjs`가 읽습니다).
+- 받은 줄은 `node pipeline/vo-assemble.mjs <vo폴더> <초> <cues.json>`으로 다듬고, 라우드니스를 맞추고, 시각에 배치해 `vo_track.wav` 하나로 만듭니다.
+- 고유명사가 가장 잘 틀립니다. 소리 나는 대로 적고, 받아쓰기로 확인하고, 다른 시드로 다시 받거나 좋은 테이크에서 그 구절만 잘라 붙입니다.
+
+## 초록 배경 캐릭터 애니메이션: Grok CLI
+- `reference_to_video`에 `first_frame`(16:9 초록 배경 포즈 한 장)과 `images`(포즈 시트)를 함께 넣으면 생김새가 유지됩니다. 해상도는 720p로 지정합니다(기본값은 480p). 약 24fps가 나옵니다.
+- 프롬프트에 "perfectly flat, evenly lit chroma-key green background with a locked-off static camera", "the character stays fully in frame; nothing is left on the ground"를 넣습니다.
+- 마지막 장면은 이전 클립의 마지막 프레임(`ffmpeg -sseof -0.1 -i clip.mp4 -frames:v 1 end.png`)을 `first_frame`으로 다시 생성합니다.
+
+## 음악 워커
+- 기본 스코어는 `node pipeline/score.mjs productions/<id>`입니다. 더 공들인 음악은 `templates/MUSIC_BRIEF.md`를 채워 코딩 에이전트에게 맡기고, 결과의 샘플 수·라우드니스·피크·타격 시각을 직접 다시 잽니다. 워커의 종료 코드 0만으로 성공이라고 보지 않고 로그 끝을 읽습니다.
diff --git a/skills/motion-video-production/references/reference-analysis.md b/skills/motion-video-production/references/reference-analysis.md
new file mode 100644
index 0000000..b68bdd5
--- /dev/null
+++ b/skills/motion-video-production/references/reference-analysis.md
@@ -0,0 +1,89 @@
+# 레퍼런스 분석 (OpenCV)
+
+"이 영상처럼 만들어 주세요"라는 요청은 보통 질감보다 움직임과 편집 때문에 나옵니다. 그런데 눈으로 본 인상은 숫자로 옮기지 않으면 계획에 들어가지 않고, 렌더가 맞았는지도 판정할 수 없습니다. 이 단계는 레퍼런스 영상을 OpenCV로 분해해 숫자로 남기고, 계획·타이밍·질감이 그 숫자를 인용하게 만듭니다. 렌더가 끝나면 같은 도구로 렌더를 재서 목표와 비교합니다.
+
+![레퍼런스 분석 파이프라인](assets/ref-pipeline.png)
+
+## 실행
+
+```bash
+python3 -m venv .venv-ref
+.venv-ref/bin/pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
+mkdir -p "$PROJECT_ROOT/ref" "$PROJECT_ROOT/qa"
+.venv-ref/bin/python -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 \
+ -o "$PROJECT_ROOT/ref/analysis.json" --targets "$PROJECT_ROOT/ref/targets.json"
+cp "$SKILL_ROOT/templates/ANALYSIS.md" "$PROJECT_ROOT/ref/ANALYSIS.md" # 숫자를 옮기고 뜻을 채운다
+python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
+```
+
+- 의존성은 `requirements-ref.txt`에 정확한 버전으로 고정돼 있습니다. 2026-10-24에 Python 3.14에서 확인했습니다. numpy 2.2.x는 Python 3.14에서 같은 프레임을 매번 다른 값으로 읽었습니다(지원하지 않는 조합). 버전을 바꾸면 같은 영상을 두 번 분석해 값이 같은지 먼저 봅니다.
+- `-I`는 현재 폴더의 파이썬 파일을 불러오지 않게 합니다. 받은 영상 옆에서 실행해도 안전합니다.
+- 36초짜리 540x960 영상 하나에 노트북에서 약 1분 걸립니다.
+- 레퍼런스 영상과 그 프레임은 저장소에 커밋하지 않습니다. `ref/`에는 숫자(`analysis.json`, `targets.json`, `ANALYSIS.md`)만 둡니다.
+
+## 렌더 후 비교
+
+```bash
+.venv-ref/bin/python -I "$SKILL_ROOT/scripts/ref-analyze.py" "$PROJECT_ROOT/out/final.mp4" -o "$PROJECT_ROOT/qa/render-analysis.json"
+python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
+```
+
+게이트는 `targets.json`의 지표마다 `목표, 값, 몇 % 차이, 허용 범위`를 한 줄씩 적고, 하나라도 허용 범위를 벗어나면 종료 코드 1로 끝납니다. 렌더 분석이 최종본보다 오래됐으면 비교하지 않고 막습니다. 게이트는 완성된 mp4만 재기 때문에 Remotion, HyperFrames, 손 편집 어느 쪽으로 만들었든 같은 방식으로 동작합니다. 허용 오차를 한꺼번에 넓히거나 좁히려면 `GATE_REF_TOL_SCALE`을 씁니다. 지표별로 바꾸려면 `targets.json`을 고치고 `ANALYSIS.md`에 이유를 적습니다. `tol`은 목표 대비 비율이고, 목표가 0인 지표에서만 절대 차이로 읽습니다.
+
+## 지표
+
+모든 프레임은 짧은 변을 540px로 줄인 뒤 잽니다. 크기가 다른 영상끼리 비교하려는 것입니다. 움직임 지표(프레임 간 차이, 흐름)는 1/30초당 값으로 바꿔 적습니다. 그래서 54fps 레퍼런스와 30fps 렌더를 그대로 비교할 수 있습니다. 같은 애니메이션을 60fps(Remotion)와 30fps(HyperFrames)로 렌더해 확인했고, 12개 지표가 모두 허용 범위 안이었습니다(흐름 −17%, 블러 +50%로 허용 한계, 2px과 3px의 한 칸 차이, 나머지 ±3% 이내). 기준값(정지 판정, 컷 판정)과 단위는 `analysis.json`의 `thresholds`, `units`에 함께 기록됩니다.
+
+### 편집 리듬
+
+| 지표 | 쉬운 말 | 재는 방법 | 다르면 고칠 것 |
+|---|---|---|---|
+| `edit.cuts`, `cutCount`, `cutsPerMin` | 화면이 통째로 바뀐 시각 | 앞 프레임과의 HSV 히스토그램 상관(`cv2.calcHist`, `cv2.compareHist` CORREL)이 0.6 아래이거나 평균 밝기 차(`cv2.absdiff`)가 25를 넘는 프레임. 0.1초 안에 이어진 것은 하나로 합칩니다 | 컷이 적으면 장을 더 쪼개고, 몰아치는 구간(짧은 컷이 이어지는 곳)을 만듭니다 |
+| `edit.shotMeanS`, `shotCV` | 컷 하나의 평균 길이와 길이가 얼마나 들쭉날쭉한지 | 컷 사이 간격의 평균, 표준편차 ÷ 평균 | CV가 낮으면 모든 컷 길이가 비슷한 슬라이드쇼입니다. 짧은 컷과 긴 홀드를 섞습니다 |
+| `edit.stillShare` | 거의 안 움직이는 프레임의 비율 | 앞 프레임과의 평균 밝기 차(1/30초당)가 1.0 미만인 프레임 수 ÷ 전체 | 정지 프레임이 너무 많으면 홀드를 줄이거나 홀드 중에도 천천히 미는 움직임을 넣습니다. 너무 적으면 읽을 시간을 줍니다 |
+| `edit.holds`, `holdMeanS`, `holdLongestS` | 0.25초 이상 이어진 정지 구간 | 정지 프레임이 이어진 길이 | 홀드가 레퍼런스보다 길면 줄이고, 가장 긴 홀드는 핵심 문장 하나에만 씁니다 |
+| `edit.meanDiff` | 화면이 얼마나 바뀌는지의 평균 | `cv2.absdiff` 평균(0-255), 1/30초당으로 환산 | 낮으면 전체가 느리게 느껴집니다. 전환을 빠르게 하거나 화면 안의 움직임을 늘립니다 |
+
+### 움직임
+
+| 지표 | 쉬운 말 | 재는 방법 | 다르면 고칠 것 |
+|---|---|---|---|
+| `motion.meanFlow`, `p90Flow` | 화면 속 물체가 1/30초에 몇 px 움직이는지 | Farneback 광학 흐름(`cv2.calcOpticalFlowFarneback`)의 크기 평균. 짧은 변 270px에서 재고 540px, 1/30초 기준으로 환산합니다 | 낮으면 카메라 이동과 요소 이동을 키웁니다 |
+| `motion.dominantDir` | 주로 어느 방향으로 움직이는지 (0 = 오른쪽, 90 = 아래, 180 = 왼쪽, 270 = 위) | 흐름 크기로 가중한 방향 히스토그램(45도 칸 8개)의 최빈값 | 레퍼런스가 한 방향으로 흐르면 전환 방향을 맞춥니다 |
+| `motion.transitions`, `transitionPeakMean`, `transitionMovingMeanS` | 컷 앞뒤 0.25초 동안 가장 빠른 움직임과 움직인 시간 | 컷 주변 흐름의 최댓값과, 흐름이 1/30초당 2px를 넘는 시간 | 전환 피크가 낮으면 휙 넘기는 카메라(whip)를 더 길고 빠르게 만듭니다. 컷이 움직임 없이 툭 바뀌면 이 값이 0에 가깝습니다 |
+| `blur.alongPx`, `acrossPx`, `anisotropy` | 빠르게 움직이는 프레임에서 번짐의 길이와 방향성 | 흐름이 1/30초당 4px를 넘는 프레임의 고주파 밝기(밝기 - `cv2.blur` 9x9)에서, 움직임 방향과 그 수직 방향의 자기상관이 0.5 아래로 떨어지는 거리(px) | 레퍼런스보다 번짐이 짧으면 전환에 모션 블러를 넣습니다. 방향성이 1보다 크면 번짐이 움직임 방향으로 길다는 뜻입니다. 추정값이라 정밀 측정으로 쓰지 않습니다 |
+
+### 질감
+
+| 지표 | 쉬운 말 | 재는 방법 | 다르면 고칠 것 |
+|---|---|---|---|
+| `dof.bands`, `look.sharpRatio` | 화면의 위아래와 가운데 중 어디가 선명한지(심도) | 위에서 아래로 5개 띠의 라플라시안 분산(`cv2.Laplacian`)을 가장 선명한 띠로 나눈 값. sharpRatio는 위아래 25% ÷ 가운데 50% | 가운데만 선명하고 위아래가 낮으면 얕은 심도입니다. 렌더가 전부 선명하면 위아래에 흐림을 넣습니다 |
+| `look.rms` | 대비 | 밝기의 표준편차 ÷ 255 | 높으면 대비를 낮추고, 낮으면 올립니다 |
+| `look.sat`, `look.chroma` | 채도와 색 농도 | HSV 방식 채도 평균, (최대 - 최소) ÷ 255 평균. 검정에 가까운 픽셀은 sat이 불안정해서 chroma를 함께 봅니다 | 색 농도를 렌즈·색 보정 값으로 맞춥니다 |
+| `look.black` | 가장 어두운 부분이 얼마나 검은지 | 밝기 1번째 백분위수(0-255) | 높으면 검정이 떠 있는(물 빠진) 느낌입니다 |
+| `look.grain`, `grain` | 필름 같은 입자감 | 가장 평평한 20% 8x8 블록에서 고주파(밝기 - 3x3 평균)의 크기 중앙값 | 렌더가 너무 깨끗하면 그레인을 더합니다. h264 인코딩이 미세한 그레인을 지우므로 인코딩한 뒤에 잽니다 |
+
+## 숫자가 말하지 않는 것
+
+- 글자를 읽을 수 있는지, 타이포그래피가 장마다 바뀌는지, 캐릭터가 변형됐는지는 숫자로 잡히지 않습니다. 컨택트 시트를 직접 봅니다.
+- 컷 검출은 히스토그램과 밝기 차로 하므로, 색이 같은 장끼리 밀려 들어오는 전환은 컷으로 안 잡힐 수 있습니다. `ANALYSIS.md`에 눈으로 센 장면 수를 함께 적습니다.
+- 컷은 한 프레임에서 일어나므로 컷 판정(평균 밝기 차 25)은 fps로 환산하지 않습니다. fps가 아주 낮은 영상에서는 빠른 움직임이 컷으로 잡힐 수 있습니다.
+
+## 실제 예시: 36초 9:16 레퍼런스와 첫 렌더
+
+단어 하나를 여러 장면이 차례로 넘겨받는 36초짜리 9:16 레퍼런스(540x960, 약 54fps)와, 같은 형식으로 만든 25초짜리 첫 렌더(1080x1920, 30fps)를 같은 명령으로 분석했습니다. 2026-10-25 측정입니다.
+
+| 지표 | 레퍼런스 | 첫 렌더 | 읽은 것 |
+|---|---|---|---|
+| 컷 수 / 분당 컷 | 51 / 84.1 | 14 / 33.6 | 장이 바뀌는 빈도가 절반 이하입니다 |
+| 평균 컷 길이 / CV | 0.70초 / 4.81 | 1.67초 / 2.13 | 레퍼런스는 0.11~0.13초 컷이 몰아친 뒤 긴 홀드로 갑니다 |
+| 정지 프레임 비율 | 62.0% | 73.3% | 렌더가 더 오래 멈춰 있습니다 |
+| 평균 홀드 / 가장 긴 홀드 | 0.94초 / 4.7초 | 1.39초 / 4.6초 | 렌더의 홀드가 평균 0.45초 깁니다 |
+| 평균 화면 변화 (1/30초당) | 10.8 | 3.6 | 렌더가 전체적으로 3분의 1만 바뀝니다 |
+| 평균 흐름 / 상위 10% (1/30초당) | 2.96 / 9.53 px | 0.74 / 2.39 px | 화면 속 움직임이 4분의 1입니다 |
+| 전환 피크 흐름 / 움직인 시간 | 43.2 px / 0.27초 | 12.5 px / 0.20초 | 휙 넘기는 전환이 레퍼런스의 3분의 1 속도입니다 |
+| 블러 길이 (움직임 방향 / 수직) | 3 / 2 px (방향성 1.5) | 2 / 2 px (1.0) | 렌더 전환에는 방향성 있는 번짐이 없습니다 |
+| 심도 띠 (위→아래) | 0.31 0.63 0.97 0.21 0.25 | 0.23 0.39 0.97 0.45 0.13 | 둘 다 가운데가 선명합니다 |
+| 대비 / 색 농도 / 검정 / 그레인 | 0.144 / 0.061 / 64.5 / 0.073 | 0.162 / 0.054 / 52.3 / 0.071 | 질감은 가깝습니다. 그레인은 거의 같습니다 |
+
+이 숫자로 고칠 순서가 정해집니다. 질감 숫자를 더 맞추는 것보다 (1) 컷을 늘리고 짧은 컷이 몰아치는 구간을 만들고, (2) 전환의 휙 넘김을 빠르게 하고 움직임 방향으로 블러를 넣고, (3) 홀드 사이에도 천천히 미는 움직임을 넣는 것이 먼저입니다. 첫 렌더는 정지 프레임 질감 숫자만 맞춘 상태였고, 움직임과 편집 숫자는 아무도 재지 않았습니다.
diff --git a/skills/motion-video-production/scripts/dupcheck.py b/skills/motion-video-production/scripts/dupcheck.py
index 396dba2..415b875 100755
--- a/skills/motion-video-production/scripts/dupcheck.py
+++ b/skills/motion-video-production/scripts/dupcheck.py
@@ -21,7 +21,7 @@ import sys
def main():
- if len(sys.argv) < 2:
+ if len(sys.argv) < 2 or sys.argv[1] in ("-h", "--help"):
print(__doc__)
return 2
edit = json.load(open(sys.argv[1], encoding="utf-8"))
diff --git a/skills/motion-video-production/scripts/ref-analyze.py b/skills/motion-video-production/scripts/ref-analyze.py
new file mode 100644
index 0000000..94e6325
--- /dev/null
+++ b/skills/motion-video-production/scripts/ref-analyze.py
@@ -0,0 +1,274 @@
+#!/usr/bin/env python3
+"""레퍼런스 영상을 OpenCV로 분해해 숫자 하나의 JSON으로 남긴다. 편집 리듬, 움직임, 블러, 심도, 그레인, 질감.
+
+사용법:
+ python3 -I ref-analyze.py <video.mp4> [-o analysis.json] [--targets targets.json]
+ -o 분석 결과 JSON (기본: 표준 출력)
+ --targets 이 분석을 목표값으로 삼는 targets.json 도 함께 쓴다 (gate.py ref 가 읽는다)
+의존: scripts/requirements-ref.txt (opencv-python-headless, numpy, 정확한 버전 고정)
+
+모든 프레임은 짧은 변을 540px로 줄인 뒤 잰다(크기가 다른 영상끼리 비교할 수 있게). 지표의 뜻과 고칠 방향은
+references/reference-analysis.md 에 있다. 영상과 프레임은 저장하지 않는다. 숫자만 남긴다.
+"""
+import argparse
+import json
+import sys
+
+import cv2
+import numpy as np
+
+SHORT = 540 # 분석 해상도: 짧은 변
+FLOW_SHORT = 270 # 광학 흐름 해상도: 짧은 변 (속도 때문에 절반)
+PER = 30.0 # 움직임 지표의 시간 단위: 1/30초. fps가 다른 영상끼리 비교할 수 있게 프레임당 값에 fps/PER를 곱한다
+STILL_DIFF = 1.0 # 1/30초당 평균 밝기 차(0-255)가 이보다 작으면 정지 프레임
+CUT_CORR = 0.6 # HSV 히스토그램 상관이 이보다 낮으면 컷(장 바뀜)
+CUT_DIFF = 25.0 # 또는 프레임 사이 평균 밝기 차가 이보다 크면 컷 (컷은 한 프레임에 일어나므로 정규화하지 않는다)
+HOLD_MIN = 0.25 # 이 길이(초) 이상 이어진 정지 구간만 홀드로 센다
+TRANSITION = 0.25 # 컷 앞뒤 이 길이(초)를 전환 구간으로 보고 흐름을 잰다
+LOOK_EVERY = 0.5 # 질감 지표는 이 간격(초)마다 한 프레임
+
+
+def resize_short(img, short):
+ h, w = img.shape[:2]
+ s = short / min(h, w)
+ return cv2.resize(img, (round(w * s), round(h * s)), interpolation=cv2.INTER_AREA)
+
+
+def hist(bgr):
+ hsv = cv2.cvtColor(bgr, cv2.COLOR_BGR2HSV)
+ h = cv2.calcHist([hsv], [0, 1], None, [32, 32], [0, 180, 0, 256])
+ return cv2.normalize(h, h).flatten()
+
+
+def lap_var(y):
+ return float(cv2.Laplacian(y, cv2.CV_64F).var()) if y.size else 0.0
+
+
+def look(bgr):
+ """look.mjs 와 같은 여섯 숫자: 심도 비, 대비, 채도, 색 농도, 검정 수준, 그레인."""
+ y = cv2.cvtColor(bgr, cv2.COLOR_BGR2GRAY).astype(np.float64)
+ h = y.shape[0]
+ edge = (lap_var(y[: h // 4]) + lap_var(y[3 * h // 4 :])) / 2
+ mid = lap_var(y[h // 4 : 3 * h // 4])
+ f = bgr.astype(np.float64)
+ mx, mn = f.max(axis=2), f.min(axis=2)
+ sat = float(np.where(mx > 0, (mx - mn) / np.maximum(mx, 1), 0).mean())
+ return {
+ "sharpRatio": edge / mid if mid else 0.0,
+ "rms": float(y.std() / 255),
+ "sat": sat,
+ "chroma": float(((mx - mn) / 255).mean()),
+ "black": float(np.percentile(y, 1)),
+ "grain": grain(y),
+ }
+
+
+def grain(y):
+ """가장 평평한 20% 8x8 블록에서 고주파(밝기 - 3x3 평균)의 표준편차 중앙값."""
+ hp = y - cv2.blur(y, (3, 3))
+ smooth = cv2.blur(y, (5, 5))
+ h, w = y.shape
+ hb, wb = h // 8, w // 8
+ blocks = lambda a: a[: hb * 8, : wb * 8].reshape(hb, 8, wb, 8).swapaxes(1, 2).reshape(hb * wb, 64)
+ flat = blocks(smooth).var(axis=1)
+ noise = np.sqrt((blocks(hp) ** 2).mean(axis=1))
+ keep = noise[np.argsort(flat)[: max(1, round(len(flat) * 0.2))]]
+ return float(np.median(keep))
+
+
+def dof_bands(y, n=5):
+ """위에서 아래로 n개 띠의 라플라시안 분산을 가장 선명한 띠로 나눈 값. 1 = 가장 선명."""
+ h = y.shape[0]
+ v = [lap_var(y[i * h // n : (i + 1) * h // n]) for i in range(n)]
+ top = max(v) or 1.0
+ return [round(x / top, 4) for x in v]
+
+
+def autocorr_len(hp, axis):
+ """고주파 밝기의 축 방향 자기상관이 0.5 아래로 떨어지는 첫 지연(px). 번짐이 길수록 길다."""
+ a = hp - hp.mean()
+ var = (a * a).mean() or 1.0
+ for lag in range(1, 41):
+ c = (a[:, lag:] * a[:, :-lag]).mean() if axis == 1 else (a[lag:, :] * a[:-lag, :]).mean()
+ if c / var < 0.5:
+ return lag
+ return 40
+
+
+def direction(fx, fy, mag):
+ """크기로 가중한 흐름 방향 히스토그램의 최빈 방향(도, 0 = 오른쪽, 90 = 아래)."""
+ ang = np.degrees(np.arctan2(fy, fx).astype(np.float64)) % 360
+ bins = (np.floor((ang + 22.5) / 45).astype(int) % 8).ravel()
+ return int(np.bincount(bins, weights=mag.ravel(), minlength=8).argmax() * 45)
+
+
+def analyze(path):
+ cap = cv2.VideoCapture(path)
+ if not cap.isOpened():
+ raise SystemExit(f"cannot open {path}")
+ fps = cap.get(cv2.CAP_PROP_FPS) or 30.0
+ W, H = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)), int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))
+ diffs, corrs, flow, dirs, looks, dofs = [], [], [], [], [], []
+ blur_along, blur_across = [], []
+ prev = prev_small = prev_hist = None
+ i = 0
+ look_step = max(1, round(fps * LOOK_EVERY))
+ while True:
+ ok, frame = cap.read()
+ if not ok:
+ break
+ bgr = resize_short(frame, SHORT)
+ y = cv2.cvtColor(bgr, cv2.COLOR_BGR2GRAY)
+ small = resize_short(y, FLOW_SHORT)
+ h = hist(bgr)
+ if prev is not None:
+ diffs.append(float(cv2.absdiff(y, prev).mean()))
+ corrs.append(float(cv2.compareHist(prev_hist, h, cv2.HISTCMP_CORREL)))
+ f = cv2.calcOpticalFlowFarneback(prev_small, small, None, 0.5, 3, 15, 3, 5, 1.2, 0)
+ mag = np.hypot(f[..., 0], f[..., 1])
+ # 흐름 해상도의 px/frame 을 분석 해상도(짧은 변 540) 기준으로 환산
+ flow.append(float(mag.mean()) * SHORT / FLOW_SHORT)
+ dirs.append(direction(f[..., 0], f[..., 1], mag))
+ if i % look_step == 0:
+ looks.append(look(bgr))
+ dofs.append(dof_bands(y.astype(np.float64)))
+ if flow and flow[-1] * fps / PER > 4: # 4 px per 1/30 s
+ hp = y.astype(np.float64) - cv2.blur(y.astype(np.float64), (9, 9))
+ horiz = dirs[-1] % 180 in (0, 45, 135)
+ blur_along.append(autocorr_len(hp, 1 if horiz else 0))
+ blur_across.append(autocorr_len(hp, 0 if horiz else 1))
+ prev, prev_small, prev_hist = y, small, h
+ i += 1
+ cap.release()
+ n = i
+ if n == 0:
+ raise SystemExit(f"no decodable frames in {path}")
+ seconds = n / fps
+ norm = fps / PER
+ raw_diffs = diffs
+ diffs = [d * norm for d in raw_diffs]
+ flow = [x * norm for x in flow]
+
+ # 컷: 프레임 k (k = 1..n-1) 가 앞 프레임과 다른 장면
+ cut_frames = [k + 1 for k, (d, c) in enumerate(zip(raw_diffs, corrs)) if c < CUT_CORR or d > CUT_DIFF]
+ merged = []
+ for k in cut_frames: # 연속 프레임 컷(와이프·휙 넘김)은 첫 프레임 하나로 합친다
+ if not merged or k - merged[-1] > max(2, round(fps * 0.1)):
+ merged.append(k)
+ cuts = [round(k / fps, 3) for k in merged]
+ bounds = [0.0, *cuts, seconds]
+ shots = [round(b - a, 3) for a, b in zip(bounds, bounds[1:]) if b > a]
+ shot_mean = float(np.mean(shots)) if shots else 0.0
+ shot_cv = float(np.std(shots) / shot_mean) if shot_mean else 0.0
+
+ still = [d < STILL_DIFF for d in diffs]
+ holds, run = [], 0
+ for s in still + [False]:
+ if s:
+ run += 1
+ else:
+ if run / fps >= HOLD_MIN:
+ holds.append(round(run / fps, 3))
+ run = 0
+
+ win = max(1, round(TRANSITION * fps))
+ transitions = []
+ for k in merged:
+ a, b = max(0, k - 1 - win), min(len(flow), k - 1 + win)
+ seg = flow[a:b]
+ if not seg:
+ continue
+ peak = int(np.argmax(seg))
+ moving = [x for x in seg if x > 2] # 2 px per 1/30 s
+ transitions.append({
+ "t": round(k / fps, 3),
+ "peakFlow": round(float(seg[peak]), 2),
+ "dir": dirs[a + peak],
+ "movingS": round(len(moving) / fps, 3),
+ })
+
+ lk = {key: round(float(np.mean([l[key] for l in looks])), 4) for key in looks[0]} if looks else {}
+ return {
+ "source": {"width": W, "height": H, "fps": round(fps, 3), "frames": n, "seconds": round(seconds, 3)},
+ "analysisShortSide": SHORT,
+ "edit": {
+ "cuts": cuts,
+ "cutCount": len(cuts),
+ "cutsPerMin": round(len(cuts) / seconds * 60, 2) if seconds else 0,
+ "shots": shots,
+ "shotMeanS": round(shot_mean, 3),
+ "shotCV": round(shot_cv, 3),
+ "holds": holds,
+ "holdMeanS": round(float(np.mean(holds)), 3) if holds else 0.0,
+ "holdLongestS": max(holds) if holds else 0.0,
+ "stillShare": round(sum(still) / len(still), 4) if still else 0.0,
+ "meanDiff": round(float(np.mean(diffs)), 3) if diffs else 0.0,
+ },
+ "motion": {
+ "meanFlow": round(float(np.mean(flow)), 3) if flow else 0.0,
+ "p90Flow": round(float(np.percentile(flow, 90)), 3) if flow else 0.0,
+ "dominantDir": int(np.bincount([d // 45 for d in dirs], weights=flow, minlength=8).argmax() * 45) if dirs else 0,
+ "transitions": transitions,
+ "transitionPeakMean": round(float(np.mean([t["peakFlow"] for t in transitions])), 3) if transitions else 0.0,
+ "transitionMovingMeanS": round(float(np.mean([t["movingS"] for t in transitions])), 3) if transitions else 0.0,
+ },
+ "blur": {
+ "framesMeasured": len(blur_along),
+ "alongPx": round(float(np.median(blur_along)), 2) if blur_along else 0.0,
+ "acrossPx": round(float(np.median(blur_across)), 2) if blur_across else 0.0,
+ "anisotropy": round(float(np.median(blur_along) / max(1.0, np.median(blur_across))), 3) if blur_along else 1.0,
+ },
+ "dof": {"bands": [round(float(np.mean([d[b] for d in dofs])), 4) for b in range(5)] if dofs else [], "sharpRatio": lk.get("sharpRatio", 0.0)},
+ "grain": lk.get("grain", 0.0),
+ "look": lk,
+ "units": "motion and meanDiff are per 1/30 s at the 540 px short side; times in seconds",
+ "thresholds": {"stillDiff": STILL_DIFF, "cutCorr": CUT_CORR, "cutDiff": CUT_DIFF, "holdMinS": HOLD_MIN, "transitionS": TRANSITION, "lookEveryS": LOOK_EVERY},
+ }
+
+
+# gate.py ref 가 비교하는 지표와 기본 허용 오차(목표 대비 비율). 경로는 analysis JSON 안의 위치.
+TARGET_METRICS = {
+ "edit.shotMeanS": 0.25,
+ "edit.shotCV": 0.35,
+ "edit.stillShare": 0.25,
+ "edit.meanDiff": 0.35,
+ "edit.holdMeanS": 0.35,
+ "motion.meanFlow": 0.35,
+ "motion.transitionPeakMean": 0.35,
+ "blur.alongPx": 0.5,
+ "look.sharpRatio": 0.25,
+ "look.rms": 0.15,
+ "look.chroma": 0.25,
+ "look.grain": 0.35,
+}
+
+
+def pick(d, path):
+ for k in path.split("."):
+ d = d[k]
+ return d
+
+
+def targets(analysis):
+ return {"metrics": {p: {"target": pick(analysis, p), "tol": tol} for p, tol in TARGET_METRICS.items()}}
+
+
+def main():
+ ap = argparse.ArgumentParser(description=__doc__.splitlines()[0])
+ ap.add_argument("video")
+ ap.add_argument("-o", "--out")
+ ap.add_argument("--targets")
+ a = ap.parse_args()
+ result = analyze(a.video)
+ text = json.dumps(result, ensure_ascii=False, indent=2)
+ if a.out:
+ open(a.out, "w", encoding="utf-8").write(text + "\n")
+ else:
+ print(text)
+ if a.targets:
+ open(a.targets, "w", encoding="utf-8").write(json.dumps(targets(result), ensure_ascii=False, indent=2) + "\n")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())
diff --git a/skills/motion-video-production/scripts/requirements-ref.txt b/skills/motion-video-production/scripts/requirements-ref.txt
new file mode 100644
index 0000000..324b009
--- /dev/null
+++ b/skills/motion-video-production/scripts/requirements-ref.txt
@@ -0,0 +1,2 @@
+numpy==2.5.4
+opencv-python-headless==4.13.0.92
diff --git a/skills/motion-video-production/scripts/verify.sh b/skills/motion-video-production/scripts/verify.sh
index ce0a741..673d5ea 100755
--- a/skills/motion-video-production/scripts/verify.sh
+++ b/skills/motion-video-production/scripts/verify.sh
@@ -1,21 +1,48 @@
#!/usr/bin/env bash
-# 완성 영상을 믿지 말고 측정한다: 스트림 정보, 프레임 수, 반복 프레임, 라우드니스, 컨택트 시트, 받아쓰기.
-# 사용법: verify.sh <video.mp4> [언어=ko] [whisper 모델=small]
+# 완성 영상을 믿지 말고 측정한다: 스트림 정보, 프레임 수, 반복 프레임, 라우드니스, 컨택트 시트, 프레임 가장자리 색, 받아쓰기.
+# 사용법: [PRODUCTION=productions/<id>] verify.sh <video.mp4> [언어=ko] [whisper 모델=small]
+# PRODUCTION을 주면 엔진 폴더(현재 폴더)의 pipeline/probe.mjs로 carry 검사를 먼저 돌리고, 종료 코드는 그 판정을 따릅니다.
# 끝나면 <video>.contact.png (0.5초당 1칸)를 직접 눈으로 확인하세요. 겹침, 사라진 글자, 이상한 소품은 시트에서만 보입니다.
set -uo pipefail
v=${1:?usage: verify.sh video.mp4 [lang] [model]}; lang=${2:-ko}; model=${3:-small}
base=${v%.*}
+verdict=0
+if [[ -n "${PRODUCTION:-}" ]]; then node pipeline/probe.mjs "$PRODUCTION"; verdict=$?; fi
echo "== ffprobe"; ffprobe -v error -show_entries stream=codec_type,width,height,r_frame_rate,nb_frames,duration -of csv=p=0 "$v"
echo "== decoded frames: $(ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of default=nw=1:nk=1 "$v")"
+echo "== repeated frames (앞 프레임과 같은 프레임. 정지 구간은 괜찮고, 움직이는 중의 반복은 끊김)"
+ffmpeg -loglevel error -i "$v" -map 0:v -f framemd5 - | python3 -c '
+import sys
+rows = [[s.strip() for s in l.split(",")] for l in sys.stdin.read().splitlines() if l and not l.startswith("#")]
+rep = run = longest = at = 0
+for i, r in enumerate(rows):
+ if i and r[5] == rows[i - 1][5]:
+ rep += 1; run += 1
+ if run > longest: longest, at = run, i - run
+ else: run = 0
+print(f"{rep} of {len(rows)} frames repeat the previous one; longest hold {longest + (1 if longest else 0)} frames from frame {at}")
+'
echo "== loudness (I 와 True peak 를 확인)"
ffmpeg -hide_banner -i "$v" -af ebur128=peak=true -f null - 2>&1 | grep -A14 Summary | grep -E 'I:|Peak:'
secs=$(ffprobe -v error -show_entries format=duration -of csv=p=0 "$v")
cols=9; tiles=$(python3 -c "import math;print(math.ceil($secs*2))"); rows=$(python3 -c "import math;print(math.ceil($tiles/$cols))")
-ffmpeg -loglevel error -y -i "$v" -vf "fps=2,scale=320:180,tile=${cols}x${rows}" -frames:v 1 "$base.contact.png" && echo "== contact sheet: $base.contact.png"
-if command -v whisper >/dev/null; then
- tmp=$(mktemp -d); ffmpeg -loglevel error -y -i "$v" -vn -ac 1 -ar 16000 "$tmp/a.wav"
+ffmpeg -loglevel error -y -i "$v" -vf "fps=2,scale=320:-2,tile=${cols}x${rows}" -frames:v 1 "$base.contact.png" && echo "== contact sheet: $base.contact.png"
+echo "== frame edges (위 아래 왼쪽 오른쪽 평균 RGB, 10개 시점. 흔들기 이음매는 한쪽 가장자리 색이 달라져서 보입니다)"
+for i in 1 2 3 4 5 6 7 8 9 10; do
+ t=$(python3 -c "print(f'{$secs*$i/11:.2f}')"); printf "%6s: " "$t"
+ for c in "iw:1:0:0" "iw:1:0:ih-1" "1:ih:0:0" "1:ih:iw-1:0"; do
+ ffmpeg -loglevel error -ss "$t" -i "$v" -frames:v 1 -vf "format=rgb24,crop=$c,scale=1:1:flags=area" -f rawvideo -pix_fmt rgb24 - | xxd -p | tr '\n' ' '
+ done; echo
+done
+# 받아쓰기: WHISPER_GGML이 ggml 모델을 가리키면 whisper.cpp(빠름). 단어 시작 시각은 openai-whisper --word_timestamps로 잽니다.
+tmp=$(mktemp -d); ffmpeg -loglevel error -y -i "$v" -vn -ac 1 -ar 16000 "$tmp/a.wav"
+if [[ -n "${WHISPER_GGML:-}" && -f "$WHISPER_GGML" ]] && command -v whisper-cli >/dev/null; then
+ echo "== transcript (whisper.cpp $(basename "$WHISPER_GGML"), $lang) - 대본과 비교하세요"
+ timeout 300 whisper-cli -m "$WHISPER_GGML" -l "$lang" -f "$tmp/a.wav" -otxt -of "$tmp/a" -np >/dev/null 2>&1 && cat "$tmp/a.txt" || echo "(whisper-cli 실패 또는 시간 초과)"
+elif command -v whisper >/dev/null; then
echo "== transcript ($model, $lang) - 대본과 비교하세요"
timeout 900 whisper "$tmp/a.wav" --model "$model" --language "$lang" --output_format txt --output_dir "$tmp" --fp16 False >/dev/null 2>&1 && cat "$tmp/a.txt" || echo "(whisper 실패 또는 시간 초과)"
else
echo "== whisper 미설치: 받아쓰기 생략 (pip install openai-whisper)"
fi
+exit $verdict
diff --git a/skills/motion-video-production/templates/ANALYSIS.md b/skills/motion-video-production/templates/ANALYSIS.md
new file mode 100644
index 0000000..a46e981
--- /dev/null
+++ b/skills/motion-video-production/templates/ANALYSIS.md
@@ -0,0 +1,47 @@
+# 레퍼런스 분석
+
+`ref/analysis.json`의 숫자를 옮겨 적고, 그 숫자가 이번 작품의 계획을 어떻게 정하는지 적습니다.
+꺾쇠로 감싼 빈칸이 하나라도 남아 있으면 `gate.py ref`가 막습니다. 지표의 뜻은 `references/reference-analysis.md`에 있습니다.
+
+- 레퍼런스: <길이(초), 화면비, fps>
+- 분석 명령: `python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" ref/reference.mp4 -o ref/analysis.json --targets ref/targets.json`
+- 레퍼런스 파일은 저장소에 커밋하지 않습니다. 숫자만 남깁니다.
+
+## 편집 리듬
+
+| 지표 | 값 | 이번 작품에 주는 뜻 |
+|---|---|---|
+| 컷 수, 분당 컷 (`edit.cutCount`, `edit.cutsPerMin`) | <값> | <뜻> |
+| 평균 컷 길이, 길이 변동 (`edit.shotMeanS`, `edit.shotCV`) | <값> | <뜻> |
+| 정지 프레임 비율 (`edit.stillShare`) | <값> | <뜻> |
+| 평균 홀드, 가장 긴 홀드 (`edit.holdMeanS`, `edit.holdLongestS`) | <값> | <뜻> |
+| 프레임 간 평균 차이 (`edit.meanDiff`) | <값> | <뜻> |
+
+## 움직임
+
+| 지표 | 값 | 이번 작품에 주는 뜻 |
+|---|---|---|
+| 평균 흐름, 상위 10% 흐름 (`motion.meanFlow`, `motion.p90Flow`) | <값> | <뜻> |
+| 주된 방향 (`motion.dominantDir`) | <값> | <뜻> |
+| 전환 피크 흐름, 전환이 움직이는 시간 (`motion.transitionPeakMean`, `motion.transitionMovingMeanS`) | <값> | <뜻> |
+| 모션 블러 길이, 방향성 (`blur.alongPx`, `blur.anisotropy`) | <값> | <뜻> |
+
+## 질감
+
+| 지표 | 값 | 이번 작품에 주는 뜻 |
+|---|---|---|
+| 심도 띠 (`dof.bands`, `look.sharpRatio`) | <값> | <뜻> |
+| 대비, 색 농도, 검정 수준 (`look.rms`, `look.chroma`, `look.black`) | <값> | <뜻> |
+| 그레인 (`look.grain`) | <값> | <뜻> |
+
+## 계획에 쓰는 목표
+
+`ref/targets.json`의 지표와 허용 오차를 바꿨다면 무엇을 왜 바꿨는지 적습니다. 바꾸지 않았다면 "기본값 사용"이라고 적습니다.
+
+- <목표 조정>
+
+## 따라 하지 않을 것
+
+레퍼런스에서 가져오지 않을 것(로고, 문구, 인물, 특정 장면 구성)을 적습니다.
+
+- <따라 하지 않을 것>
diff --git a/skills/motion-video-production/templates/BEATSHEET.md b/skills/motion-video-production/templates/BEATSHEET.md
new file mode 100644
index 0000000..babc7f6
--- /dev/null
+++ b/skills/motion-video-production/templates/BEATSHEET.md
@@ -0,0 +1,22 @@
+# <작품 이름> <N>초 · 비트 시트 (`timing.ts`를 사람이 읽는 판)
+
+`<엔진 폴더>/productions/<id>/BEATSHEET.md`로 복사합니다. 숫자는 `productions/<id>/timing.ts`에 있고, 이 파일은 그 숫자를 설명합니다. 레퍼런스가 있으면 `ref/ANALYSIS.md`의 숫자를 인용합니다.
+
+템포: <BPM> BPM, 4/4. 1박 = <60/BPM>초. 길이 <N>초.
+화면 1920x1080 @ <fps> = <N × fps> 프레임. 음악: 48kHz 스테레오 16비트 WAV, 정확히 <N × 48000> 샘플.
+느낌: <한 줄. 예: "차분하고 따뜻한 제품 설명">.
+문구 언어·말투: <예: 한국어 해요체, 한 문장이 다음 문장으로 이어짐>.
+
+규칙
+- 모든 비트는 템포의 박(또는 반박)에서 시작합니다. 경계의 움직임은 박을 가운데에 둡니다.
+- **모든 경계는 carry를 적습니다**: 살아남는 요소와 그 요소가 하는 일(움직임, 커짐, 다음 비트의 주인공이 됨). "bare"는 몰아치기 안이나 엔드카드로 갈 때만 쓰고, 그렇다고 적습니다.
+- 컷 길이는 4배 이상 차이 나게, 프레임의 25% 이상은 완전히 정지, 타격 전에 1초 이상 거의 정지한 구간 하나.
+- 대사 구간은 잰 길이(`pipeline/vo-assemble.mjs`)로 정하고, 대사 안의 싱크 지점은 잰 단어 시작 시각으로 정합니다.
+- 대사 구간 안에서 음악의 1~4kHz는 얇게 둡니다.
+
+| # | 시간(초) | 화면 | 경계의 carry | 문구 / 대사 (구간) | 음악 / 효과음 |
+|---|---|---|---|---|---|
+| 1 | 0.000-<…> | <문제 장면> | - | <대사> (<시작>-<끝>) | <조용한 도입, X초 키워드에 타격> |
+| - | <경계 구간> | <바뀌는 것> | <요소>가 살아남아 <움직임/커짐> | <쉼> | <다음 박으로 상승> |
+| 2 | <…> | <제품·캐릭터 등장> | | <이름과 한 줄 소개> | <타격, 그루브 시작> |
+| n | <…>-<N> | <로고와 한 줄> | <로고로 접기, 또는 엔드카드로 bare> | <브랜드 이름> | <마지막 화음, 끝나기 전에 무음으로> |
diff --git a/skills/motion-video-production/templates/MUSIC_BRIEF.md b/skills/motion-video-production/templates/MUSIC_BRIEF.md
new file mode 100644
index 0000000..7824cbc
--- /dev/null
+++ b/skills/motion-video-production/templates/MUSIC_BRIEF.md
@@ -0,0 +1,33 @@
+# 사운드 디자인 브리프 (`productions/<id>/audio/BRIEF.md`로 복사해 `<…>`를 채움)
+
+엔진에 들어 있는 `pipeline/score.mjs`는 `timing.ts`의 `MUSIC`(BPM, 길이, 타격 시각, 대사 구간)만으로 패드·킥·타격을 만드는 기본 스코어입니다. 더 공들인 음악이 필요하면 이 브리프를 코딩 에이전트(워커)에게 줍니다.
+
+당신은 <N>초짜리 영상의 사운드 디자이너입니다. 화면에 정확히 맞는 오리지널 스코어와 효과음을 절차적으로 합성합니다.
+
+## 먼저 읽기
+- `../timing.ts`: 타이밍 계약. `import { <ID> } from '../timing.ts'`가 Node 24에서 동작합니다(타입 제거). 모든 시각은 여기서 가져오고 초를 직접 쓰지 않습니다.
+- `../BEATSHEET.md`: 비트마다 일어나는 일과 각 경계를 넘는 요소. carry가 착지하는 순간에 맞춥니다.
+
+## 환경 (꼭 지킬 것)
+- 작업 폴더는 이 폴더(`productions/<id>/audio/`)이고 여기에만 씁니다.
+- Node.js 24 기본 모듈만(npm 설치, Python 없음). 확인용으로 `ffmpeg`, `ffprobe`를 씁니다.
+- 네트워크·샘플 없음. 전부 합성(오실레이터, 노이즈, 엔벨로프, 필터). PRNG 시드 고정.
+
+## 산출물
+1. `score.mjs`: 결정적. `node score.mjs`가 옆에 `score.wav`를 씁니다(경로는 `import.meta.url` 기준).
+2. `score.wav`: 48kHz, 스테레오, 16비트 PCM, 정확히 `<ID>.seconds * 48000` 샘플.
+3. `NOTES.md`: 모든 이벤트의 샘플 단위 시작 시각과 아래 확인 출력 원문.
+
+## 팔레트 (<스타일>)
+<예: 깔끔한 제품: 둥근 킥, 부드러운 하이햇, 따뜻한 서브, 뜯는 모티프, 디튠 톱니 패드.>
+- 대사가 위에 얹힙니다. 대사 구간 안에서 1~4kHz를 얇게 둡니다.
+- 화면이 완전히 멈추면 음악도 얇아지거나 멈춥니다.
+- 마스터는 소프트 클립과 리미터로 마무리합니다.
+
+## 확인 (실행하고 출력 원문을 NOTES.md에 붙임)
+```
+ffprobe -v error -show_entries stream=sample_rate,channels,duration_ts -of default=nw=1 score.wav
+ffmpeg -hide_banner -i score.wav -af loudnorm=print_format=summary -f null - 2>&1 | tail -14
+ffmpeg -hide_banner -i score.wav -af volumedetect -f null - 2>&1 | grep max_volume
+```
+통과: sample_rate=48000, channels=2, duration_ts=<N × 48000>, max_volume ≤ −3.0dB, "Input Integrated"가 −20~−16 LUFS. 실패하면 생성기를 고쳐 다시 돌리고 WAV를 손으로 고치지 않습니다. 오케스트레이터는 이 숫자를 따로 다시 잽니다.
diff --git a/skills/motion-video-production/templates/homepage-intro.html b/skills/motion-video-production/templates/homepage-intro.html
new file mode 100644
index 0000000..5e76c42
--- /dev/null
+++ b/skills/motion-video-production/templates/homepage-intro.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>동네빵집 모퉁이</title>
+ <!-- Brand-intro homepage template (references/brand-intro.md). One HTML file: the intro video plays as a texture on a
+ gently tilting card in a Three.js scene inside the hero, the rest is plain HTML.
+ Files next to this page: media/intro.mp4 (the wordcut render, muted), media/poster.jpg (its last frame).
+ Reduced motion or no WebGL: the poster image and the plain page, nothing moves.
+ The example business is invented. Replace the copy, colours and media with your own.
+ Where the clip belongs (references/brand-intro.md, section 5): this file is the minimal starting point and still
+ plays the clip in the hero card on every width. On a finished page:
+ - the hero is a Three.js scene whose t=0 frame is the clip's closing image (media/poster.jpg);
+ - the 9:16 clip is a short card on phones only and hidden on desktop, where a narrow vertical strip reads as foreign;
+ - the YouTube opening joins the clip to this page with a match cut made in the video edit, not on the page.
+ Below the hero: one shared spacing scale, text and visual swap sides every section (zig-zag), and no two
+ neighbouring sections share a pattern (full-bleed band, cards, mosaic, statement line). -->
+ <style>
+ :root { --paper: #f6efe4; --ink: #2a211b; --muted: #6b5d52; --accent: #b4552d; }
+ * { box-sizing: border-box; }
+ body { margin: 0; background: var(--paper); color: var(--ink); font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; word-break: keep-all; }
+ .hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr; align-items: center; align-content: center; padding: 24px 16px 48px; gap: 24px; }
+ @media (min-width: 900px) { .hero { grid-template-columns: 1fr 1fr; padding: 48px 64px; } }
+ .stage { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 78svh; margin: 0 auto; container-type: size; }
+ .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
+ /* the poster takes the same box as the 3D card (88 % of the stage height, 0.03-unit white border), so switching
+ between the live card and the poster does not move or resize the picture */
+ .stage img { position: absolute; left: 50%; top: 50%; height: 88cqh; width: auto; aspect-ratio: 1.06 / 1.8378; transform: translate(-50%, -50%);
+ box-sizing: border-box; border: 1.44cqh solid #fff; border-width: 1.44cqh 1.44cqh; object-fit: cover; background: #fff; display: block; }
+ .stage.live img { visibility: hidden; }
+ /* phones: keep the card, headline, copy and both buttons on the first screen */
+ @media (max-width: 899px) { .stage { max-height: 52svh; } }
+ h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.2; margin: 0 0 16px; }
+ p { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 24px; }
+ .actions { display: flex; gap: 12px; flex-wrap: wrap; }
+ .btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; }
+ .btn.primary { background: var(--ink); color: var(--paper); }
+ /* spacing: replace these values with the page's one shared spacing scale (brand-intro.md, 간격 기준) */
+ section.info { padding: 48px 16px; max-width: 960px; margin: 0 auto; }
+ </style>
+ <!-- extra libraries (GSAP + ScrollTrigger, Lenis, Motion, Floating UI) are fine when they earn it: exact version
+ from a CDN like three below, respect reduced motion, no layout shift, one library per job -->
+ <script type="importmap">{ "imports": { "three": "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js" } }</script>
+</head>
+<body>
+ <main>
+ <section class="hero">
+ <div class="stage" id="stage">
+ <img src="media/poster.jpg" alt="오늘 구운 빵이 놓인 진열대" width="1080" height="1920">
+ <video id="intro" src="media/intro.mp4" muted loop playsinline preload="auto" hidden></video>
+ </div>
+ <div>
+ <h1>아침 일곱 시,<br>오늘 빵이 나와요</h1>
+ <p>매일 아침 그날 반죽한 빵만 진열해요. 남은 빵은 저녁에 이웃과 나눠요.</p>
+ <div class="actions"><a class="btn" href="#visit">오시는 길</a><a class="btn primary" href="#info">오늘의 빵 보기</a></div>
+ </div>
+ </section>
+ <section class="info" id="info">
+ <h2>오늘의 빵</h2>
+ <p>식빵, 바게트, 단팥빵. 진열은 오전 7시와 오후 3시에 두 번 해요.</p>
+ </section>
+ <section class="info" id="visit">
+ <h2>오시는 길</h2>
+ <p>모퉁이길 12, 1층. 오전 7시부터 오후 8시까지 열고 월요일은 쉬어요.</p>
+ </section>
+ </main>
+ <script type="module">
+ const stage = document.getElementById('stage');
+ const video = document.getElementById('intro');
+ const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
+ const webgl = (() => { try { return !!document.createElement('canvas').getContext('webgl2'); } catch { return false; } })();
+ if (!reduce && webgl) start();
+
+ async function start() {
+ const THREE = await import('three');
+ const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
+ renderer.setPixelRatio(Math.min(2, devicePixelRatio));
+ renderer.outputColorSpace = THREE.SRGBColorSpace;
+ stage.appendChild(renderer.domElement);
+ const scene = new THREE.Scene();
+ const camera = new THREE.PerspectiveCamera(30, 9 / 16, 0.1, 10);
+ camera.position.set(0, 0, 3.9);
+ const texture = new THREE.VideoTexture(video);
+ texture.colorSpace = THREE.SRGBColorSpace;
+ // the video as a card: 9:16 plane with a thin paper border behind it
+ const card = new THREE.Group();
+ card.add(new THREE.Mesh(new THREE.PlaneGeometry(1.06, 16 / 9 + 0.06), new THREE.MeshBasicMaterial({ color: 0xffffff })));
+ const screen = new THREE.Mesh(new THREE.PlaneGeometry(1, 16 / 9), new THREE.MeshBasicMaterial({ map: texture }));
+ screen.position.z = 0.002;
+ card.add(screen);
+ scene.add(card);
+ const resize = () => {
+ const { width, height } = stage.getBoundingClientRect();
+ renderer.setSize(width, height, false);
+ camera.aspect = width / height;
+ camera.updateProjectionMatrix();
+ };
+ new ResizeObserver(resize).observe(stage);
+ resize();
+ // one simple move: the card follows the pointer a little and breathes
+ let tx = 0, ty = 0;
+ addEventListener('pointermove', (e) => { tx = (e.clientX / innerWidth - 0.5) * 0.25; ty = (e.clientY / innerHeight - 0.5) * 0.18; });
+ await video.play().catch(() => {});
+ if (video.paused) return; // autoplay refused: keep the poster
+ stage.classList.add('live');
+ renderer.setAnimationLoop((t) => {
+ card.rotation.y += (tx - card.rotation.y) * 0.06;
+ card.rotation.x += (ty - card.rotation.x) * 0.06;
+ card.position.y = Math.sin(t / 1600) * 0.02;
+ renderer.render(scene, camera);
+ });
+ }
+ </script>
+</body>
+</html>