Skip to content

Write HTML. Render video. Built for agents.

chore(registry): remove low-use catalog items and variant tails (#4274)

Miguel Ángel05d09a7452a5
diff --git a/.fallowrc.jsonc b/.fallowrc.jsonc
index ee952cd652..1c56cb73ab 100644
--- a/.fallowrc.jsonc
+++ b/.fallowrc.jsonc
@@ -89,6 +89,9 @@
// Golden snapshot files: data consumed by toMatchFileSnapshot, not importable modules.
"packages/**/__goldens__/**",
"registry/**",
+ // Browser fixture HTML loads generated player bundles that exist only after the package build.
+ "packages/core/src/runtime/fixtures/deck-audio-demo.html",
+ // Browser test intentionally contains repeated inline scenarios for distinct failure paths.
"examples/**",
"packages/sdk/examples/**",
".github/workflows/fixtures/**",
@@ -467,6 +470,7 @@
// retry semantics. The Plan v2 AWS adapter extends that existing symmetry;
// extracting a shared cloud abstraction would couple independent packages.
"packages/aws-lambda/src/handler.ts",
+ "packages/cli/src/registry/motionBlurShutter.browser.test.ts",
"packages/aws-lambda/src/s3Transport.ts",
// The GCP handler deliberately mirrors the AWS protocol lifecycle while
// retaining provider-specific GCS, HTTP, and Cloud Workflows semantics.
diff --git a/.github/workflows/catalog-previews.yml b/.github/workflows/catalog-previews.yml
index fdbfd279e1..e6c0d3ddea 100644
--- a/.github/workflows/catalog-previews.yml
+++ b/.github/workflows/catalog-previews.yml
@@ -93,7 +93,7 @@ jobs:
scripts/catalog-preview-temp.ts)
if [ -n "$RENDERER_CHANGED" ]; then
CHANGED_ITEMS=$(printf '%s\n' $CHANGED_ITEMS \
- code-snippet-visual-studio-dark code-snippet-apple-terminal-pro | sort -u)
+ code-snippet-dark-modern code-snippet-apple-terminal-pro | sort -u)
fi
if [ -z "$CHANGED_ITEMS" ]; then
diff --git a/.prettierignore b/.prettierignore
index 991b378666..df53671407 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -40,9 +40,4 @@ skills/talking-head-recut/references/frames/polaroid.html
# embedded), not hand-authored source; reformatting them is churn + risk. Listed
# explicitly (not registry/examples/**/*.html) so hand-authored example HTML still
# gets formatted.
-registry/examples/airbnb-deck/index.html
-registry/examples/airbnb-deck/demo.html
-registry/examples/startup-pitch/index.html
-registry/examples/startup-pitch/demo.html
-registry/examples/slideshow-demo/index.html
registry/examples/warm-grain/compositions/captions.html
diff --git a/bun.lock b/bun.lock
index 051dbf2bee..1b3374002c 100644
--- a/bun.lock
+++ b/bun.lock
@@ -24,7 +24,7 @@
},
"packages/aws-lambda": {
"name": "@hyperframes/aws-lambda",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@aws-sdk/client-s3": "^3.700.0",
"@aws-sdk/client-sfn": "^3.700.0",
@@ -57,7 +57,7 @@
},
"packages/cli": {
"name": "@hyperframes/cli",
- "version": "0.8.57",
+ "version": "0.8.59",
"bin": {
"hyperframes": "./bin/hyperframes.mjs",
"hyperframes-localize-fonts": "./bin/hyperframes-localize-fonts.mjs",
@@ -109,7 +109,7 @@
},
"packages/core": {
"name": "@hyperframes/core",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@chenglou/pretext": "^0.0.5",
"@hyperframes/lint": "workspace:*",
@@ -134,7 +134,7 @@
},
"packages/engine": {
"name": "@hyperframes/engine",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@hono/node-server": "^2.0.5",
"@hyperframes/core": "workspace:^",
@@ -153,7 +153,7 @@
},
"packages/gcp-cloud-run": {
"name": "@hyperframes/gcp-cloud-run",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@google-cloud/storage": "^7.14.0",
"@google-cloud/workflows": "^4.2.0",
@@ -174,7 +174,7 @@
},
"packages/lint": {
"name": "@hyperframes/lint",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@hyperframes/parsers": "workspace:*",
"htmlparser2": "^10.1.0",
@@ -192,7 +192,7 @@
},
"packages/parsers": {
"name": "@hyperframes/parsers",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@babel/parser": "^7.27.0",
"acorn": "^8.17.0",
@@ -212,7 +212,7 @@
},
"packages/player": {
"name": "@hyperframes/player",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@hyperframes/core": "workspace:*",
},
@@ -227,7 +227,7 @@
},
"packages/producer": {
"name": "@hyperframes/producer",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@fontsource/archivo-black": "^5.2.8",
"@fontsource/eb-garamond": "^5.2.7",
@@ -272,7 +272,7 @@
},
"packages/sdk": {
"name": "@hyperframes/sdk",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@hyperframes/core": "workspace:*",
"@hyperframes/parsers": "workspace:*",
@@ -302,7 +302,7 @@
},
"packages/shader-transitions": {
"name": "@hyperframes/shader-transitions",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"html2canvas": "^1.4.1",
},
@@ -314,7 +314,7 @@
},
"packages/studio": {
"name": "@hyperframes/studio",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@base-ui/react": "1.7.0",
"@codemirror/autocomplete": "^6.20.1",
@@ -366,7 +366,7 @@
},
"packages/studio-server": {
"name": "@hyperframes/studio-server",
- "version": "0.8.57",
+ "version": "0.8.59",
"dependencies": {
"@hyperframes/core": "workspace:*",
"@hyperframes/parsers": "workspace:*",
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-basic.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-basic.mdx
deleted file mode 100644
index bfc23534fc..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-basic.mdx
+++ /dev/null
@@ -1,320 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Basic"
-description: "Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-basic.json"
- compositionId="code-snippet-apple-terminal-basic"
- compositionSrc="compositions/code-snippet-apple-terminal-basic.html"
- title="Code Snippet - Apple Terminal Basic"
- description="Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":249}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-basic","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-basic/code-snippet-apple-terminal-basic.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-basic.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Basic</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #ececec;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.25),
- 0 10px 30px rgba(0, 0, 0, 0.15);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #ececec;
- display: flex;
- align-items: center;
- padding: 0 14px;
- gap: 0;
- flex-shrink: 0;
- border-bottom: 1px solid #d0d0d0;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #ffffff;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #000000;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #000000;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #000000;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-basic"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line">Last login: Mon Jun 2 09:14:22 on ttys001</span>
- <span class="output-line">total 48</span>
- <span class="output-line bold">drwxr-xr-x 8 user staff 256 Jun 2 09:10 .</span>
- <span class="output-line">drwxr-xr-x 42 user staff 1344 Jun 1 18:22 ..</span>
- <span class="output-line">-rw-r--r-- 1 user staff 872 May 30 14:05 README.md</span>
- <span class="output-line bold">drwxr-xr-x 5 user staff 160 Jun 2 09:10 dist</span>
- <span class="output-line bold"
- >drwxr-xr-x 12 user staff 384 Jun 2 09:10 node_modules</span
- >
- <span class="output-line">-rw-r--r-- 1 user staff 1204 Jun 2 09:08 package.json</span>
- <span class="output-line bold">drwxr-xr-x 6 user staff 192 Jun 2 09:10 src</span>
- <span class="output-line">-rw-r--r-- 1 user staff 348 May 29 11:42 tsconfig.json</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "ls -la";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- // Phase 1 (0–0.5s): hold on empty prompt
- tl.set(typedEl, { text: "" }, 0);
-
- // Phase 2 (0.5–2s): type command char by char
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- // Phase 3 (2.2s): hide cursor, show first output line (login message)
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- // Phase 4 (2.5s): clear command, show ls output line by line
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return; // already shown
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.08);
- });
-
- // Phase 5 (4s): new prompt with blinking cursor
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- // Phase 6 (4.2–10s): blink cursor 3 times then stop
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-basic"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-basic" item="code-snippet-apple-terminal-basic" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-basic.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-basic"
- data-composition-src="compositions/code-snippet-apple-terminal-basic.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-clear-dark.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-clear-dark.mdx
deleted file mode 100644
index e5389addb3..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-clear-dark.mdx
+++ /dev/null
@@ -1,315 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Clear Dark"
-description: "Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json"
- compositionId="code-snippet-apple-terminal-clear-dark"
- compositionSrc="compositions/code-snippet-apple-terminal-clear-dark.html"
- title="Code Snippet - Apple Terminal Clear Dark"
- description="Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":244}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-clear-dark","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-clear-dark/code-snippet-apple-terminal-clear-dark.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-clear-dark.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Clear Dark</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #1a1a1a;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(0, 0, 0, 0.5);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: rgba(0, 0, 0, 0.4);
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: rgba(0, 0, 0, 0.7);
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.6);
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #888888;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #888888;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-clear-dark"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys002</span>
- <span class="output-line">Scanning dependencies...</span>
- <span class="output-line">Found 3 vulnerabilities (1 moderate, 2 low)</span>
- <span class="output-line dim"> package: [email protected]</span>
- <span class="output-line dim"> severity: moderate</span>
- <span class="output-line dim"> fix: [email protected]</span>
- <span class="output-line dim"> package: [email protected]</span>
- <span class="output-line dim"> severity: low</span>
- <span class="output-line dim"> fix: [email protected]</span>
- <span class="output-line bold">Run `npm audit fix` to fix them.</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npm audit";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-clear-dark"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-clear-dark" item="code-snippet-apple-terminal-clear-dark" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-clear-dark.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-clear-dark"
- data-composition-src="compositions/code-snippet-apple-terminal-clear-dark.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-clear-light.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-clear-light.mdx
deleted file mode 100644
index bcc6e6820e..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-clear-light.mdx
+++ /dev/null
@@ -1,315 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Clear Light"
-description: "Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json"
- compositionId="code-snippet-apple-terminal-clear-light"
- compositionSrc="compositions/code-snippet-apple-terminal-clear-light.html"
- title="Code Snippet - Apple Terminal Clear Light"
- description="Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":244}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-clear-light","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-clear-light/code-snippet-apple-terminal-clear-light.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-clear-light.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Clear Light</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.18),
- 0 10px 30px rgba(0, 0, 0, 0.1);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: rgba(255, 255, 255, 0.4);
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
- position: relative;
- backdrop-filter: blur(10px);
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: rgba(255, 255, 255, 0.7);
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- backdrop-filter: blur(8px);
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- }
-
- .output-line.muted {
- color: #666666;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #888888;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #888888;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-clear-light"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line muted">Last login: Mon Jun 2 09:14:22 on ttys003</span>
- <span class="output-line bold">git log --oneline -8</span>
- <span class="output-line">a3f2c19 fix: correct off-by-one in pagination</span>
- <span class="output-line">b7e8d04 feat: add dark mode toggle</span>
- <span class="output-line">c1a9f55 refactor: extract auth helpers</span>
- <span class="output-line">d4e2b31 test: add unit tests for parser</span>
- <span class="output-line">e6c8a72 docs: update API reference</span>
- <span class="output-line">f9b1d44 chore: bump dependencies</span>
- <span class="output-line">2a7e890 feat: implement search endpoint</span>
- <span class="output-line">3c5f012 init: project bootstrap</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac myproject % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "git log --oneline -8";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.09);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac myproject % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-clear-light"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-clear-light" item="code-snippet-apple-terminal-clear-light" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-clear-light.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-clear-light"
- data-composition-src="compositions/code-snippet-apple-terminal-clear-light.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-grass.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-grass.mdx
deleted file mode 100644
index a5ab2c0394..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-grass.mdx
+++ /dev/null
@@ -1,314 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Grass"
-description: "Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-grass.json"
- compositionId="code-snippet-apple-terminal-grass"
- compositionSrc="compositions/code-snippet-apple-terminal-grass.html"
- title="Code Snippet - Apple Terminal Grass"
- description="Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":243}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-grass","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-grass/code-snippet-apple-terminal-grass.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-grass.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Grass</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #0a1a0a 0%, #000000 70%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 193, 0, 0.15),
- 0 10px 30px rgba(0, 0, 0, 0.8);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1c1c1c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #00c100;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #00c100;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #000000;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #00c100;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #00c100;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #00c100;
- }
-
- .output-line.dim {
- color: #006600;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #00c100;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #00c100;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #00c100;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-grass"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys004</span>
- <span class="output-line">Running test suite...</span>
- <span class="output-line dim"> ✓ should initialize with defaults (2ms)</span>
- <span class="output-line dim"> ✓ should parse config correctly (4ms)</span>
- <span class="output-line dim"> ✓ should handle empty input (1ms)</span>
- <span class="output-line dim"> ✓ should reject invalid tokens (3ms)</span>
- <span class="output-line dim"> ✓ should emit events on change (5ms)</span>
- <span class="output-line dim"> ✓ should clean up on destroy (2ms)</span>
- <span class="output-line bold"> 6 passing (18ms)</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npm test";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.12);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-grass"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-grass" item="code-snippet-apple-terminal-grass" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-grass.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-grass"
- data-composition-src="compositions/code-snippet-apple-terminal-grass.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-homebrew.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-homebrew.mdx
deleted file mode 100644
index c66a41e3c1..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-homebrew.mdx
+++ /dev/null
@@ -1,319 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Homebrew"
-description: "Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json"
- compositionId="code-snippet-apple-terminal-homebrew"
- compositionSrc="compositions/code-snippet-apple-terminal-homebrew.html"
- title="Code Snippet - Apple Terminal Homebrew"
- description="Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":248}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-homebrew","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-homebrew/code-snippet-apple-terminal-homebrew.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-homebrew.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Homebrew</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #0d1a0d 0%, #000000 70%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 207, 0, 0.18),
- 0 10px 30px rgba(0, 0, 0, 0.85);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1c1c1c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #006900;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #00cf00;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #000000;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #00cf00;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #00cf00;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #00de00;
- }
-
- .output-line.dim {
- color: #006600;
- }
-
- .output-line.bright {
- color: #48f800;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #48f800;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #00cf00;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #48f800;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-homebrew"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys005</span>
- <span class="output-line">==> Updating Homebrew...</span>
- <span class="output-line dim">Already up-to-date.</span>
- <span class="output-line">==> Outdated formulae</span>
- <span class="output-line">node 20.11.0 -> 22.3.0</span>
- <span class="output-line">python 3.11.6 -> 3.12.4</span>
- <span class="output-line">git 2.43.0 -> 2.45.2</span>
- <span class="output-line">ffmpeg 6.1.1 -> 7.0.0</span>
- <span class="output-line bright">==> Run `brew upgrade` to update 4 formulae.</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "brew outdated";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-homebrew"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-homebrew" item="code-snippet-apple-terminal-homebrew" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-homebrew.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-homebrew"
- data-composition-src="compositions/code-snippet-apple-terminal-homebrew.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-man-page.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-man-page.mdx
deleted file mode 100644
index 517aa81766..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-man-page.mdx
+++ /dev/null
@@ -1,319 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Man Page"
-description: "Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-man-page.json"
- compositionId="code-snippet-apple-terminal-man-page"
- compositionSrc="compositions/code-snippet-apple-terminal-man-page.html"
- title="Code Snippet - Apple Terminal Man Page"
- description="Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":248}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-man-page","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-man-page/code-snippet-apple-terminal-man-page.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-man-page.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Man Page</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #ede87a 0%, #ddd566 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.2),
- 0 10px 30px rgba(0, 0, 0, 0.12);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #f0e680;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #c8be40;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #fef49c;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- }
-
- .output-line.indent {
- padding-left: 24px;
- color: #222222;
- }
-
- .output-line.section {
- font-weight: bold;
- margin-top: 2px;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #000000;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #000000;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-man-page"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">man — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line section">CURL(1) General Commands Manual CURL(1)</span>
- <span class="output-line"></span>
- <span class="output-line section">NAME</span>
- <span class="output-line indent">curl -- transfer a URL</span>
- <span class="output-line"></span>
- <span class="output-line section">SYNOPSIS</span>
- <span class="output-line indent">curl [options / URLs]</span>
- <span class="output-line"></span>
- <span class="output-line section">DESCRIPTION</span>
- <span class="output-line indent"
- >curl is a tool for transferring data from or to a server using URLs.</span
- >
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "man curl";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.4);
-
- outputLines.forEach((line, i) => {
- tl.set(line, { opacity: 1 }, 2.5 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-man-page"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-man-page" item="code-snippet-apple-terminal-man-page" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-man-page.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-man-page"
- data-composition-src="compositions/code-snippet-apple-terminal-man-page.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-novel.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-novel.mdx
deleted file mode 100644
index f104958f94..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-novel.mdx
+++ /dev/null
@@ -1,315 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Novel"
-description: "Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-novel.json"
- compositionId="code-snippet-apple-terminal-novel"
- compositionSrc="compositions/code-snippet-apple-terminal-novel.html"
- title="Code Snippet - Apple Terminal Novel"
- description="Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":244}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-novel","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-novel/code-snippet-apple-terminal-novel.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-novel.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Novel</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #c9a86c 0%, #b8955a 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(62, 41, 0, 0.3),
- 0 10px 30px rgba(0, 0, 0, 0.15);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #c9a86c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #a88040;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #3e2900;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 600;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #dfc18a;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #3e2900;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #3e2900;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #3e2900;
- }
-
- .output-line.muted {
- color: #7a5a20;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #3e2900;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #3e2900;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #3e2900;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-novel"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line muted">Last login: Mon Jun 2 09:14:22 on ttys006</span>
- <span class="output-line muted">Python 3.12.4 (main, Jun 6 2024, 18:26:44)</span>
- <span class="output-line muted"
- >Type "help", "copyright", "credits" or "license" for more information.</span
- >
- <span class="output-line bold">>>> import hyperframes</span>
- <span class="output-line bold">>>> hf = hyperframes.Composition("intro.html")</span>
- <span class="output-line">>>> hf.duration</span>
- <span class="output-line">12.0</span>
- <span class="output-line">>>> hf.dimensions</span>
- <span class="output-line">Dimensions(width=1920, height=1080)</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "python3";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-novel"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-novel" item="code-snippet-apple-terminal-novel" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-novel.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-novel"
- data-composition-src="compositions/code-snippet-apple-terminal-novel.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-ocean.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-ocean.mdx
deleted file mode 100644
index 89fcc74986..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-ocean.mdx
+++ /dev/null
@@ -1,324 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Ocean"
-description: "Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-ocean.json"
- compositionId="code-snippet-apple-terminal-ocean"
- compositionSrc="compositions/code-snippet-apple-terminal-ocean.html"
- title="Code Snippet - Apple Terminal Ocean"
- description="Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":253}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-ocean","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-ocean/code-snippet-apple-terminal-ocean.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-ocean.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Ocean</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #1a3f9e;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #224fbe 0%, #0e2878 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.6),
- 0 10px 30px rgba(34, 79, 190, 0.3);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1a3f9e;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.15);
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #224fbe;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.65);
- }
-
- .output-line.success {
- color: #7fffb3;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: rgba(255, 255, 255, 0.8);
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-ocean"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys007</span>
- <span class="output-line bold">docker ps</span>
- <span class="output-line dim">CONTAINER ID IMAGE COMMAND CREATED</span>
- <span class="output-line"
- >a1b2c3d4e5f6 nginx:latest "/docker-entrypoint.…" 2 hours ago</span
- >
- <span class="output-line"
- >b2c3d4e5f6a7 postgres:15 "docker-entrypoint.s…" 2 hours ago</span
- >
- <span class="output-line"
- >c3d4e5f6a7b8 redis:alpine "docker-entrypoint.s…" 2 hours ago</span
- >
- <span class="output-line success">3 containers running</span>
- <span class="output-line dim">Use 'docker logs CONTAINER' to view output</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "docker ps";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-ocean"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-ocean" item="code-snippet-apple-terminal-ocean" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-ocean.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-ocean"
- data-composition-src="compositions/code-snippet-apple-terminal-ocean.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-red-sands.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-red-sands.mdx
deleted file mode 100644
index d027ee8d2d..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-red-sands.mdx
+++ /dev/null
@@ -1,315 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Red Sands"
-description: "Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json"
- compositionId="code-snippet-apple-terminal-red-sands"
- compositionSrc="compositions/code-snippet-apple-terminal-red-sands.html"
- title="Code Snippet - Apple Terminal Red Sands"
- description="Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":244}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-red-sands","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-red-sands/code-snippet-apple-terminal-red-sands.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-red-sands.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Red Sands</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #7b140e;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #8a1a12 0%, #4a0a06 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(123, 20, 14, 0.4);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #5e0f0a;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #8b2018;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffe1b9;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #7b140e;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffe1b9;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffe1b9;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: #c4916a;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #ffe1b9;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffe1b9;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-red-sands"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys009</span>
- <span class="output-line">Fetching https://api.example.com/status</span>
- <span class="output-line dim"> HTTP/2 200</span>
- <span class="output-line dim"> content-type: application/json</span>
- <span class="output-line dim"> x-request-id: a3f9c21e-04b2-4d78</span>
- <span class="output-line">{</span>
- <span class="output-line"> "status": "healthy",</span>
- <span class="output-line"> "version": "2.4.1",</span>
- <span class="output-line bold"> "uptime": "14d 6h 32m"</span>
- <span class="output-line">}</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "curl -s api.example.com/status | jq";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.4);
-
- const blinkTimes = [4.6, 5.0, 5.4, 5.8, 6.2, 6.6];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 7.0);
-
- window.__timelines["code-snippet-apple-terminal-red-sands"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-red-sands" item="code-snippet-apple-terminal-red-sands" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-red-sands.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-red-sands"
- data-composition-src="compositions/code-snippet-apple-terminal-red-sands.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mdx
deleted file mode 100644
index 9e9aaac8e7..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mdx
+++ /dev/null
@@ -1,321 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Silver Aerogel"
-description: "Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json"
- compositionId="code-snippet-apple-terminal-silver-aerogel"
- compositionSrc="compositions/code-snippet-apple-terminal-silver-aerogel.html"
- title="Code Snippet - Apple Terminal Silver Aerogel"
- description="Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":250}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-silver-aerogel","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-silver-aerogel/code-snippet-apple-terminal-silver-aerogel.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-silver-aerogel.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Silver Aerogel</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #2a2a2a;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #3a3a3a 0%, #1c1c1c 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.6),
- 0 10px 30px rgba(232, 232, 232, 0.05);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #2a2a2a;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #444444;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #3d3d3d;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: #aaaaaa;
- }
-
- .output-line.success {
- color: #7fffb3;
- }
-
- .output-line.warn {
- color: #ffd700;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #e8e8e8;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #e8e8e8;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-silver-aerogel"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys010</span>
- <span class="output-line">Checking system resources...</span>
- <span class="output-line">Filesystem Size Used Avail Use%</span>
- <span class="output-line">/dev/disk3s1s1 460G 142G 302G 32%</span>
- <span class="output-line dim">/dev/disk3s6 460G 5.0G 302G 2%</span>
- <span class="output-line">/dev/disk3s2 460G 11G 302G 4%</span>
- <span class="output-line warn">Memory: 14.2 GB / 16.0 GB used (89%)</span>
- <span class="output-line success">CPU: 8-core, 12% load average</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "df -h && vm_stat";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-silver-aerogel"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-silver-aerogel" item="code-snippet-apple-terminal-silver-aerogel" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-silver-aerogel.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-silver-aerogel"
- data-composition-src="compositions/code-snippet-apple-terminal-silver-aerogel.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-apple-terminal-solid-colors.mdx b/docs/catalog/blocks/code-snippet-apple-terminal-solid-colors.mdx
deleted file mode 100644
index df9129bd09..0000000000
--- a/docs/catalog/blocks/code-snippet-apple-terminal-solid-colors.mdx
+++ /dev/null
@@ -1,318 +0,0 @@
----
-title: "Code Snippet - Apple Terminal Solid Colors"
-description: "Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json"
- compositionId="code-snippet-apple-terminal-solid-colors"
- compositionSrc="compositions/code-snippet-apple-terminal-solid-colors.html"
- title="Code Snippet - Apple Terminal Solid Colors"
- description="Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session."
- variables={[]}
- meta={{"duration":12,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":247}}
- attribution={{"path":"registry/blocks/code-snippet-apple-terminal-solid-colors","tags":["code","developer","showcase","terminal","apple","apple-terminal"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-apple-terminal-solid-colors/code-snippet-apple-terminal-solid-colors.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-apple-terminal-solid-colors.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Solid Colors</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #4c0099;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #5a00b3 0%, #2e0060 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(76, 0, 153, 0.4);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #3a0077;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #6600bb;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #4c0099;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.55);
- }
-
- .output-line.accent {
- color: #cc99ff;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #cc99ff;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-solid-colors"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys011</span>
- <span class="output-line">Initializing HyperFrames project...</span>
- <span class="output-line dim"> Creating project structure</span>
- <span class="output-line dim"> Copying template files</span>
- <span class="output-line dim"> Installing dependencies</span>
- <span class="output-line"> added 142 packages in 3.4s</span>
- <span class="output-line accent"> ✓ Project ready at ./my-video</span>
- <span class="output-line bold"> Run: cd my-video && npx hyperframes preview</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npx hyperframes init my-video";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-solid-colors"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-apple-terminal-solid-colors" item="code-snippet-apple-terminal-solid-colors" />
-
-That writes one file: `compositions/code-snippet-apple-terminal-solid-colors.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 12 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-apple-terminal-solid-colors"
- data-composition-src="compositions/code-snippet-apple-terminal-solid-colors.html"
- data-start="0"
- data-duration="12"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `terminal` `apple` `apple-terminal`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-dark-plus.mdx b/docs/catalog/blocks/code-snippet-dark-plus.mdx
deleted file mode 100644
index b2b7b78394..0000000000
--- a/docs/catalog/blocks/code-snippet-dark-plus.mdx
+++ /dev/null
@@ -1,1127 +0,0 @@
----
-title: "Code Snippet - Dark+"
-description: "VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-dark-plus.json"
- compositionId="code-snippet-dark-plus"
- compositionSrc="compositions/code-snippet-dark-plus.html"
- title="Code Snippet - Dark+"
- description="VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1056}}
- attribution={{"path":"registry/blocks/code-snippet-dark-plus","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-dark-plus/code-snippet-dark-plus.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-dark-plus.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Dark+ VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-dark-plus-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-dark-plus"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Dark+</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">dark_plus.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-dark-plus"] =
- window.__timelines["vscode-dark-plus"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-dark-plus", {
- id: "dark-plus",
- label: "Dark+",
- sourceFile: "dark_plus.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d7ba7d",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#4FC1FF",
- parameter: "#9CDCFE",
- operator: "#d7ba7d",
- punctuation: "#CE9178",
- className: "#4EC9B0",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-dark-plus" item="code-snippet-dark-plus" />
-
-That writes `compositions/code-snippet-dark-plus.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-dark-plus"
- data-composition-src="compositions/code-snippet-dark-plus.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-flight.mdx b/docs/catalog/blocks/code-snippet-flight.mdx
deleted file mode 100644
index f2ebeb4abc..0000000000
--- a/docs/catalog/blocks/code-snippet-flight.mdx
+++ /dev/null
@@ -1,739 +0,0 @@
----
-title: "Code Snippet Flight"
-description: "Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-flight.json"
- compositionId="code-snippet-flight"
- compositionSrc="compositions/code-snippet-flight.html"
- title="Code Snippet Flight"
- description="Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP."
- variables={[]}
- meta={{"duration":6,"width":1920,"height":1080,"category":"Code Animations","badge":"Stable","codeLines":668}}
- attribution={{"path":"registry/blocks/code-snippet-flight","tags":["code","code-animation","flight","developer"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-flight/code-snippet-flight.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-flight.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Code Snippet Flight</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body {
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #05070b;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- font-family: "JetBrains Mono", monospace;
- color: #e6edf3;
- }
- .bg-field {
- position: absolute;
- inset: 0;
- background: radial-gradient(1200px 700px at 50% 18%, #0e1726 0%, #070b12 55%, #05070b 100%);
- }
- .bg-grid {
- position: absolute;
- inset: 0;
- background-image:
- linear-gradient(rgba(88, 166, 255, 0.05) 1px, transparent 1px),
- linear-gradient(90deg, rgba(88, 166, 255, 0.05) 1px, transparent 1px);
- background-size: 64px 64px;
- mask-image: radial-gradient(1100px 620px at 50% 42%, #000 0%, transparent 78%);
- }
- .bg-glow {
- position: absolute;
- width: 900px;
- height: 900px;
- border-radius: 50%;
- filter: blur(120px);
- opacity: 0.5;
- }
- .bg-glow.a {
- background: #1f6feb55;
- left: -180px;
- top: -200px;
- }
- .bg-glow.b {
- background: #2ea04355;
- right: -200px;
- bottom: -260px;
- }
- .editor {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 1380px;
- height: 800px;
- background: #0b0f17;
- border: 1px solid #1d2733;
- border-radius: 16px;
- box-shadow:
- 0 40px 120px rgba(0, 0, 0, 0.6),
- 0 2px 0 rgba(255, 255, 255, 0.03) inset;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- .titlebar {
- height: 56px;
- flex: 0 0 56px;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 0 22px;
- background: linear-gradient(#11161f, #0c111a);
- border-bottom: 1px solid #1b2430;
- }
- .dots {
- display: flex;
- gap: 10px;
- }
- .dot {
- width: 14px;
- height: 14px;
- border-radius: 50%;
- }
- .dot.r {
- background: #ff5f57;
- }
- .dot.y {
- background: #febc2e;
- }
- .dot.g {
- background: #28c840;
- }
- .filename {
- font-size: 19px;
- color: #8b98a9;
- letter-spacing: 0.2px;
- }
- .filename .accent {
- color: #d6e2f0;
- }
- .code-surface {
- position: relative;
- flex: 1 1 auto;
- overflow: hidden;
- }
- .scene {
- position: absolute;
- inset: 0;
- opacity: 0;
- will-change: opacity;
- }
- .code {
- position: absolute;
- top: 38px;
- left: 0;
- right: 0;
- padding: 0 44px 0 104px;
- font-size: 30px;
- line-height: 46px;
- font-variant-ligatures: none;
- tab-size: 2;
- }
- .gutter {
- position: absolute;
- top: 38px;
- left: 0;
- width: 84px;
- padding-right: 18px;
- font-size: 30px;
- line-height: 46px;
- text-align: right;
- color: #828c9b;
- user-select: none;
- }
- .ln {
- display: block;
- height: 46px;
- }
- .line {
- display: block;
- min-height: 46px;
- white-space: pre;
- position: relative;
- z-index: 1;
- }
- .tok {
- display: inline-block;
- white-space: pre;
- will-change: transform, opacity;
- }
- .caret {
- position: absolute;
- top: 0;
- left: 0;
- width: 3px;
- height: 32px;
- margin-top: 6px;
- background: #58a6ff;
- border-radius: 1px;
- z-index: 3;
- }
- .hl-box {
- position: absolute;
- background: rgba(88, 166, 255, 0.16);
- border-left: 3px solid #58a6ff;
- border-radius: 6px;
- z-index: 0;
- overflow: hidden;
- }
- .diff-line {
- display: block;
- min-height: 0;
- line-height: 46px;
- white-space: pre;
- position: relative;
- overflow: hidden;
- padding-left: 14px;
- }
- .diff-sign {
- display: inline-block;
- width: 22px;
- color: #41506220;
- }
- .diff-del {
- background: rgba(248, 81, 73, 0.12);
- box-shadow: inset 3px 0 #f85149;
- }
- .diff-add {
- background: rgba(63, 185, 80, 0.12);
- box-shadow: inset 3px 0 #3fb950;
- }
- .diff-del .diff-sign {
- color: #f85149;
- }
- .diff-add .diff-sign {
- color: #3fb950;
- }
- .flight-block {
- position: absolute;
- white-space: pre;
- font-size: 27px;
- line-height: 40px;
- padding: 11px 22px;
- border-radius: 11px;
- background: #0f1722;
- border: 1px solid #233044;
- box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
- will-change: transform, opacity;
- }
- .flight-target {
- position: absolute;
- border: 1.5px dashed #2a3a4f;
- border-radius: 14px;
- opacity: 0;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="code-snippet-flight"
- data-start="0"
- data-duration="6"
- data-width="1920"
- data-height="1080"
- >
- <div class="bg-field" data-layout-ignore></div>
- <div class="bg-grid" data-layout-ignore></div>
- <div class="bg-glow a" data-layout-ignore></div>
- <div class="bg-glow b" data-layout-ignore></div>
- <div class="editor" id="editor" data-layout-ignore>
- <div class="titlebar">
- <div class="dots">
- <span class="dot r"></span><span class="dot y"></span><span class="dot g"></span>
- </div>
- <span class="filename"
- ><span class="accent">pipeline.js</span> — Code Snippet Flight</span
- >
- </div>
- <div class="code-surface" id="surface"></div>
- </div>
- </div>
- <script>
- window.__TOKENS = {
- flight: {
- lang: "js",
- theme: "github-dark",
- bg: "#24292e",
- fg: "#e1e4e8",
- states: [
- {
- code: "const x = parse(input)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-2",
- content: "x",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-6",
- content: "parse",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-7",
- content: "(input)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- {
- code: "const y = transform(x)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-2",
- content: "y",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-6",
- content: "transform",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-7",
- content: "(x)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- {
- code: "const z = render(y)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-2",
- content: "z",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-6",
- content: "render",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-7",
- content: "(y)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- ],
- },
- };
- window.__BLOCK = { id: "code-snippet-flight", effect: "flight", seq: "flight", duration: 6 };
- </script>
- <script>
- // hf-code-anim.js — self-contained code-animation engine for HyperFrames registry blocks.
- //
- // Reuses Shiki Magic Move's baked output (window.__TOKENS, baked at author time) and
- // drives the animation as a PAUSED GSAP timeline the HyperFrames engine seeks per frame —
- // NOT CSS transitions (those break under non-sequential frame seeking). FLIP measurement
- // runs once inside document.fonts.ready (glyph metrics must be final). Each block sets
- // window.__BLOCK = { id, effect, seq, line?, duration } and includes this engine; the
- // engine builds one scene that fills the composition and registers window.__timelines[id].
- (function () {
- "use strict";
- var T = window.__TOKENS || {};
-
- function lineDiv() {
- var d = document.createElement("div");
- d.className = "line";
- return d;
- }
-
- // Render a code state's keyed tokens into codeEl as lines of inline-block .tok spans.
- function renderState(codeEl, state) {
- codeEl.textContent = "";
- var keyToEl = new Map();
- var line = lineDiv();
- codeEl.appendChild(line);
- for (var i = 0; i < state.tokens.length; i++) {
- var t = state.tokens[i];
- if (t.content === "\n") {
- line = lineDiv();
- codeEl.appendChild(line);
- continue;
- }
- var span = document.createElement("span");
- span.className = "tok";
- span.textContent = t.content;
- span.style.color = t.color;
- if (t.fontStyle & 1) span.style.fontStyle = "italic";
- if (t.fontStyle & 2) span.style.fontWeight = "700";
- line.appendChild(span);
- keyToEl.set(t.key, span);
- }
- var last = codeEl.lastChild;
- if (last && last.className === "line" && last.children.length === 0)
- codeEl.removeChild(last);
- return keyToEl;
- }
-
- function rectsOf(keyToEl) {
- var m = new Map();
- keyToEl.forEach(function (el, k) {
- var r = el.getBoundingClientRect();
- m.set(k, { left: r.left, top: r.top });
- });
- return m;
- }
-
- function makeScene(surface, withGutter) {
- var scene = document.createElement("div");
- scene.className = "scene";
- if (withGutter) {
- var g = document.createElement("div");
- g.className = "gutter";
- scene.appendChild(g);
- }
- var code = document.createElement("div");
- code.className = "code";
- scene.appendChild(code);
- surface.appendChild(scene);
- return { scene: scene, code: code, gutter: scene.querySelector(".gutter") };
- }
-
- function fillGutter(g, n) {
- var html = "";
- for (var i = 1; i <= n; i++) html += '<span class="ln">' + i + "</span>";
- g.innerHTML = html;
- }
-
- function splitLines(state) {
- var lines = [{ text: "", tokens: [] }];
- for (var i = 0; i < state.tokens.length; i++) {
- var t = state.tokens[i];
- if (t.content === "\n") {
- lines.push({ text: "", tokens: [] });
- continue;
- }
- var cur = lines[lines.length - 1];
- cur.tokens.push(t);
- cur.text += t.content;
- }
- if (lines.length && lines[lines.length - 1].tokens.length === 0) lines.pop();
- return lines;
- }
-
- function lineDiff(a, b) {
- var n = a.length;
- var m = b.length;
- var dp = [];
- for (var i = 0; i <= n; i++) dp.push(new Array(m + 1).fill(0));
- for (var i = n - 1; i >= 0; i--) {
- for (var j = m - 1; j >= 0; j--) {
- dp[i][j] =
- a[i].text === b[j].text
- ? dp[i + 1][j + 1] + 1
- : Math.max(dp[i + 1][j], dp[i][j + 1]);
- }
- }
- var ops = [];
- var i = 0;
- var j = 0;
- while (i < n && j < m) {
- if (a[i].text === b[j].text) {
- ops.push({ type: "same", line: b[j] });
- i++;
- j++;
- } else if (dp[i + 1][j] >= dp[i][j + 1]) {
- ops.push({ type: "del", line: a[i] });
- i++;
- } else {
- ops.push({ type: "add", line: b[j] });
- j++;
- }
- }
- while (i < n) ops.push({ type: "del", line: a[i++] });
- while (j < m) ops.push({ type: "add", line: b[j++] });
- return ops;
- }
-
- // ---- single-scene effect builders (fade in, play, hold to end) -------------
- var FADE = 0.45;
-
- function flight(tl, surface, states, start) {
- var FLY = 0.95;
- var STAGGER = 0.26;
- var GAP = 20;
- var parts = makeScene(surface, false);
- parts.code.remove();
- var scene = parts.scene;
- var target = document.createElement("div");
- target.className = "flight-target";
- scene.appendChild(target);
- var W = surface.clientWidth;
- var H = surface.clientHeight;
-
- var blocks = states.map(function (st) {
- var blk = document.createElement("div");
- blk.className = "flight-block";
- renderState(blk, st);
- scene.appendChild(blk);
- return blk;
- });
- var n = blocks.length;
-
- // Pass 1: measure natural size, then make every chip the SAME width (symmetry).
- var maxW = 0;
- var chipH = 0;
- blocks.forEach(function (blk) {
- var r = blk.getBoundingClientRect();
- if (r.width > maxW) maxW = r.width;
- if (r.height > chipH) chipH = r.height;
- });
- blocks.forEach(function (blk) {
- blk.style.width = maxW + "px";
- });
-
- // Pass 2: evenly-stacked, left-aligned, group centered in the surface.
- var stackH = n * chipH + (n - 1) * GAP;
- var destLeft = Math.round((W - maxW) / 2);
- var topY = Math.round((H - stackH) / 2);
- blocks.forEach(function (blk, i) {
- var destY = topY + i * (chipH + GAP);
- blk.style.left = destLeft + "px";
- blk.style.top = destY + "px";
- // fly straight in from the left to the shared left edge — clean, no skew
- var srcX = destLeft - W * 0.32;
- tl.fromTo(
- blk,
- { x: srcX - destLeft, opacity: 0, scale: 0.96 },
- { x: 0, opacity: 1, scale: 1, duration: FLY, ease: "power3.out" },
- start + FADE + i * STAGGER,
- );
- });
-
- // Even-padded panel tightly wrapping the uniform stack.
- var padX = 30;
- var padY = 24;
- target.style.left = destLeft - padX + "px";
- target.style.top = topY - padY + "px";
- target.style.width = maxW + padX * 2 + "px";
- target.style.height = stackH + padY * 2 + "px";
- var landAt = start + FADE + (n - 1) * STAGGER + FLY;
- tl.set(scene, { opacity: 1 }, 0);
- tl.to(target, { opacity: 1, duration: 0.5, ease: "power1.out" }, landAt - 0.5);
- }
-
- function buildEffect(tl, surface, spec) {
- var start = 0.45;
- var seq = T[spec.seq];
- if (spec.effect === "flight") flight(tl, surface, seq.states, start);
- }
-
- function go() {
- var spec = window.__BLOCK;
- var surface = document.getElementById("surface");
- var root = document.getElementById("root");
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- document.fonts.ready.then(function () {
- tl.from("#editor", { opacity: 0, scale: 0.985, duration: 0.5, ease: "power2.out" }, 0);
- buildEffect(tl, surface, spec);
- var dur = parseFloat(root.dataset.duration) || tl.duration();
- tl.to({}, { duration: dur }, 0); // pad to full composition length
- window.__timelines["code-snippet-flight"] = tl; // register AFTER setup completes
- if (typeof window.__hfForceTimelineRebind === "function") {
- window.__hfForceTimelineRebind(); // re-nest now that we are populated
- }
- });
- }
-
- if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", go);
- else go();
- })();
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-flight" item="code-snippet-flight" />
-
-That writes one file: `compositions/code-snippet-flight.html`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 6 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-flight"
- data-composition-src="compositions/code-snippet-flight.html"
- data-start="0"
- data-duration="6"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `code-animation` `flight` `developer`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-high-contrast-light.mdx b/docs/catalog/blocks/code-snippet-high-contrast-light.mdx
deleted file mode 100644
index 8780e32d22..0000000000
--- a/docs/catalog/blocks/code-snippet-high-contrast-light.mdx
+++ /dev/null
@@ -1,1122 +0,0 @@
----
-title: "Code Snippet - High Contrast Light"
-description: "VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-high-contrast-light.json"
- compositionId="code-snippet-high-contrast-light"
- compositionSrc="compositions/code-snippet-high-contrast-light.html"
- title="Code Snippet - High Contrast Light"
- description="VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1051}}
- attribution={{"path":"registry/blocks/code-snippet-high-contrast-light","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-high-contrast-light/code-snippet-high-contrast-light.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-high-contrast-light.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-high-contrast-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-high-contrast-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Default High Contrast Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">hc_light.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-high-contrast-light"] =
- window.__timelines["vscode-high-contrast-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-high-contrast-light", {
- id: "high-contrast-light",
- label: "Default High Contrast Light",
- sourceFile: "hc_light.json",
- uiTheme: "vs",
- colors: {
- "statusBarItem.remoteBackground": "#FFFFFF",
- "statusBarItem.remoteForeground": "#000000",
- },
- tokens: {
- comment: "#515151",
- keyword: "#EE0000",
- function: "#5e2cbc",
- string: "#811F3F",
- number: "#096d48",
- variable: "#02715D",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#D16969",
- className: "#185E73",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-high-contrast-light" item="code-snippet-high-contrast-light" />
-
-That writes `compositions/code-snippet-high-contrast-light.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-high-contrast-light"
- data-composition-src="compositions/code-snippet-high-contrast-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-high-contrast.mdx b/docs/catalog/blocks/code-snippet-high-contrast.mdx
deleted file mode 100644
index 74cffdf21a..0000000000
--- a/docs/catalog/blocks/code-snippet-high-contrast.mdx
+++ /dev/null
@@ -1,1125 +0,0 @@
----
-title: "Code Snippet - High Contrast"
-description: "VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-high-contrast.json"
- compositionId="code-snippet-high-contrast"
- compositionSrc="compositions/code-snippet-high-contrast.html"
- title="Code Snippet - High Contrast"
- description="VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1054}}
- attribution={{"path":"registry/blocks/code-snippet-high-contrast","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-high-contrast/code-snippet-high-contrast.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-high-contrast.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-high-contrast-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-high-contrast"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Default High Contrast</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">hc_black.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-high-contrast"] =
- window.__timelines["vscode-high-contrast"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-high-contrast", {
- id: "high-contrast",
- label: "Default High Contrast",
- sourceFile: "hc_black.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#000000",
- "editor.foreground": "#FFFFFF",
- "editor.selectionBackground": "#FFFFFF",
- "sideBarTitle.foreground": "#FFFFFF",
- "statusBarItem.remoteBackground": "#00000000",
- },
- tokens: {
- comment: "#7ca668",
- keyword: "#C586C0",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#9CDCFE",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#4EC9B0",
- className: "#4EC9B0",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-high-contrast" item="code-snippet-high-contrast" />
-
-That writes `compositions/code-snippet-high-contrast.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-high-contrast"
- data-composition-src="compositions/code-snippet-high-contrast.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-light-2026.mdx b/docs/catalog/blocks/code-snippet-light-2026.mdx
deleted file mode 100644
index 923ba4cfa3..0000000000
--- a/docs/catalog/blocks/code-snippet-light-2026.mdx
+++ /dev/null
@@ -1,1161 +0,0 @@
----
-title: "Code Snippet - Light 2026"
-description: "VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-light-2026.json"
- compositionId="code-snippet-light-2026"
- compositionSrc="compositions/code-snippet-light-2026.html"
- title="Code Snippet - Light 2026"
- description="VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1090}}
- attribution={{"path":"registry/blocks/code-snippet-light-2026","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-light-2026/code-snippet-light-2026.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-light-2026.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light 2026 VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-2026-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-2026"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light 2026</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">2026-light.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-2026"] =
- window.__timelines["vscode-light-2026"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-2026", {
- id: "light-2026",
- label: "Light 2026",
- sourceFile: "2026-light.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#000000",
- "activityBar.background": "#FAFAFD",
- "activityBar.border": "#F0F1F2FF",
- "activityBar.foreground": "#202020",
- "activityBar.inactiveForeground": "#606060",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#202020",
- "editor.lineHighlightBackground": "#EAEAEA40",
- "editor.selectionBackground": "#0069CC40",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#FAFAFD",
- "editorGroupHeader.tabsBorder": "#F0F1F2FF",
- "editorLineNumber.activeForeground": "#202020",
- "editorLineNumber.foreground": "#606060",
- foreground: "#202020",
- "icon.foreground": "#606060",
- "panel.background": "#FAFAFD",
- "panel.border": "#F0F1F2FF",
- "sideBar.background": "#FAFAFD",
- "sideBar.border": "#F0F1F2FF",
- "sideBar.foreground": "#202020",
- "sideBarSectionHeader.background": "#FAFAFD",
- "sideBarSectionHeader.border": "#F0F1F2FF",
- "sideBarSectionHeader.foreground": "#202020",
- "sideBarTitle.foreground": "#202020",
- "statusBar.background": "#FAFAFD",
- "statusBar.border": "#F0F1F2FF",
- "statusBar.foreground": "#606060",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#FFFFFF",
- "tab.activeBorderTop": "#000000",
- "tab.activeForeground": "#202020",
- "tab.border": "#F0F1F2FF",
- "tab.inactiveBackground": "#FAFAFD",
- "tab.inactiveForeground": "#606060",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#202020",
- "titleBar.activeBackground": "#FAFAFD",
- "titleBar.activeForeground": "#606060",
- },
- tokens: {
- comment: "#6e7781",
- keyword: "#1f2328",
- function: "#0550ae",
- string: "#0a3069",
- number: "#0550ae",
- variable: "#1f2328",
- parameter: "#953800",
- operator: "#cf222e",
- punctuation: "#953800",
- className: "#116329",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-light-2026" item="code-snippet-light-2026" />
-
-That writes `compositions/code-snippet-light-2026.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-light-2026"
- data-composition-src="compositions/code-snippet-light-2026.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-light-modern.mdx b/docs/catalog/blocks/code-snippet-light-modern.mdx
deleted file mode 100644
index 7b51c70962..0000000000
--- a/docs/catalog/blocks/code-snippet-light-modern.mdx
+++ /dev/null
@@ -1,1159 +0,0 @@
----
-title: "Code Snippet - Light Modern"
-description: "VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-light-modern.json"
- compositionId="code-snippet-light-modern"
- compositionSrc="compositions/code-snippet-light-modern.html"
- title="Code Snippet - Light Modern"
- description="VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1088}}
- attribution={{"path":"registry/blocks/code-snippet-light-modern","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-light-modern/code-snippet-light-modern.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-light-modern.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light Modern VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-modern-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-modern"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light Modern</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_modern.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-modern"] =
- window.__timelines["vscode-light-modern"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-modern", {
- id: "light-modern",
- label: "Light Modern",
- sourceFile: "light_modern.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#005FB8",
- "activityBar.background": "#F8F8F8",
- "activityBar.border": "#E5E5E5",
- "activityBar.foreground": "#1F1F1F",
- "activityBar.inactiveForeground": "#616161",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#3B3B3B",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#F8F8F8",
- "editorGroupHeader.tabsBorder": "#E5E5E5",
- "editorLineNumber.activeForeground": "#171184",
- "editorLineNumber.foreground": "#6E7681",
- foreground: "#3B3B3B",
- "icon.foreground": "#3B3B3B",
- "panel.background": "#F8F8F8",
- "panel.border": "#E5E5E5",
- "sideBar.background": "#F8F8F8",
- "sideBar.border": "#E5E5E5",
- "sideBar.foreground": "#3B3B3B",
- "sideBarSectionHeader.background": "#F8F8F8",
- "sideBarSectionHeader.border": "#E5E5E5",
- "sideBarSectionHeader.foreground": "#3B3B3B",
- "sideBarTitle.foreground": "#3B3B3B",
- "statusBar.background": "#F8F8F8",
- "statusBar.border": "#E5E5E5",
- "statusBar.foreground": "#3B3B3B",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#F8F8F8",
- "tab.activeBorderTop": "#005FB8",
- "tab.activeForeground": "#3B3B3B",
- "tab.border": "#E5E5E5",
- "tab.inactiveBackground": "#F8F8F8",
- "tab.inactiveForeground": "#868686",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#005FB8",
- "titleBar.activeBackground": "#F8F8F8",
- "titleBar.activeForeground": "#1E1E1E",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-light-modern" item="code-snippet-light-modern" />
-
-That writes `compositions/code-snippet-light-modern.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-light-modern"
- data-composition-src="compositions/code-snippet-light-modern.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-light-plus.mdx b/docs/catalog/blocks/code-snippet-light-plus.mdx
deleted file mode 100644
index fb41c1bf09..0000000000
--- a/docs/catalog/blocks/code-snippet-light-plus.mdx
+++ /dev/null
@@ -1,1127 +0,0 @@
----
-title: "Code Snippet - Light+"
-description: "VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-light-plus.json"
- compositionId="code-snippet-light-plus"
- compositionSrc="compositions/code-snippet-light-plus.html"
- title="Code Snippet - Light+"
- description="VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1056}}
- attribution={{"path":"registry/blocks/code-snippet-light-plus","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-light-plus/code-snippet-light-plus.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-light-plus.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light+ VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-plus-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-plus"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light+</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_plus.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-plus"] =
- window.__timelines["vscode-light-plus"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-plus", {
- id: "light-plus",
- label: "Light+",
- sourceFile: "light_plus.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-light-plus" item="code-snippet-light-plus" />
-
-That writes `compositions/code-snippet-light-plus.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-light-plus"
- data-composition-src="compositions/code-snippet-light-plus.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-monokai.mdx b/docs/catalog/blocks/code-snippet-monokai.mdx
deleted file mode 100644
index 52b68749db..0000000000
--- a/docs/catalog/blocks/code-snippet-monokai.mdx
+++ /dev/null
@@ -1,1139 +0,0 @@
----
-title: "Code Snippet - Monokai"
-description: "VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-monokai.json"
- compositionId="code-snippet-monokai"
- compositionSrc="compositions/code-snippet-monokai.html"
- title="Code Snippet - Monokai"
- description="VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1068}}
- attribution={{"path":"registry/blocks/code-snippet-monokai","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-monokai/code-snippet-monokai.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-monokai.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Monokai VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-monokai-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-monokai"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Monokai</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">monokai-color-theme.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-monokai"] =
- window.__timelines["vscode-monokai"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-monokai", {
- id: "monokai",
- label: "Monokai",
- sourceFile: "monokai-color-theme.json",
- uiTheme: "vs-dark",
- colors: {
- "activityBar.background": "#272822",
- "activityBar.foreground": "#f8f8f2",
- "editor.background": "#272822",
- "editor.foreground": "#f8f8f2",
- "editor.lineHighlightBackground": "#3e3d32",
- "editor.selectionBackground": "#878b9180",
- "editorGroup.border": "#34352f",
- "editorGroupHeader.tabsBackground": "#1e1f1c",
- "editorLineNumber.activeForeground": "#c2c2bf",
- "editorLineNumber.foreground": "#90908a",
- "panel.border": "#414339",
- "sideBar.background": "#1e1f1c",
- "sideBarSectionHeader.background": "#272822",
- "statusBar.background": "#414339",
- "statusBarItem.remoteBackground": "#AC6218",
- "tab.border": "#1e1f1c",
- "tab.inactiveBackground": "#34352f",
- "tab.inactiveForeground": "#ccccc7",
- "titleBar.activeBackground": "#1e1f1c",
- },
- tokens: {
- comment: "#88846f",
- keyword: "#66D9EF",
- function: "#66D9EF",
- string: "#AE81FF",
- number: "#AE81FFA0",
- variable: "#FD971F",
- parameter: "#FD971F",
- operator: "#F92672",
- punctuation: "#A6E22E",
- className: "#66D9EF",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-monokai" item="code-snippet-monokai" />
-
-That writes `compositions/code-snippet-monokai.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-monokai"
- data-composition-src="compositions/code-snippet-monokai.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-solarized-light.mdx b/docs/catalog/blocks/code-snippet-solarized-light.mdx
deleted file mode 100644
index 716004a888..0000000000
--- a/docs/catalog/blocks/code-snippet-solarized-light.mdx
+++ /dev/null
@@ -1,1141 +0,0 @@
----
-title: "Code Snippet - Solarized Light"
-description: "VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-solarized-light.json"
- compositionId="code-snippet-solarized-light"
- compositionSrc="compositions/code-snippet-solarized-light.html"
- title="Code Snippet - Solarized Light"
- description="VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1070}}
- attribution={{"path":"registry/blocks/code-snippet-solarized-light","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-solarized-light/code-snippet-solarized-light.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-solarized-light.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Solarized Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-solarized-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-solarized-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Solarized Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">solarized-light-color-theme.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-solarized-light"] =
- window.__timelines["vscode-solarized-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-solarized-light", {
- id: "solarized-light",
- label: "Solarized Light",
- sourceFile: "solarized-light-color-theme.json",
- uiTheme: "vs",
- colors: {
- "activityBar.background": "#DDD6C1",
- "activityBar.foreground": "#584c27",
- "editor.background": "#FDF6E3",
- "editor.foreground": "#657B83",
- "editor.lineHighlightBackground": "#EEE8D5",
- "editor.selectionBackground": "#EEE8D5",
- "editorGroup.border": "#DDD6C1",
- "editorGroupHeader.tabsBackground": "#D9D2C2",
- "editorLineNumber.activeForeground": "#567983",
- "panel.border": "#DDD6C1",
- "sideBar.background": "#EEE8D5",
- "sideBarTitle.foreground": "#586E75",
- "statusBar.background": "#EEE8D5",
- "statusBar.foreground": "#586E75",
- "statusBarItem.remoteBackground": "#AC9D57",
- "tab.activeBackground": "#FDF6E3",
- "tab.border": "#DDD6C1",
- "tab.inactiveBackground": "#D3CBB7",
- "tab.inactiveForeground": "#586E75",
- "terminal.background": "#FDF6E3",
- "titleBar.activeBackground": "#EEE8D5",
- },
- tokens: {
- comment: "#93A1A1",
- keyword: "#CB4B16",
- function: "#268BD2",
- string: "#DC322F",
- number: "#D33682",
- variable: "#268BD2",
- parameter: "#9CDCFE",
- operator: "#859900",
- punctuation: "#DC322F",
- className: "#CB4B16",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-solarized-light" item="code-snippet-solarized-light" />
-
-That writes `compositions/code-snippet-solarized-light.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-solarized-light"
- data-composition-src="compositions/code-snippet-solarized-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-visual-studio-dark.mdx b/docs/catalog/blocks/code-snippet-visual-studio-dark.mdx
deleted file mode 100644
index de8aae3972..0000000000
--- a/docs/catalog/blocks/code-snippet-visual-studio-dark.mdx
+++ /dev/null
@@ -1,1127 +0,0 @@
----
-title: "Code Snippet - Visual Studio Dark"
-description: "VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-visual-studio-dark.json"
- compositionId="code-snippet-visual-studio-dark"
- compositionSrc="compositions/code-snippet-visual-studio-dark.html"
- title="Code Snippet - Visual Studio Dark"
- description="VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1056}}
- attribution={{"path":"registry/blocks/code-snippet-visual-studio-dark","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-visual-studio-dark/code-snippet-visual-studio-dark.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-visual-studio-dark.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Dark VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-visual-studio-dark-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-visual-studio-dark"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Visual Studio Dark</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">dark_vs.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-visual-studio-dark"] =
- window.__timelines["vscode-visual-studio-dark"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-visual-studio-dark", {
- id: "visual-studio-dark",
- label: "Visual Studio Dark",
- sourceFile: "dark_vs.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d4d4d4",
- function: "#9cdcfe",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#569cd6",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#569cd6",
- className: "#9cdcfe",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-visual-studio-dark" item="code-snippet-visual-studio-dark" />
-
-That writes `compositions/code-snippet-visual-studio-dark.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-visual-studio-dark"
- data-composition-src="compositions/code-snippet-visual-studio-dark.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/code-snippet-visual-studio-light.mdx b/docs/catalog/blocks/code-snippet-visual-studio-light.mdx
deleted file mode 100644
index 188d6c01be..0000000000
--- a/docs/catalog/blocks/code-snippet-visual-studio-light.mdx
+++ /dev/null
@@ -1,1127 +0,0 @@
----
-title: "Code Snippet - Visual Studio Light"
-description: "VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/code-snippet-visual-studio-light.json"
- compositionId="code-snippet-visual-studio-light"
- compositionSrc="compositions/code-snippet-visual-studio-light.html"
- title="Code Snippet - Visual Studio Light"
- description="VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar."
- variables={[]}
- meta={{"duration":11,"width":1920,"height":1080,"category":"Code Snippets","badge":"Stable","codeLines":1056}}
- attribution={{"path":"registry/blocks/code-snippet-visual-studio-light","tags":["code","developer","showcase","vscode"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/code-snippet-visual-studio-light/code-snippet-visual-studio-light.html"
->
-
-<CatalogSlot slot="code">
-
-```html code-snippet-visual-studio-light.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-visual-studio-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-visual-studio-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Visual Studio Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_vs.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-visual-studio-light"] =
- window.__timelines["vscode-visual-studio-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-visual-studio-light", {
- id: "visual-studio-light",
- label: "Visual Studio Light",
- sourceFile: "light_vs.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#000000",
- function: "#0451a5",
- string: "#811f3f",
- number: "#098658",
- variable: "#0000ff",
- parameter: "#9CDCFE",
- operator: "#0000ff",
- punctuation: "#800000",
- className: "#0451a5",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add code-snippet-visual-studio-light" item="code-snippet-visual-studio-light" />
-
-That writes `compositions/code-snippet-visual-studio-light.html`, plus 1 supporting file under `assets/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-## Add it to your video
-
-It runs for 11 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="code-snippet-visual-studio-light"
- data-composition-src="compositions/code-snippet-visual-studio-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `code` `developer` `showcase` `vscode`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/liquid-glass-context-menu.mdx b/docs/catalog/blocks/liquid-glass-context-menu.mdx
deleted file mode 100644
index 7fdbf11e14..0000000000
--- a/docs/catalog/blocks/liquid-glass-context-menu.mdx
+++ /dev/null
@@ -1,704 +0,0 @@
----
-title: "Liquid Glass Context Menu"
-description: "Frosted glass context menu panel drifting over an aurora shader background"
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/liquid-glass-context-menu.json"
- compositionId="liquid-glass-context-menu"
- compositionSrc="compositions/liquid-glass-context-menu.html"
- title="Liquid Glass Context Menu"
- description="Frosted glass context menu panel drifting over an aurora shader background"
- variables={[]}
- meta={{"duration":8,"width":1920,"height":1080,"category":"HTML-in-Canvas","badge":"Experimental","codeLines":627}}
- attribution={{"path":"registry/blocks/liquid-glass-context-menu","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/liquid-glass-context-menu/liquid-glass-context-menu.html"
->
-
-<CatalogSlot slot="code">
-
-```html liquid-glass-context-menu.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Liquid Glass Context Menu</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script
- src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"
- integrity="sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu"
- crossorigin="anonymous"
- ></script>
- <script src="lib/liquid-glass.iife.js"></script>
- <style>
- *,
- *::before,
- *::after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- background: #0a0218;
- overflow: hidden;
- font-family: "Inter", system-ui, sans-serif;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- }
- #three-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 0;
- }
- #glass-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 1;
- }
-
- /* ── Glass Panel ── */
- .menu-panel {
- position: absolute;
- width: 390px;
- height: 506px;
- background: rgba(255, 255, 255, 0.15);
- --lg-blur: 0.56;
- --lg-refraction: 0.52;
- --lg-corner-radius: 30;
- --lg-z-radius: 48;
- --lg-specular: 0.26;
- --lg-fresnel: 1;
- --lg-edge-highlight: 0.2;
- --lg-chrom-aberration: 0.035;
- --lg-tint: 0.88;
- --lg-brightness: 0.54;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.24;
- }
- #glass-menu {
- top: 270px;
- left: 1980px;
- }
- .file-panel {
- position: absolute;
- top: 372px;
- left: 500px;
- width: 360px;
- height: 104px;
- background: rgba(255, 255, 255, 0.11);
- --lg-blur: 0.52;
- --lg-refraction: 0.48;
- --lg-corner-radius: 28;
- --lg-z-radius: 36;
- --lg-specular: 0.28;
- --lg-fresnel: 0.94;
- --lg-edge-highlight: 0.18;
- --lg-chrom-aberration: 0.03;
- --lg-tint: 0.74;
- --lg-brightness: 0.34;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.18;
- }
- .submenu-panel {
- position: absolute;
- top: 456px;
- left: 1980px;
- width: 230px;
- height: 58px;
- background: rgba(255, 255, 255, 0.11);
- --lg-blur: 0.52;
- --lg-refraction: 0.5;
- --lg-corner-radius: 20;
- --lg-z-radius: 28;
- --lg-specular: 0.3;
- --lg-fresnel: 0.96;
- --lg-edge-highlight: 0.18;
- --lg-chrom-aberration: 0.03;
- --lg-tint: 0.74;
- --lg-brightness: 0.36;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.2;
- }
-
- /* ── Text Overlay ── */
- .text-overlay {
- position: absolute;
- z-index: 2;
- pointer-events: none;
- }
- .context-file {
- position: absolute;
- top: 340px;
- left: 500px;
- z-index: 2;
- width: 360px;
- height: 104px;
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 18px 22px;
- border-radius: 26px;
- background: linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.095) 0%,
- rgba(255, 255, 255, 0.036) 38%,
- rgba(255, 255, 255, 0.006) 100%
- );
- box-shadow: none;
- }
- .file-icon {
- width: 58px;
- height: 68px;
- flex-shrink: 0;
- border-radius: 16px;
- background:
- linear-gradient(135deg, rgba(6, 227, 250, 0.92), rgba(79, 219, 94, 0.85)),
- rgba(255, 255, 255, 0.12);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
- }
- .file-meta {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
- .file-title {
- color: rgba(5, 17, 28, 0.9);
- font-size: 21px;
- font-weight: 780;
- letter-spacing: 0;
- text-shadow:
- 0 1px 0 rgba(255, 255, 255, 0.24),
- 0 10px 20px rgba(255, 255, 255, 0.14);
- }
- .file-subtitle {
- color: rgba(5, 17, 28, 0.72);
- font-size: 15px;
- font-weight: 650;
- text-shadow:
- 0 1px 0 rgba(255, 255, 255, 0.2),
- 0 8px 18px rgba(255, 255, 255, 0.12);
- }
- .pointer {
- position: absolute;
- top: 395px;
- left: 778px;
- z-index: 4;
- width: 34px;
- height: 44px;
- border-radius: 2px;
- background: #fff;
- clip-path: polygon(0 0, 0 100%, 31% 73%, 47% 100%, 62% 93%, 46% 67%, 82% 67%);
- filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
- }
- .click-ring {
- position: absolute;
- top: 390px;
- left: 770px;
- z-index: 3;
- width: 46px;
- height: 46px;
- border: 2px solid rgba(255, 255, 255, 0.75);
- border-radius: 50%;
- opacity: 0;
- }
- .menu-text {
- width: 390px;
- height: 506px;
- display: flex;
- flex-direction: column;
- padding: 18px 0;
- background: transparent;
- border-radius: 30px;
- box-shadow: none;
- overflow: hidden;
- }
- #text-menu {
- top: 270px;
- left: 1980px;
- }
-
- .menu-highlight {
- position: absolute;
- top: 17px;
- left: 14px;
- z-index: 0;
- width: 362px;
- height: 52px;
- border-radius: 17px;
- background:
- radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.48), transparent 42%),
- linear-gradient(90deg, rgba(255, 255, 255, 0.29), rgba(255, 255, 255, 0.12));
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.38),
- inset 0 -1px 0 rgba(255, 255, 255, 0.1);
- opacity: 0;
- }
- .menu-item {
- position: relative;
- z-index: 1;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 14px 28px;
- font-size: 18px;
- font-weight: 650;
- color: rgb(0, 7, 14);
- cursor: default;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
- }
- .menu-item svg {
- width: 22px;
- height: 22px;
- flex-shrink: 0;
- stroke: rgb(0, 7, 14);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- }
- .menu-sep {
- height: 1px;
- margin: 10px 28px;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
- }
- .menu-footer {
- position: relative;
- z-index: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 14px 26px;
- margin-top: auto;
- }
- .menu-footer-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 4px;
- font-size: 13px;
- font-weight: 650;
- color: rgba(0, 7, 14, 0.9);
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
- }
- .menu-footer-item svg {
- width: 24px;
- height: 24px;
- stroke: rgba(0, 7, 14, 0.84);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- }
- .menu-kbd {
- margin-left: auto;
- font-size: 14px;
- font-weight: 650;
- color: rgba(0, 7, 14, 0.82);
- font-variant-numeric: tabular-nums;
- }
- .submenu-preview {
- position: absolute;
- top: 456px;
- left: 1980px;
- z-index: 2;
- width: 230px;
- height: 58px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 20px;
- background: transparent;
- box-shadow: none;
- color: rgba(0, 7, 14, 0.92);
- font-size: 15px;
- font-weight: 760;
- opacity: 0;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="liquid-glass-context-menu"
- data-width="1920"
- data-height="1080"
- data-start="0"
- data-duration="8"
- data-root="true"
- >
- <canvas id="three-canvas" width="1920" height="1080"></canvas>
-
- <canvas id="glass-canvas" layoutsubtree width="1920" height="1080">
- <div id="glass-file" class="file-panel liquid-glass"></div>
- <div id="glass-menu" class="menu-panel liquid-glass"></div>
- <div id="glass-submenu" class="submenu-panel liquid-glass"></div>
- </canvas>
-
- <div id="context-file" class="context-file">
- <div class="file-icon"></div>
- <div class="file-meta">
- <div class="file-title">liquid-glass.mov</div>
- <div class="file-subtitle">Preview render - 08s</div>
- </div>
- </div>
- <div id="click-ring" class="click-ring"></div>
- <div id="pointer" class="pointer"></div>
-
- <div id="text-menu" class="text-overlay menu-text">
- <div id="menu-highlight" class="menu-highlight"></div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" />
- <polyline points="16 6 12 2 8 6" />
- <line x1="12" y1="2" x2="12" y2="15" />
- </svg>
- <span>Share</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" />
- </svg>
- <span>Add to Bookmarks</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" /></svg>
- <span>Add Bookmark to...</span>
- </div>
- <div class="menu-sep"></div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
- <line x1="9" y1="3" x2="9" y2="21" />
- </svg>
- <span>New Tab</span>
- <span class="menu-kbd">&#8984;T</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
- <path d="M9 3v18" />
- <path d="M14 9l3 3-3 3" />
- </svg>
- <span>New Private Tab</span>
- <span class="menu-kbd">&#8679;&#8984;N</span>
- </div>
- <div class="menu-sep"></div>
- <div class="menu-footer">
- <div class="menu-footer-item">
- <svg viewBox="0 0 24 24">
- <path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" />
- </svg>
- <span>Bookmarks</span>
- </div>
- <div class="menu-footer-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="7" height="7" />
- <rect x="14" y="3" width="7" height="7" />
- <rect x="3" y="14" width="7" height="7" />
- <rect x="14" y="14" width="7" height="7" />
- </svg>
- <span>All Tabs</span>
- </div>
- </div>
- </div>
- <div id="submenu-preview" class="submenu-preview">Open in New Tab</div>
-
- <div
- id="driver"
- class="clip"
- data-start="0"
- data-duration="8"
- data-track-index="0"
- style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
- ></div>
- </div>
-
- <script>
- var W = 1920,
- H = 1080,
- DURATION = 8;
-
- /* ── Three.js Aurora Shader ─────────────────────────────────────── */
- var vs = "varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }";
- var fs = [
- "precision highp float;",
- "varying vec2 vUv;",
- "uniform float uTime;",
- "vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}",
- "vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}",
- "float snoise(vec3 v){",
- " const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);",
- " vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);",
- " vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;",
- " vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);",
- " vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;",
- " i=mod289(i);",
- " vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));",
- " float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;",
- " vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);",
- " vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);",
- " vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);",
- " vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;",
- " vec4 sh=-step(h,vec4(0.0));",
- " vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;",
- " vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);",
- " vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));",
- " p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;",
- " vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;",
- " return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));",
- "}",
- "void main(){",
- " vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;",
- " float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;",
- " vec2 wp=p+vec2(wx,wy);",
- " vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));",
- " float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));",
- " float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);",
- " float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);",
- " float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);",
- " float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;",
- " float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;",
- " float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;",
- " vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);",
- " float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);",
- " vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);",
- " float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);",
- " vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);",
- " float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);",
- " vec3 col=base;",
- " col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));",
- " col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));",
- " col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));",
- " float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;",
- " col+=edgeGlow*mix(warm,cool,uv.x)*0.8;",
- " col*=1.0-pow(abs(ridge1),4.0)*0.15;",
- " float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));",
- " col*=0.65+vig*0.5;",
- " float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);",
- " col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));",
- " gl_FragColor=vec4(col,1.0);",
- "}",
- ].join("\n");
-
- /* ── Three.js Setup ─────────────────────────────────────────────── */
- var threeCanvas = document.getElementById("three-canvas");
- var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });
- renderer.setSize(W, H, false);
- renderer.setPixelRatio(1);
-
- var scene = new THREE.Scene();
- var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);
- var uniforms = { uTime: { value: 0 } };
- var mat = new THREE.ShaderMaterial({
- vertexShader: vs,
- fragmentShader: fs,
- uniforms: uniforms,
- });
- var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), mat);
- scene.add(quad);
-
- /* ── Glass Canvas ───────────────────────────────────────────────── */
- var glassCanvas = document.getElementById("glass-canvas");
- var ctx = glassCanvas.getContext("2d");
- var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);
- var lgReady = false;
-
- function renderGlass(time) {
- if (!lgReady) return;
- uniforms.uTime.value = time;
- renderer.render(scene, camera);
- ctx.clearRect(0, 0, W, H);
- ctx.drawImage(threeCanvas, 0, 0, W, H);
- lg.renderGlassElements();
- }
-
- function requestGlassRender(time) {
- if (glassCanvas.requestPaint) {
- glassCanvas.onpaint = function () {
- renderGlass(time);
- };
- glassCanvas.requestPaint();
- return;
- }
- renderGlass(time);
- }
-
- lg.waitForInit().then(function (ok) {
- if (!ok) return;
- lgReady = true;
- requestGlassRender(0);
- });
-
- /* ── GSAP Timeline ──────────────────────────────────────────────── */
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
-
- var gm = document.getElementById("glass-menu");
- var gf = document.getElementById("glass-file");
- var gsm = document.getElementById("glass-submenu");
- var tm = document.getElementById("text-menu");
- var pointer = document.getElementById("pointer");
- var fileCard = document.getElementById("context-file");
-
- gsap.set([gm, tm], {
- left: 860,
- top: 270,
- opacity: 0,
- scale: 0.82,
- y: -8,
- transformOrigin: "0% 18%",
- });
- // glass (#glass-file) is html-in-canvas — stays on left/top (exempt, no stutter)
- gsap.set(gf, { top: 372, opacity: 1, scale: 1, transformOrigin: "78% 54%" });
- // plain DOM (#context-file) — CSS resting top is 340px, so top:372 becomes y:32
- gsap.set(fileCard, { y: 32, opacity: 1, scale: 1, transformOrigin: "78% 54%" });
- gsap.set([gsm, "#submenu-preview"], {
- left: 1980,
- opacity: 0,
- scale: 0.86,
- x: -12,
- transformOrigin: "0% 50%",
- });
- gsap.set(".menu-item", { y: -4, opacity: 0 });
- // #menu-highlight plain DOM — CSS resting top:17; top:17 seed is y:0, tweens use y
- gsap.set("#menu-highlight", { y: 0, opacity: 0 });
-
- tl.to(gf, { top: 340, duration: 0.38, ease: "power3.out" }, 0.1);
- tl.to(fileCard, { y: 0, duration: 0.38, ease: "power3.out" }, 0.1);
- // #pointer plain DOM — CSS resting left:778 top:395; convert left/top → x/y offsets
- tl.fromTo(
- pointer,
- { x: -158, y: 125 },
- { x: 0, y: 0, duration: 0.55, ease: "power3.out" },
- 0.35,
- );
- tl.set("#click-ring", { left: 756, top: 372, scale: 0.72 }, 0.84);
- tl.to("#click-ring", { opacity: 0.7, scale: 1.18, duration: 0.16, ease: "power2.out" }, 0.86);
- tl.to("#click-ring", { opacity: 0, scale: 1.8, duration: 0.28, ease: "power2.out" }, 1.02);
- tl.to(
- [gf, fileCard],
- { scale: 0.985, duration: 0.08, ease: "power2.out", yoyo: true, repeat: 1 },
- 0.86,
- );
-
- tl.to([gm, tm], { opacity: 1, scale: 1, y: 0, duration: 0.36, ease: "back.out(1.08)" }, 0.98);
- tl.to(
- ".menu-item",
- { y: 0, opacity: 1, duration: 0.24, ease: "power3.out", stagger: 0.026 },
- 1.07,
- );
-
- tl.to("#menu-highlight", { opacity: 1, duration: 0.12, ease: "none" }, 1.35);
- tl.to("#menu-highlight", { y: 52, duration: 0.22, ease: "power2.out" }, 2.0);
- tl.to(pointer, { x: 350, y: 73, duration: 0.46, ease: "power3.inOut" }, 2.48);
- tl.to("#menu-highlight", { y: 170, duration: 0.22, ease: "power2.out" }, 2.58);
- tl.set([gsm, "#submenu-preview"], { left: 1236 }, 3.04);
- tl.fromTo(
- [gsm, "#submenu-preview"],
- { scale: 0.86, opacity: 0, x: -12 },
- { scale: 1, opacity: 1, x: 0, duration: 0.24, ease: "back.out(1.04)" },
- 3.08,
- );
- tl.to(pointer, { x: 540, y: 89, duration: 0.5, ease: "power3.inOut" }, 3.32);
- tl.set("#click-ring", { left: 1295, top: 461, scale: 0.72 }, 3.86);
- tl.to(
- "#click-ring",
- { opacity: 0.72, scale: 1.08, duration: 0.12, ease: "power2.out" },
- 3.88,
- );
- tl.to("#click-ring", { opacity: 0, scale: 1.58, duration: 0.24, ease: "power2.out" }, 4.0);
- tl.to(
- [gsm, "#submenu-preview"],
- { scale: 0.965, duration: 0.09, ease: "power2.out", yoyo: true, repeat: 1 },
- 3.92,
- );
-
- tl.to(pointer, { opacity: 0, duration: 0.35, ease: "power2.out" }, 5.85);
-
- /* Duration driver */
- tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: "none" }, 0);
-
- tl.eventCallback("onUpdate", function () {
- requestGlassRender(tl.time());
- });
-
- window.__timelines["liquid-glass-context-menu"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add liquid-glass-context-menu" item="liquid-glass-context-menu" />
-
-That writes `compositions/liquid-glass-context-menu.html`, plus 1 supporting file under `compositions/lib/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-<Danger>
- Live preview needs the `chrome://flags/#canvas-draw-element` flag switched on.
- Without it this item's screen renders black. Rendering from the CLI switches
- it on for you. [How it works](/guides/html-in-canvas)
-</Danger>
-
-## Add it to your video
-
-It runs for 8 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="liquid-glass-context-menu"
- data-composition-src="compositions/liquid-glass-context-menu.html"
- data-start="0"
- data-duration="8"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `html-in-canvas` `liquid-glass-html-in-canvas` `webgpu`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/catalog/blocks/liquid-glass-media-controls.mdx b/docs/catalog/blocks/liquid-glass-media-controls.mdx
deleted file mode 100644
index 88b609c2a7..0000000000
--- a/docs/catalog/blocks/liquid-glass-media-controls.mdx
+++ /dev/null
@@ -1,765 +0,0 @@
----
-title: "Liquid Glass Media Controls"
-description: "Frosted glass media control panels spreading over an aurora shader background"
-mode: "frame"
----
-
-import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
-import { InstallCommand } from "/snippets/install-command.jsx";
-
-<CatalogDetail
- previewSrc="/public/catalog/blocks/liquid-glass-media-controls.json"
- compositionId="liquid-glass-media-controls"
- compositionSrc="compositions/liquid-glass-media-controls.html"
- title="Liquid Glass Media Controls"
- description="Frosted glass media control panels spreading over an aurora shader background"
- variables={[]}
- meta={{"duration":8,"width":1920,"height":1080,"category":"HTML-in-Canvas","badge":"Experimental","codeLines":688}}
- attribution={{"path":"registry/blocks/liquid-glass-media-controls","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"]}}
- hasCode
- rawUrl="https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/blocks/liquid-glass-media-controls/liquid-glass-media-controls.html"
->
-
-<CatalogSlot slot="code">
-
-```html liquid-glass-media-controls.html
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Liquid Glass Media Controls</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script
- src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"
- integrity="sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu"
- crossorigin="anonymous"
- ></script>
- <script src="lib/liquid-glass.iife.js"></script>
- <style>
- *,
- *::before,
- *::after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- background: #0a0218;
- overflow: hidden;
- font-family: "Inter", system-ui, sans-serif;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- }
- #three-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 0;
- }
- #glass-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 1;
- }
-
- /* ── Glass Panels ── */
- .glass-panel {
- position: absolute;
- background: rgba(255, 255, 255, 0.055);
- --lg-blur: 0.42;
- --lg-refraction: 0.92;
- --lg-corner-radius: 36;
- --lg-z-radius: 58;
- --lg-specular: 0.46;
- --lg-fresnel: 1.15;
- --lg-edge-highlight: 0.34;
- --lg-chrom-aberration: 0.08;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: 1.1;
- }
- .search-panel {
- width: 640px;
- height: 72px;
- --lg-corner-radius: 24;
- }
- .toggle-panel {
- width: 640px;
- height: 64px;
- --lg-corner-radius: 44;
- }
- .media-panel {
- width: 640px;
- height: 116px;
- --lg-corner-radius: 44;
- }
- .slider-panel {
- width: 640px;
- height: 76px;
- --lg-corner-radius: 28;
- }
-
- #glass-search {
- top: 300px;
- left: 640px;
- }
- #glass-toggle {
- top: 390px;
- left: 640px;
- }
- #glass-media {
- top: 476px;
- left: 640px;
- }
- #glass-slider {
- top: 616px;
- left: 640px;
- }
-
- /* ── Text Overlays ── */
- .text-overlay {
- position: absolute;
- z-index: 2;
- pointer-events: none;
- }
-
- /* Search bar */
- .search-text {
- width: 640px;
- height: 72px;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 0 28px;
- background: transparent;
- border-radius: 24px;
- box-shadow: none;
- }
- .search-text svg {
- width: 22px;
- height: 22px;
- stroke: rgba(255, 255, 255, 0.86);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- flex-shrink: 0;
- }
- .search-label {
- font-size: 19px;
- font-weight: 650;
- color: #fff;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .search-caret {
- width: 2px;
- height: 25px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.82);
- opacity: 0;
- }
- #text-search {
- top: 300px;
- left: 640px;
- }
-
- /* Toggle row */
- .toggle-text {
- width: 640px;
- height: 64px;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 0;
- position: relative;
- padding: 6px;
- background: transparent;
- border-radius: 44px;
- box-shadow: none;
- }
- .toggle-active-pill {
- position: absolute;
- top: 6px;
- left: 6px;
- z-index: 0;
- width: 209px;
- height: 52px;
- border-radius: 999px;
- background:
- radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
- rgba(255, 255, 255, 0.14);
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.32),
- inset 0 -1px 0 rgba(255, 255, 255, 0.09);
- }
- .toggle-item {
- flex: 1;
- position: relative;
- z-index: 1;
- text-align: center;
- font-size: 16px;
- font-weight: 700;
- color: rgba(255, 255, 255, 0.96);
- line-height: 52px;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .toggle-item.active {
- color: #fff;
- }
- #text-toggle {
- top: 390px;
- left: 640px;
- }
-
- /* Media pill */
- .media-text {
- width: 640px;
- height: 116px;
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 24px;
- background: transparent;
- border-radius: 44px;
- box-shadow: none;
- }
- .album-art {
- position: relative;
- overflow: hidden;
- width: 78px;
- height: 78px;
- border-radius: 20px;
- background:
- radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.78), transparent 16%),
- conic-gradient(from 210deg, #06e3fa, #4fdb5e, #f59e0b, #ec4899, #06e3fa);
- flex-shrink: 0;
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.28),
- 0 12px 26px rgba(0, 0, 0, 0.24);
- }
- .album-sheen {
- position: absolute;
- top: -10px;
- left: -70px;
- width: 38px;
- height: 110px;
- background: rgba(255, 255, 255, 0.34);
- filter: blur(8px);
- transform: rotate(24deg);
- }
- .media-info {
- display: flex;
- flex-direction: column;
- gap: 7px;
- flex: 1;
- min-width: 0;
- }
- .media-title {
- font-size: 22px;
- font-weight: 700;
- color: #fff;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .media-artist {
- font-size: 16px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.84);
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .media-meta-row {
- display: flex;
- align-items: center;
- gap: 9px;
- }
- .live-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 14px rgba(74, 222, 128, 0.76);
- }
- .sound-wave {
- display: flex;
- align-items: end;
- gap: 3px;
- height: 16px;
- }
- .sound-wave span {
- width: 3px;
- height: 7px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.74);
- }
- .transport {
- display: flex;
- align-items: center;
- gap: 24px;
- margin-left: auto;
- padding-right: 4px;
- }
- .transport svg {
- width: 28px;
- height: 28px;
- fill: #fff;
- stroke: none;
- }
- .transport .play-btn svg {
- width: 38px;
- height: 38px;
- }
- #text-media {
- top: 476px;
- left: 640px;
- }
-
- /* Brightness slider */
- .slider-text {
- width: 640px;
- height: 76px;
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 28px;
- background: transparent;
- border-radius: 28px;
- box-shadow: none;
- }
- .slider-text svg {
- width: 26px;
- height: 26px;
- stroke: rgba(255, 255, 255, 0.88);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- flex-shrink: 0;
- }
- .slider-track {
- flex: 1;
- height: 8px;
- background: rgba(255, 255, 255, 0.24);
- border-radius: 4px;
- position: relative;
- }
- .slider-fill {
- position: absolute;
- top: 0;
- left: 0;
- width: 34%;
- height: 100%;
- background: #fff;
- border-radius: 3px;
- box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
- }
- .slider-pct {
- font-size: 17px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.9);
- font-variant-numeric: tabular-nums;
- width: 42px;
- text-align: right;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- #text-slider {
- top: 616px;
- left: 640px;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="liquid-glass-media-controls"
- data-width="1920"
- data-height="1080"
- data-start="0"
- data-duration="8"
- data-root="true"
- >
- <canvas id="three-canvas" width="1920" height="1080"></canvas>
-
- <canvas id="glass-canvas" layoutsubtree width="1920" height="1080">
- <div id="glass-search" class="glass-panel search-panel liquid-glass"></div>
- <div id="glass-toggle" class="glass-panel toggle-panel liquid-glass"></div>
- <div id="glass-media" class="glass-panel media-panel liquid-glass"></div>
- <div id="glass-slider" class="glass-panel slider-panel liquid-glass"></div>
- </canvas>
-
- <!-- Search bar -->
- <div id="text-search" class="text-overlay search-text">
- <svg viewBox="0 0 24 24">
- <circle cx="11" cy="11" r="8" />
- <line x1="21" y1="21" x2="16.65" y2="16.65" />
- </svg>
- <span id="search-label" class="search-label">Search</span>
- <span id="search-caret" class="search-caret"></span>
- </div>
-
- <!-- Toggle row -->
- <div id="text-toggle" class="text-overlay toggle-text">
- <div id="toggle-pill" class="toggle-active-pill"></div>
- <div class="toggle-item active">All</div>
- <div class="toggle-item">Favorites</div>
- <div class="toggle-item">Recent</div>
- </div>
-
- <!-- Media pill -->
- <div id="text-media" class="text-overlay media-text">
- <div class="album-art"><span id="album-sheen" class="album-sheen"></span></div>
- <div class="media-info">
- <div class="media-title">Midnight Drive</div>
- <div class="media-meta-row">
- <span id="live-dot" class="live-dot"></span>
- <div class="media-artist">Glass Resonance</div>
- <div id="sound-wave" class="sound-wave">
- <span></span><span></span><span></span><span></span>
- </div>
- </div>
- </div>
- <div class="transport">
- <span>
- <svg viewBox="0 0 24 24">
- <polygon points="19 20 9 12 19 4" />
- <line x1="5" y1="4" x2="5" y2="20" stroke="#fff" stroke-width="2" />
- </svg>
- </span>
- <span class="play-btn">
- <svg viewBox="0 0 24 24"><polygon points="5 3 19 12 5 21" /></svg>
- </span>
- <span>
- <svg viewBox="0 0 24 24">
- <polygon points="5 4 15 12 5 20" />
- <line x1="19" y1="4" x2="19" y2="20" stroke="#fff" stroke-width="2" />
- </svg>
- </span>
- </div>
- </div>
-
- <!-- Brightness slider -->
- <div id="text-slider" class="text-overlay slider-text">
- <svg viewBox="0 0 24 24">
- <circle cx="12" cy="12" r="5" />
- <line x1="12" y1="1" x2="12" y2="3" />
- <line x1="12" y1="21" x2="12" y2="23" />
- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
- <line x1="1" y1="12" x2="3" y2="12" />
- <line x1="21" y1="12" x2="23" y2="12" />
- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
- </svg>
- <div class="slider-track"><div id="slider-fill" class="slider-fill"></div></div>
- <span id="slider-pct" class="slider-pct">34%</span>
- </div>
-
- <div
- id="driver"
- class="clip"
- data-start="0"
- data-duration="8"
- data-track-index="0"
- style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
- ></div>
- </div>
-
- <script>
- var W = 1920,
- H = 1080,
- DURATION = 8;
-
- /* ── Three.js Aurora Shader ─────────────────────────────────────── */
- var vs = "varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }";
- var fs = [
- "precision highp float;",
- "varying vec2 vUv;",
- "uniform float uTime;",
- "vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}",
- "vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}",
- "float snoise(vec3 v){",
- " const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);",
- " vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);",
- " vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;",
- " vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);",
- " vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;",
- " i=mod289(i);",
- " vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));",
- " float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;",
- " vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);",
- " vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);",
- " vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);",
- " vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;",
- " vec4 sh=-step(h,vec4(0.0));",
- " vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;",
- " vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);",
- " vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));",
- " p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;",
- " vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;",
- " return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));",
- "}",
- "void main(){",
- " vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;",
- " float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;",
- " vec2 wp=p+vec2(wx,wy);",
- " vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));",
- " float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));",
- " float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);",
- " float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);",
- " float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);",
- " float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;",
- " float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;",
- " float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;",
- " vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);",
- " float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);",
- " vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);",
- " float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);",
- " vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);",
- " float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);",
- " vec3 col=base;",
- " col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));",
- " col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));",
- " col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));",
- " float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;",
- " col+=edgeGlow*mix(warm,cool,uv.x)*0.8;",
- " col*=1.0-pow(abs(ridge1),4.0)*0.15;",
- " float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));",
- " col*=0.65+vig*0.5;",
- " float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);",
- " col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));",
- " gl_FragColor=vec4(col,1.0);",
- "}",
- ].join("\n");
-
- /* ── Three.js Setup ─────────────────────────────────────────────── */
- var threeCanvas = document.getElementById("three-canvas");
- var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });
- renderer.setSize(W, H, false);
- renderer.setPixelRatio(1);
-
- var scene = new THREE.Scene();
- var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);
- var uniforms = { uTime: { value: 0 } };
- var shaderMat = new THREE.ShaderMaterial({
- vertexShader: vs,
- fragmentShader: fs,
- uniforms: uniforms,
- });
- var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), shaderMat);
- scene.add(quad);
-
- /* ── Glass Canvas ───────────────────────────────────────────────── */
- var glassCanvas = document.getElementById("glass-canvas");
- var ctx = glassCanvas.getContext("2d");
- var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);
- var lgReady = false;
-
- function renderGlass(time) {
- if (!lgReady) return;
- uniforms.uTime.value = time;
- renderer.render(scene, camera);
- ctx.clearRect(0, 0, W, H);
- ctx.drawImage(threeCanvas, 0, 0, W, H);
- lg.renderGlassElements();
- }
-
- function requestGlassRender(time) {
- if (glassCanvas.requestPaint) {
- glassCanvas.onpaint = function () {
- renderGlass(time);
- };
- glassCanvas.requestPaint();
- return;
- }
- renderGlass(time);
- }
-
- lg.waitForInit().then(function (ok) {
- if (!ok) return;
- lgReady = true;
- requestGlassRender(0);
- });
-
- /* ── GSAP Timeline ──────────────────────────────────────────────── */
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
-
- var gs = document.getElementById("glass-search");
- var gt = document.getElementById("glass-toggle");
- var gm = document.getElementById("glass-media");
- var gsl = document.getElementById("glass-slider");
- var ts = document.getElementById("text-search");
- var tt = document.getElementById("text-toggle");
- var tm = document.getElementById("text-media");
- var tsl = document.getElementById("text-slider");
- var searchLabel = document.getElementById("search-label");
- var sliderPct = document.getElementById("slider-pct");
- var sliderValue = { value: 34 };
-
- // Glass panels live inside <canvas layoutsubtree> (html-in-canvas): the canvas lib
- // reads their sub-pixel computed top/left, so animating layout props on them does
- // NOT stutter and is exempt from gsap_non_transform_motion. They keep top/left.
- // Plain-DOM text overlays DO stutter on layout props, so they use transforms (x/y).
- // CSS resting tops — search 300, toggle 390, media 476, slider 616 — are the
- // transform base; the original set seeded top:1160, i.e. y = 1160 - restingTop.
- gsap.set([gs, gt, gm, gsl], { top: 1160, opacity: 1 });
- gsap.set(ts, { y: 860, opacity: 1 });
- gsap.set(tt, { y: 770, opacity: 1 });
- gsap.set(tm, { y: 684, opacity: 1 });
- gsap.set(tsl, { y: 544, opacity: 1 });
- gsap.set("#sound-wave span", { height: 7 });
-
- tl.to(gs, { top: 300, duration: 0.48, ease: "power3.out" }, 0.12);
- tl.to(ts, { y: 0, duration: 0.48, ease: "power3.out" }, 0.12);
- tl.to(gt, { top: 390, duration: 0.44, ease: "power3.out" }, 0.22);
- tl.to(tt, { y: 0, duration: 0.44, ease: "power3.out" }, 0.22);
- tl.to(gm, { top: 476, duration: 0.44, ease: "power3.out" }, 0.32);
- tl.to(tm, { y: 0, duration: 0.44, ease: "power3.out" }, 0.32);
- tl.to(gsl, { top: 616, duration: 0.46, ease: "power3.out" }, 0.42);
- tl.to(tsl, { y: 0, duration: 0.46, ease: "power3.out" }, 0.42);
-
- tl.call(
- function () {
- searchLabel.textContent = "Search Music";
- },
- null,
- 0.9,
- );
- tl.to(
- "#search-caret",
- { opacity: 1, duration: 0.1, yoyo: true, repeat: 5, ease: "none" },
- 0.94,
- );
- tl.call(
- function () {
- searchLabel.textContent = "Midnight Drive";
- },
- null,
- 1.55,
- );
- tl.to("#toggle-pill", { x: 209, duration: 0.24, ease: "power2.out" }, 1.82);
- tl.to(
- ".play-btn",
- { scale: 0.86, duration: 0.12, ease: "power2.out", yoyo: true, repeat: 1 },
- 2.18,
- );
- tl.to("#album-sheen", { x: 182, duration: 0.75, ease: "power2.out" }, 2.2);
- tl.to(
- "#sound-wave span",
- { height: 15, duration: 0.22, ease: "power2.inOut", stagger: 0.05, yoyo: true, repeat: 12 },
- 2.2,
- );
- tl.to(
- sliderValue,
- {
- value: 82,
- duration: 4.4,
- ease: "none",
- onUpdate: function () {
- sliderPct.textContent = Math.round(sliderValue.value) + "%";
- },
- },
- 1.2,
- );
- tl.to("#slider-fill", { width: "82%", duration: 4.4, ease: "none" }, 1.2);
- tl.to(
- "#live-dot",
- { scale: 1.45, duration: 0.24, ease: "power2.out", yoyo: true, repeat: 4 },
- 2.6,
- );
- tl.to("#toggle-pill", { x: 419, duration: 0.24, ease: "power2.out" }, 4.15);
-
- // Settle + exit. Split so glass panels keep relative top (exempt, html-in-canvas)
- // and plain-DOM text overlays use the relative transform equivalent (y). Inline
- // array literals so the linter can resolve each group's targets; a pre-declared
- // array variable resolves to __unresolved__ and would lose the canvas exemption.
- tl.to(
- [gs, gt, gm, gsl],
- { top: "-=8", duration: 0.22, ease: "power2.out", yoyo: true, repeat: 1 },
- 5.55,
- );
- tl.to(
- [ts, tt, tm, tsl],
- { y: "-=8", duration: 0.22, ease: "power2.out", yoyo: true, repeat: 1 },
- 5.55,
- );
- tl.to([gs, gt, gm, gsl], { top: "+=760", duration: 0.42, ease: "power2.in" }, 6.72);
- tl.to([ts, tt, tm, tsl], { y: "+=760", duration: 0.42, ease: "power2.in" }, 6.72);
-
- /* Duration driver */
- tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: "none" }, 0);
-
- tl.eventCallback("onUpdate", function () {
- requestGlassRender(tl.time());
- });
-
- window.__timelines["liquid-glass-media-controls"] = tl;
- </script>
- </body>
-</html>
-```
-
-</CatalogSlot>
-
-<CatalogSlot slot="install">
-
-<InstallCommand command="npx hyperframes add liquid-glass-media-controls" item="liquid-glass-media-controls" />
-
-That writes `compositions/liquid-glass-media-controls.html`, plus 1 supporting file under `compositions/lib/`.
-
-</CatalogSlot>
-
-<CatalogSlot slot="docs">
-
-<Danger>
- Live preview needs the `chrome://flags/#canvas-draw-element` flag switched on.
- Without it this item's screen renders black. Rendering from the CLI switches
- it on for you. [How it works](/guides/html-in-canvas)
-</Danger>
-
-## Add it to your video
-
-It runs for 8 seconds at 1920×1080. Paste this into your composition:
-
-```html index.html
-<div
- data-composition-id="liquid-glass-media-controls"
- data-composition-src="compositions/liquid-glass-media-controls.html"
- data-start="0"
- data-duration="8"
- data-track-index="1"
- data-width="1920"
- data-height="1080"
-></div>
-```
-
-Move it in time with `data-start`. Put it on a different timeline row with
-`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
-
-{/* hf:generated-footer */}
-
-Tagged `html-in-canvas` `liquid-glass-html-in-canvas` `webgpu`.
-
-## Related topics
-
-- [Browse the complete Catalog](/catalog)
-- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
-- [Build a richer composition](/go-further)
-
-</CatalogSlot>
-
-</CatalogDetail>
diff --git a/docs/docs.json b/docs/docs.json
index e271cd75e2..db8db828db 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -403,12 +403,12 @@
},
{
"group": "Code",
- "tag": "34",
+ "tag": "12",
"expanded": false,
"pages": [
{
"group": "Code Animations",
- "tag": "10",
+ "tag": "9",
"expanded": false,
"pages": [
"catalog/blocks/code-3d-extrude",
@@ -418,40 +418,18 @@
"catalog/blocks/code-particle-assemble",
"catalog/blocks/code-scroll",
"catalog/blocks/code-shader-dissolve",
- "catalog/blocks/code-snippet-flight",
"catalog/blocks/code-typing",
"catalog/components/terminal-simulator"
]
},
{
"group": "Code Snippets",
- "tag": "24",
+ "tag": "3",
"expanded": false,
"pages": [
- "catalog/blocks/code-snippet-apple-terminal-basic",
- "catalog/blocks/code-snippet-apple-terminal-clear-dark",
- "catalog/blocks/code-snippet-apple-terminal-clear-light",
- "catalog/blocks/code-snippet-apple-terminal-grass",
- "catalog/blocks/code-snippet-apple-terminal-homebrew",
- "catalog/blocks/code-snippet-apple-terminal-man-page",
- "catalog/blocks/code-snippet-apple-terminal-novel",
- "catalog/blocks/code-snippet-apple-terminal-ocean",
"catalog/blocks/code-snippet-apple-terminal-pro",
- "catalog/blocks/code-snippet-apple-terminal-red-sands",
- "catalog/blocks/code-snippet-apple-terminal-silver-aerogel",
- "catalog/blocks/code-snippet-apple-terminal-solid-colors",
"catalog/blocks/code-snippet-dark-2026",
- "catalog/blocks/code-snippet-dark-modern",
- "catalog/blocks/code-snippet-dark-plus",
- "catalog/blocks/code-snippet-high-contrast",
- "catalog/blocks/code-snippet-high-contrast-light",
- "catalog/blocks/code-snippet-light-2026",
- "catalog/blocks/code-snippet-light-modern",
- "catalog/blocks/code-snippet-light-plus",
- "catalog/blocks/code-snippet-monokai",
- "catalog/blocks/code-snippet-solarized-light",
- "catalog/blocks/code-snippet-visual-studio-dark",
- "catalog/blocks/code-snippet-visual-studio-light"
+ "catalog/blocks/code-snippet-dark-modern"
]
}
]
@@ -794,7 +772,7 @@
},
{
"group": "Surfaces",
- "tag": "20",
+ "tag": "18",
"expanded": false,
"pages": [
{
@@ -813,12 +791,10 @@
},
{
"group": "HTML-in-Canvas",
- "tag": "13",
+ "tag": "11",
"expanded": false,
"pages": [
"catalog/blocks/ios26-liquid-glass",
- "catalog/blocks/liquid-glass-context-menu",
- "catalog/blocks/liquid-glass-media-controls",
"catalog/blocks/liquid-glass-notification",
"catalog/blocks/liquid-glass-widgets",
"catalog/blocks/macos-tahoe-liquid-glass",
diff --git a/docs/prompting/code-blocks.mdx b/docs/prompting/code-blocks.mdx
index e276d1fd71..a36c3c0827 100644
--- a/docs/prompting/code-blocks.mdx
+++ b/docs/prompting/code-blocks.mdx
@@ -22,7 +22,6 @@ Each Code Animations block answers a different "what is the viewer supposed to n
| One line as *the* line, everything else dim | [`code-highlight`](/catalog/blocks/code-highlight) | 5s |
| Walking a long file to a spot deep inside | [`code-scroll`](/catalog/blocks/code-scroll) | 6s |
| One snippet transforming into another | [`code-morph`](/catalog/blocks/code-morph) | 7s |
-| Snippets flying in and stacking up | [`code-snippet-flight`](/catalog/blocks/code-snippet-flight) | 6s |
| Code on a rotating 3D slab (title-card feel) | [`code-3d-extrude`](/catalog/blocks/code-3d-extrude) | 8s |
| Code resolving out of a shader dissolve | [`code-shader-dissolve`](/catalog/blocks/code-shader-dissolve) | 7s |
| Code assembling from a particle swarm | [`code-particle-assemble`](/catalog/blocks/code-particle-assemble) | 8s |
@@ -112,31 +111,16 @@ For "here's what changed," hand `code-diff` the before and after and let it colo
### Choosing a theme by name
-The [Code Snippets](/catalog/blocks/code-snippet-monokai) blocks are pre-styled shells with per-character typing already built in. There are two families, and you select one by asking for it in plain language — the exact block name is the theme name.
-**macOS Terminal.app profiles** — a real terminal window chrome. Say "apple terminal, ocean profile" → [`code-snippet-apple-terminal-ocean`](/catalog/blocks/code-snippet-apple-terminal-ocean). The full set of profiles:
| Profile | Block | Profile | Block |
| ------------ | ----------------------------------------- | -------------- | ------------------------------------------- |
-| Basic | `code-snippet-apple-terminal-basic` | Novel | `code-snippet-apple-terminal-novel` |
-| Clear Dark | `code-snippet-apple-terminal-clear-dark` | Ocean | `code-snippet-apple-terminal-ocean` |
-| Clear Light | `code-snippet-apple-terminal-clear-light` | Pro | `code-snippet-apple-terminal-pro` |
-| Grass | `code-snippet-apple-terminal-grass` | Red Sands | `code-snippet-apple-terminal-red-sands` |
-| Homebrew | `code-snippet-apple-terminal-homebrew` | Silver Aerogel | `code-snippet-apple-terminal-silver-aerogel`|
-| Man Page | `code-snippet-apple-terminal-man-page` | Solid Colors | `code-snippet-apple-terminal-solid-colors` |
**VS Code workbench themes** — full editor chrome (activity bar, sidebar, tabs, terminal, status bar). Say "monokai" or "visual studio dark":
| Say this | Block | Say this | Block |
| ---------------------- | ------------------------------------- | ------------------- | ---------------------------------- |
-| Monokai | `code-snippet-monokai` | Solarized Light | `code-snippet-solarized-light` |
-| Dark Modern | `code-snippet-dark-modern` | Light Modern | `code-snippet-light-modern` |
-| Dark Plus | `code-snippet-dark-plus` | Light Plus | `code-snippet-light-plus` |
-| Dark 2026 | `code-snippet-dark-2026` | Light 2026 | `code-snippet-light-2026` |
-| High Contrast | `code-snippet-high-contrast` | High Contrast Light | `code-snippet-high-contrast-light` |
-| Visual Studio Dark | `code-snippet-visual-studio-dark` | Visual Studio Light | `code-snippet-visual-studio-light` |
-
-> /motion-graphics 5-second 1920x1080 video. A macOS Terminal window in the Ocean profile types `npx skills add heygen-com/hyperframes` character by character, then holds on the typed, unexecuted command with the cursor blinking — no output, no second prompt. Use the `code-snippet-apple-terminal-ocean` registry block. No narration.
+
<DocsVideo
title="HyperFrames video: Terminal Ocean"
diff --git a/docs/prompting/vfx-and-liquid-glass.mdx b/docs/prompting/vfx-and-liquid-glass.mdx
index 010722cf2a..c6ccd467a5 100644
--- a/docs/prompting/vfx-and-liquid-glass.mdx
+++ b/docs/prompting/vfx-and-liquid-glass.mdx
@@ -34,8 +34,6 @@ The liquid-glass blocks are frosted-glass Apple-style UI floating over an aurora
| A full iOS 26 home screen on a 3D iPhone | [`ios26-liquid-glass`](/catalog/blocks/ios26-liquid-glass) | 15s |
| A macOS Tahoe desktop on a 3D MacBook | [`macos-tahoe-liquid-glass`](/catalog/blocks/macos-tahoe-liquid-glass) | 15s |
| Glass notification cards | [`liquid-glass-notification`](/catalog/blocks/liquid-glass-notification) | 8s |
-| A glass context menu | [`liquid-glass-context-menu`](/catalog/blocks/liquid-glass-context-menu) | 8s |
-| Glass media / playback controls | [`liquid-glass-media-controls`](/catalog/blocks/liquid-glass-media-controls) | 8s |
| Glass stat cards, panels, pill chips | [`liquid-glass-widgets`](/catalog/blocks/liquid-glass-widgets) | 8s |
The four `liquid-glass-*` panel blocks share the aurora-shader stage, so they compose cleanly into one scene; `ios26-liquid-glass` and `macos-tahoe-liquid-glass` are complete device environments and generally stand alone.
diff --git a/docs/public/catalog-index.json b/docs/public/catalog-index.json
index 857715fb3a..f82b80b97a 100644
--- a/docs/public/catalog-index.json
+++ b/docs/public/catalog-index.json
@@ -420,7 +420,7 @@
"name": "caption-blend-difference",
"type": "component",
"title": "Blend Difference",
- "description": "Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background",
+ "description": "Auto-inverting text using mix-blend-mode: difference \u2014 flips between white and black per-pixel against the background",
"tags": [
"text",
"text-effect",
@@ -644,7 +644,7 @@
"name": "caption-texture",
"type": "component",
"title": "Texture",
- "description": "Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable",
+ "description": "Flowing texture mask over large uppercase text \u2014 ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable",
"tags": [
"captions",
"caption-style",
@@ -917,7 +917,7 @@
"name": "carousel-text-circle-1",
"type": "block",
"title": "Text + Circle Carousel 1",
- "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 1).",
+ "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4\u00d7 (Circle style 1).",
"tags": [
"carousel",
"title-card",
@@ -933,7 +933,7 @@
"name": "carousel-text-circle-2",
"type": "block",
"title": "Text + Circle Carousel 2",
- "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 2).",
+ "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4\u00d7 (Circle style 2).",
"tags": [
"carousel",
"title-card",
@@ -949,7 +949,7 @@
"name": "carousel-text-circle-3",
"type": "block",
"title": "Text + Circle Carousel 3",
- "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 3).",
+ "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4\u00d7 (Circle style 3).",
"tags": [
"carousel",
"title-card",
@@ -965,7 +965,7 @@
"name": "carousel-text-circle-4",
"type": "block",
"title": "Text + Circle Carousel 4",
- "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 4).",
+ "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4\u00d7 (Circle style 4).",
"tags": [
"carousel",
"title-card",
@@ -981,7 +981,7 @@
"name": "carousel-text-circle-5",
"type": "block",
"title": "Text + Circle Carousel 5",
- "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 5).",
+ "description": "A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4\u00d7 (Circle style 5).",
"tags": [
"carousel",
"title-card",
@@ -1209,7 +1209,7 @@
"name": "code-3d-extrude",
"type": "block",
"title": "Code 3D Extrude",
- "description": "Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and lighting, not a 2D transform.",
+ "description": "Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest \u2014 true WebGL depth and lighting, not a 2D transform.",
"tags": [
"code",
"code-animation",
@@ -1224,7 +1224,7 @@
"name": "code-diff",
"type": "block",
"title": "Code Diff",
- "description": "An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.",
+ "description": "An edit shown as a colored diff \u2014 removed lines collapse in red, added lines expand in green.",
"tags": [
"code",
"code-animation",
@@ -1238,7 +1238,7 @@
"name": "code-highlight",
"type": "block",
"title": "Code Highlight Sweep",
- "description": "A highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.",
+ "description": "A highlight band sweeps across a target line while the surrounding context dims \u2014 draws the eye to one line.",
"tags": [
"code",
"code-animation",
@@ -1252,7 +1252,7 @@
"name": "code-morph",
"type": "block",
"title": "Code Morph",
- "description": "One snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.",
+ "description": "One snippet transforms into another \u2014 tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.",
"tags": [
"code",
"code-animation",
@@ -1267,7 +1267,7 @@
"name": "code-particle-assemble",
"type": "block",
"title": "Code Particle Assemble",
- "description": "Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text — a particle system, not a token tween.",
+ "description": "Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text \u2014 a particle system, not a token tween.",
"tags": [
"code",
"code-animation",
@@ -1283,7 +1283,7 @@
"name": "code-scroll",
"type": "block",
"title": "Code Scroll To Line",
- "description": "The camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.",
+ "description": "The camera scrolls a long file to bring a target line to center and spotlights it \u2014 for walking through real modules.",
"tags": [
"code",
"code-animation",
@@ -1326,134 +1326,6 @@
"href": "/catalog/blocks/code-slice-hero",
"preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-slice-hero.png"
},
- {
- "name": "code-snippet-apple-terminal-basic",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Basic",
- "description": "Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-basic",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-basic.png"
- },
- {
- "name": "code-snippet-apple-terminal-clear-dark",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Clear Dark",
- "description": "Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-clear-dark",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-dark.png"
- },
- {
- "name": "code-snippet-apple-terminal-clear-light",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Clear Light",
- "description": "Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-clear-light",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-light.png"
- },
- {
- "name": "code-snippet-apple-terminal-grass",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Grass",
- "description": "Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-grass",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-grass.png"
- },
- {
- "name": "code-snippet-apple-terminal-homebrew",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Homebrew",
- "description": "Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-homebrew",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-homebrew.png"
- },
- {
- "name": "code-snippet-apple-terminal-man-page",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Man Page",
- "description": "Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-man-page",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-man-page.png"
- },
- {
- "name": "code-snippet-apple-terminal-novel",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Novel",
- "description": "Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-novel",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-novel.png"
- },
- {
- "name": "code-snippet-apple-terminal-ocean",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Ocean",
- "description": "Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-ocean",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-ocean.png"
- },
{
"name": "code-snippet-apple-terminal-pro",
"type": "block",
@@ -1470,54 +1342,6 @@
"href": "/catalog/blocks/code-snippet-apple-terminal-pro",
"preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-pro.png"
},
- {
- "name": "code-snippet-apple-terminal-red-sands",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Red Sands",
- "description": "Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-red-sands",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-red-sands.png"
- },
- {
- "name": "code-snippet-apple-terminal-silver-aerogel",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Silver Aerogel",
- "description": "Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-silver-aerogel",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.png"
- },
- {
- "name": "code-snippet-apple-terminal-solid-colors",
- "type": "block",
- "title": "Code Snippet - Apple Terminal Solid Colors",
- "description": "Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "terminal",
- "apple",
- "apple-terminal"
- ],
- "href": "/catalog/blocks/code-snippet-apple-terminal-solid-colors",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-solid-colors.png"
- },
{
"name": "code-snippet-dark-2026",
"type": "block",
@@ -1546,160 +1370,6 @@
"href": "/catalog/blocks/code-snippet-dark-modern",
"preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-dark-modern.png"
},
- {
- "name": "code-snippet-dark-plus",
- "type": "block",
- "title": "Code Snippet - Dark+",
- "description": "VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-dark-plus",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-dark-plus.png"
- },
- {
- "name": "code-snippet-flight",
- "type": "block",
- "title": "Code Snippet Flight",
- "description": "Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP.",
- "tags": [
- "code",
- "code-animation",
- "flight",
- "developer"
- ],
- "href": "/catalog/blocks/code-snippet-flight",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-flight.png"
- },
- {
- "name": "code-snippet-high-contrast",
- "type": "block",
- "title": "Code Snippet - High Contrast",
- "description": "VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-high-contrast",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-high-contrast.png"
- },
- {
- "name": "code-snippet-high-contrast-light",
- "type": "block",
- "title": "Code Snippet - High Contrast Light",
- "description": "VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-high-contrast-light",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-high-contrast-light.png"
- },
- {
- "name": "code-snippet-light-2026",
- "type": "block",
- "title": "Code Snippet - Light 2026",
- "description": "VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-light-2026",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-light-2026.png"
- },
- {
- "name": "code-snippet-light-modern",
- "type": "block",
- "title": "Code Snippet - Light Modern",
- "description": "VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-light-modern",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-light-modern.png"
- },
- {
- "name": "code-snippet-light-plus",
- "type": "block",
- "title": "Code Snippet - Light+",
- "description": "VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-light-plus",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-light-plus.png"
- },
- {
- "name": "code-snippet-monokai",
- "type": "block",
- "title": "Code Snippet - Monokai",
- "description": "VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-monokai",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-monokai.png"
- },
- {
- "name": "code-snippet-solarized-light",
- "type": "block",
- "title": "Code Snippet - Solarized Light",
- "description": "VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-solarized-light",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-solarized-light.png"
- },
- {
- "name": "code-snippet-visual-studio-dark",
- "type": "block",
- "title": "Code Snippet - Visual Studio Dark",
- "description": "VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-visual-studio-dark",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-visual-studio-dark.png"
- },
- {
- "name": "code-snippet-visual-studio-light",
- "type": "block",
- "title": "Code Snippet - Visual Studio Light",
- "description": "VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": [
- "code",
- "developer",
- "showcase",
- "vscode"
- ],
- "href": "/catalog/blocks/code-snippet-visual-studio-light",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-visual-studio-light.png"
- },
{
"name": "code-terminal-run",
"type": "component",
@@ -1719,7 +1389,7 @@
"name": "code-typing",
"type": "block",
"title": "Code Typing",
- "description": "Token-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.",
+ "description": "Token-streamed typing reveal with a caret that tracks the frontier \u2014 deterministic, no CSS animation.",
"tags": [
"code",
"code-animation",
@@ -2324,7 +1994,7 @@
"name": "grain-overlay",
"type": "component",
"title": "Grain Overlay",
- "description": "Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition",
+ "description": "Animated film grain texture overlay using CSS keyframes \u2014 adds warmth and analog character to any composition",
"tags": [
"texture",
"grain",
@@ -2367,7 +2037,7 @@
"name": "grid-pixelate-wipe",
"type": "component",
"title": "Grid Pixelate Wipe",
- "description": "Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing — use between scenes",
+ "description": "Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing \u2014 use between scenes",
"tags": [
"transition",
"wipe",
@@ -2455,7 +2125,7 @@
"name": "hw-boil",
"type": "component",
"title": "Hand-Drawn Boil",
- "description": "Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray — spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on",
+ "description": "Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray \u2014 spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on",
"tags": [
"handwritten",
"effect",
@@ -2468,7 +2138,7 @@
"name": "hw-box-label",
"type": "component",
"title": "Hand-Drawn Box Label",
- "description": "Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils",
+ "description": "Wobbled rounded rectangle draws on \u2014 across the authored stroke matrix (plain/soft/sharp/spray) \u2014 or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils",
"tags": [
"handwritten",
"annotation",
@@ -2821,32 +2491,6 @@
"href": "/catalog/components/line-swap",
"preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/line-swap.png"
},
- {
- "name": "liquid-glass-context-menu",
- "type": "block",
- "title": "Liquid Glass Context Menu",
- "description": "Frosted glass context menu panel drifting over an aurora shader background",
- "tags": [
- "html-in-canvas",
- "liquid-glass-html-in-canvas",
- "webgpu"
- ],
- "href": "/catalog/blocks/liquid-glass-context-menu",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-context-menu.png"
- },
- {
- "name": "liquid-glass-media-controls",
- "type": "block",
- "title": "Liquid Glass Media Controls",
- "description": "Frosted glass media control panels spreading over an aurora shader background",
- "tags": [
- "html-in-canvas",
- "liquid-glass-html-in-canvas",
- "webgpu"
- ],
- "href": "/catalog/blocks/liquid-glass-media-controls",
- "preview": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-media-controls.png"
- },
{
"name": "liquid-glass-notification",
"type": "block",
@@ -2952,7 +2596,7 @@
{
"name": "lower-third-bild",
"type": "block",
- "title": "Lower Third — BILD Style",
+ "title": "Lower Third \u2014 BILD Style",
"description": "News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow.",
"tags": [
"broadcast",
@@ -2966,7 +2610,7 @@
{
"name": "lt-accent-underline",
"type": "block",
- "title": "Lower Third — Accent Underline",
+ "title": "Lower Third \u2014 Accent Underline",
"description": "Cardless lower third for footage overlay: name rises, an accent rule draws left-to-right, role fades in; text-shadowed for legibility",
"tags": [
"lower-third",
@@ -2981,7 +2625,7 @@
{
"name": "lt-bold-block",
"type": "block",
- "title": "Lower Third — Bold Block",
+ "title": "Lower Third \u2014 Bold Block",
"description": "High-energy podcast lower third: solid dark block wipes in, uppercase name slams up, accent tag pops",
"tags": [
"lower-third",
@@ -2996,7 +2640,7 @@
{
"name": "lt-clean-bar",
"type": "block",
- "title": "Lower Third — Clean Bar",
+ "title": "Lower Third \u2014 Clean Bar",
"description": "Minimal white-card lower third for podcasts/interviews: accent tab, name + role, clip-wipe entrance",
"tags": [
"lower-third",
@@ -3010,7 +2654,7 @@
{
"name": "lt-color-block",
"type": "block",
- "title": "Lower Third — Color Block",
+ "title": "Lower Third \u2014 Color Block",
"description": "High-energy lower third: bold accent-color block slides in with overshoot, condensed name + mono role",
"tags": [
"lower-third",
@@ -3025,7 +2669,7 @@
{
"name": "lt-dark-card",
"type": "block",
- "title": "Lower Third — Dark Card",
+ "title": "Lower Third \u2014 Dark Card",
"description": "Charcoal card lower third for bright footage: name, drawn accent underline, role; slide-up entrance",
"tags": [
"lower-third",
@@ -3040,7 +2684,7 @@
{
"name": "lt-kicker-name",
"type": "block",
- "title": "Lower Third — Kicker Name",
+ "title": "Lower Third \u2014 Kicker Name",
"description": "Cardless lower third with an accent eyebrow/kicker tag, heavy name, and a drawn baseline; for footage",
"tags": [
"lower-third",
@@ -3055,7 +2699,7 @@
{
"name": "lt-mask-reveal",
"type": "block",
- "title": "Lower Third — Mask Reveal",
+ "title": "Lower Third \u2014 Mask Reveal",
"description": "Cardless lower third: an accent sweep crosses and clip-path-reveals a heavy name, role fades up; for footage",
"tags": [
"lower-third",
@@ -3084,7 +2728,7 @@
{
"name": "lt-side-rule",
"type": "block",
- "title": "Lower Third — Side Rule",
+ "title": "Lower Third \u2014 Side Rule",
"description": "Cardless lower third with a vertical accent bar; condensed display name + mono role, text-shadowed for footage",
"tags": [
"lower-third",
@@ -3099,7 +2743,7 @@
{
"name": "lt-soft-pill",
"type": "block",
- "title": "Lower Third — Soft Pill",
+ "title": "Lower Third \u2014 Soft Pill",
"description": "Rounded white pill lower third for podcasts/interviews: status dot, name + role, scale-pop entrance",
"tags": [
"lower-third",
@@ -3114,7 +2758,7 @@
{
"name": "lt-stack-bars",
"type": "block",
- "title": "Lower Third — Stack Bars",
+ "title": "Lower Third \u2014 Stack Bars",
"description": "Two stacked bars: a dark name bar wipes from the left, an accent role bar wipes from the right",
"tags": [
"lower-third",
@@ -3287,7 +2931,7 @@
"name": "mk-callout-highlight",
"type": "block",
"title": "Word-Sweep Highlight",
- "description": "A sentence whose word-by-word emphasis is driven by a single scalar — tween it to sync the highlight with a voiceover",
+ "description": "A sentence whose word-by-word emphasis is driven by a single scalar \u2014 tween it to sync the highlight with a voiceover",
"tags": [
"typography",
"karaoke",
@@ -3301,7 +2945,7 @@
"name": "mk-clone-wall-transition",
"type": "block",
"title": "Text Clone Wall Transition",
- "description": "Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears — hard-cut the content beneath while covered",
+ "description": "Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears \u2014 hard-cut the content beneath while covered",
"tags": [
"transition",
"typography",
@@ -3314,7 +2958,7 @@
"name": "mk-emphasis-type",
"type": "component",
"title": "Background Emphasis Type",
- "description": "Oversized low-contrast background word drifting slowly behind the subject — typography as texture",
+ "description": "Oversized low-contrast background word drifting slowly behind the subject \u2014 typography as texture",
"tags": [
"typography",
"text-treatment",
@@ -3429,7 +3073,7 @@
"name": "morph-text",
"type": "component",
"title": "Morph Text",
- "description": "Gooey text morph — cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect",
+ "description": "Gooey text morph \u2014 cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect",
"tags": [
"text",
"text-effect",
@@ -3445,7 +3089,7 @@
"name": "motion-blur",
"type": "component",
"title": "Motion Blur",
- "description": "After Effects-style motion blur — integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear",
+ "description": "After Effects-style motion blur \u2014 integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear",
"tags": [
"effect",
"motion-blur",
@@ -3860,7 +3504,7 @@
"name": "parallax-unzoom",
"type": "component",
"title": "Parallax Unzoom",
- "description": "Reveal transition — focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)",
+ "description": "Reveal transition \u2014 focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)",
"tags": [
"transition",
"reveal",
@@ -3876,7 +3520,7 @@
"name": "parallax-zoom",
"type": "component",
"title": "Parallax Zoom",
- "description": "Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition",
+ "description": "Center card scales up to fill the frame while siblings parallax outward \u2014 inspired by the eBay Playbook hero transition",
"tags": [
"transition",
"zoom",
@@ -4327,7 +3971,7 @@
"name": "shimmer-sweep",
"type": "component",
"title": "Shimmer Sweep",
- "description": "Animated light sweep across text or elements using a CSS gradient mask — ideal for AI accents and premium reveals",
+ "description": "Animated light sweep across text or elements using a CSS gradient mask \u2014 ideal for AI accents and premium reveals",
"tags": [
"text",
"shimmer",
@@ -4341,7 +3985,7 @@
"name": "shutter-slam",
"type": "component",
"title": "Shutter Slam",
- "description": "One word thrown through six single-property beats under integrated shutter blur — two translate slams, a scale punch, then a full turn about each axis — on the measured easing of the After Effects export the shutter model was fitted to",
+ "description": "One word thrown through six single-property beats under integrated shutter blur \u2014 two translate slams, a scale punch, then a full turn about each axis \u2014 on the measured easing of the After Effects export the shutter model was fitted to",
"tags": [
"effect",
"motion-blur",
@@ -4489,7 +4133,7 @@
"name": "spain-map",
"type": "block",
"title": "Spain Map",
- "description": "Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection",
+ "description": "Animated Spain choropleth by autonomous community with staggered reveals and gradient legend \u2014 D3 conic conformal projection",
"tags": [
"data",
"map",
@@ -5440,7 +5084,7 @@
"name": "us-map",
"type": "block",
"title": "US Map",
- "description": "Animated US choropleth map with staggered state reveals, value labels, and gradient legend — pure inline SVG with GSAP",
+ "description": "Animated US choropleth map with staggered state reveals, value labels, and gradient legend \u2014 pure inline SVG with GSAP",
"tags": [
"data",
"map",
@@ -5455,7 +5099,7 @@
"name": "us-map-bubble",
"type": "block",
"title": "US Bubble Map",
- "description": "Animated US bubble map with proportional city markers, value callouts, and connection lines — composable with us-map",
+ "description": "Animated US bubble map with proportional city markers, value callouts, and connection lines \u2014 composable with us-map",
"tags": [
"data",
"map",
@@ -5471,7 +5115,7 @@
"name": "us-map-flow",
"type": "block",
"title": "US Flow Map",
- "description": "Animated connection arcs between US cities over a base map — composable origin-destination flow visualization",
+ "description": "Animated connection arcs between US cities over a base map \u2014 composable origin-destination flow visualization",
"tags": [
"data",
"map",
@@ -5488,7 +5132,7 @@
"name": "us-map-hex",
"type": "block",
"title": "US Hex Grid Map",
- "description": "Animated hexagonal tile grid map — each state as an equal-weight hex with data fill and abbreviation label",
+ "description": "Animated hexagonal tile grid map \u2014 each state as an equal-weight hex with data fill and abbreviation label",
"tags": [
"data",
"map",
@@ -5584,7 +5228,7 @@
"name": "vfx-iphone-device",
"type": "block",
"title": "iPhone & MacBook 3D Showcase",
- "description": "Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable.",
+ "description": "Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360\u00b0 turntable.",
"tags": [
"html-in-canvas",
"3d",
@@ -5678,7 +5322,7 @@
"name": "vignette",
"type": "component",
"title": "Vignette",
- "description": "Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center",
+ "description": "Cinematic radial vignette overlay using a pure-CSS gradient \u2014 darkens the edges to pull focus toward the center",
"tags": [
"vignette",
"overlay",
@@ -5815,7 +5459,7 @@
"name": "world-map",
"type": "block",
"title": "World Map",
- "description": "Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset — D3 Natural Earth projection",
+ "description": "Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset \u2014 D3 Natural Earth projection",
"tags": [
"data",
"map",
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-basic.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-basic.json
deleted file mode 100644
index c5798069ee..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-basic.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Basic</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #ececec;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.25),\n 0 10px 30px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #ececec;\n display: flex;\n align-items: center;\n padding: 0 14px;\n gap: 0;\n flex-shrink: 0;\n border-bottom: 1px solid #d0d0d0;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #333333;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #ffffff;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #000000;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #000000;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #000000;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #000000;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #000000;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #000000;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-basic\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line\">Last login: Mon Jun 2 09:14:22 on ttys001</span>\n <span class=\"output-line\">total 48</span>\n <span class=\"output-line bold\">drwxr-xr-x 8 user staff 256 Jun 2 09:10 .</span>\n <span class=\"output-line\">drwxr-xr-x 42 user staff 1344 Jun 1 18:22 ..</span>\n <span class=\"output-line\">-rw-r--r-- 1 user staff 872 May 30 14:05 README.md</span>\n <span class=\"output-line bold\">drwxr-xr-x 5 user staff 160 Jun 2 09:10 dist</span>\n <span class=\"output-line bold\"\n >drwxr-xr-x 12 user staff 384 Jun 2 09:10 node_modules</span\n >\n <span class=\"output-line\">-rw-r--r-- 1 user staff 1204 Jun 2 09:08 package.json</span>\n <span class=\"output-line bold\">drwxr-xr-x 6 user staff 192 Jun 2 09:10 src</span>\n <span class=\"output-line\">-rw-r--r-- 1 user staff 348 May 29 11:42 tsconfig.json</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"ls -la\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n // Phase 1 (0–0.5s): hold on empty prompt\n tl.set(typedEl, { text: \"\" }, 0);\n\n // Phase 2 (0.5–2s): type command char by char\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n // Phase 3 (2.2s): hide cursor, show first output line (login message)\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n // Phase 4 (2.5s): clear command, show ls output line by line\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return; // already shown\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.08);\n });\n\n // Phase 5 (4s): new prompt with blinking cursor\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.0);\n\n // Phase 6 (4.2–10s): blink cursor 3 times then stop\n const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.6);\n\n window.__timelines[\"code-snippet-apple-terminal-basic\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json
deleted file mode 100644
index 409bdf55c6..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Clear Dark</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #1a1a1a;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.7),\n 0 10px 30px rgba(0, 0, 0, 0.5);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: rgba(0, 0, 0, 0.4);\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid rgba(255, 255, 255, 0.08);\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #ffffff;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: rgba(0, 0, 0, 0.7);\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #ffffff;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #ffffff;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #ffffff;\n }\n\n .output-line.dim {\n color: rgba(255, 255, 255, 0.6);\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #888888;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #ffffff;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #888888;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-clear-dark\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys002</span>\n <span class=\"output-line\">Scanning dependencies...</span>\n <span class=\"output-line\">Found 3 vulnerabilities (1 moderate, 2 low)</span>\n <span class=\"output-line dim\"> package: [email protected]</span>\n <span class=\"output-line dim\"> severity: moderate</span>\n <span class=\"output-line dim\"> fix: [email protected]</span>\n <span class=\"output-line dim\"> package: [email protected]</span>\n <span class=\"output-line dim\"> severity: low</span>\n <span class=\"output-line dim\"> fix: [email protected]</span>\n <span class=\"output-line bold\">Run `npm audit fix` to fix them.</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"npm audit\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-clear-dark\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json
deleted file mode 100644
index c255db03e4..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Clear Light</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.18),\n 0 10px 30px rgba(0, 0, 0, 0.1);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: rgba(255, 255, 255, 0.4);\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n position: relative;\n backdrop-filter: blur(10px);\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #333333;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: rgba(255, 255, 255, 0.7);\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #000000;\n backdrop-filter: blur(8px);\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #000000;\n }\n\n .output-line.bold {\n font-weight: bold;\n }\n\n .output-line.muted {\n color: #666666;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #888888;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #000000;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #888888;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-clear-light\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line muted\">Last login: Mon Jun 2 09:14:22 on ttys003</span>\n <span class=\"output-line bold\">git log --oneline -8</span>\n <span class=\"output-line\">a3f2c19 fix: correct off-by-one in pagination</span>\n <span class=\"output-line\">b7e8d04 feat: add dark mode toggle</span>\n <span class=\"output-line\">c1a9f55 refactor: extract auth helpers</span>\n <span class=\"output-line\">d4e2b31 test: add unit tests for parser</span>\n <span class=\"output-line\">e6c8a72 docs: update API reference</span>\n <span class=\"output-line\">f9b1d44 chore: bump dependencies</span>\n <span class=\"output-line\">2a7e890 feat: implement search endpoint</span>\n <span class=\"output-line\">3c5f012 init: project bootstrap</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac myproject % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"git log --oneline -8\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.09);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac myproject % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.0);\n\n const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.6);\n\n window.__timelines[\"code-snippet-apple-terminal-clear-light\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-grass.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-grass.json
deleted file mode 100644
index ffff124ea5..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-grass.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Grass</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #0a1a0a 0%, #000000 70%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 193, 0, 0.15),\n 0 10px 30px rgba(0, 0, 0, 0.8);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #1c1c1c;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #00c100;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #00c100;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #000000;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #00c100;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #00c100;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #00c100;\n }\n\n .output-line.dim {\n color: #006600;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #00c100;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #00c100;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #00c100;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-grass\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys004</span>\n <span class=\"output-line\">Running test suite...</span>\n <span class=\"output-line dim\"> ✓ should initialize with defaults (2ms)</span>\n <span class=\"output-line dim\"> ✓ should parse config correctly (4ms)</span>\n <span class=\"output-line dim\"> ✓ should handle empty input (1ms)</span>\n <span class=\"output-line dim\"> ✓ should reject invalid tokens (3ms)</span>\n <span class=\"output-line dim\"> ✓ should emit events on change (5ms)</span>\n <span class=\"output-line dim\"> ✓ should clean up on destroy (2ms)</span>\n <span class=\"output-line bold\"> 6 passing (18ms)</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"npm test\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.12);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.0);\n\n const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.6);\n\n window.__timelines[\"code-snippet-apple-terminal-grass\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json
deleted file mode 100644
index 554fdf1853..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Homebrew</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #0d1a0d 0%, #000000 70%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 207, 0, 0.18),\n 0 10px 30px rgba(0, 0, 0, 0.85);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #1c1c1c;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #006900;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #00cf00;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #000000;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #00cf00;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #00cf00;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #00de00;\n }\n\n .output-line.dim {\n color: #006600;\n }\n\n .output-line.bright {\n color: #48f800;\n font-weight: bold;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #48f800;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #00cf00;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #48f800;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-homebrew\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys005</span>\n <span class=\"output-line\">==> Updating Homebrew...</span>\n <span class=\"output-line dim\">Already up-to-date.</span>\n <span class=\"output-line\">==> Outdated formulae</span>\n <span class=\"output-line\">node 20.11.0 -> 22.3.0</span>\n <span class=\"output-line\">python 3.11.6 -> 3.12.4</span>\n <span class=\"output-line\">git 2.43.0 -> 2.45.2</span>\n <span class=\"output-line\">ffmpeg 6.1.1 -> 7.0.0</span>\n <span class=\"output-line bright\">==> Run `brew upgrade` to update 4 formulae.</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"brew outdated\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-homebrew\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-man-page.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-man-page.json
deleted file mode 100644
index 282fb60e39..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-man-page.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Man Page</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #ede87a 0%, #ddd566 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.2),\n 0 10px 30px rgba(0, 0, 0, 0.12);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #f0e680;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #c8be40;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #333333;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #fef49c;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #000000;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #000000;\n }\n\n .output-line.bold {\n font-weight: bold;\n }\n\n .output-line.indent {\n padding-left: 24px;\n color: #222222;\n }\n\n .output-line.section {\n font-weight: bold;\n margin-top: 2px;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #000000;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #000000;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #000000;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-man-page\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">man — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line section\">CURL(1) General Commands Manual CURL(1)</span>\n <span class=\"output-line\"></span>\n <span class=\"output-line section\">NAME</span>\n <span class=\"output-line indent\">curl -- transfer a URL</span>\n <span class=\"output-line\"></span>\n <span class=\"output-line section\">SYNOPSIS</span>\n <span class=\"output-line indent\">curl [options / URLs]</span>\n <span class=\"output-line\"></span>\n <span class=\"output-line section\">DESCRIPTION</span>\n <span class=\"output-line indent\"\n >curl is a tool for transferring data from or to a server using URLs.</span\n >\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"man curl\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.4);\n\n outputLines.forEach((line, i) => {\n tl.set(line, { opacity: 1 }, 2.5 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.0);\n\n const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.6);\n\n window.__timelines[\"code-snippet-apple-terminal-man-page\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-novel.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-novel.json
deleted file mode 100644
index 49ded8c789..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-novel.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Novel</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #c9a86c 0%, #b8955a 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(62, 41, 0, 0.3),\n 0 10px 30px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #c9a86c;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #a88040;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #3e2900;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 600;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #dfc18a;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #3e2900;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #3e2900;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #3e2900;\n }\n\n .output-line.muted {\n color: #7a5a20;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #3e2900;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #3e2900;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #3e2900;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-novel\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line muted\">Last login: Mon Jun 2 09:14:22 on ttys006</span>\n <span class=\"output-line muted\">Python 3.12.4 (main, Jun 6 2024, 18:26:44)</span>\n <span class=\"output-line muted\"\n >Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.</span\n >\n <span class=\"output-line bold\">>>> import hyperframes</span>\n <span class=\"output-line bold\">>>> hf = hyperframes.Composition(\"intro.html\")</span>\n <span class=\"output-line\">>>> hf.duration</span>\n <span class=\"output-line\">12.0</span>\n <span class=\"output-line\">>>> hf.dimensions</span>\n <span class=\"output-line\">Dimensions(width=1920, height=1080)</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"python3\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-novel\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-ocean.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-ocean.json
deleted file mode 100644
index d77ca4f39a..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-ocean.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Ocean</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #1a3f9e;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #224fbe 0%, #0e2878 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.6),\n 0 10px 30px rgba(34, 79, 190, 0.3);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #1a3f9e;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid rgba(255, 255, 255, 0.15);\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #ffffff;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #224fbe;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #ffffff;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #ffffff;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #ffffff;\n }\n\n .output-line.dim {\n color: rgba(255, 255, 255, 0.65);\n }\n\n .output-line.success {\n color: #7fffb3;\n font-weight: bold;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: rgba(255, 255, 255, 0.8);\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #ffffff;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #ffffff;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-ocean\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys007</span>\n <span class=\"output-line bold\">docker ps</span>\n <span class=\"output-line dim\">CONTAINER ID IMAGE COMMAND CREATED</span>\n <span class=\"output-line\"\n >a1b2c3d4e5f6 nginx:latest \"/docker-entrypoint.…\" 2 hours ago</span\n >\n <span class=\"output-line\"\n >b2c3d4e5f6a7 postgres:15 \"docker-entrypoint.s…\" 2 hours ago</span\n >\n <span class=\"output-line\"\n >c3d4e5f6a7b8 redis:alpine \"docker-entrypoint.s…\" 2 hours ago</span\n >\n <span class=\"output-line success\">3 containers running</span>\n <span class=\"output-line dim\">Use 'docker logs CONTAINER' to view output</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"docker ps\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-ocean\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json
deleted file mode 100644
index 84514899cc..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Red Sands</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #7b140e;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #8a1a12 0%, #4a0a06 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.7),\n 0 10px 30px rgba(123, 20, 14, 0.4);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #5e0f0a;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #8b2018;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #ffe1b9;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #7b140e;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #ffe1b9;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #ffe1b9;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #ffffff;\n }\n\n .output-line.dim {\n color: #c4916a;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #ffe1b9;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #ffe1b9;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #ffffff;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-red-sands\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys009</span>\n <span class=\"output-line\">Fetching https://api.example.com/status</span>\n <span class=\"output-line dim\"> HTTP/2 200</span>\n <span class=\"output-line dim\"> content-type: application/json</span>\n <span class=\"output-line dim\"> x-request-id: a3f9c21e-04b2-4d78</span>\n <span class=\"output-line\">{</span>\n <span class=\"output-line\"> \"status\": \"healthy\",</span>\n <span class=\"output-line\"> \"version\": \"2.4.1\",</span>\n <span class=\"output-line bold\"> \"uptime\": \"14d 6h 32m\"</span>\n <span class=\"output-line\">}</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"curl -s api.example.com/status | jq\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.4);\n\n const blinkTimes = [4.6, 5.0, 5.4, 5.8, 6.2, 6.6];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 7.0);\n\n window.__timelines[\"code-snippet-apple-terminal-red-sands\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json
deleted file mode 100644
index acd68bd16e..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Silver Aerogel</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #2a2a2a;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #3a3a3a 0%, #1c1c1c 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.6),\n 0 10px 30px rgba(232, 232, 232, 0.05);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #2a2a2a;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #444444;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #ffffff;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #3d3d3d;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #ffffff;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #ffffff;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #ffffff;\n }\n\n .output-line.dim {\n color: #aaaaaa;\n }\n\n .output-line.success {\n color: #7fffb3;\n }\n\n .output-line.warn {\n color: #ffd700;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #e8e8e8;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #ffffff;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #e8e8e8;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-silver-aerogel\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys010</span>\n <span class=\"output-line\">Checking system resources...</span>\n <span class=\"output-line\">Filesystem Size Used Avail Use%</span>\n <span class=\"output-line\">/dev/disk3s1s1 460G 142G 302G 32%</span>\n <span class=\"output-line dim\">/dev/disk3s6 460G 5.0G 302G 2%</span>\n <span class=\"output-line\">/dev/disk3s2 460G 11G 302G 4%</span>\n <span class=\"output-line warn\">Memory: 14.2 GB / 16.0 GB used (89%)</span>\n <span class=\"output-line success\">CPU: 8-core, 12% load average</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"df -h && vm_stat\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-silver-aerogel\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json b/docs/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json
deleted file mode 100644
index 718e7ce718..0000000000
--- a/docs/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Apple Terminal Solid Colors</title>\n <style>\n html,\n body {\n margin: 0;\n padding: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #4c0099;\n font-family: \"SF Mono\", Menlo, Monaco, Consolas, \"Courier New\", monospace;\n }\n\n #scene {\n width: 1920px;\n height: 1080px;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: radial-gradient(ellipse at center, #5a00b3 0%, #2e0060 100%);\n }\n\n .terminal-window {\n width: 1400px;\n height: 700px;\n border-radius: 10px;\n overflow: hidden;\n box-shadow:\n 0 30px 80px rgba(0, 0, 0, 0.7),\n 0 10px 30px rgba(76, 0, 153, 0.4);\n display: flex;\n flex-direction: column;\n }\n\n .titlebar {\n height: 38px;\n background: #3a0077;\n display: flex;\n align-items: center;\n padding: 0 14px;\n flex-shrink: 0;\n border-bottom: 1px solid #6600bb;\n position: relative;\n }\n\n .traffic-lights {\n display: flex;\n gap: 8px;\n align-items: center;\n }\n\n .traffic-lights span {\n width: 13px;\n height: 13px;\n border-radius: 50%;\n display: inline-block;\n }\n\n .traffic-lights .close {\n background: #ff5f57;\n border: 1px solid #e0443e;\n }\n\n .traffic-lights .minimize {\n background: #ffbd2e;\n border: 1px solid #dfa123;\n }\n\n .traffic-lights .fullscreen {\n background: #28c840;\n border: 1px solid #1aab29;\n }\n\n .window-title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 13px;\n color: #ffffff;\n font-family: -apple-system, BlinkMacSystemFont, \"SF Pro Text\", sans-serif;\n font-weight: 500;\n letter-spacing: -0.1px;\n }\n\n .terminal-canvas {\n flex: 1;\n background: #4c0099;\n padding: 18px 20px;\n overflow: hidden;\n font-size: 14px;\n line-height: 1.6;\n color: #ffffff;\n }\n\n .output-lines {\n margin-bottom: 4px;\n }\n\n .output-line {\n display: block;\n white-space: pre;\n opacity: 0;\n color: #ffffff;\n }\n\n .output-line.bold {\n font-weight: bold;\n color: #ffffff;\n }\n\n .output-line.dim {\n color: rgba(255, 255, 255, 0.55);\n }\n\n .output-line.accent {\n color: #cc99ff;\n font-weight: bold;\n }\n\n .input-line {\n display: flex;\n align-items: center;\n white-space: pre;\n }\n\n .prompt {\n color: #cc99ff;\n font-weight: bold;\n user-select: none;\n }\n\n .typed-command {\n color: #ffffff;\n }\n\n .cursor-block {\n display: inline-block;\n width: 9px;\n height: 16px;\n background: #ffffff;\n vertical-align: text-bottom;\n margin-left: 1px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"scene\"\n data-composition-id=\"code-snippet-apple-terminal-solid-colors\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"terminal-window\">\n <div class=\"titlebar\">\n <div class=\"traffic-lights\">\n <span class=\"close\"></span>\n <span class=\"minimize\"></span>\n <span class=\"fullscreen\"></span>\n </div>\n <span class=\"window-title\">bash — 80×24</span>\n </div>\n <div class=\"terminal-canvas\">\n <div class=\"output-lines\">\n <span class=\"output-line dim\">Last login: Mon Jun 2 09:14:22 on ttys011</span>\n <span class=\"output-line\">Initializing HyperFrames project...</span>\n <span class=\"output-line dim\"> Creating project structure</span>\n <span class=\"output-line dim\"> Copying template files</span>\n <span class=\"output-line dim\"> Installing dependencies</span>\n <span class=\"output-line\"> added 142 packages in 3.4s</span>\n <span class=\"output-line accent\"> ✓ Project ready at ./my-video</span>\n <span class=\"output-line bold\"> Run: cd my-video && npx hyperframes preview</span>\n </div>\n <div class=\"input-line\">\n <span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span\n ><span class=\"cursor-block\"></span>\n </div>\n </div>\n </div>\n </div>\n\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script>\n window.__timelines = window.__timelines || {};\n\n const command = \"npx hyperframes init my-video\";\n const typedEl = document.querySelector(\".typed-command\");\n const cursorEl = document.querySelector(\".cursor-block\");\n const outputLines = document.querySelectorAll(\".output-line\");\n\n const tl = gsap.timeline({ paused: true });\n\n tl.set(typedEl, { text: \"\" }, 0);\n\n const charDuration = 1.5 / command.length;\n command.split(\"\").forEach((char, i) => {\n tl.add(\n () => {\n typedEl.textContent = command.slice(0, i + 1);\n },\n 0.5 + i * charDuration,\n );\n });\n\n tl.set(cursorEl, { opacity: 0 }, 2.2);\n tl.set(outputLines[0], { opacity: 1 }, 2.3);\n\n tl.add(() => {\n typedEl.textContent = \"\";\n }, 2.5);\n\n outputLines.forEach((line, i) => {\n if (i === 0) return;\n tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);\n });\n\n tl.add(() => {\n const inputLine = document.querySelector(\".input-line\");\n const newPrompt = document.createElement(\"div\");\n newPrompt.className = \"input-line\";\n newPrompt.innerHTML =\n '<span class=\"prompt\">user@Mac ~ % </span><span class=\"typed-command\"></span><span class=\"cursor-block\" id=\"final-cursor\"></span>';\n inputLine.style.display = \"none\";\n inputLine.parentNode.appendChild(newPrompt);\n }, 4.2);\n\n const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];\n blinkTimes.forEach((t, i) => {\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = i % 2 === 0 ? \"0\" : \"1\";\n }, t);\n });\n tl.add(() => {\n const fc = document.getElementById(\"final-cursor\");\n if (fc) fc.style.opacity = \"1\";\n }, 6.8);\n\n window.__timelines[\"code-snippet-apple-terminal-solid-colors\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-dark-plus.json b/docs/public/catalog/blocks/code-snippet-dark-plus.json
deleted file mode 100644
index f2de082749..0000000000
--- a/docs/public/catalog/blocks/code-snippet-dark-plus.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-dark-plus/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-dark-plus\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-dark-plus\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-dark-plus\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-dark-plus\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .status-left,\n [data-composition-id=\"code-snippet-dark-plus\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-dark-plus\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-dark-plus.html\" data-composition-id=\"code-snippet-dark-plus\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-dark-plus\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Dark+</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">dark_plus.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-dark-plus\";\n var __hfTimelineCompId = \"code-snippet-dark-plus\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-dark-plus\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-dark-plus\\\"|'vscode-dark-plus')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-dark-plus\";\n var __hfTimelineCompId = \"code-snippet-dark-plus\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-dark-plus\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-dark-plus\\\"|'vscode-dark-plus')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-dark-plus\"] =\n window.__timelines[\"vscode-dark-plus\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-dark-plus\", {\n id: \"dark-plus\",\n label: \"Dark+\",\n sourceFile: \"dark_plus.json\",\n uiTheme: \"vs-dark\",\n colors: {\n \"editor.background\": \"#1E1E1E\",\n \"editor.foreground\": \"#D4D4D4\",\n \"sideBarSectionHeader.background\": \"#0000\",\n \"sideBarSectionHeader.border\": \"#ccc3\",\n \"sideBarTitle.foreground\": \"#BBBBBB\",\n \"statusBarItem.remoteBackground\": \"#16825D\",\n \"statusBarItem.remoteForeground\": \"#FFF\",\n },\n tokens: {\n comment: \"#6A9955\",\n keyword: \"#d7ba7d\",\n function: \"#DCDCAA\",\n string: \"#d16969\",\n number: \"#b5cea8\",\n variable: \"#4FC1FF\",\n parameter: \"#9CDCFE\",\n operator: \"#d7ba7d\",\n punctuation: \"#CE9178\",\n className: \"#4EC9B0\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-flight.json b/docs/public/catalog/blocks/code-snippet-flight.json
deleted file mode 100644
index 6e578f48e5..0000000000
--- a/docs/public/catalog/blocks/code-snippet-flight.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Code Snippet Flight</title>\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <style>\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n html,\n body {\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #05070b;\n }\n #root {\n position: relative;\n width: 1920px;\n height: 1080px;\n font-family: \"JetBrains Mono\", monospace;\n color: #e6edf3;\n }\n .bg-field {\n position: absolute;\n inset: 0;\n background: radial-gradient(1200px 700px at 50% 18%, #0e1726 0%, #070b12 55%, #05070b 100%);\n }\n .bg-grid {\n position: absolute;\n inset: 0;\n background-image:\n linear-gradient(rgba(88, 166, 255, 0.05) 1px, transparent 1px),\n linear-gradient(90deg, rgba(88, 166, 255, 0.05) 1px, transparent 1px);\n background-size: 64px 64px;\n mask-image: radial-gradient(1100px 620px at 50% 42%, #000 0%, transparent 78%);\n }\n .bg-glow {\n position: absolute;\n width: 900px;\n height: 900px;\n border-radius: 50%;\n filter: blur(120px);\n opacity: 0.5;\n }\n .bg-glow.a {\n background: #1f6feb55;\n left: -180px;\n top: -200px;\n }\n .bg-glow.b {\n background: #2ea04355;\n right: -200px;\n bottom: -260px;\n }\n .editor {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 1380px;\n height: 800px;\n background: #0b0f17;\n border: 1px solid #1d2733;\n border-radius: 16px;\n box-shadow:\n 0 40px 120px rgba(0, 0, 0, 0.6),\n 0 2px 0 rgba(255, 255, 255, 0.03) inset;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n .titlebar {\n height: 56px;\n flex: 0 0 56px;\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 0 22px;\n background: linear-gradient(#11161f, #0c111a);\n border-bottom: 1px solid #1b2430;\n }\n .dots {\n display: flex;\n gap: 10px;\n }\n .dot {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n }\n .dot.r {\n background: #ff5f57;\n }\n .dot.y {\n background: #febc2e;\n }\n .dot.g {\n background: #28c840;\n }\n .filename {\n font-size: 19px;\n color: #8b98a9;\n letter-spacing: 0.2px;\n }\n .filename .accent {\n color: #d6e2f0;\n }\n .code-surface {\n position: relative;\n flex: 1 1 auto;\n overflow: hidden;\n }\n .scene {\n position: absolute;\n inset: 0;\n opacity: 0;\n will-change: opacity;\n }\n .code {\n position: absolute;\n top: 38px;\n left: 0;\n right: 0;\n padding: 0 44px 0 104px;\n font-size: 30px;\n line-height: 46px;\n font-variant-ligatures: none;\n tab-size: 2;\n }\n .gutter {\n position: absolute;\n top: 38px;\n left: 0;\n width: 84px;\n padding-right: 18px;\n font-size: 30px;\n line-height: 46px;\n text-align: right;\n color: #828c9b;\n user-select: none;\n }\n .ln {\n display: block;\n height: 46px;\n }\n .line {\n display: block;\n min-height: 46px;\n white-space: pre;\n position: relative;\n z-index: 1;\n }\n .tok {\n display: inline-block;\n white-space: pre;\n will-change: transform, opacity;\n }\n .caret {\n position: absolute;\n top: 0;\n left: 0;\n width: 3px;\n height: 32px;\n margin-top: 6px;\n background: #58a6ff;\n border-radius: 1px;\n z-index: 3;\n }\n .hl-box {\n position: absolute;\n background: rgba(88, 166, 255, 0.16);\n border-left: 3px solid #58a6ff;\n border-radius: 6px;\n z-index: 0;\n overflow: hidden;\n }\n .diff-line {\n display: block;\n min-height: 0;\n line-height: 46px;\n white-space: pre;\n position: relative;\n overflow: hidden;\n padding-left: 14px;\n }\n .diff-sign {\n display: inline-block;\n width: 22px;\n color: #41506220;\n }\n .diff-del {\n background: rgba(248, 81, 73, 0.12);\n box-shadow: inset 3px 0 #f85149;\n }\n .diff-add {\n background: rgba(63, 185, 80, 0.12);\n box-shadow: inset 3px 0 #3fb950;\n }\n .diff-del .diff-sign {\n color: #f85149;\n }\n .diff-add .diff-sign {\n color: #3fb950;\n }\n .flight-block {\n position: absolute;\n white-space: pre;\n font-size: 27px;\n line-height: 40px;\n padding: 11px 22px;\n border-radius: 11px;\n background: #0f1722;\n border: 1px solid #233044;\n box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);\n will-change: transform, opacity;\n }\n .flight-target {\n position: absolute;\n border: 1.5px dashed #2a3a4f;\n border-radius: 14px;\n opacity: 0;\n }\n </style>\n </head>\n <body>\n <div\n id=\"root\"\n data-composition-id=\"code-snippet-flight\"\n data-start=\"0\"\n data-duration=\"6\"\n data-width=\"1920\"\n data-height=\"1080\"\n >\n <div class=\"bg-field\" data-layout-ignore></div>\n <div class=\"bg-grid\" data-layout-ignore></div>\n <div class=\"bg-glow a\" data-layout-ignore></div>\n <div class=\"bg-glow b\" data-layout-ignore></div>\n <div class=\"editor\" id=\"editor\" data-layout-ignore>\n <div class=\"titlebar\">\n <div class=\"dots\">\n <span class=\"dot r\"></span><span class=\"dot y\"></span><span class=\"dot g\"></span>\n </div>\n <span class=\"filename\"\n ><span class=\"accent\">pipeline.js</span> — Code Snippet Flight</span\n >\n </div>\n <div class=\"code-surface\" id=\"surface\"></div>\n </div>\n </div>\n <script>\n window.__TOKENS = {\n flight: {\n lang: \"js\",\n theme: \"github-dark\",\n bg: \"#24292e\",\n fg: \"#e1e4e8\",\n states: [\n {\n code: \"const x = parse(input)\",\n tokens: [\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0\",\n content: \"const\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-2\",\n content: \"x\",\n color: \"#79B8FF\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4\",\n content: \"=\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-6\",\n content: \"parse\",\n color: \"#B392F0\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-7\",\n content: \"(input)\",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-8\",\n content: \"\\n\",\n color: \"#e1e4e8\",\n fontStyle: 0,\n },\n ],\n },\n {\n code: \"const y = transform(x)\",\n tokens: [\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0\",\n content: \"const\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-2\",\n content: \"y\",\n color: \"#79B8FF\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4\",\n content: \"=\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-6\",\n content: \"transform\",\n color: \"#B392F0\",\n fontStyle: 0,\n },\n {\n key: \"ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-7\",\n content: \"(x)\",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-8\",\n content: \"\\n\",\n color: \"#e1e4e8\",\n fontStyle: 0,\n },\n ],\n },\n {\n code: \"const z = render(y)\",\n tokens: [\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0\",\n content: \"const\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-2\",\n content: \"z\",\n color: \"#79B8FF\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4\",\n content: \"=\",\n color: \"#F97583\",\n fontStyle: 0,\n },\n {\n key: \"qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5\",\n content: \" \",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-6\",\n content: \"render\",\n color: \"#B392F0\",\n fontStyle: 0,\n },\n {\n key: \"wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-7\",\n content: \"(y)\",\n color: \"#E1E4E8\",\n fontStyle: 0,\n },\n {\n key: \"wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-8\",\n content: \"\\n\",\n color: \"#e1e4e8\",\n fontStyle: 0,\n },\n ],\n },\n ],\n },\n };\n window.__BLOCK = { id: \"code-snippet-flight\", effect: \"flight\", seq: \"flight\", duration: 6 };\n </script>\n <script>\n // hf-code-anim.js — self-contained code-animation engine for HyperFrames registry blocks.\n //\n // Reuses Shiki Magic Move's baked output (window.__TOKENS, baked at author time) and\n // drives the animation as a PAUSED GSAP timeline the HyperFrames engine seeks per frame —\n // NOT CSS transitions (those break under non-sequential frame seeking). FLIP measurement\n // runs once inside document.fonts.ready (glyph metrics must be final). Each block sets\n // window.__BLOCK = { id, effect, seq, line?, duration } and includes this engine; the\n // engine builds one scene that fills the composition and registers window.__timelines[id].\n (function () {\n \"use strict\";\n var T = window.__TOKENS || {};\n\n function lineDiv() {\n var d = document.createElement(\"div\");\n d.className = \"line\";\n return d;\n }\n\n // Render a code state's keyed tokens into codeEl as lines of inline-block .tok spans.\n function renderState(codeEl, state) {\n codeEl.textContent = \"\";\n var keyToEl = new Map();\n var line = lineDiv();\n codeEl.appendChild(line);\n for (var i = 0; i < state.tokens.length; i++) {\n var t = state.tokens[i];\n if (t.content === \"\\n\") {\n line = lineDiv();\n codeEl.appendChild(line);\n continue;\n }\n var span = document.createElement(\"span\");\n span.className = \"tok\";\n span.textContent = t.content;\n span.style.color = t.color;\n if (t.fontStyle & 1) span.style.fontStyle = \"italic\";\n if (t.fontStyle & 2) span.style.fontWeight = \"700\";\n line.appendChild(span);\n keyToEl.set(t.key, span);\n }\n var last = codeEl.lastChild;\n if (last && last.className === \"line\" && last.children.length === 0)\n codeEl.removeChild(last);\n return keyToEl;\n }\n\n function rectsOf(keyToEl) {\n var m = new Map();\n keyToEl.forEach(function (el, k) {\n var r = el.getBoundingClientRect();\n m.set(k, { left: r.left, top: r.top });\n });\n return m;\n }\n\n function makeScene(surface, withGutter) {\n var scene = document.createElement(\"div\");\n scene.className = \"scene\";\n if (withGutter) {\n var g = document.createElement(\"div\");\n g.className = \"gutter\";\n scene.appendChild(g);\n }\n var code = document.createElement(\"div\");\n code.className = \"code\";\n scene.appendChild(code);\n surface.appendChild(scene);\n return { scene: scene, code: code, gutter: scene.querySelector(\".gutter\") };\n }\n\n function fillGutter(g, n) {\n var html = \"\";\n for (var i = 1; i <= n; i++) html += '<span class=\"ln\">' + i + \"</span>\";\n g.innerHTML = html;\n }\n\n function splitLines(state) {\n var lines = [{ text: \"\", tokens: [] }];\n for (var i = 0; i < state.tokens.length; i++) {\n var t = state.tokens[i];\n if (t.content === \"\\n\") {\n lines.push({ text: \"\", tokens: [] });\n continue;\n }\n var cur = lines[lines.length - 1];\n cur.tokens.push(t);\n cur.text += t.content;\n }\n if (lines.length && lines[lines.length - 1].tokens.length === 0) lines.pop();\n return lines;\n }\n\n function lineDiff(a, b) {\n var n = a.length;\n var m = b.length;\n var dp = [];\n for (var i = 0; i <= n; i++) dp.push(new Array(m + 1).fill(0));\n for (var i = n - 1; i >= 0; i--) {\n for (var j = m - 1; j >= 0; j--) {\n dp[i][j] =\n a[i].text === b[j].text\n ? dp[i + 1][j + 1] + 1\n : Math.max(dp[i + 1][j], dp[i][j + 1]);\n }\n }\n var ops = [];\n var i = 0;\n var j = 0;\n while (i < n && j < m) {\n if (a[i].text === b[j].text) {\n ops.push({ type: \"same\", line: b[j] });\n i++;\n j++;\n } else if (dp[i + 1][j] >= dp[i][j + 1]) {\n ops.push({ type: \"del\", line: a[i] });\n i++;\n } else {\n ops.push({ type: \"add\", line: b[j] });\n j++;\n }\n }\n while (i < n) ops.push({ type: \"del\", line: a[i++] });\n while (j < m) ops.push({ type: \"add\", line: b[j++] });\n return ops;\n }\n\n // ---- single-scene effect builders (fade in, play, hold to end) -------------\n var FADE = 0.45;\n\n function flight(tl, surface, states, start) {\n var FLY = 0.95;\n var STAGGER = 0.26;\n var GAP = 20;\n var parts = makeScene(surface, false);\n parts.code.remove();\n var scene = parts.scene;\n var target = document.createElement(\"div\");\n target.className = \"flight-target\";\n scene.appendChild(target);\n var W = surface.clientWidth;\n var H = surface.clientHeight;\n\n var blocks = states.map(function (st) {\n var blk = document.createElement(\"div\");\n blk.className = \"flight-block\";\n renderState(blk, st);\n scene.appendChild(blk);\n return blk;\n });\n var n = blocks.length;\n\n // Pass 1: measure natural size, then make every chip the SAME width (symmetry).\n var maxW = 0;\n var chipH = 0;\n blocks.forEach(function (blk) {\n var r = blk.getBoundingClientRect();\n if (r.width > maxW) maxW = r.width;\n if (r.height > chipH) chipH = r.height;\n });\n blocks.forEach(function (blk) {\n blk.style.width = maxW + \"px\";\n });\n\n // Pass 2: evenly-stacked, left-aligned, group centered in the surface.\n var stackH = n * chipH + (n - 1) * GAP;\n var destLeft = Math.round((W - maxW) / 2);\n var topY = Math.round((H - stackH) / 2);\n blocks.forEach(function (blk, i) {\n var destY = topY + i * (chipH + GAP);\n blk.style.left = destLeft + \"px\";\n blk.style.top = destY + \"px\";\n // fly straight in from the left to the shared left edge — clean, no skew\n var srcX = destLeft - W * 0.32;\n tl.fromTo(\n blk,\n { x: srcX - destLeft, opacity: 0, scale: 0.96 },\n { x: 0, opacity: 1, scale: 1, duration: FLY, ease: \"power3.out\" },\n start + FADE + i * STAGGER,\n );\n });\n\n // Even-padded panel tightly wrapping the uniform stack.\n var padX = 30;\n var padY = 24;\n target.style.left = destLeft - padX + \"px\";\n target.style.top = topY - padY + \"px\";\n target.style.width = maxW + padX * 2 + \"px\";\n target.style.height = stackH + padY * 2 + \"px\";\n var landAt = start + FADE + (n - 1) * STAGGER + FLY;\n tl.set(scene, { opacity: 1 }, 0);\n tl.to(target, { opacity: 1, duration: 0.5, ease: \"power1.out\" }, landAt - 0.5);\n }\n\n function buildEffect(tl, surface, spec) {\n var start = 0.45;\n var seq = T[spec.seq];\n if (spec.effect === \"flight\") flight(tl, surface, seq.states, start);\n }\n\n function go() {\n var spec = window.__BLOCK;\n var surface = document.getElementById(\"surface\");\n var root = document.getElementById(\"root\");\n window.__timelines = window.__timelines || {};\n var tl = gsap.timeline({ paused: true });\n document.fonts.ready.then(function () {\n tl.from(\"#editor\", { opacity: 0, scale: 0.985, duration: 0.5, ease: \"power2.out\" }, 0);\n buildEffect(tl, surface, spec);\n var dur = parseFloat(root.dataset.duration) || tl.duration();\n tl.to({}, { duration: dur }, 0); // pad to full composition length\n window.__timelines[\"code-snippet-flight\"] = tl; // register AFTER setup completes\n if (typeof window.__hfForceTimelineRebind === \"function\") {\n window.__hfForceTimelineRebind(); // re-nest now that we are populated\n }\n });\n }\n\n if (document.readyState === \"loading\") document.addEventListener(\"DOMContentLoaded\", go);\n else go();\n })();\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-high-contrast-light.json b/docs/public/catalog/blocks/code-snippet-high-contrast-light.json
deleted file mode 100644
index 16f00b40b7..0000000000
--- a/docs/public/catalog/blocks/code-snippet-high-contrast-light.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-high-contrast-light/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-high-contrast-light\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-high-contrast-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-high-contrast-light\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-high-contrast-light\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .status-left,\n [data-composition-id=\"code-snippet-high-contrast-light\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-high-contrast-light\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-high-contrast-light.html\" data-composition-id=\"code-snippet-high-contrast-light\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-high-contrast-light\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Default High Contrast Light</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">hc_light.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-high-contrast-light\";\n var __hfTimelineCompId = \"code-snippet-high-contrast-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-high-contrast-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-high-contrast-light\\\"|'vscode-high-contrast-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-high-contrast-light\";\n var __hfTimelineCompId = \"code-snippet-high-contrast-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-high-contrast-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-high-contrast-light\\\"|'vscode-high-contrast-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-high-contrast-light\"] =\n window.__timelines[\"vscode-high-contrast-light\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-high-contrast-light\", {\n id: \"high-contrast-light\",\n label: \"Default High Contrast Light\",\n sourceFile: \"hc_light.json\",\n uiTheme: \"vs\",\n colors: {\n \"statusBarItem.remoteBackground\": \"#FFFFFF\",\n \"statusBarItem.remoteForeground\": \"#000000\",\n },\n tokens: {\n comment: \"#515151\",\n keyword: \"#EE0000\",\n function: \"#5e2cbc\",\n string: \"#811F3F\",\n number: \"#096d48\",\n variable: \"#02715D\",\n parameter: \"#001080\",\n operator: \"#EE0000\",\n punctuation: \"#D16969\",\n className: \"#185E73\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-high-contrast.json b/docs/public/catalog/blocks/code-snippet-high-contrast.json
deleted file mode 100644
index 85e710d251..0000000000
--- a/docs/public/catalog/blocks/code-snippet-high-contrast.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-high-contrast/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-high-contrast\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-high-contrast\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-high-contrast\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-high-contrast\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .status-left,\n [data-composition-id=\"code-snippet-high-contrast\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-high-contrast\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-high-contrast.html\" data-composition-id=\"code-snippet-high-contrast\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-high-contrast\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Default High Contrast</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">hc_black.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-high-contrast\";\n var __hfTimelineCompId = \"code-snippet-high-contrast\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-high-contrast\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-high-contrast\\\"|'vscode-high-contrast')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-high-contrast\";\n var __hfTimelineCompId = \"code-snippet-high-contrast\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-high-contrast\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-high-contrast\\\"|'vscode-high-contrast')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-high-contrast\"] =\n window.__timelines[\"vscode-high-contrast\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-high-contrast\", {\n id: \"high-contrast\",\n label: \"Default High Contrast\",\n sourceFile: \"hc_black.json\",\n uiTheme: \"vs-dark\",\n colors: {\n \"editor.background\": \"#000000\",\n \"editor.foreground\": \"#FFFFFF\",\n \"editor.selectionBackground\": \"#FFFFFF\",\n \"sideBarTitle.foreground\": \"#FFFFFF\",\n \"statusBarItem.remoteBackground\": \"#00000000\",\n },\n tokens: {\n comment: \"#7ca668\",\n keyword: \"#C586C0\",\n function: \"#DCDCAA\",\n string: \"#d16969\",\n number: \"#b5cea8\",\n variable: \"#9CDCFE\",\n parameter: \"#9CDCFE\",\n operator: \"#569cd6\",\n punctuation: \"#4EC9B0\",\n className: \"#4EC9B0\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-light-2026.json b/docs/public/catalog/blocks/code-snippet-light-2026.json
deleted file mode 100644
index 00da4390ad..0000000000
--- a/docs/public/catalog/blocks/code-snippet-light-2026.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-light-2026/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-2026\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-light-2026\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-2026\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-light-2026\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-light-2026\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-light-2026\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .status-left,\n [data-composition-id=\"code-snippet-light-2026\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-light-2026\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-light-2026.html\" data-composition-id=\"code-snippet-light-2026\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-light-2026\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Light 2026</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">2026-light.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-light-2026\";\n var __hfTimelineCompId = \"code-snippet-light-2026\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-2026\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-2026\\\"|'vscode-light-2026')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-light-2026\";\n var __hfTimelineCompId = \"code-snippet-light-2026\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-2026\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-2026\\\"|'vscode-light-2026')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-light-2026\"] =\n window.__timelines[\"vscode-light-2026\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-light-2026\", {\n id: \"light-2026\",\n label: \"Light 2026\",\n sourceFile: \"2026-light.json\",\n uiTheme: \"vs\",\n colors: {\n \"activityBar.activeBorder\": \"#000000\",\n \"activityBar.background\": \"#FAFAFD\",\n \"activityBar.border\": \"#F0F1F2FF\",\n \"activityBar.foreground\": \"#202020\",\n \"activityBar.inactiveForeground\": \"#606060\",\n \"editor.background\": \"#FFFFFF\",\n \"editor.foreground\": \"#202020\",\n \"editor.lineHighlightBackground\": \"#EAEAEA40\",\n \"editor.selectionBackground\": \"#0069CC40\",\n \"editorGroup.border\": \"#E5E5E5\",\n \"editorGroupHeader.tabsBackground\": \"#FAFAFD\",\n \"editorGroupHeader.tabsBorder\": \"#F0F1F2FF\",\n \"editorLineNumber.activeForeground\": \"#202020\",\n \"editorLineNumber.foreground\": \"#606060\",\n foreground: \"#202020\",\n \"icon.foreground\": \"#606060\",\n \"panel.background\": \"#FAFAFD\",\n \"panel.border\": \"#F0F1F2FF\",\n \"sideBar.background\": \"#FAFAFD\",\n \"sideBar.border\": \"#F0F1F2FF\",\n \"sideBar.foreground\": \"#202020\",\n \"sideBarSectionHeader.background\": \"#FAFAFD\",\n \"sideBarSectionHeader.border\": \"#F0F1F2FF\",\n \"sideBarSectionHeader.foreground\": \"#202020\",\n \"sideBarTitle.foreground\": \"#202020\",\n \"statusBar.background\": \"#FAFAFD\",\n \"statusBar.border\": \"#F0F1F2FF\",\n \"statusBar.foreground\": \"#606060\",\n \"statusBarItem.remoteBackground\": \"#005FB8\",\n \"statusBarItem.remoteForeground\": \"#FFFFFF\",\n \"tab.activeBackground\": \"#FFFFFF\",\n \"tab.activeBorder\": \"#FFFFFF\",\n \"tab.activeBorderTop\": \"#000000\",\n \"tab.activeForeground\": \"#202020\",\n \"tab.border\": \"#F0F1F2FF\",\n \"tab.inactiveBackground\": \"#FAFAFD\",\n \"tab.inactiveForeground\": \"#606060\",\n \"terminal.foreground\": \"#3B3B3B\",\n \"terminalCursor.foreground\": \"#202020\",\n \"titleBar.activeBackground\": \"#FAFAFD\",\n \"titleBar.activeForeground\": \"#606060\",\n },\n tokens: {\n comment: \"#6e7781\",\n keyword: \"#1f2328\",\n function: \"#0550ae\",\n string: \"#0a3069\",\n number: \"#0550ae\",\n variable: \"#1f2328\",\n parameter: \"#953800\",\n operator: \"#cf222e\",\n punctuation: \"#953800\",\n className: \"#116329\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-light-modern.json b/docs/public/catalog/blocks/code-snippet-light-modern.json
deleted file mode 100644
index b16b675af2..0000000000
--- a/docs/public/catalog/blocks/code-snippet-light-modern.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-light-modern/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-modern\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-light-modern\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-modern\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-light-modern\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-light-modern\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-light-modern\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .status-left,\n [data-composition-id=\"code-snippet-light-modern\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-light-modern\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-light-modern.html\" data-composition-id=\"code-snippet-light-modern\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-light-modern\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Light Modern</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">light_modern.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-light-modern\";\n var __hfTimelineCompId = \"code-snippet-light-modern\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-modern\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-modern\\\"|'vscode-light-modern')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-light-modern\";\n var __hfTimelineCompId = \"code-snippet-light-modern\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-modern\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-modern\\\"|'vscode-light-modern')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-light-modern\"] =\n window.__timelines[\"vscode-light-modern\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-light-modern\", {\n id: \"light-modern\",\n label: \"Light Modern\",\n sourceFile: \"light_modern.json\",\n uiTheme: \"vs\",\n colors: {\n \"activityBar.activeBorder\": \"#005FB8\",\n \"activityBar.background\": \"#F8F8F8\",\n \"activityBar.border\": \"#E5E5E5\",\n \"activityBar.foreground\": \"#1F1F1F\",\n \"activityBar.inactiveForeground\": \"#616161\",\n \"editor.background\": \"#FFFFFF\",\n \"editor.foreground\": \"#3B3B3B\",\n \"editorGroup.border\": \"#E5E5E5\",\n \"editorGroupHeader.tabsBackground\": \"#F8F8F8\",\n \"editorGroupHeader.tabsBorder\": \"#E5E5E5\",\n \"editorLineNumber.activeForeground\": \"#171184\",\n \"editorLineNumber.foreground\": \"#6E7681\",\n foreground: \"#3B3B3B\",\n \"icon.foreground\": \"#3B3B3B\",\n \"panel.background\": \"#F8F8F8\",\n \"panel.border\": \"#E5E5E5\",\n \"sideBar.background\": \"#F8F8F8\",\n \"sideBar.border\": \"#E5E5E5\",\n \"sideBar.foreground\": \"#3B3B3B\",\n \"sideBarSectionHeader.background\": \"#F8F8F8\",\n \"sideBarSectionHeader.border\": \"#E5E5E5\",\n \"sideBarSectionHeader.foreground\": \"#3B3B3B\",\n \"sideBarTitle.foreground\": \"#3B3B3B\",\n \"statusBar.background\": \"#F8F8F8\",\n \"statusBar.border\": \"#E5E5E5\",\n \"statusBar.foreground\": \"#3B3B3B\",\n \"statusBarItem.remoteBackground\": \"#005FB8\",\n \"statusBarItem.remoteForeground\": \"#FFFFFF\",\n \"tab.activeBackground\": \"#FFFFFF\",\n \"tab.activeBorder\": \"#F8F8F8\",\n \"tab.activeBorderTop\": \"#005FB8\",\n \"tab.activeForeground\": \"#3B3B3B\",\n \"tab.border\": \"#E5E5E5\",\n \"tab.inactiveBackground\": \"#F8F8F8\",\n \"tab.inactiveForeground\": \"#868686\",\n \"terminal.foreground\": \"#3B3B3B\",\n \"terminalCursor.foreground\": \"#005FB8\",\n \"titleBar.activeBackground\": \"#F8F8F8\",\n \"titleBar.activeForeground\": \"#1E1E1E\",\n },\n tokens: {\n comment: \"#008000\",\n keyword: \"#EE0000\",\n function: \"#795E26\",\n string: \"#811f3f\",\n number: \"#098658\",\n variable: \"#0070C1\",\n parameter: \"#001080\",\n operator: \"#EE0000\",\n punctuation: \"#d16969\",\n className: \"#267f99\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-light-plus.json b/docs/public/catalog/blocks/code-snippet-light-plus.json
deleted file mode 100644
index a73a11ef60..0000000000
--- a/docs/public/catalog/blocks/code-snippet-light-plus.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-light-plus/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-plus\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-light-plus\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-light-plus\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-light-plus\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-light-plus\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-light-plus\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .status-left,\n [data-composition-id=\"code-snippet-light-plus\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-light-plus\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-light-plus.html\" data-composition-id=\"code-snippet-light-plus\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-light-plus\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Light+</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">light_plus.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-light-plus\";\n var __hfTimelineCompId = \"code-snippet-light-plus\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-plus\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-plus\\\"|'vscode-light-plus')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-light-plus\";\n var __hfTimelineCompId = \"code-snippet-light-plus\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-light-plus\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-light-plus\\\"|'vscode-light-plus')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-light-plus\"] =\n window.__timelines[\"vscode-light-plus\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-light-plus\", {\n id: \"light-plus\",\n label: \"Light+\",\n sourceFile: \"light_plus.json\",\n uiTheme: \"vs\",\n colors: {\n \"editor.background\": \"#FFFFFF\",\n \"editor.foreground\": \"#000000\",\n \"sideBarSectionHeader.background\": \"#0000\",\n \"sideBarSectionHeader.border\": \"#61616130\",\n \"sideBarTitle.foreground\": \"#6F6F6F\",\n \"statusBarItem.remoteBackground\": \"#16825D\",\n \"statusBarItem.remoteForeground\": \"#FFF\",\n },\n tokens: {\n comment: \"#008000\",\n keyword: \"#EE0000\",\n function: \"#795E26\",\n string: \"#811f3f\",\n number: \"#098658\",\n variable: \"#0070C1\",\n parameter: \"#001080\",\n operator: \"#EE0000\",\n punctuation: \"#d16969\",\n className: \"#267f99\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-monokai.json b/docs/public/catalog/blocks/code-snippet-monokai.json
deleted file mode 100644
index 9650249c5d..0000000000
--- a/docs/public/catalog/blocks/code-snippet-monokai.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-monokai/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-monokai\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-monokai\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-monokai\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-monokai\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-monokai\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-monokai\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-monokai\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .status-left,\n [data-composition-id=\"code-snippet-monokai\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-monokai\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-monokai\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-monokai.html\" data-composition-id=\"code-snippet-monokai\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-monokai\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Monokai</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">monokai-color-theme.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-monokai\";\n var __hfTimelineCompId = \"code-snippet-monokai\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-monokai\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-monokai\\\"|'vscode-monokai')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-monokai\";\n var __hfTimelineCompId = \"code-snippet-monokai\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-monokai\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-monokai\\\"|'vscode-monokai')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-monokai\"] =\n window.__timelines[\"vscode-monokai\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-monokai\", {\n id: \"monokai\",\n label: \"Monokai\",\n sourceFile: \"monokai-color-theme.json\",\n uiTheme: \"vs-dark\",\n colors: {\n \"activityBar.background\": \"#272822\",\n \"activityBar.foreground\": \"#f8f8f2\",\n \"editor.background\": \"#272822\",\n \"editor.foreground\": \"#f8f8f2\",\n \"editor.lineHighlightBackground\": \"#3e3d32\",\n \"editor.selectionBackground\": \"#878b9180\",\n \"editorGroup.border\": \"#34352f\",\n \"editorGroupHeader.tabsBackground\": \"#1e1f1c\",\n \"editorLineNumber.activeForeground\": \"#c2c2bf\",\n \"editorLineNumber.foreground\": \"#90908a\",\n \"panel.border\": \"#414339\",\n \"sideBar.background\": \"#1e1f1c\",\n \"sideBarSectionHeader.background\": \"#272822\",\n \"statusBar.background\": \"#414339\",\n \"statusBarItem.remoteBackground\": \"#AC6218\",\n \"tab.border\": \"#1e1f1c\",\n \"tab.inactiveBackground\": \"#34352f\",\n \"tab.inactiveForeground\": \"#ccccc7\",\n \"titleBar.activeBackground\": \"#1e1f1c\",\n },\n tokens: {\n comment: \"#88846f\",\n keyword: \"#66D9EF\",\n function: \"#66D9EF\",\n string: \"#AE81FF\",\n number: \"#AE81FFA0\",\n variable: \"#FD971F\",\n parameter: \"#FD971F\",\n operator: \"#F92672\",\n punctuation: \"#A6E22E\",\n className: \"#66D9EF\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-solarized-light.json b/docs/public/catalog/blocks/code-snippet-solarized-light.json
deleted file mode 100644
index 723337293a..0000000000
--- a/docs/public/catalog/blocks/code-snippet-solarized-light.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-solarized-light/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-solarized-light\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-solarized-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-solarized-light\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-solarized-light\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .status-left,\n [data-composition-id=\"code-snippet-solarized-light\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-solarized-light\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-solarized-light.html\" data-composition-id=\"code-snippet-solarized-light\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-solarized-light\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Solarized Light</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">solarized-light-color-theme.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-solarized-light\";\n var __hfTimelineCompId = \"code-snippet-solarized-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-solarized-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-solarized-light\\\"|'vscode-solarized-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-solarized-light\";\n var __hfTimelineCompId = \"code-snippet-solarized-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-solarized-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-solarized-light\\\"|'vscode-solarized-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-solarized-light\"] =\n window.__timelines[\"vscode-solarized-light\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-solarized-light\", {\n id: \"solarized-light\",\n label: \"Solarized Light\",\n sourceFile: \"solarized-light-color-theme.json\",\n uiTheme: \"vs\",\n colors: {\n \"activityBar.background\": \"#DDD6C1\",\n \"activityBar.foreground\": \"#584c27\",\n \"editor.background\": \"#FDF6E3\",\n \"editor.foreground\": \"#657B83\",\n \"editor.lineHighlightBackground\": \"#EEE8D5\",\n \"editor.selectionBackground\": \"#EEE8D5\",\n \"editorGroup.border\": \"#DDD6C1\",\n \"editorGroupHeader.tabsBackground\": \"#D9D2C2\",\n \"editorLineNumber.activeForeground\": \"#567983\",\n \"panel.border\": \"#DDD6C1\",\n \"sideBar.background\": \"#EEE8D5\",\n \"sideBarTitle.foreground\": \"#586E75\",\n \"statusBar.background\": \"#EEE8D5\",\n \"statusBar.foreground\": \"#586E75\",\n \"statusBarItem.remoteBackground\": \"#AC9D57\",\n \"tab.activeBackground\": \"#FDF6E3\",\n \"tab.border\": \"#DDD6C1\",\n \"tab.inactiveBackground\": \"#D3CBB7\",\n \"tab.inactiveForeground\": \"#586E75\",\n \"terminal.background\": \"#FDF6E3\",\n \"titleBar.activeBackground\": \"#EEE8D5\",\n },\n tokens: {\n comment: \"#93A1A1\",\n keyword: \"#CB4B16\",\n function: \"#268BD2\",\n string: \"#DC322F\",\n number: \"#D33682\",\n variable: \"#268BD2\",\n parameter: \"#9CDCFE\",\n operator: \"#859900\",\n punctuation: \"#DC322F\",\n className: \"#CB4B16\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-visual-studio-dark.json b/docs/public/catalog/blocks/code-snippet-visual-studio-dark.json
deleted file mode 100644
index f7c6eccf0c..0000000000
--- a/docs/public/catalog/blocks/code-snippet-visual-studio-dark.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-visual-studio-dark/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-visual-studio-dark\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-visual-studio-dark\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-visual-studio-dark\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .status-left,\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-dark\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-visual-studio-dark.html\" data-composition-id=\"code-snippet-visual-studio-dark\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-visual-studio-dark\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Visual Studio Dark</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">dark_vs.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-visual-studio-dark\";\n var __hfTimelineCompId = \"code-snippet-visual-studio-dark\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-visual-studio-dark\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-visual-studio-dark\\\"|'vscode-visual-studio-dark')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-visual-studio-dark\";\n var __hfTimelineCompId = \"code-snippet-visual-studio-dark\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-visual-studio-dark\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-visual-studio-dark\\\"|'vscode-visual-studio-dark')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-visual-studio-dark\"] =\n window.__timelines[\"vscode-visual-studio-dark\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-visual-studio-dark\", {\n id: \"visual-studio-dark\",\n label: \"Visual Studio Dark\",\n sourceFile: \"dark_vs.json\",\n uiTheme: \"vs-dark\",\n colors: {\n \"editor.background\": \"#1E1E1E\",\n \"editor.foreground\": \"#D4D4D4\",\n \"sideBarSectionHeader.background\": \"#0000\",\n \"sideBarSectionHeader.border\": \"#ccc3\",\n \"sideBarTitle.foreground\": \"#BBBBBB\",\n \"statusBarItem.remoteBackground\": \"#16825D\",\n \"statusBarItem.remoteForeground\": \"#FFF\",\n },\n tokens: {\n comment: \"#6A9955\",\n keyword: \"#d4d4d4\",\n function: \"#9cdcfe\",\n string: \"#d16969\",\n number: \"#b5cea8\",\n variable: \"#569cd6\",\n parameter: \"#9CDCFE\",\n operator: \"#569cd6\",\n punctuation: \"#569cd6\",\n className: \"#9cdcfe\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/code-snippet-visual-studio-light.json b/docs/public/catalog/blocks/code-snippet-visual-studio-light.json
deleted file mode 100644
index 7b784c74e9..0000000000
--- a/docs/public/catalog/blocks/code-snippet-visual-studio-light.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!DOCTYPE html>\n<html lang=\"en\">\n<head><base href=\"/public/catalog/items/code-snippet-visual-studio-light/\"><style data-hyperframes-deterministic-fonts=\"true\">@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/ae40a5f8f9f604f4.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/42e5ad0b3cee71d5.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/8909904ab6c872eb.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/6f56409fd3d64bb8.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Inter\";\n src: url(\"/public/catalog/assets/d5c0ed7b8b5dde97.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/95061b23401efc9b.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/e3c9ceb1da81254f.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 900;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/425c0713a8176f92.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/b9d66d1708156f76.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Segoe UI\";\n src: url(\"/public/catalog/assets/7523c0cc7f5c088a.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 900;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Menlo\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Monaco\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Consolas\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/728492d30bf60f21.woff2\") format(\"woff2\");\n font-style: italic;\n font-weight: 400 700;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/c356c27cca02fa3b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 100 800;\n font-display: block;\n unicode-range: U+a, U+20-23, U+25-7d, U+2014, U+203a, U+2304, U+25c7;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/14425ba9c695763c.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 400;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: \"Courier New\";\n src: url(\"/public/catalog/assets/d0d4e818808f2a0b.woff2\") format(\"woff2\");\n font-style: normal;\n font-weight: 700;\n font-display: block;\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}</style><style data-hyperframes-text-rendering=\"true\">html,body,*{text-rendering:geometricPrecision}</style>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=1920, height=1080\">\n <script>/* inlined: https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js */\n/*!\n * GSAP 3.14.2\n * https://gsap.com\n * \n * @license Copyright 2025, GreenSock. All rights reserved.\n * Subject to the terms at https://gsap.com/standard-license.\n * @author: Jack Doyle, [email protected]\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).window=t.window||{})}(this,function(e){\"use strict\";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function r(t){return\"string\"==typeof t}function s(t){return\"function\"==typeof t}function t(t){return\"number\"==typeof t}function u(t){return void 0===t}function v(t){return\"object\"==typeof t}function w(t){return!1!==t}function x(){return\"undefined\"!=typeof window}function y(t){return s(t)||r(t)}function R(t){return(i=bt(t,ht))&&Fe}function S(t,e){return console.warn(\"Invalid property\",t,\"set to\",e,\"Missing plugin? gsap.registerPlugin()\")}function T(t,e){return!e&&console.warn(t)}function U(t,e){return t&&(ht[t]=e)&&i&&(i[t]=e)||ht}function V(){return 0}function ga(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=yt.length;r--&&!yt[r].targetTest(i););e=yt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xt(t[r],e)))||t.splice(r,1);return t}function ha(t){return t._gsap||ga(Pt(t))[0]._gsap}function ia(t,e,r){return(r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ja(t,e){return(t=t.split(\",\")).forEach(e)||t}function ka(t){return Math.round(1e5*t)/1e5||0}function la(t){return Math.round(1e7*t)/1e7||0}function ma(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),\"+\"===r?t+i:\"-\"===r?t-i:\"*\"===r?t*i:t/i}function na(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function oa(){var t,e,r=pt.length,i=pt.slice(0);for(_t={},t=pt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function pa(t){return!!(t._initted||t._startAt||t.add)}function qa(t,e,r,i){pt.length&&!I&&oa(),t.render(e,r,i||!!(I&&e<0&&pa(t))),pt.length&&!I&&oa()}function ra(t){var e=parseFloat(t);return(e||0===e)&&(t+\"\").match(ot).length<2?e:r(t)?t.trim():t}function sa(t){return t}function ta(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function wa(t,e){for(var r in e)\"__proto__\"!==r&&\"constructor\"!==r&&\"prototype\"!==r&&(t[r]=v(e[r])?wa(t[r]||(t[r]={}),e[r]):e[r]);return t}function xa(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ya(t){var e=t.parent||L,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||\"duration\"===r&&i||\"ease\"===r||(t[r]=e[r])}}($(t.keyframes)):ta;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function Aa(t,e,r,i,n){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function Ba(t,e,r,i){void 0===r&&(r=\"_first\"),void 0===i&&(i=\"_last\");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function Ca(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0}function Da(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Fa(t,e,r,i){return t._startAt&&(I?t._startAt.revert(ft):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ha(t){return t._repeat?wt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ja(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ka(t){return t._end=la(t._start+(t._tDur/Math.abs(t._ts||t._rts||q)||0))}function La(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=la(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ka(t),r._dirty||Da(r,t)),t}function Ma(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ja(t.rawTime(),e),(!e._dur||Mt(0,e.totalDuration(),r)-e._tTime>q)&&e.render(r,!0)),Da(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-q}}function Na(e,r,i,n){return r.parent&&Ca(r),r._start=la((t(i)?i:i||e!==L?Ot(e,i,r):e._time)+r._delay),r._end=la(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Aa(e,r,\"_first\",\"_last\",e._sort?\"_start\":0),xt(r)||(e._recent=r),n||Ma(e,r),e._ts<0&&La(e,e._tTime),e}function Oa(t,e){return(ht.ScrollTrigger||S(\"scrollTrigger\",e))&&ht.ScrollTrigger.create(e,t)}function Pa(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!I&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==It.frame?(pt.push(t),t._lazy=[n,i],1):void 0:1}function Ua(t,e,r,i){var n=t._repeat,a=la(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:la(a*(n+1)+t._rDelay*n):a,0<s&&!i&&La(t,t._tTime=t._tDur*s),t.parent&&Ka(t),r||Da(t.parent,t),t}function Va(t){return t instanceof Zt?Da(t):Ua(t,t._dur)}function Ya(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!(\"immediateRender\"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1]}return new te(r[0],u,r[1+o])}function Za(t,e){return t||0===t?e(t):e}function _a(t,e){return r(t)&&(e=ut.exec(t))?e[1]:\"\"}function cb(t,e){return t&&v(t)&&\"length\"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function fb(r){return r=Pt(r)[0]||T(\"Invalid scope\")||{},function(t){var e=r.current||r.nativeElement||r;return Pt(t,e.querySelectorAll?e:e===r?T(\"Invalid scope\")||a.createElement(\"div\"):r)}}function gb(t){return t.sort(function(){return.5-Math.random()})}function hb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=Vt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f=\"auto\"===p.grid?0:(p.grid||[1,X])[1])){for(h=-X;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===X?0:T?d*x/f-.5:m/f|0,l=X,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs(\"y\"===b?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);\"random\"===m&&gb(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?\"y\"===b?d/f:f:Math.max(f,d/f))||0)*(\"edges\"===m?-1:1),c.b=d<0?g-d:g,c.u=_a(p.amount||p.each)||0,_=_&&d<0?jt(_):_}return d=(c[t]-c.min)/c.max||0,la(c.b+(_?_(d):d)*c.v)+c.u}}function ib(i){var n=Math.pow(10,((i+\"\").split(\".\")[1]||\"\").length);return function(e){var r=la(Math.round(parseFloat(e)/i)*i*n);return(r-r%1)/n+(t(e)?0:_a(e))}}function jb(h,e){var l,f,r=$(h);return!r&&v(h)&&(l=r=h.radius||X,h.values?(h=Pt(h.values),(f=!t(h[0]))&&(l*=l)):h=ib(h.increment)),Za(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=X,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+_a(e)}:ib(h))}function kb(t,e,r,i){return Za($(t)?!e:!0===r?!!(r=0):!i,function(){return $(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+\"\").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function ob(e,r,t){return Za(t,function(t){return e[~~r(t)]})}function rb(t){return t.replace(tt,function(t){var e=t.indexOf(\"[\")+1,r=t.substring(e||7,e?t.indexOf(\"]\"):t.length-1).split(et);return kb(e?r:+r[0],e?0:+r[1],+r[2]||1e-5)})}function ub(t,e,r){var i,n,a,s=t.labels,o=X;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function wb(t){return Ca(t),t.scrollTrigger&&t.scrollTrigger.kill(!!I),t.progress()<1&&Dt(t,\"onInterrupt\"),t}function zb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:V,render:ve,add:Jt,kill:Te,modifier:ye,rawVars:0},a={targetTest:0,get:0,getSetter:le,aliases:{},register:0};if(Lt(),t!==i){if(mt[e])return;ta(i,ta(xa(t,n),a)),bt(i.prototype,bt(n,xa(t,a))),mt[i.prop=e]=i,t.targetTest&&(yt.push(i),ct[e]=1),e=(\"css\"===e?\"CSS\":e.charAt(0).toUpperCase()+e.substr(1))+\"Plugin\"}U(e,i),t.register&&t.register(Fe,i,we)}else St.push(t)}function Cb(t,e,r){return(6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*zt+.5|0}function Db(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&zt,e&zt]:0:Et.black;if(!p){if(\",\"===e.substr(-1)&&(e=e.substr(0,e.length-1)),Et[e])p=Et[e];else if(\"#\"===e.charAt(0)){if(e.length<6&&(e=\"#\"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):\"\")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&zt,p&zt,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&zt,e&zt]}else if(\"hsl\"===e.substr(0,3))if(p=c=e.match(rt),r){if(~e.indexOf(\"=\"))return p=e.match(it),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=Cb(o+1/3,n,a),p[1]=Cb(o,n,a),p[2]=Cb(o-1/3,n,a);else p=e.match(rt)||Et.transparent;p=p.map(Number)}return r&&!c&&(n=p[0]/zt,a=p[1]/zt,s=p[2]/zt,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Eb(t){var r=[],i=[],n=-1;return t.split(Rt).forEach(function(t){var e=t.match(nt)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function Fb(t,e,r){var i,n,a,s,o=\"\",u=(t+o).match(Rt),h=e?\"hsla(\":\"rgba(\",l=0;if(!u)return t;if(u=u.map(function(t){return(t=Db(t,e,1))&&h+(e?t[0]+\",\"+t[1]+\"%,\"+t[2]+\"%,\"+t[3]:t.join(\",\"))+\")\"}),r&&(a=Eb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Rt,\"1\").split(nt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+\"0,0,0,0)\":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Rt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Ib(t){var e,r=t.join(\" \");if(Rt.lastIndex=0,Rt.test(r))return e=Ft.test(r),t[1]=Fb(t[1],e),t[0]=Fb(t[0],e,Eb(t[1])),!0}function Rb(t){var e=(t+\"\").split(\"(\"),r=Bt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf(\"{\")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(\":\"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(\",\"):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Nt,\"\").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf(\"(\")+1,r=t.indexOf(\")\"),i=t.indexOf(\"(\",e);return t.substring(e,~i&&i<r?t.indexOf(\")\",r+1):r)}(t).split(\",\").map(ra)):Bt._CE&&Yt.test(t)?Bt._CE(\"\",t):r}function Tb(t,e){for(var r,i=t._first;i;)i instanceof Zt?Tb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Tb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Vb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ja(t,function(t){for(var e in Bt[t]=ht[t]=a,Bt[n=t.toLowerCase()]=r,a)Bt[n+(\"easeIn\"===e?\".in\":\"easeOut\"===e?\".out\":\".inOut\")]=Bt[t+\".\"+e]=a[e]}),a}function Wb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Xb(r,t,e){function Lm(t){return 1===t?1:i*Math.pow(2,-10*t)*G((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/Z*(Math.asin(1/i)||0),s=\"out\"===r?Lm:\"in\"===r?function(t){return 1-Lm(1-t)}:Wb(Lm);return n=Z/n,s.config=function(t,e){return Xb(r,t,e)},s}function Yb(e,r){function Tm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t=\"out\"===e?Tm:\"in\"===e?function(t){return 1-Tm(1-t)}:Wb(Tm);return t.config=function(t){return Yb(e,t)},t}var F,I,l,L,h,n,a,i,o,f,d,c,p,_,m,g,b,k,O,M,C,P,A,D,z,E,B,Y,N={autoSleep:120,force3D:\"auto\",nullTargetWarn:1,units:{lineHeight:\"\"}},j={duration:.5,overwrite:!1,delay:0},X=1e8,q=1/X,Z=2*Math.PI,W=Z/4,H=0,J=Math.sqrt,Q=Math.cos,G=Math.sin,K=\"function\"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},$=Array.isArray,tt=/random\\([^)]+\\)/g,et=/,\\s*/g,rt=/(?:-?\\.?\\d|\\.)+/gi,it=/[-+=.]*\\d+[.e\\-+]*\\d*[e\\-+]*\\d*/g,nt=/[-+=.]*\\d+[.e-]*\\d*[a-z%]*/g,at=/[-+=.]*\\d+\\.?\\d*(?:e-|e\\+)?\\d*/gi,st=/[+-]=-?[.\\d]+/,ot=/[^,'\"\\[\\]\\s]+/gi,ut=/^[+\\-=e\\s\\d]*\\d+[.\\d]*([a-z]*|%)\\s*$/i,ht={},lt={suppressEvents:!0,isStart:!0,kill:!1},ft={suppressEvents:!0,kill:!1},dt={suppressEvents:!0},ct={},pt=[],_t={},mt={},gt={},vt=30,yt=[],Tt=\"\",bt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},wt=function _animationCycle(t,e){var r=Math.floor(t=la(t/e));return t&&r===t?r-1:r},xt=function _isFromOrFromStart(t){var e=t.data;return\"isFromStart\"===e||\"isStart\"===e},kt={_start:0,endTime:V,totalDuration:V},Ot=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||kt,h=t.duration()>=X?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s=\"%\"===e.substr(-1),n=e.indexOf(\"=\"),\"<\"===a||\">\"===a?(0<=n&&(e=e.replace(/=/,\"\")),(\"<\"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*($(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Mt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Ct=[].slice,Pt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Lt()?$(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||cb(t,1)?i.push.apply(i,Pt(t)):i.push(t)})||i}(t,i):cb(t)?Ct.call(t,0):t?[t]:[]:Ct.call((e||a).querySelectorAll(t),0)},At=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Za(n,function(t){return r+((t-e)/a*s||0)})},Dt=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+\"Params\"],n=s.callbackScope||t,r&&pt.length&&oa(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},St=[],zt=255,Et={aqua:[0,zt,zt],lime:[0,zt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,zt],navy:[0,0,128],white:[zt,zt,zt],olive:[128,128,0],yellow:[zt,zt,0],orange:[zt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[zt,0,0],pink:[zt,192,203],cyan:[0,zt,zt],transparent:[zt,zt,zt,0]},Rt=function(){var t,e=\"(?:\\\\b(?:(?:rgb|rgba|hsl|hsla)\\\\(.+?\\\\))|\\\\B#(?:[0-9a-f]{3,4}){1,2}\\\\b\";for(t in Et)e+=\"|\"+t+\"\\\\b\";return new RegExp(e+\")\",\"gi\")}(),Ft=/hsl[a]?\\(/,It=(O=Date.now,M=500,C=33,P=O(),A=P,z=D=1e3/240,g={time:0,frame:0,tick:function tick(){Al(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ht.gsap=Fe,(h.gsapVersions||(h.gsapVersions=[])).push(Fe.version),R(i||h.GreenSockGlobals||!h.gsap&&h||{}),St.forEach(zb)),m=\"undefined\"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,z-1e3*g.time+1|0)},c=1,Al(2))},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=V},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M)},fps:function fps(t){D=1e3/(t||240),z=1e3*g.time+D},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a)}:n;return g.remove(n),E[e?\"unshift\":\"push\"](a),Lt(),a},remove:function remove(t,e){~(e=E.indexOf(t))&&E.splice(e,1)&&e<=k&&k--},_listeners:E=[]}),Lt=function _wake(){return!c&&It.wake()},Bt={},Yt=/^[\\d.\\-M][\\d.\\-,\\s]/,Nt=/[\"']/g,jt=function _invertEase(e){return function(t){return 1-e(1-t)}},Vt=function _parseEase(t,e){return t&&(s(t)?t:Bt[t]||Rb(t))||e};function Al(t){var e,r,i,n,a=O()-A,s=!0===t;if((M<a||a<0)&&(P+=a-C),(0<(e=(i=(A+=a)-P)-z)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,z+=e+(D<=e?4:D-e),r=1),s||(p=_(Al)),r)for(k=0;k<E.length;k++)E[k](i,b,n,t)}function jn(t){return t<Y?B*t*t:t<.7272727272727273?B*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?B*(t-=2.25/2.75)*t+.9375:B*Math.pow(t-2.625/2.75,2)+.984375}ja(\"Linear,Quad,Cubic,Quart,Quint,Strong\",function(t,e){var r=e<5?e+1:e;Vb(t+\",Power\"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Bt.Linear.easeNone=Bt.none=Bt.Linear.easeIn,Vb(\"Elastic\",Xb(\"in\"),Xb(\"out\"),Xb()),B=7.5625,Y=1/2.75,Vb(\"Bounce\",function(t){return 1-jn(1-t)},jn),Vb(\"Expo\",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Vb(\"Circ\",function(t){return-(J(1-t*t)-1)}),Vb(\"Sine\",function(t){return 1===t?1:1-Q(t*W)}),Vb(\"Back\",Yb(\"in\"),Yb(\"out\"),Yb()),Bt.SteppedEase=Bt.steps=ht.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*Mt(0,.99999999,t)|0)+n)*r}}},j.ease=Bt[\"quad.out\"],ja(\"onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt\",function(t){return Tt+=t+\",\"+t+\"Params,\"});var Ut,Xt=function GSCache(t,e){this.id=H++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ia,this.set=e?e.getSetter:le},qt=((Ut=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Ut.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Ut.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ua(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Ut.totalTime=function totalTime(t,e){if(Lt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(La(this,t),!r._dp||r.parent||Ma(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Na(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===q||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),qa(this,t,e)),this},Ut.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ha(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},Ut.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<=this.rawTime()&&this._initted?1:0},Ut.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ha(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},Ut.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?wt(this._tTime,r)+1:1},Ut.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-q?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ja(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-q?0:this._rts,this.totalTime(Mt(-Math.abs(this._delay),this.totalDuration(),r),!1!==e),Ka(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},Ut.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Lt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==q&&(this._tTime-=q)))),this):this._ps},Ut.startTime=function startTime(t){if(arguments.length){this._start=la(t);var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Na(e,this,this._start-this._delay),this}return this._start},Ut.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},Ut.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ja(e.rawTime(t),this):this._tTime:this._tTime},Ut.revert=function revert(t){void 0===t&&(t=dt);var e=I;return I=t,pa(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),\"nested\"!==this.data&&!1!==t.kill&&this.kill(),I=e,this},Ut.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},Ut.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Va(this)):-2===this._repeat?1/0:this._repeat},Ut.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Va(this),e?this.time(e):this}return this._rDelay},Ut.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Ut.seek=function seek(t,e){return this.totalTime(Ot(this,t),w(e))},Ut.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e)),this._dur||(this._zTime=-q),this},Ut.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Ut.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Ut.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Ut.resume=function resume(){return this.paused(!1)},Ut.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-q:0)),this):this._rts<0},Ut.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-q,this},Ut.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-q))},Ut.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+\"Params\"]=r),\"onUpdate\"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Ut.then=function then(t){var i=this,n=i._prom;return new Promise(function(e){function Fo(){var t=i.then;i.then=null,n&&n(),s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=s(t)?t:sa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Fo():i._prom=Fo})},Ut.kill=function kill(){wb(this)},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ua(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||It.wake()}ta(qt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-q,_prom:0,_ps:!1,_rts:1});var Zt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),L&&Na(t.parent||L,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Oa(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Ya(0,arguments,this),this},e.from=function from(t,e,r){return Ya(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Ya(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,ya(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new te(t,e,Ot(this,r),1),this},e.call=function call(t,e,r){return Na(this,te.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new te(t,r,Ot(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,ya(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,ya(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:la(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==L&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=la(v%o),v===m?(s=this._repeat,i=g):((s=~~(d=la(v/o)))&&s===d&&(i=g,s--),g<i&&(i=g)),d=wt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:la(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Dt(this,\"onRepeat\"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1,d=s),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Tb(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(\"isPause\"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(\"isPause\"===i.data&&i._start<e)return i;i=i._prev}}(this,la(_),la(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&v&&g&&!e&&!d&&(Dt(this,\"onStart\"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-q);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||I&&pa(n)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-q:q);break}}n=a}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-q)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ka(this),this.render(t,e,r);this._onUpdate&&!e&&Dt(this,\"onUpdate\",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||Ca(this,1),e||t<0&&!_||!v&&!_&&m||(Dt(this,v===m&&0<=t?\"onComplete\":\"onReverseComplete\",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=Ot(this,i,e)),!(e instanceof qt)){if($(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=te.delayedCall(0,e)}return this!==e?Na(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-X);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof te?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(t.parent===this&&Ba(this,t),t===this._recent&&(this._recent=this._last),Da(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=la(It.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=Ot(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=te.delayedCall(0,e||V,r);return i.data=\"isPause\",this._hasPause=1,Na(this,i,Ot(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=Ot(this,t);e;)e._start===t&&\"isPause\"===e.data&&Ca(e),e=e._next},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Wt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Pt(e),s=this._first,o=t(r);s;)s instanceof te?na(s._targets,a)&&(o?(!Wt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=Ot(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=te.to(i,ta({ease:e.ease||\"none\",lazy:!1,immediateRender:!1,time:n,overwrite:\"auto\",duration:e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale())||q,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&\"time\"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ua(h,t,0,1).render(h._time,!0,!0),r=1}s&&s.apply(h,o||[])}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ta({startAt:{time:Ot(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),ub(this,Ot(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+q)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);var i,n=this._first,a=this.labels;for(t=la(t);n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Da(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Da(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=X;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Na(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=la(r/a._ts),a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ua(a,a===L&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(L._ts&&(qa(L,Ja(t,L)),f=It.frame),It.frame>=vt){vt+=N.autoSleep||120;var e=L._first;if((!e||!e._ts)&&N.autoSleep&&It._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||It.sleep()}}},Timeline}(qt);ta(Zt.prototype,{_lock:0,_hasPause:0,_forcing:0});function dc(t,e,i,n,a,o){var u,h,l,f;if(mt[t]&&!1!==(u=new mt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Gt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||$(t)||K(t))return r(t)?Gt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Gt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new we(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function jc(t,r,e,i){var n,a,s=r.ease||i||\"power1.inOut\";if($(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),\"ease\"===n||a.push({t:parseFloat(t),v:r[n],e:s})}var Wt,Ht,Jt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p=\"get\"!==i?i:s(c)?l?t[e.indexOf(\"set\")||!s(t[\"get\"+e.substr(3)])?e:\"get\"+e.substr(3)](l):t[e]():c,_=s(c)?l?ue:re:ee;if(r(n)&&(~n.indexOf(\"random(\")&&(n=rb(n)),\"=\"===n.charAt(1)&&(!(d=ma(p,n)+(_a(p)||0))&&0!==d||(n=d))),!f||p!==n||Ht)return isNaN(p*n)||\"\"===n?(c||e in t||S(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new we(this._pt,t,e,0,1,ge,null,n),m=0,g=0;for(_.b=r,_.e=i,r+=\"\",(c=~(i+=\"\").indexOf(\"random(\"))&&(i=rb(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(at)||[];o=at.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:\"rgba(\"===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:\",\",s:d,c:\"=\"===l.charAt(1)?ma(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=at.lastIndex);return _.c=m<i.length?i.substring(m,i.length):\"\",_.fp=s,(st.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||N.stringFilter,l)):(d=new we(this._pt,t,e,+p||0,n-(p||0),\"boolean\"==typeof c?_e:ce,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,k=m.yoyoEase,O=m.keyframes,M=m.autoRevert,C=t._dur,P=t._startAt,A=t._targets,D=t.parent,S=D&&\"nested\"===D.data?D.vars.targets:A,z=\"auto\"===t._overwrite&&!F,E=t.timeline;if(!E||O&&g||(g=\"none\"),t._ease=Vt(g,j.ease),t._yEase=k?jt(Vt(!0===k?g:k,j.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!E&&!!m.runBackwards,!E||O&&!m.stagger){if(p=(l=A[0]?ha(A[0]).harness:0)&&m[l.prop],i=xa(m,ct),P&&(P._zTime<0&&P.progress(1),e<0&&x&&y&&!M?P.render(-1,!0):P.revert(x&&C?ft:lt),P._lazy=0),v){if(Ca(t._startAt=te.set(A,ta({data:\"isStart\",overwrite:!1,parent:D,immediateRender:!0,lazy:!P&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Dt(t,\"onUpdate\")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I||!y&&!M)&&t._startAt.revert(ft),y&&C&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&C&&!P)if(e&&(y=!1),a=ta({overwrite:!1,data:\"isFromStart\",lazy:y&&!P&&w(T),immediateRender:y,stagger:0,parent:D},i),p&&(a[l.prop]=p),Ca(t._startAt=te.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(I?t._startAt.revert(ft):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,q,q);for(t._pt=t._ptCache=0,T=C&&w(T)||T&&!C,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ga(A)[n]._gsap,t._ptLookup[n]=d={},_t[h.id]&&pt.length&&oa(),c=S===A?n:S.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,S)&&(t._pt=s=new we(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s}),f.priority&&(u=1)),!l||p)for(a in i)mt[a]&&(f=dc(a,i,t,c,o,S))?f.priority&&(u=1):d[a]=s=Jt.call(t,o,a,\"get\",i[a],c,S,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),z&&t._pt&&(Wt=t,L.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Wt=0),t._pt&&T&&(_t[h.id]=1)}u&&be(t),t._onInit&&t._onInit(t)}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,O&&e<=0&&E.render(X,!0,!0)},Gt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf(\"random(\")?rb(t):t},Kt=Tt+\"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert\",$t={};ja(Kt+\",id,stagger,delay,duration,paused,scrollTrigger\",function(t){return $t[t]=1});var te=function(R){function Tween(e,r,i,n){var a;\"number\"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=R.call(this,n?r:ya(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,b=p.stagger,x=p.overwrite,k=p.keyframes,O=p.defaults,M=p.scrollTrigger,C=p.yoyoEase,P=r.parent||L,A=($(e)||K(e)?t(e[0]):\"length\"in r)?[e]:Pt(e);if(a._targets=A.length?ga(A):T(\"GSAP target \"+e+\" not found. https://gsap.com\",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=x,k||b||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Zt({data:\"nested\",defaults:O||{},targets:P&&\"nested\"===P.data?P.vars.targets:A})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,b||y(_)||y(m)){if(h=A.length,d=b&&hb(b),v(b))for(l in b)~Kt.indexOf(l)&&((c=c||{})[l]=b[l]);for(o=0;o<h;o++)(u=xa(r,$t)).stagger=0,C&&(u.yoyoEase=C),c&&bt(u,c),f=A[o],u.duration=+Gt(_,_assertThisInitialized(a),o,f,A),u.delay=(+Gt(m,_assertThisInitialized(a),o,f,A)||0)-a._delay,!b&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,A):0),s._ease=Bt.none;s.duration()?_=m=0:a.timeline=0}else if(k){ya(ta(s.vars.defaults,{ease:\"none\"})),s._ease=Vt(k.ease||r.ease||\"none\");var D,S,z,E=0;if($(k))k.forEach(function(t){return s.to(A,t,\">\")}),s.duration();else{for(l in u={},k)\"ease\"===l||\"easeEach\"===l||jc(l,k[l],u,k.easeEach);for(l in u)for(D=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<D.length;o++)(z={ease:(S=D[o]).e,duration:(S.t-(o?D[o-1].t:0))/100*_})[l]=S.v,s.to(A,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()})}}_||a.duration(_=s.duration())}else a.timeline=0;return!0!==x||F||(Wt=_assertThisInitialized(a),L.killTweensOf(A),Wt=0),Na(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!k&&a._start===la(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&\"nested\"!==P.data)&&(a._tTime=-q,a.render(Math.max(0,-m)||0)),M&&Oa(_assertThisInitialized(a),M),a}_inheritsLoose(Tween,R);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-q<t&&!_?c:t<q?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_||this._lazy){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=la(m%s),m===c?(a=this._repeat,i=p):(a=~~(o=la(m/s)))&&a===o?(i=p,a--):p<i&&(i=p),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=wt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Tb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&i!==s&&this._initted&&(this._lock=r=1,this.render(la(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Pa(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),!d&&m&&!e&&!o&&(Dt(this,\"onStart\"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Fa(this,t,0,r),Dt(this,\"onUpdate\")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Dt(this,\"onRepeat\"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Fa(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||Ca(this,1),e||_&&!d||!(m||d||u)||(Dt(this,m===c?\"onComplete\":\"onReverseComplete\",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!xt(t))||(t._ts<0||t._dp._ts<0)&&!xt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Mt(0,t._tDur,e),a=wt(l,h),t._yoyo&&1&a&&(u=1-u),a!==wt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||I||i||t._zTime===q||!e&&t._zTime){if(!t._initted&&Pa(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?q:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Fa(t,e,0,!0),t._onUpdate&&!r&&Dt(t,\"onUpdate\"),l&&t._repeat&&!r&&t.parent&&Dt(t,\"onRepeat\"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&Ca(t,1),r||I||(Dt(t,u?\"onComplete\":\"onReverseComplete\",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),R.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||It.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Ht=1,t.vars[e]=\"+=0\",Qt(t,s),Ht=0,o?T(e+\" not eligible for reset\"):1;d.push(u)}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ka(r)+_a(h.e)),h.b&&(h.b=u.s+_a(h.b))}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(La(this,0),this.parent||Aa(this._dp,this,\"_first\",\"_last\",this._dp._sort?\"_start\":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e=\"all\"),!(t||e&&\"all\"!==e))return this._lazy=this._pt=0,this.parent?wb(this):this.scrollTrigger&&this.scrollTrigger.kill(!!I),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Wt&&!0!==Wt.vars.overwrite)._first||wb(this),this.parent&&i!==this.timeline.totalDuration()&&Ua(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Pt(t):f,c=this._ptLookup,p=this._pt;if((!e||\"all\"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return\"all\"===e&&(this._pt=0),wb(this);for(n=this._op=this._op||[],\"all\"!==e&&(r(e)&&(u={},ja(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?ha(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bt({},e),o)if(i in r)for(n=(a=o[i].split(\",\")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],\"all\"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&(\"kill\"in h.d&&!0!==h.d.kill(u)||Ba(this,h,\"_pt\"),delete a[u]),\"all\"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&wb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Ya(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Ya(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return L.killTweensOf(t,e,r)},Tween}(qt);ta(te.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ja(\"staggerTo,staggerFrom,staggerFromTo\",function(r){te[r]=function(){var t=new Zt,e=Ct.call(arguments,0);return e.splice(\"staggerFromTo\"===r?5:4,0,0),t[r].apply(t,e)}});function rc(t,e,r){return t.setAttribute(e,r)}function zc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var ee=function _setterPlain(t,e,r){return t[e]=r},re=function _setterFunc(t,e,r){return t[e](r)},ue=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},le=function _getSetter(t,e){return s(t[e])?re:u(t[e])&&t.setAttribute?rc:ee},ce=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},_e=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ge=function _renderComplexString(t,e){var r=e._pt,i=\"\";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},ve=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ye=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},Te=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Ba(this,i,\"_pt\"):i.dep||(e=1),i=r;return!e},be=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},we=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=zc,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ce,this.d=s||this,this.set=o||ee,this.pr=u||0,(this._next=t)&&(t._prev=this)}ja(Tt+\"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger\",function(t){return ct[t]=1}),ht.TweenMax=ht.TweenLite=te,ht.TimelineLite=ht.TimelineMax=Zt,L=new Zt({sortChildren:!1,defaults:j,autoRemoveChildren:!0,id:\"root\",smoothChildTiming:!0}),N.stringFilter=Ib;function Hc(t){return(Oe[t]||Me).map(function(t){return t()})}function Ic(){var t=Date.now(),o=[];2<t-Ce&&(Hc(\"matchMediaInit\"),ke.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t))}),Hc(\"matchMediaRevert\"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Ce=t,Hc(\"matchMedia\"))}var xe,ke=[],Oe={},Me=[],Ce=0,Pe=0,De=((xe=Context.prototype).add=function add(t,i,n){function Jw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=fb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Jw,t===s?Jw(a,function(t){return a.add(null,t)}):t?a[t]=Jw:Jw},xe.ignore=function ignore(t){var e=l;l=null,t(this),l=e},xe.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof te&&!(t.parent&&\"nested\"===t.parent.data)&&e.push(t)}),e},xe.clear=function clear(){this._r.length=this.data.length=0},xe.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)\"isFlip\"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Zt?\"nested\"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof te||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ke.length;e--;)ke[e].id===this.id&&ke.splice(e,1)},xe.revert=function revert(t){this.kill(t||{})},Context);function Context(t,e){this.selector=e&&fb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pe++,t&&this.add(t)}var Se,Ee=((Se=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new De(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add(\"onMatch\",e),s.queries=t)\"all\"===n?a=1:(i=h.matchMedia(t[n]))&&(ke.indexOf(s)<0&&ke.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Ic):i.addEventListener(\"change\",Ic));return a&&e(s,function(t){return s.add(null,t)}),this},Se.revert=function revert(t){this.kill(t||{})},Se.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this)}var Re={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return zb(t)})},timeline:function timeline(t){return new Zt(t)},getTweensOf:function getTweensOf(t,e){return L.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Pt(i)[0]);var a=ha(i||{}).get,s=e?sa:ra;return\"native\"===e&&(e=\"\"),i?t?s((mt[t]&&mt[t].get||a)(i,t,e,n)):function(t,e,r){return s((mt[t]&&mt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Pt(r)).length){var n=r.map(function(t){return Fe.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=mt[e],o=ha(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&ve(1,d)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function by(t,e,r){return n.resetTo(i,t,e,r)}var r,n=Fe.to(t,ta(((r={})[i]=\"+=0.1\",r.paused=!0,r.stagger=0,r),e||{}));return by.tween=n,by},isTweening:function isTweening(t){return 0<L.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Vt(t.ease,j.ease)),wa(j,t||{})},config:function config(t){return wa(N,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||\"\").split(\",\").forEach(function(t){return t&&!mt[t]&&!ht[t]&&T(i+\" effect requires \"+t+\" plugin.\")}),gt[i]=function(t,e,r){return n(Pt(t),ta(e||{},a),r)},r&&(Zt.prototype[i]=function(t,e,r){return this.add(gt[i](t,v(e)?e:(r=e)&&{},this),r)})},registerEase:function registerEase(t,e){Bt[t]=Vt(e)},parseEase:function parseEase(t,e){return arguments.length?Vt(t,e):Bt},getById:function getById(t){return L.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Zt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),L.remove(n),n._dp=0,n._time=n._tTime=L._time,r=L._first;r;)i=r._next,!e&&!r._dur&&r instanceof te&&r.vars.onComplete===r._targets[0]||Na(n,r,r._start-r._delay),r=i;return Na(L,n,0),n},context:function context(t,e){return t?new De(t,e):l},matchMedia:function matchMedia(t){return new Ee(t)},matchMediaRefresh:function matchMediaRefresh(){return ke.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()})||Ic()},addEventListener:function addEventListener(t,e){var r=Oe[t]||(Oe[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function removeEventListener(t,e){var r=Oe[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1)},utils:{wrap:function wrap(e,t,r){var i=t-e;return $(e)?ob(e,wrap(0,e.length),t):Za(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return $(e)?ob(e,wrapYoyo(0,e.length-1),t):Za(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:hb,random:kb,snap:jb,normalize:function normalize(t,e,r){return At(t,e,0,1,r)},getUnit:_a,clamp:function clamp(e,r,t){return Za(t,function(t){return Mt(e,r,t)})},splitColor:Db,toArray:Pt,selector:fb,mapRange:At,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||_a(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if($(e)&&!$(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i}else n||(e=bt($(e)?[]:{},e));if(!u){for(s in i)Jt.call(d,e,s,\"get\",i[s]);a=function func(t){return ve(t,d)||(f?e.p:e)}}}return Za(t,a)},shuffle:gb},install:R,effects:gt,ticker:It,updateRoot:Zt.updateRoot,plugins:mt,globalTimeline:L,core:{PropTween:we,globals:U,Tween:te,Timeline:Zt,Animation:qt,getCache:ha,_removeLinkedListItem:Ba,reverting:function reverting(){return I},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ja(\"to,from,fromTo,delayedCall,set,killTweensOf\",function(t){return Re[t]=te[t]}),It.add(Zt.updateRoot),d=Re.to({},{duration:0});function Mc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Oc(t,a){return{name:t,headless:1,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ja(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Mc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,n)}}}}var Fe=Re.registerPlugin({name:\"attr\",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||\"\",(s=this.add(t,\"setAttribute\",(o||0)+\"\",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function render(t,e){for(var r=e._pt;r;)I?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:\"endArray\",headless:1,init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},Oc(\"roundProps\",ib),Oc(\"modifiers\"),Oc(\"snap\",jb))||Re;te.version=Zt.version=Fe.version=\"3.14.2\",o=1,x()&&Lt();function yd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function zd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Ad(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Bd(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Cd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Dd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ed(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Fd(t,e,r){return t.style[e]=r}function Gd(t,e,r){return t.style.setProperty(e,r)}function Hd(t,e,r){return t._gsap[e]=r}function Id(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Jd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function Kd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function Nd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in hr&&n){if(this.tfm=this.tfm||{},\"transform\"===t)return mr.transform.split(\",\").forEach(function(t){return Nd.call(r,t,e)});if(~(t=mr[t]||t).indexOf(\",\")?t.split(\",\").forEach(function(t){return r.tfm[t]=xr(i,t)}):this.tfm[t]=a.x?a[t]:xr(i,t),t===vr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(gr))return;a.svg&&(this.svgo=i.getAttribute(\"data-svg-origin\"),this.props.push(vr,e,\"\")),t=gr}(n||e)&&this.props.push(t,e,n[t])}function Od(t){t.translate&&(t.removeProperty(\"translate\"),t.removeProperty(\"scale\"),t.removeProperty(\"rotate\"))}function Pd(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(\"--\"===r[t].substr(0,2)?r[t]:r[t].replace(cr,\"-$1\").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute(\"data-svg-origin\",this.svgo||\"\")),(t=Ue())&&t.isStart||n[gr]||(Od(n),a.zOrigin&&n[vr]&&(n[vr]+=\" \"+a.zOrigin+\"px\",a.zOrigin=0,a.renderTransform()),a.uncache=1)}}function Qd(t,e){var r={target:t,props:[],revert:Pd,save:Nd};return t._gsap||Fe.core.getCache(t),e&&t.style&&t.nodeType&&e.split(\",\").forEach(function(t){return r.save(t)}),r}function Sd(t,e){var r=Le.createElementNS?Le.createElementNS((e||\"http://www.w3.org/1999/xhtml\").replace(/^https/,\"http\"),t):Le.createElement(t);return r&&r.style?r:Le.createElement(t)}function Td(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(cr,\"-$1\").toLowerCase())||i.getPropertyValue(e)||!r&&Td(t,Tr(e)||e,1)||\"\"}function Wd(){(function _windowExists(){return\"undefined\"!=typeof window})()&&window.document&&(Ie=window,Le=Ie.document,Ye=Le.documentElement,je=Sd(\"div\")||{style:{}},Sd(\"div\"),gr=Tr(gr),vr=gr+\"Origin\",je.style.cssText=\"border-width:0;line-height:0;position:absolute;padding:0\",Xe=!!Tr(\"perspective\"),Ue=Fe.core.reverting,Ne=1)}function Xd(t){var e,r=t.ownerSVGElement,i=Sd(\"svg\",r&&r.getAttribute(\"xmlns\")||\"http://www.w3.org/2000/svg\"),n=t.cloneNode(!0);n.style.display=\"block\",i.appendChild(n),Ye.appendChild(i);try{e=n.getBBox()}catch(t){}return i.removeChild(n),Ye.removeChild(i),e}function Yd(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Zd(e){var r,i;try{r=e.getBBox()}catch(t){r=Xd(e),i=1}return r&&(r.width||r.height)||i||(r=Xd(e)),!r||r.width||r.x||r.y?r:{x:+Yd(e,[\"x\",\"cx\",\"x1\"])||0,y:+Yd(e,[\"y\",\"cy\",\"y1\"])||0,width:0,height:0}}function $d(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Zd(t))}function _d(t,e){if(e){var r,i=t.style;e in hr&&e!==vr&&(e=gr),i.removeProperty?(\"ms\"!==(r=e.substr(0,2))&&\"webkit\"!==e.substr(0,6)||(e=\"-\"+e),i.removeProperty(\"--\"===r?e:e.replace(cr,\"-$1\").toLowerCase())):i.removeAttribute(e)}}function ae(t,e,r,i,n,a){var s=new we(t._pt,e,r,0,1,a?Ed:Dd);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function de(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+\"\").trim().substr((u+\"\").length)||\"px\",l=je.style,f=pr.test(e),d=\"svg\"===t.tagName.toLowerCase(),c=(d?\"client\":\"offset\")+(f?\"Width\":\"Height\"),p=\"px\"===i,_=\"%\"===i;if(i===h||!u||br[i]||br[h])return u;if(\"px\"===h||p||(u=de(t,e,r,\"px\")),o=t.getCTM&&$d(t),(_||\"%\"===h)&&(hr[e]||~e.indexOf(\"adius\")))return n=o?t.getBBox()[f?\"width\":\"height\"]:t[c],ka(_?u/n*100:u/100*n);if(l[f?\"width\":\"height\"]=100+(p?h:i),a=\"rem\"!==i&&~e.indexOf(\"adius\")||\"em\"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==Le&&a.appendChild||(a=Le.body),(s=a._gsap)&&_&&s.width&&f&&s.time===It.time&&!s.uncache)return ka(u/s.width*100);if(!_||\"height\"!==e&&\"width\"!==e)!_&&\"%\"!==h||wr[Td(a,\"display\")]||(l.position=Td(t,\"position\")),a===t&&(l.position=\"static\"),a.appendChild(je),n=je[c],a.removeChild(je),l.position=\"absolute\";else{var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:_d(t,e)}return f&&_&&((s=ha(a)).time=It.time,s.width=a[c]),ka(p?n*u/100:n&&u?100/n*u:0)}function fe(t,e,r,i){if(!r||\"none\"===r){var n=Tr(e,t,1),a=n&&Td(t,n,1);a&&a!==r?(e=n,r=a):\"borderColor\"===e&&(r=Td(t,\"borderTopColor\"))}var s,o,u,h,l,f,d,c,p,_,m,g=new we(this._pt,t.style,e,0,1,ge),v=0,y=0;if(g.b=r,g.e=i,r+=\"\",\"var(--\"===(i+=\"\").substring(0,6)&&(i=Td(t,i.substring(4,i.indexOf(\")\")))),\"auto\"===i&&(f=t.style[e],t.style[e]=i,i=Td(t,e)||i,f?t.style[e]=f:_d(t,e)),Ib(s=[r,i]),i=s[1],u=(r=s[0]).match(nt)||[],(i.match(nt)||[]).length){for(;o=nt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:\"rgba(\"!==p.substr(-5)&&\"hsla(\"!==p.substr(-5)||(l=1),d!==(f=u[y++]||\"\")&&(h=parseFloat(f)||0,m=f.substr((h+\"\").length),\"=\"===d.charAt(1)&&(d=ma(h,d)+m),c=parseFloat(d),_=d.substr((c+\"\").length),v=nt.lastIndex-_.length,_||(_=_||N.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=de(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:\",\",s:h,c:c-h,m:l&&l<4||\"zIndex\"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):\"\"}else g.r=\"display\"===e&&\"none\"===i?Ed:Dd;return st.test(i)&&(g.e=0),this._pt=g}function he(t){var e=t.split(\" \"),r=e[0],i=e[1]||\"50%\";return\"top\"!==r&&\"bottom\"!==r&&\"left\"!==i&&\"right\"!==i||(t=r,r=i,i=t),e[0]=kr[r]||r,e[1]=kr[i]||i,e.join(\" \")}function ie(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if(\"all\"===o||!0===o)s.cssText=\"\",i=1;else for(n=(o=o.split(\",\")).length;-1<--n;)r=o[n],hr[r]&&(i=1,r=\"transformOrigin\"===r?vr:gr),_d(a,r);i&&(_d(a,gr),u&&(u.svg&&a.removeAttribute(\"transform\"),s.scale=s.rotate=s.translate=\"none\",Pr(a,1),u.uncache=1,Od(s)))}}function me(t){return\"matrix(1, 0, 0, 1, 0, 0)\"===t||\"none\"===t||!t}function ne(t){var e=Td(t,gr);return me(e)?Mr:e.substr(7).match(it).map(ka)}function oe(t,e){var r,i,n,a,s=t._gsap||ha(t),o=t.style,u=ne(t);return s.svg&&t.getAttribute(\"transform\")?\"1,0,0,1,0,0\"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(\",\")?Mr:u:(u!==Mr||t.offsetParent||t===Ye||s.svg||(n=o.display,o.display=\"block\",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(a=1,i=t.nextElementSibling,Ye.appendChild(t)),u=ne(t),n?o.display=n:_d(t,\"display\"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ye.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function pe(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||oe(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(\" \"),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Mr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Zd(t)).x+(~b[0].indexOf(\"%\")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf(\"%\")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[vr]=\"0px 0px\",a&&(ae(a,h,\"xOrigin\",f,w),ae(a,h,\"yOrigin\",d,x),ae(a,h,\"xOffset\",c,h.xOffset),ae(a,h,\"yOffset\",p,h.yOffset)),t.setAttribute(\"data-svg-origin\",w+\" \"+x)}function se(t,e,r){var i=_a(e);return ka(parseFloat(e)+parseFloat(de(t,\"x\",r+\"px\",i)))+i}function ze(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf(\"rad\")?lr:1)-n,f=n+l+\"deg\";return h&&(\"short\"===(s=a.split(\"_\")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),\"cw\"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:\"ccw\"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new we(t._pt,e,i,n,l,zd),o.e=f,o.u=\"deg\",t._props.push(i),o}function Ae(t,e){for(var r in e)t[r]=e[r];return t}function Be(t,e,r){var i,n,a,s,o,u,h,l=Ae({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute(\"transform\"),r.setAttribute(\"transform\",\"\"),f[gr]=e,i=Pr(r,1),_d(r,gr),r.setAttribute(\"transform\",a)):(a=getComputedStyle(r)[gr],f[gr]=e,i=Pr(r,1),f[gr]=a),hr)(a=l[n])!==(s=i[n])&&\"perspective,force3D,transformOrigin,svgOrigin\".indexOf(n)<0&&(o=_a(a)!==(h=_a(s))?de(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new we(t._pt,i,n,o,u-o,yd),t._pt.u=h||0,t._props.push(n));Ae(i,l)}var Ie,Le,Ye,Ne,je,Ve,Ue,Xe,qe=Bt.Power0,Ze=Bt.Power1,We=Bt.Power2,He=Bt.Power3,Je=Bt.Power4,Qe=Bt.Linear,Ge=Bt.Quad,Ke=Bt.Cubic,$e=Bt.Quart,tr=Bt.Quint,er=Bt.Strong,rr=Bt.Elastic,ir=Bt.Back,nr=Bt.SteppedEase,ar=Bt.Bounce,sr=Bt.Sine,or=Bt.Expo,ur=Bt.Circ,hr={},lr=180/Math.PI,fr=Math.PI/180,dr=Math.atan2,cr=/([A-Z])/g,pr=/(left|right|width|margin|padding|x)/i,_r=/[\\s,\\(]\\S/,mr={autoAlpha:\"opacity,visibility\",scale:\"scaleX,scaleY\",alpha:\"opacity\"},gr=\"transform\",vr=gr+\"Origin\",yr=\"O,Moz,ms,Ms,Webkit\".split(\",\"),Tr=function _checkPropPrefix(t,e,r){var i=(e||je).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(yr[n]+t in i););return n<0?null:(3===n?\"ms\":0<=n?yr[n]:\"\")+t},br={deg:1,rad:1,turn:1},wr={grid:1,flex:1},xr=function _get(t,e,r,i){var n;return Ne||Wd(),e in mr&&\"transform\"!==e&&~(e=mr[e]).indexOf(\",\")&&(e=e.split(\",\")[0]),hr[e]&&\"transform\"!==e?(n=Pr(t,i),n=\"transformOrigin\"!==e?n[e]:n.svg?n.origin:Ar(Td(t,vr))+\" \"+n.zOrigin+\"px\"):(n=t.style[e])&&\"auto\"!==n&&!i&&!~(n+\"\").indexOf(\"calc(\")||(n=Or[e]&&Or[e](t,e,r)||Td(t,e)||ia(t,e)||(\"opacity\"===e?1:0)),r&&!~(n+\"\").trim().indexOf(\" \")?de(t,e,n,r)+r:n},kr={top:\"0%\",bottom:\"100%\",left:\"0%\",right:\"100%\",center:\"50%\"},Or={clearProps:function clearProps(t,e,r,i,n){if(\"isFromStart\"!==n.data){var a=t._pt=new we(t._pt,e,r,0,0,ie);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Mr=[1,0,0,1,0,0],Cr={},Pr=function _parseTransform(t,e){var r=t._gsap||new Xt(t);if(\"x\"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,k,O,M,C,P,A,D,S,z,E,R,F=t.style,I=r.scaleX<0,L=\"deg\",B=getComputedStyle(t),Y=Td(t,vr)||\"0\";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!$d(t)),B.translate&&(\"none\"===B.translate&&\"none\"===B.scale&&\"none\"===B.rotate||(F[gr]=(\"none\"!==B.translate?\"translate3d(\"+(B.translate+\" 0 0\").split(\" \").slice(0,3).join(\", \")+\") \":\"\")+(\"none\"!==B.rotate?\"rotate(\"+B.rotate+\") \":\"\")+(\"none\"!==B.scale?\"scale(\"+B.scale.split(\" \").join(\",\")+\") \":\"\")+(\"none\"!==B[gr]?B[gr]:\"\")),F.scale=F.rotate=F.translate=\"none\"),m=oe(t,r.svg),r.svg&&(M=r.uncache?(C=t.getBBox(),Y=r.xOrigin-C.x+\"px \"+(r.yOrigin-C.y)+\"px\",\"\"):!e&&t.getAttribute(\"data-svg-origin\"),pe(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==Mr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?dr(b,T)*lr:0,(f=w||x?dr(w,x)*lr+u:0)&&(o*=Math.abs(Math.cos(f*fr))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],z=m[7],A=m[8],D=m[9],S=m[10],E=m[11],i=m[12],n=m[13],a=m[14],h=(g=dr(R,S))*lr,g&&(M=k*(v=Math.cos(-g))+A*(y=Math.sin(-g)),C=O*v+D*y,P=R*v+S*y,A=k*-y+A*v,D=O*-y+D*v,S=R*-y+S*v,E=z*-y+E*v,k=M,O=C,R=P),l=(g=dr(-w,S))*lr,g&&(v=Math.cos(-g),E=x*(y=Math.sin(-g))+E*v,T=M=T*v-A*y,b=C=b*v-D*y,w=P=w*v-S*y),u=(g=dr(b,T))*lr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ka(Math.sqrt(T*T+b*b+w*w)),o=ka(Math.sqrt(O*O+R*R)),g=dr(k,O),f=2e-4<Math.abs(g)?g*lr:0,c=E?1/(E<0?-E:E):0),r.svg&&(M=t.getAttribute(\"transform\"),r.forceCSS=t.setAttribute(\"transform\",\"\")||!me(Td(t,gr)),M&&t.setAttribute(\"transform\",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+\"px\",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+\"px\",r.z=a+\"px\",r.scaleX=ka(s),r.scaleY=ka(o),r.rotation=ka(u)+L,r.rotationX=ka(h)+L,r.rotationY=ka(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=c+\"px\",(r.zOrigin=parseFloat(Y.split(\" \")[2])||!e&&r.zOrigin||0)&&(F[vr]=Ar(Y)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?Fr:Xe?Rr:Dr,r.uncache=0,r},Ar=function _firstTwoOnly(t){return(t=t.split(\" \"))[0]+\" \"+t[1]},Dr=function _renderNon3DTransforms(t,e){e.z=\"0px\",e.rotationY=e.rotationX=\"0deg\",e.force3D=0,Rr(t,e)},Sr=\"0deg\",zr=\"0px\",Er=\") \",Rr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y=\"\",T=\"auto\"===m&&t&&1!==t||!0===m;if(v&&(l!==Sr||h!==Sr)){var b,w=parseFloat(h)*fr,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*fr,b=Math.cos(w),a=se(g,a,x*b*-v),s=se(g,s,-Math.sin(w)*-v),o=se(g,o,k*b*-v+v)}_!==zr&&(y+=\"perspective(\"+_+Er),(i||n)&&(y+=\"translate(\"+i+\"%, \"+n+\"%) \"),!T&&a===zr&&s===zr&&o===zr||(y+=o!==zr||T?\"translate3d(\"+a+\", \"+s+\", \"+o+\") \":\"translate(\"+a+\", \"+s+Er),u!==Sr&&(y+=\"rotate(\"+u+Er),h!==Sr&&(y+=\"rotateY(\"+h+Er),l!==Sr&&(y+=\"rotateX(\"+l+Er),f===Sr&&d===Sr||(y+=\"skew(\"+f+\", \"+d+Er),1===c&&1===p||(y+=\"scale(\"+c+\", \"+p+Er),g.style[gr]=y||\"translate(0, 0)\"},Fr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=fr,c*=fr,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=fr,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ka(r),i=ka(i),n=ka(n),a=ka(a)):(r=_,a=m,i=n=0),(x&&!~(l+\"\").indexOf(\"px\")||k&&!~(f+\"\").indexOf(\"px\"))&&(x=de(g,\"x\",l,\"px\"),k=de(g,\"y\",f,\"px\")),(v||y||T||b)&&(x=ka(x+v-(v*r+y*n)+T),k=ka(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ka(x+u/100*s.width),k=ka(k+h/100*s.height)),s=\"matrix(\"+r+\",\"+i+\",\"+n+\",\"+a+\",\"+x+\",\"+k+\")\",g.setAttribute(\"transform\",s),w&&(g.style[gr]=s)};ja(\"padding,margin,Width,Radius\",function(e,r){var t=\"Right\",i=\"Bottom\",n=\"Left\",o=(r<3?[\"Top\",t,i,n]:[\"Top\"+n,\"Top\"+t,i+t,i+n]).map(function(t){return r<2?e+t:\"border\"+t+e});Or[1<r?\"border\"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return xr(e,t,r)}),5===(s=a.join(\" \")).split(a[0]).length?a[0]:s;a=(i+\"\").split(\" \"),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var Ir,Lr,Br,Yr={name:\"css\",register:Wd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x=this._props,k=t.style,O=i.vars.startAt;for(d in Ne||Wd(),this.styles=this.styles||Qd(t),b=this.styles.props,this.tween=i,e)if(\"autoRound\"!==d&&(o=e[d],!mt[d]||!dc(d,e,i,n,t,a)))if(l=typeof o,f=Or[d],\"function\"===l&&(l=typeof(o=o.call(i,n,t,a))),\"string\"===l&&~o.indexOf(\"random(\")&&(o=rb(o)),f)f(this,t,d,o,i)&&(T=1);else if(\"--\"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+\"\").trim(),o+=\"\",Rt.lastIndex=0,Rt.test(s)||(c=_a(s),(p=_a(o))?c!==p&&(s=de(t,d,s,p)+p):c&&(o+=c)),this.add(k,\"setProperty\",s,o,n,a,0,0,d),x.push(d),b.push(d,0,k[d]);else if(\"undefined\"!==l){if(O&&d in O?(s=\"function\"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf(\"random(\")&&(s=rb(s)),_a(s+\"\")||\"auto\"===s||(s+=N.units[d]||_a(xr(t,d))||\"\"),\"=\"===(s+\"\").charAt(1)&&(s=xr(t,d))):s=xr(t,d),h=parseFloat(s),(_=\"string\"===l&&\"=\"===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in mr&&(\"autoAlpha\"===d&&(1===h&&\"hidden\"===xr(t,\"visibility\")&&u&&(h=0),b.push(\"visibility\",0,k.visibility),ae(this,k,\"visibility\",h?\"inherit\":\"hidden\",u?\"inherit\":\"hidden\",!u)),\"scale\"!==d&&\"transform\"!==d&&~(d=mr[d]).indexOf(\",\")&&(d=d.split(\",\")[0])),m=d in hr){if(this.styles.save(d),w=o,\"string\"===l&&\"var(--\"===o.substring(0,6)){if(\"calc(\"===(o=Td(t,o.substring(4,o.indexOf(\")\")))).substring(0,5)){var M=t.style.perspective;t.style.perspective=o,o=Td(t,\"perspective\"),M?t.style.perspective=M:_d(t,\"perspective\")}u=parseFloat(o)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new we(this._pt,k,gr,0,1,v.renderTransform,v,0,-1)).dep=1),\"scale\"===d)this._pt=new we(this._pt,v,\"scaleY\",v.scaleY,(_?ma(v.scaleY,_+u):u)-v.scaleY||0,yd),this._pt.u=0,x.push(\"scaleY\",d),d+=\"X\";else{if(\"transformOrigin\"===d){b.push(vr,0,k[vr]),o=he(o),v.svg?pe(t,o,0,y,0,this):((p=parseFloat(o.split(\" \")[2])||0)!==v.zOrigin&&ae(this,v,\"zOrigin\",v.zOrigin,p),ae(this,k,d,Ar(s),Ar(o)));continue}if(\"svgOrigin\"===d){pe(t,o,1,y,0,this);continue}if(d in Cr){ze(this,v,d,h,_?ma(h,_+o):o);continue}if(\"smoothOrigin\"===d){ae(this,v,\"smooth\",v.smooth,o);continue}if(\"force3D\"===d){v[d]=o;continue}if(\"transform\"===d){Be(this,o,t);continue}}}else d in k||(d=Tr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!_r.test(o)&&d in k)u=u||0,(c=(s+\"\").substr((h+\"\").length))!==(p=_a(o)||(d in N.units?N.units[d]:c))&&(h=de(t,d,s,p)),this._pt=new we(this._pt,m?v:k,d,h,(_?ma(h,_+u):u)-h,m||\"px\"!==p&&\"zIndex\"!==d||!1===e.autoRound?yd:Cd),this._pt.u=p||0,m&&w!==o?(this._pt.b=s,this._pt.e=w,this._pt.r=Bd):c!==p&&\"%\"!==p&&(this._pt.b=s,this._pt.r=Ad);else if(d in k)fe.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if(\"parseTransform\"!==d){S(d,o);continue}m||(d in k?b.push(d,0,k[d]):\"function\"==typeof t[d]?b.push(d,2,t[d]()):b.push(d,1,s||t[d])),x.push(d)}T&&be(this)},render:function render(t,e){if(e.tween._time||!Ue())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:xr,aliases:mr,getSetter:function getSetter(t,e,r){var i=mr[e];return i&&i.indexOf(\",\")<0&&(e=i),e in hr&&e!==vr&&(t._gsap.x||xr(t,\"x\"))?r&&Ve===r?\"scale\"===e?Id:Hd:(Ve=r||{})&&(\"scale\"===e?Jd:Kd):t.style&&!u(t.style[e])?Fd:~e.indexOf(\"-\")?Gd:le(t,e)},core:{_removeProperty:_d,_getMatrix:oe}};Fe.utils.checkPrefix=Tr,Fe.core.getStyleSaver=Qd,Br=ja((Ir=\"x,y,z,scale,scaleX,scaleY,xPercent,yPercent\")+\",\"+(Lr=\"rotation,rotationX,rotationY,skewX,skewY\")+\",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective\",function(t){hr[t]=1}),ja(Lr,function(t){N.units[t]=\"deg\",Cr[t]=1}),mr[Br[13]]=Ir+\",\"+Lr,ja(\"0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY\",function(t){var e=t.split(\":\");mr[e[1]]=Br[e[0]]}),ja(\"x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective\",function(t){N.units[t]=\"px\"}),Fe.registerPlugin(Yr);var Nr=Fe.registerPlugin(Yr)||Fe,jr=Nr.core.Tween;e.Back=ir,e.Bounce=ar,e.CSSPlugin=Yr,e.Circ=ur,e.Cubic=Ke,e.Elastic=rr,e.Expo=or,e.Linear=Qe,e.Power0=qe,e.Power1=Ze,e.Power2=We,e.Power3=He,e.Power4=Je,e.Quad=Ge,e.Quart=$e,e.Quint=tr,e.Sine=sr,e.SteppedEase=nr,e.Strong=er,e.TimelineLite=Zt,e.TimelineMax=Zt,e.TweenLite=te,e.TweenMax=jr,e.default=Nr,e.gsap=Nr;if (typeof(window)===\"undefined\"||window!==e){Object.defineProperty(e,\"__esModule\",{value:!0})} else {delete e.default}});\n\n\n</script>\n <style>* { margin: 0; padding: 0; } html, body { width: 1920px; height: 1080px; overflow: hidden; background: #ffffff; }\n\n* {\n box-sizing: border-box;\n letter-spacing: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-visual-studio-light\"] > [data-hf-inner-root],\n [data-composition-id=\"code-snippet-visual-studio-light\"]:not(:has([data-hf-inner-root])), [data-composition-id=\"code-snippet-visual-studio-light\"] > [data-hf-inner-root] {\n margin: 0;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background: #000000;\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] #root {\n --activity-bg: #181818;\n --activity-fg: #d7d7d7;\n --activity-muted: #868686;\n --activity-active: #0078d4;\n --sidebar-bg: #181818;\n --sidebar-fg: #cccccc;\n --sidebar-border: #2b2b2b;\n --tab-bg: #181818;\n --tab-active-bg: #1f1f1f;\n --tab-active-fg: #ffffff;\n --tab-inactive-fg: #9d9d9d;\n --tab-border: #2b2b2b;\n --editor-bg: #1f1f1f;\n --editor-fg: #cccccc;\n --editor-line: rgba(255, 255, 255, 0.04);\n --gutter-fg: #6e7681;\n --gutter-active-fg: #cccccc;\n --panel-bg: #181818;\n --panel-border: #2b2b2b;\n --status-bg: #181818;\n --status-fg: #cccccc;\n --status-border: #2b2b2b;\n --title-bg: #181818;\n --title-fg: #cccccc;\n --token-comment: #6a9955;\n --token-keyword: #c586c0;\n --token-function: #dcdcaa;\n --token-string: #ce9178;\n --token-number: #b5cea8;\n --token-variable: #9cdcfe;\n --token-parameter: #9cdcfe;\n --token-operator: #d4d4d4;\n --token-punctuation: #d4d4d4;\n --token-class-name: #4ec9b0;\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n background:\n linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),\n url(\"/public/catalog/assets/056cc5ffda649bc6.jpeg\") center / cover no-repeat;\n color: var(--editor-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .scene-content {\n position: relative;\n z-index: 1;\n width: 100%;\n height: 100%;\n padding: 54px 70px 92px;\n display: flex;\n flex-direction: column;\n gap: 16px;\n perspective: 2200px;\n perspective-origin: 56% 52%;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .header {\n display: flex;\n align-items: end;\n justify-content: space-between;\n min-height: 66px;\n text-shadow:\n 0 2px 12px rgba(0, 0, 0, 0.42),\n 0 14px 34px rgba(0, 0, 0, 0.32);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .kicker {\n margin: 0 0 7px;\n color: var(--gutter-fg);\n font-size: 15px;\n font-weight: 650;\n text-transform: uppercase;\n text-shadow:\n 0 2px 8px rgba(0, 0, 0, 0.48),\n 0 10px 26px rgba(0, 0, 0, 0.36);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .title {\n margin: 0;\n color: var(--editor-fg);\n font-size: 44px;\n line-height: 1;\n font-weight: 760;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .source-note {\n width: 510px;\n color: var(--gutter-fg);\n font-size: 16px;\n line-height: 1.35;\n text-align: right;\n text-shadow:\n 0 2px 10px rgba(0, 0, 0, 0.46),\n 0 12px 30px rgba(0, 0, 0, 0.34);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .workbench {\n height: 824px;\n display: grid;\n grid-template-columns: 54px 290px 1fr;\n grid-template-rows: 36px 1fr 26px;\n overflow: hidden;\n border: 1px solid var(--sidebar-border);\n border-radius: 8px;\n background: var(--editor-bg);\n box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);\n transform: translateZ(0);\n transform-origin: 82% 50%;\n transform-style: preserve-3d;\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .titlebar {\n grid-column: 1 / -1;\n display: grid;\n grid-template-columns: 120px 1fr 210px;\n align-items: center;\n background: var(--title-bg);\n color: var(--title-fg);\n border-bottom: 1px solid var(--tab-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .traffic {\n display: flex;\n gap: 8px;\n padding-left: 18px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .traffic span {\n width: 12px;\n height: 12px;\n border-radius: 999px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .traffic span:nth-child(1) {\n background: #ff5f57;\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .traffic span:nth-child(2) {\n background: #ffbd2e;\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .traffic span:nth-child(3) {\n background: #28c840;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .window-title {\n justify-self: center;\n opacity: 0.84;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .command-center {\n justify-self: end;\n width: 176px;\n height: 22px;\n margin-right: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);\n border-radius: 5px;\n color: color-mix(in srgb, var(--title-fg), transparent 18%);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .activity {\n grid-row: 2 / 3;\n background: var(--activity-bg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n align-items: center;\n padding: 10px 0;\n gap: 18px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .activity-icon {\n width: 28px;\n height: 28px;\n color: var(--activity-muted);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .activity-icon.active {\n color: var(--activity-fg);\n border-left: 2px solid var(--activity-active);\n padding-left: 4px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .sidebar {\n grid-row: 2 / 3;\n background: var(--sidebar-bg);\n color: var(--sidebar-fg);\n border-right: 1px solid var(--sidebar-border);\n display: flex;\n flex-direction: column;\n min-width: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .sidebar-title {\n height: 38px;\n display: flex;\n align-items: center;\n padding: 0 20px;\n color: var(--sidebar-fg);\n font-size: 11px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .section-title {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 0 14px;\n background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);\n border-top: 1px solid var(--sidebar-border);\n border-bottom: 1px solid var(--sidebar-border);\n color: var(--sidebar-fg);\n font-size: 11px;\n font-weight: 700;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tree {\n padding: 8px 0;\n font-size: 13px;\n line-height: 24px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tree-row {\n height: 24px;\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 10px 0 18px;\n color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);\n white-space: nowrap;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tree-row.child {\n padding-left: 34px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tree-row.selected {\n background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);\n color: var(--sidebar-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .editor-area {\n grid-row: 2 / 3;\n display: grid;\n grid-template-rows: 36px 30px 1fr 138px;\n min-width: 0;\n background: var(--editor-bg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tabs {\n display: flex;\n background: var(--tab-bg);\n border-bottom: 1px solid var(--tab-border);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tab {\n width: 205px;\n height: 36px;\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 0 13px;\n border-right: 1px solid var(--tab-border);\n background: var(--tab-active-bg);\n color: var(--tab-active-fg);\n border-top: 2px solid var(--activity-active);\n font-size: 13px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tab.inactive {\n background: var(--tab-bg);\n color: var(--tab-inactive-fg);\n border-top-color: transparent;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .breadcrumbs {\n display: flex;\n align-items: center;\n gap: 7px;\n padding: 0 18px;\n color: var(--gutter-fg);\n border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .editor {\n position: relative;\n overflow: hidden;\n background: var(--editor-bg);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 18px;\n line-height: 1.52;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .active-line {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n height: 28px;\n background: var(--editor-line);\n will-change: transform;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .code {\n position: relative;\n padding: 20px 36px 18px 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .line {\n height: 28px;\n display: grid;\n grid-template-columns: 72px 1fr;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .line-number {\n padding-right: 18px;\n color: var(--gutter-fg);\n text-align: right;\n user-select: none;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .line.is-active .line-number {\n color: var(--gutter-active-fg);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .line-code {\n white-space: pre;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .char {\n opacity: 0;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-comment {\n color: var(--token-comment);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-keyword {\n color: var(--token-keyword);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-function {\n color: var(--token-function);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-string {\n color: var(--token-string);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-number {\n color: var(--token-number);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-variable {\n color: var(--token-variable);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-parameter {\n color: var(--token-parameter);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-operator {\n color: var(--token-operator);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-punctuation {\n color: var(--token-punctuation);\n }\n [data-composition-id=\"code-snippet-visual-studio-light\"] .tok-class-name {\n color: var(--token-class-name);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .caret {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n display: block;\n width: 2px;\n height: 22px;\n background: var(--editor-fg);\n pointer-events: none;\n will-change: transform, opacity;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .terminal {\n display: grid;\n grid-template-rows: 32px 1fr;\n background: var(--panel-bg);\n border-top: 1px solid var(--panel-border);\n color: var(--editor-fg);\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n font-size: 14px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .panel-tabs {\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 18px;\n border-bottom: 1px solid var(--panel-border);\n color: var(--gutter-fg);\n font-family:\n Inter,\n -apple-system,\n BlinkMacSystemFont,\n \"Segoe UI\",\n sans-serif;\n font-size: 12px;\n text-transform: uppercase;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .panel-tabs .active {\n color: var(--editor-fg);\n border-bottom: 1px solid var(--activity-active);\n height: 32px;\n display: flex;\n align-items: center;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .terminal-body {\n padding: 12px 20px;\n color: var(--editor-fg);\n line-height: 1.8;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .prompt {\n color: var(--token-function);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .statusbar {\n grid-column: 1 / -1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: var(--status-bg);\n color: var(--status-fg);\n border-top: 1px solid var(--status-border);\n font-size: 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .status-left,\n [data-composition-id=\"code-snippet-visual-studio-light\"] .status-right {\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 12px;\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] .remote {\n align-self: stretch;\n display: flex;\n align-items: center;\n padding: 0 12px;\n margin-left: -12px;\n background: var(--status-remote-bg, var(--activity-active));\n color: var(--status-remote-fg, #ffffff);\n }\n\n [data-composition-id=\"code-snippet-visual-studio-light\"] svg {\n display: block;\n }</style>\n</head>\n<body>\n <div data-composition-id=\"preview-root\" data-width=\"1920\" data-height=\"1080\" data-start=\"0\" data-duration=\"11\">\n <div style=\"width:1920px;height:1080px\" data-composition-file=\"compositions/code-snippet-visual-studio-light.html\" data-composition-id=\"code-snippet-visual-studio-light\" data-start=\"0\" data-duration=\"11\" data-track-index=\"0\" data-width=\"1920\" data-height=\"1080\"><div id=\"root\" class=\"vscode-theme-scene\" data-composition-id=\"vscode-visual-studio-light\" data-width=\"1920\" data-height=\"1080\"><head></head><body></body>\n <main class=\"scene-content\">\n <section class=\"header\">\n <div>\n <p class=\"kicker\">Official VS Code built-in theme</p>\n <h1 class=\"title\"><span class=\"theme-label\">Visual Studio Light</span></h1>\n </div>\n <p class=\"source-note\">\n Typing `functional_toolkit.py` with workbench colors from\n <span class=\"theme-source\">light_vs.json</span>.\n </p>\n </section>\n\n <section class=\"workbench\">\n <div class=\"titlebar\">\n <div class=\"traffic\"><span></span><span></span><span></span></div>\n <div class=\"window-title\">functional-toolkit - Visual Studio Code</div>\n <div class=\"command-center\">Search</div>\n </div>\n\n <aside class=\"activity\" aria-label=\"Activity bar\">\n <svg class=\"activity-icon active\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"currentColor\" d=\"M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M8 18 3 12l5-6m8 12 5-6-5-6\" />\n </svg>\n <svg class=\"activity-icon\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" d=\"M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6\" />\n </svg>\n </aside>\n\n <aside class=\"sidebar\">\n <div class=\"sidebar-title\">Explorer</div>\n <div class=\"section-title\">⌄ Functional Toolkit</div>\n <div class=\"tree\">\n <div class=\"tree-row\">⌄ src</div>\n <div class=\"tree-row child selected\">◇ functional_toolkit.py</div>\n <div class=\"tree-row child\">◇ test_toolkit.py</div>\n <div class=\"tree-row\">◇ pyproject.toml</div>\n <div class=\"tree-row\">◇ README.md</div>\n </div>\n </aside>\n\n <section class=\"editor-area\">\n <div class=\"tabs\">\n <div class=\"tab\">◇ functional_toolkit.py</div>\n <div class=\"tab inactive\">README.md</div>\n </div>\n <div class=\"breadcrumbs\">functional-toolkit › src › functional_toolkit.py</div>\n <div class=\"editor\">\n <div class=\"active-line\"></div>\n <div class=\"code\"></div>\n </div>\n <div class=\"terminal\">\n <div class=\"panel-tabs\">\n <span class=\"active\">Terminal</span><span>Problems</span><span>Output</span>\n </div>\n <div class=\"terminal-body\">\n <div><span class=\"prompt\">functional-toolkit %</span> python -m pytest</div>\n <div>collected 3 items</div>\n <div>tests/test_toolkit.py ... <span class=\"tok-comment\">passed</span></div>\n </div>\n </div>\n </section>\n\n <footer class=\"statusbar\">\n <div class=\"status-left\">\n <span class=\"remote\">main</span>\n <span>0 errors</span>\n <span>0 warnings</span>\n </div>\n <div class=\"status-right\">\n <span>Ln 17, Col 1</span>\n <span>Spaces: 4</span>\n <span>UTF-8</span>\n <span>Python 3.12</span>\n </div>\n </footer>\n </section>\n </main>\n \n \n \n \n </div></div>\n </div>\n \n<script>window.__timelines = window.__timelines || {};\n window.__timelines[\"preview-root\"] = gsap.timeline({ paused: true });\n;\n(function(){\n var __hfCompId = \"vscode-visual-studio-light\";\n var __hfTimelineCompId = \"code-snippet-visual-studio-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-visual-studio-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-visual-studio-light\\\"|'vscode-visual-studio-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n (() => {\n const codeLines = [\n [{ text: \"# A small functional toolkit\", token: \"comment\" }],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"pluck_deep\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"key\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"obj\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"k\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"k\", token: \"variable\" },\n { text: \"]\", token: \"punctuation\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"key\", token: \"variable\" },\n { text: \".split\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"'.'\", token: \"string\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"obj\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"compose\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"*\", token: \"operator\" },\n { text: \"fns\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: \"return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"res\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"reduce\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"lambda\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"fn\", token: \"parameter\" },\n { text: \": \", token: \"punctuation\" },\n { text: \"fn\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"acc\", token: \"variable\" },\n { text: \"), \", token: \"punctuation\" },\n { text: \"fns\", token: \"variable\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"res\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [],\n [\n { text: \"def\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"unfold\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"f\", token: \"parameter\" },\n { text: \", \", token: \"punctuation\" },\n { text: \"seed\", token: \"parameter\" },\n { text: \"):\", token: \"punctuation\" },\n ],\n [\n { text: \" \", token: \"plain\" },\n { text: '\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"', token: \"string\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"[]\", token: \"punctuation\" },\n ],\n [\n { text: \" while\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"True\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" result\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"f\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"seed\", token: \"variable\" },\n { text: \")\", token: \"punctuation\" },\n ],\n [\n { text: \" if\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"result\", token: \"variable\" },\n { text: \" is \", token: \"keyword\" },\n { text: \"None\", token: \"className\" },\n { text: \":\", token: \"punctuation\" },\n ],\n [\n { text: \" return\", token: \"keyword\" },\n { text: \" \", token: \"plain\" },\n { text: \"acc\", token: \"variable\" },\n ],\n [\n { text: \" acc\", token: \"variable\" },\n { text: \".append\", token: \"function\" },\n { text: \"(\", token: \"punctuation\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"0\", token: \"number\" },\n { text: \"])\", token: \"punctuation\" },\n ],\n [\n { text: \" seed\", token: \"variable\" },\n { text: \" = \", token: \"operator\" },\n { text: \"result\", token: \"variable\" },\n { text: \"[\", token: \"punctuation\" },\n { text: \"1\", token: \"number\" },\n { text: \"]\", token: \"punctuation\" },\n ],\n [],\n ];\n\n const fallback = {\n \"activityBar.background\": \"#181818\",\n \"activityBar.foreground\": \"#d7d7d7\",\n \"activityBar.inactiveForeground\": \"#868686\",\n \"activityBar.activeBorder\": \"#0078d4\",\n \"sideBar.background\": \"#181818\",\n \"sideBar.foreground\": \"#cccccc\",\n \"sideBar.border\": \"#2b2b2b\",\n \"tab.activeBackground\": \"#1f1f1f\",\n \"tab.activeForeground\": \"#ffffff\",\n \"tab.inactiveBackground\": \"#181818\",\n \"tab.inactiveForeground\": \"#9d9d9d\",\n \"tab.border\": \"#2b2b2b\",\n \"editor.background\": \"#1f1f1f\",\n \"editor.foreground\": \"#cccccc\",\n \"editor.lineHighlightBackground\": \"#ffffff0a\",\n \"editorLineNumber.foreground\": \"#6e7681\",\n \"editorLineNumber.activeForeground\": \"#cccccc\",\n \"panel.background\": \"#181818\",\n \"panel.border\": \"#2b2b2b\",\n \"statusBar.background\": \"#181818\",\n \"statusBar.foreground\": \"#cccccc\",\n \"statusBar.border\": \"#2b2b2b\",\n \"titleBar.activeBackground\": \"#181818\",\n \"titleBar.activeForeground\": \"#cccccc\",\n };\n\n function color(theme, key) {\n return theme.colors[key] || fallback[key] || theme.colors.foreground || \"#cccccc\";\n }\n\n function solarizedGrey(theme) {\n return (\n theme.colors[\"tab.inactiveForeground\"] ||\n theme.colors[\"editor.foreground\"] ||\n \"#586E75\"\n );\n }\n\n function setVar(root, name, value) {\n root.style.setProperty(name, value);\n }\n\n function applyTheme(root, theme) {\n const solarizedUiGrey = theme.id === \"solarized-light\" ? solarizedGrey(theme) : null;\n setVar(root, \"--activity-bg\", color(theme, \"activityBar.background\"));\n setVar(\n root,\n \"--activity-fg\",\n solarizedUiGrey || color(theme, \"activityBar.foreground\"),\n );\n setVar(\n root,\n \"--activity-muted\",\n solarizedUiGrey || color(theme, \"activityBar.inactiveForeground\"),\n );\n setVar(root, \"--activity-active\", color(theme, \"activityBar.activeBorder\"));\n setVar(root, \"--sidebar-bg\", color(theme, \"sideBar.background\"));\n setVar(root, \"--sidebar-fg\", solarizedUiGrey || color(theme, \"sideBar.foreground\"));\n setVar(root, \"--sidebar-border\", color(theme, \"sideBar.border\"));\n setVar(root, \"--tab-bg\", color(theme, \"tab.inactiveBackground\"));\n setVar(root, \"--tab-active-bg\", color(theme, \"tab.activeBackground\"));\n setVar(\n root,\n \"--tab-active-fg\",\n solarizedUiGrey || color(theme, \"tab.activeForeground\"),\n );\n setVar(\n root,\n \"--tab-inactive-fg\",\n solarizedUiGrey || color(theme, \"tab.inactiveForeground\"),\n );\n setVar(root, \"--tab-border\", color(theme, \"tab.border\"));\n setVar(root, \"--editor-bg\", color(theme, \"editor.background\"));\n setVar(root, \"--editor-fg\", color(theme, \"editor.foreground\"));\n setVar(root, \"--editor-line\", color(theme, \"editor.lineHighlightBackground\"));\n setVar(root, \"--gutter-fg\", color(theme, \"editorLineNumber.foreground\"));\n setVar(root, \"--gutter-active-fg\", color(theme, \"editorLineNumber.activeForeground\"));\n setVar(root, \"--panel-bg\", color(theme, \"panel.background\"));\n setVar(root, \"--panel-border\", color(theme, \"panel.border\"));\n setVar(root, \"--status-bg\", color(theme, \"statusBar.background\"));\n setVar(root, \"--status-fg\", color(theme, \"statusBar.foreground\"));\n setVar(root, \"--status-border\", color(theme, \"statusBar.border\"));\n setVar(root, \"--status-remote-bg\", color(theme, \"statusBarItem.remoteBackground\"));\n setVar(\n root,\n \"--status-remote-fg\",\n solarizedUiGrey || color(theme, \"statusBarItem.remoteForeground\"),\n );\n setVar(root, \"--title-bg\", color(theme, \"titleBar.activeBackground\"));\n setVar(\n root,\n \"--title-fg\",\n solarizedUiGrey || color(theme, \"titleBar.activeForeground\"),\n );\n setVar(root, \"--token-comment\", theme.tokens.comment);\n setVar(root, \"--token-keyword\", theme.tokens.keyword);\n setVar(root, \"--token-function\", theme.tokens.function);\n setVar(root, \"--token-string\", theme.tokens.string);\n setVar(root, \"--token-number\", theme.tokens.number);\n setVar(root, \"--token-variable\", theme.tokens.variable);\n setVar(root, \"--token-parameter\", theme.tokens.parameter);\n setVar(root, \"--token-operator\", theme.tokens.operator);\n setVar(root, \"--token-punctuation\", theme.tokens.punctuation);\n setVar(root, \"--token-class-name\", theme.tokens.className);\n }\n\n function renderCode(root) {\n const code = root.querySelector(\".code\");\n codeLines.forEach((segments, index) => {\n const line = document.createElement(\"div\");\n line.className = \"line\";\n line.dataset.lineIndex = String(index);\n\n const lineNumber = document.createElement(\"span\");\n lineNumber.className = \"line-number\";\n lineNumber.textContent = String(index + 1);\n line.appendChild(lineNumber);\n\n const lineCode = document.createElement(\"span\");\n lineCode.className = \"line-code\";\n segments.forEach((segment) => {\n [...segment.text].forEach((char) => {\n const span = document.createElement(\"span\");\n span.className =\n segment.token === \"plain\"\n ? \"char\"\n : \"char tok-\" +\n segment.token.replace(/[A-Z]/g, (match) => \"-\" + match.toLowerCase());\n span.dataset.lineIndex = String(index);\n span.textContent = char;\n lineCode.appendChild(span);\n });\n });\n line.appendChild(lineCode);\n code.appendChild(line);\n });\n\n const caret = document.createElement(\"span\");\n caret.className = \"caret\";\n root.querySelector(\".editor\").appendChild(caret);\n }\n\n function caretPointForElement(editor, el) {\n const editorBox = editor.getBoundingClientRect();\n const charBox = el.getBoundingClientRect();\n return {\n x: charBox.right - editorBox.left + 2,\n y: charBox.top - editorBox.top + 3,\n };\n }\n\n function caretPointForLineStart(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n const codeBox = line.querySelector(\".line-code\").getBoundingClientRect();\n return {\n x: codeBox.left - editorBox.left,\n y: lineBox.top - editorBox.top + 3,\n };\n }\n\n function lineHighlightY(editor, line) {\n const editorBox = editor.getBoundingClientRect();\n const lineBox = line.getBoundingClientRect();\n return lineBox.top - editorBox.top;\n }\n\n function buildTimeline(root, compositionId) {\n const tl = gsap.timeline({ paused: true });\n const editor = root.querySelector(\".editor\");\n const caret = root.querySelector(\".caret\");\n const activeLine = root.querySelector(\".active-line\");\n const lineEls = gsap.utils.toArray(root.querySelectorAll(\".line\"));\n const lineStartTimes = [];\n const charSchedule = [];\n let cursorTime = 0.95;\n\n lineEls.forEach((line, lineIndex) => {\n const lineChars = gsap.utils.toArray(line.querySelectorAll(\".char\"));\n lineStartTimes[lineIndex] = cursorTime;\n lineChars.forEach((char, charIndex) => {\n charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });\n });\n cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;\n });\n\n gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });\n gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));\n\n tl.from(\n root.querySelector(\".header\"),\n { y: 24, opacity: 0, duration: 0.45, ease: \"power3.out\" },\n 0,\n );\n tl.from(\n root.querySelector(\".workbench\"),\n { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: \"power3.out\" },\n 0.1,\n );\n tl.from(activeLine, { opacity: 0, duration: 0.22, ease: \"power2.out\" }, 0.74);\n lineStartTimes.forEach((time, lineIndex) => {\n const line = lineEls[lineIndex];\n tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);\n tl.set(caret, caretPointForLineStart(editor, line), time);\n tl.call(\n () => {\n lineEls.forEach((item) => item.classList.toggle(\"is-active\", item === line));\n },\n [],\n time,\n );\n });\n charSchedule.forEach(({ char, time }) => {\n tl.set(char, { opacity: 1 }, time);\n tl.set(caret, caretPointForElement(editor, char), time + 0.002);\n });\n tl.to(\n root.querySelector(\".caret\"),\n { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: \"steps(1)\" },\n 0.95,\n );\n tl.from(\n root.querySelector(\".terminal\"),\n { y: 140, opacity: 0, duration: 0.56, ease: \"power3.out\" },\n 7.55,\n );\n tl.from(\n root.querySelector(\".terminal-body\").children,\n { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: \"power2.out\" },\n 8.05,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: -10.5, z: 74, duration: 0.72, ease: \"power2.inOut\" },\n 9.35,\n );\n tl.to(\n root.querySelector(\".workbench\"),\n { rotateY: 0, z: 0, duration: 0.62, ease: \"power2.inOut\" },\n 10.08,\n );\n\n window.__timelines = window.__timelines || {};\n window.__timelines[compositionId] = tl;\n\n const previewTime = new URLSearchParams(window.location.search).get(\"t\");\n if (previewTime !== null) {\n tl.time(Number(previewTime));\n }\n }\n\n window.createVSCodeThemeComposition = (compositionId, themeOrId) => {\n const root =\n document.querySelector(\n '[data-composition-id=\"' + compositionId + '\"] .vscode-theme-scene',\n ) ||\n document.querySelector(\n '.vscode-theme-scene[data-composition-id=\"' + compositionId + '\"]',\n ) ||\n document.querySelector('[data-composition-id=\"' + compositionId + '\"]');\n const theme =\n typeof themeOrId === \"string\"\n ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)\n : themeOrId;\n if (!root || !theme) return;\n root.querySelector(\".theme-label\").textContent = theme.label;\n root.querySelector(\".theme-source\").textContent = theme.sourceFile;\n applyTheme(root, theme);\n renderCode(root);\n buildTimeline(root, compositionId);\n };\n })();\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();\n;\n(function(){\n var __hfCompId = \"vscode-visual-studio-light\";\n var __hfTimelineCompId = \"code-snippet-visual-studio-light\";\n var __hfErrorLabel = \"[Compiler] Composition script failed\";\n var __hfAuthoredRootId = null;\n var __hfAuthoredRootAttr = \"data-hf-authored-id\";\n var __hfEscapeAttr = function(value) {\n return (value + \"\").replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\");\n };\n var __hfRootSelector = \"[data-composition-id=\\\"code-snippet-visual-studio-light\\\"]\" || (__hfCompId\n ? '[data-composition-id=\"' + __hfEscapeAttr(__hfCompId) + '\"]'\n : \"\");\n var __hfRoot = null;\n var __hfRootSelectorPattern = \"\\\\[\\\\s*data-composition-id\\\\s*=\\\\s*(?:\\\"vscode-visual-studio-light\\\"|'vscode-visual-studio-light')\\\\s*\\\\]\";\n var __hfTimingSelectorPattern = \"\\\\s*\\\\[\\\\s*data-(?:start|duration)\\\\s*=\\\\s*(?:\\\"[^\\\"]*\\\"|'[^']*')\\\\s*\\\\]\";\n var __hfAuthoredRootIdForms = [];\n var __hfAuthoredRootSelector = __hfAuthoredRootId\n ? \"[\" + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(__hfAuthoredRootId) + '\"]'\n : \"\";\n var __hfIsSelectorNameChar = function(char) {\n return !!char && /[\\w-]/.test(char);\n };\n var __hfReplaceAuthoredRootIdSelectors = function(selector) {\n if (!__hfAuthoredRootSelector || !__hfAuthoredRootIdForms.length || typeof selector !== \"string\") {\n return selector;\n }\n var result = \"\";\n var bracketDepth = 0;\n var quote = null;\n for (var index = 0; index < selector.length; index += 1) {\n var char = selector[index];\n var previousChar = index > 0 ? selector[index - 1] : \"\";\n if (quote) {\n result += char;\n if (char === quote && previousChar !== \"\\\\\") {\n quote = null;\n }\n continue;\n }\n if (char === '\"' || char === \"'\") {\n quote = char;\n result += char;\n continue;\n }\n if (char === \"[\") {\n bracketDepth += 1;\n result += char;\n continue;\n }\n if (char === \"]\") {\n bracketDepth = Math.max(0, bracketDepth - 1);\n result += char;\n continue;\n }\n if (char === \"#\" && bracketDepth === 0) {\n var matchedForm = null;\n for (var formIndex = 0; formIndex < __hfAuthoredRootIdForms.length; formIndex += 1) {\n var form = __hfAuthoredRootIdForms[formIndex];\n if (selector.slice(index + 1, index + 1 + form.length) === form) {\n matchedForm = form;\n break;\n }\n }\n if (matchedForm) {\n var nextChar = selector[index + 1 + matchedForm.length];\n if (!__hfIsSelectorNameChar(nextChar)) {\n result += __hfAuthoredRootSelector;\n index += matchedForm.length;\n continue;\n }\n }\n }\n result += char;\n }\n return result;\n };\n var __hfNormalizeSelector = function(selector) {\n if (!__hfCompId || typeof selector !== \"string\") return selector;\n var normalized = selector\n .replace(new RegExp(__hfRootSelectorPattern + '(?:' + __hfTimingSelectorPattern + ')+', 'g'), __hfRootSelector)\n .replace(new RegExp('(?:' + __hfTimingSelectorPattern + ')+' + __hfRootSelectorPattern, 'g'), __hfRootSelector);\n if (__hfAuthoredRootSelector) {\n normalized = __hfReplaceAuthoredRootIdSelectors(normalized);\n }\n return normalized;\n };\n var __hfFindRoot = function() {\n if (!__hfRoot && __hfRootSelector) {\n __hfRoot = window.document.querySelector(__hfRootSelector);\n }\n return __hfRoot;\n };\n var __hfContains = function(node) {\n var root = __hfFindRoot();\n return !root || node === root || root.contains(node);\n };\n var __hfQueryAll = function(selector) {\n var root = __hfFindRoot();\n if (!root || typeof selector !== \"string\") {\n return window.document.querySelectorAll(selector);\n }\n return Array.prototype.filter.call(window.document.querySelectorAll(__hfNormalizeSelector(selector)), function(node) {\n return __hfContains(node);\n });\n };\n var __hfQueryOne = function(selector) {\n var matches = __hfQueryAll(selector);\n return matches[0] || null;\n };\n var __hfGetElementById = function(id) {\n var found = window.document.getElementById(id);\n if (found && __hfContains(found)) return found;\n var root = __hfFindRoot();\n if (!root) return found || null;\n var idValue = id + \"\";\n if (__hfAuthoredRootId && __hfAuthoredRootId === idValue && root.getAttribute && root.getAttribute(__hfAuthoredRootAttr) === idValue) {\n return root;\n }\n if (root.id === idValue) return root;\n if (typeof root.querySelector !== \"function\") return null;\n try {\n var authoredRootMatch = root.querySelector('[' + __hfAuthoredRootAttr + '=\"' + __hfEscapeAttr(idValue) + '\"]');\n if (authoredRootMatch) return authoredRootMatch;\n } catch {}\n if (typeof CSS !== \"undefined\" && CSS && typeof CSS.escape === \"function\") {\n try {\n return root.querySelector(\"#\" + CSS.escape(idValue)) || null;\n } catch {}\n }\n try {\n return root.querySelector('[id=\"' + __hfEscapeAttr(idValue) + '\"]') || null;\n } catch {}\n return null;\n };\n var __hfScopedDocument = typeof Proxy === \"function\"\n ? new Proxy(window.document, {\n get: function(target, prop, receiver) {\n if (prop === \"querySelector\") return __hfQueryOne;\n if (prop === \"querySelectorAll\") return __hfQueryAll;\n if (prop === \"getElementById\") return __hfGetElementById;\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n })\n : window.document;\n var __hfTimelineRegistryProxy = null;\n var __hfGetTimelineRegistry = function() {\n window.__timelines = window.__timelines || {};\n if (!__hfCompId || __hfCompId === __hfTimelineCompId || typeof Proxy !== \"function\") {\n return window.__timelines;\n }\n if (!__hfTimelineRegistryProxy) {\n __hfTimelineRegistryProxy = new Proxy(window.__timelines, {\n get: function(target, prop, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.get(target, prop, target);\n }\n var authoredValue = Reflect.get(target, prop, target);\n return authoredValue === undefined\n ? Reflect.get(target, __hfTimelineCompId, target)\n : authoredValue;\n },\n set: function(target, prop, value, receiver) {\n if (prop !== __hfCompId) {\n return Reflect.set(target, prop, value, target);\n }\n // The authored node remains in the compiled DOM when its local id\n // differs from the runtime mount id, so readiness legitimately sees\n // both compositions. Publish the same timeline under both identities\n // instead of replacing one with the other.\n var authoredSet = Reflect.set(target, __hfCompId, value, target);\n var runtimeSet = Reflect.set(target, __hfTimelineCompId, value, target);\n return authoredSet && runtimeSet;\n },\n });\n }\n return __hfTimelineRegistryProxy;\n };\n var __hfScopedWindow = typeof Proxy === \"function\"\n ? new Proxy(window, {\n get: function(target, prop, receiver) {\n if (prop === \"__timelines\") return __hfGetTimelineRegistry();\n // Inside a sub-composition, __hyperframes is passed as a bare script\n // param bound to the SCOPED variant (per-comp getVariables). But\n // authors routinely write the documented window.__hyperframes.\n // getVariables() form, which would otherwise fall through to the host\n // page's base __hyperframes and return the WRONG (or empty) variables\n // for this instance. Route it to the scoped variant too so both\n // spellings resolve to this composition's own variables.\n // (__hfScopedHyperframes is a hoisted var assigned below, before any\n // sub-comp script -- the only code that reads this -- runs.)\n if (prop === \"__hyperframes\") return __hfScopedHyperframes;\n // Native window methods must stay bound to the real window. Handed\n // back unbound, \"this\" at call time is this Proxy and Chrome rejects\n // it with \"Illegal invocation\", which broke window.addEventListener,\n // setTimeout, matchMedia and getComputedStyle inside every\n // sub-composition -- including the window.addEventListener(\"hf-seek\",\n // ...) form the Three.js and TypeGPU adapters document. The sibling\n // document and gsap proxies here already bind.\n //\n // Only bind non-constructors. Function.prototype.bind drops static\n // members, so binding a class exposed on window (window.Texts and\n // friends) would silently strip its statics. Built-in methods have\n // no .prototype; classes and constructor functions do.\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" && value.prototype === undefined\n ? value.bind(target)\n : value;\n },\n set: function(target, prop, value, receiver) {\n if (prop === \"__timelines\") {\n // Common authoring boilerplate assigns the registry back to\n // itself (window.__timelines = window.__timelines || {}). The\n // getter above returns our proxy; do not replace the canonical\n // registry with that proxy or later wrappers will stack proxies.\n if (value === __hfTimelineRegistryProxy) return true;\n target.__timelines = value || {};\n __hfTimelineRegistryProxy = null;\n return true;\n }\n return Reflect.set(target, prop, value, target);\n },\n })\n : window;\n var __hfResolveGsapTarget = function(target) {\n if (typeof target === \"string\") return __hfQueryAll(target);\n if (!Array.isArray(target)) return target;\n return target.reduce(function(resolved, item) {\n if (typeof item === \"string\") {\n return resolved.concat(Array.prototype.slice.call(__hfQueryAll(item)));\n }\n resolved.push(item);\n return resolved;\n }, []);\n };\n var __hfScopeTimeline = function(timeline) {\n if (!timeline || timeline.__hfScopedCompositionRoot === __hfFindRoot()) return timeline;\n [\"to\", \"from\", \"fromTo\", \"set\"].forEach(function(method) {\n var original = timeline[method];\n if (typeof original !== \"function\") return;\n timeline[method] = function(target) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(target);\n return original.apply(timeline, args);\n };\n });\n try {\n Object.defineProperty(timeline, \"__hfScopedCompositionRoot\", {\n value: __hfFindRoot(),\n configurable: true,\n });\n } catch {\n // Best-effort: timelines coming from user code may have a frozen target\n // or a non-extensible defineProperty path. Swallow — the scoped root\n // is an enrichment, not a correctness invariant for playback.\n }\n return timeline;\n };\n var __hfBaseGsap = typeof gsap === \"undefined\" ? window.gsap : gsap;\n var __hfScopedGsap = !__hfBaseGsap || typeof Proxy !== \"function\"\n ? __hfBaseGsap\n : new Proxy(__hfBaseGsap, {\n get: function(target, prop, receiver) {\n if (prop === \"timeline\") {\n return function() {\n return __hfScopeTimeline(target.timeline.apply(target, arguments));\n };\n }\n if (prop === \"to\" || prop === \"from\" || prop === \"fromTo\" || prop === \"set\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return target[prop].apply(target, args);\n };\n }\n if (prop === \"utils\" && target.utils && typeof Proxy === \"function\") {\n return new Proxy(target.utils, {\n get: function(utilsTarget, utilsProp, utilsReceiver) {\n if (utilsProp === \"toArray\") {\n return function(firstArg) {\n var args = Array.prototype.slice.call(arguments);\n args[0] = __hfResolveGsapTarget(firstArg);\n return utilsTarget.toArray.apply(utilsTarget, args);\n };\n }\n if (utilsProp === \"selector\") {\n return function(base) {\n var baseEl = typeof base === \"string\" ? __hfQueryOne(base) : base;\n var root = baseEl || __hfFindRoot();\n return function(selector) {\n if (!root || typeof selector !== \"string\") return [];\n return Array.prototype.filter.call(\n window.document.querySelectorAll(__hfNormalizeSelector(selector)),\n function(node) {\n return node === root || (typeof root.contains === \"function\" && root.contains(node));\n },\n );\n };\n };\n }\n var value = Reflect.get(utilsTarget, utilsProp, utilsTarget);\n return typeof value === \"function\" ? value.bind(utilsTarget) : value;\n },\n });\n }\n var value = Reflect.get(target, prop, target);\n return typeof value === \"function\" ? value.bind(target) : value;\n },\n });\n var __hfBaseHyperframes = window.__hyperframes;\n var __hfScopedHyperframes = !__hfBaseHyperframes\n ? __hfBaseHyperframes\n : Object.assign({}, __hfBaseHyperframes, {\n getVariables: function() {\n var byComp = window.__hfVariablesByComp;\n var scoped = byComp && __hfTimelineCompId ? byComp[__hfTimelineCompId] : null;\n return scoped ? Object.assign({}, scoped) : {};\n },\n });\n var __hfRun = function() {\n try {\n (function(document, gsap, window, __hyperframes) {\n\n window.__timelines = window.__timelines || {};\n window.__timelines[\"vscode-visual-studio-light\"] =\n window.__timelines[\"vscode-visual-studio-light\"] || gsap.timeline({ paused: true });\n window.createVSCodeThemeComposition(\"vscode-visual-studio-light\", {\n id: \"visual-studio-light\",\n label: \"Visual Studio Light\",\n sourceFile: \"light_vs.json\",\n uiTheme: \"vs\",\n colors: {\n \"editor.background\": \"#FFFFFF\",\n \"editor.foreground\": \"#000000\",\n \"sideBarSectionHeader.background\": \"#0000\",\n \"sideBarSectionHeader.border\": \"#61616130\",\n \"sideBarTitle.foreground\": \"#6F6F6F\",\n \"statusBarItem.remoteBackground\": \"#16825D\",\n \"statusBarItem.remoteForeground\": \"#FFF\",\n },\n tokens: {\n comment: \"#008000\",\n keyword: \"#000000\",\n function: \"#0451a5\",\n string: \"#811f3f\",\n number: \"#098658\",\n variable: \"#0000ff\",\n parameter: \"#9CDCFE\",\n operator: \"#0000ff\",\n punctuation: \"#800000\",\n className: \"#0451a5\",\n },\n });\n \n }).call(window, __hfScopedDocument, __hfScopedGsap, __hfScopedWindow, __hfScopedHyperframes);\n } catch (_err) {\n console.error(__hfErrorLabel, __hfCompId, _err);\n }\n };\n __hfFindRoot();\n __hfRun();\n})();</script></body>\n</html>"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/liquid-glass-context-menu.json b/docs/public/catalog/blocks/liquid-glass-context-menu.json
deleted file mode 100644
index d61bc2b76f..0000000000
--- a/docs/public/catalog/blocks/liquid-glass-context-menu.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Liquid Glass Context Menu</title>\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script\n src=\"https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js\"\n integrity=\"sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu\"\n crossorigin=\"anonymous\"\n ></script>\n <script src=\"data:text/javascript;base64,dmFyIExpcXVpZEdsYXNzID0gKCgpID0+IHsKICB2YXIgRSA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKICB2YXIgRCA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3I7CiAgdmFyIHogPSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lczsKICB2YXIgTiA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7CiAgdmFyIE8gPSAobSwgZSkgPT4gewogICAgICBmb3IgKHZhciB0IGluIGUpIEUobSwgdCwgeyBnZXQ6IGVbdF0sIGVudW1lcmFibGU6ICEwIH0pOwogICAgfSwKICAgIEggPSAobSwgZSwgdCwgcikgPT4gewogICAgICBpZiAoKGUgJiYgdHlwZW9mIGUgPT0gIm9iamVjdCIpIHx8IHR5cGVvZiBlID09ICJmdW5jdGlvbiIpCiAgICAgICAgZm9yIChsZXQgbiBvZiB6KGUpKQogICAgICAgICAgIU4uY2FsbChtLCBuKSAmJgogICAgICAgICAgICBuICE9PSB0ICYmCiAgICAgICAgICAgIEUobSwgbiwgeyBnZXQ6ICgpID0+IGVbbl0sIGVudW1lcmFibGU6ICEociA9IEQoZSwgbikpIHx8IHIuZW51bWVyYWJsZSB9KTsKICAgICAgcmV0dXJuIG07CiAgICB9OwogIHZhciBJID0gKG0pID0+IEgoRSh7fSwgIl9fZXNNb2R1bGUiLCB7IHZhbHVlOiAhMCB9KSwgbSk7CiAgdmFyIFkgPSB7fTsKICBPKFksIHsKICAgIENTU19QUk9QRVJUWV9NQVA6ICgpID0+IF8sCiAgICBERUZBVUxUUzogKCkgPT4gdywKICAgIEdsYXNzUmVuZGVyZXJHUFU6ICgpID0+IHksCiAgICBMaXF1aWRHbGFzc0NhbnZhczogKCkgPT4gUiwKICB9KTsKICB2YXIgdyA9IHsKICAgICAgYmx1ckFtb3VudDogMCwKICAgICAgcmVmcmFjdGlvbjogMC42OSwKICAgICAgY2hyb21BYmVycmF0aW9uOiAwLjA1LAogICAgICBlZGdlSGlnaGxpZ2h0OiAwLjA1LAogICAgICBzcGVjdWxhcjogMCwKICAgICAgZnJlc25lbDogMSwKICAgICAgZGlzdG9ydGlvbjogMCwKICAgICAgY29ybmVyUmFkaXVzOiA2NSwKICAgICAgelJhZGl1czogNDAsCiAgICAgIG9wYWNpdHk6IDEsCiAgICAgIHNhdHVyYXRpb246IDAsCiAgICAgIHRpbnRTdHJlbmd0aDogMCwKICAgICAgYnJpZ2h0bmVzczogMCwKICAgICAgc2hhZG93T3BhY2l0eTogMC4zLAogICAgICBzaGFkb3dTcHJlYWQ6IDEwLAogICAgICBzaGFkb3dPZmZzZXRZOiAxLAogICAgICBiZXZlbE1vZGU6IDAsCiAgICB9LAogICAgXyA9IHsKICAgICAgIi0tbGctYmx1ciI6ICJibHVyQW1vdW50IiwKICAgICAgIi0tbGctcmVmcmFjdGlvbiI6ICJyZWZyYWN0aW9uIiwKICAgICAgIi0tbGctY2hyb20tYWJlcnJhdGlvbiI6ICJjaHJvbUFiZXJyYXRpb24iLAogICAgICAiLS1sZy1lZGdlLWhpZ2hsaWdodCI6ICJlZGdlSGlnaGxpZ2h0IiwKICAgICAgIi0tbGctc3BlY3VsYXIiOiAic3BlY3VsYXIiLAogICAgICAiLS1sZy1mcmVzbmVsIjogImZyZXNuZWwiLAogICAgICAiLS1sZy1kaXN0b3J0aW9uIjogImRpc3RvcnRpb24iLAogICAgICAiLS1sZy1jb3JuZXItcmFkaXVzIjogImNvcm5lclJhZGl1cyIsCiAgICAgICItLWxnLXotcmFkaXVzIjogInpSYWRpdXMiLAogICAgICAiLS1sZy1vcGFjaXR5IjogIm9wYWNpdHkiLAogICAgICAiLS1sZy1zYXR1cmF0aW9uIjogInNhdHVyYXRpb24iLAogICAgICAiLS1sZy10aW50IjogInRpbnRTdHJlbmd0aCIsCiAgICAgICItLWxnLWJyaWdodG5lc3MiOiAiYnJpZ2h0bmVzcyIsCiAgICAgICItLWxnLXNoYWRvdy1vcGFjaXR5IjogInNoYWRvd09wYWNpdHkiLAogICAgICAiLS1sZy1zaGFkb3ctc3ByZWFkIjogInNoYWRvd1NwcmVhZCIsCiAgICAgICItLWxnLXNoYWRvdy1vZmZzZXQteSI6ICJzaGFkb3dPZmZzZXRZIiwKICAgICAgIi0tbGctYmV2ZWwtbW9kZSI6ICJiZXZlbE1vZGUiLAogICAgfSwKICAgIEwgPSA2LAogICAgVCA9IDIwOwogIHZhciBxID0gYC8vIEJsaXQgc2hhZGVyIC0gY29weSB0ZXh0dXJlIHdpdGggVVYgdHJhbnNmb3JtCgpzdHJ1Y3QgQmxpdFVuaWZvcm1zIHsKICBzY2FsZTogdmVjMmYsCiAgb2Zmc2V0OiB2ZWMyZiwKfQoKQGdyb3VwKDApIEBiaW5kaW5nKDApIHZhcjx1bmlmb3JtPiB1OiBCbGl0VW5pZm9ybXM7CkBncm91cCgwKSBAYmluZGluZygxKSB2YXIgdGV4U2FtcGxlcjogc2FtcGxlcjsKQGdyb3VwKDApIEBiaW5kaW5nKDIpIHZhciB0ZXg6IHRleHR1cmVfMmQ8ZjMyPjsKCnN0cnVjdCBWZXJ0ZXhPdXRwdXQgewogIEBidWlsdGluKHBvc2l0aW9uKSBwb3NpdGlvbjogdmVjNGYsCiAgQGxvY2F0aW9uKDApIHV2OiB2ZWMyZiwKfQoKQHZlcnRleApmbiB2ZXJ0ZXhNYWluKEBsb2NhdGlvbigwKSBwb3M6IHZlYzJmKSAtPiBWZXJ0ZXhPdXRwdXQgewogIHZhciBvdXQ6IFZlcnRleE91dHB1dDsKICBvdXQudXYgPSBwb3MgKiAwLjUgKyAwLjU7CiAgb3V0LnBvc2l0aW9uID0gdmVjNGYocG9zLCAwLjAsIDEuMCk7CiAgcmV0dXJuIG91dDsKfQoKQGZyYWdtZW50CmZuIGZyYWdtZW50TWFpbihpbjogVmVydGV4T3V0cHV0KSAtPiBAbG9jYXRpb24oMCkgdmVjNGYgewogIHJldHVybiB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgKiB1LnNjYWxlICsgdS5vZmZzZXQpOwp9CmAsCiAgICBrID0gYC8vIEJsdXIgc2hhZGVyIC0gOS10YXAgR2F1c3NpYW4gYmx1ciAoc2luZ2xlIGRpcmVjdGlvbikKCnN0cnVjdCBCbHVyVW5pZm9ybXMgewogIGRpcjogdmVjMmYsCiAgX3BhZDogdmVjMmYsCn0KCkBncm91cCgwKSBAYmluZGluZygwKSB2YXI8dW5pZm9ybT4gdTogQmx1clVuaWZvcm1zOwpAZ3JvdXAoMCkgQGJpbmRpbmcoMSkgdmFyIHRleFNhbXBsZXI6IHNhbXBsZXI7CkBncm91cCgwKSBAYmluZGluZygyKSB2YXIgdGV4OiB0ZXh0dXJlXzJkPGYzMj47CgpzdHJ1Y3QgVmVydGV4T3V0cHV0IHsKICBAYnVpbHRpbihwb3NpdGlvbikgcG9zaXRpb246IHZlYzRmLAogIEBsb2NhdGlvbigwKSB1djogdmVjMmYsCn0KCkB2ZXJ0ZXgKZm4gdmVydGV4TWFpbihAbG9jYXRpb24oMCkgcG9zOiB2ZWMyZikgLT4gVmVydGV4T3V0cHV0IHsKICB2YXIgb3V0OiBWZXJ0ZXhPdXRwdXQ7CiAgb3V0LnV2ID0gcG9zICogMC41ICsgMC41OwogIG91dC5wb3NpdGlvbiA9IHZlYzRmKHBvcywgMC4wLCAxLjApOwogIHJldHVybiBvdXQ7Cn0KCkBmcmFnbWVudApmbiBmcmFnbWVudE1haW4oaW46IFZlcnRleE91dHB1dCkgLT4gQGxvY2F0aW9uKDApIHZlYzRmIHsKICB2YXIgcyA9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51dikgKiAwLjIyNzAyNzsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diArIHUuZGlyICogMS4wKSAqIDAuMTk0NTk0OwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2IC0gdS5kaXIgKiAxLjApICogMC4xOTQ1OTQ7CiAgcyArPSB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgKyB1LmRpciAqIDIuMCkgKiAwLjEyMTYyMjsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diAtIHUuZGlyICogMi4wKSAqIDAuMTIxNjIyOwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2ICsgdS5kaXIgKiAzLjApICogMC4wNTQwNTQ7CiAgcyArPSB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgLSB1LmRpciAqIDMuMCkgKiAwLjA1NDA1NDsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diArIHUuZGlyICogNC4wKSAqIDAuMDE2MjE2OwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2IC0gdS5kaXIgKiA0LjApICogMC4wMTYyMTY7CiAgcmV0dXJuIHM7Cn0KYCwKICAgIFcgPSBgLy8gR2xhc3Mgc2hhZGVyIC0gdGhlIGNvcmUgbGlxdWlkIGdsYXNzIGVmZmVjdAoKc3RydWN0IEdsYXNzVW5pZm9ybXMgewogIGNlbnRlcjogdmVjMmYsCiAgc2l6ZTogdmVjMmYsCiAgcmVzOiB2ZWMyZiwKICByYWRpdXM6IGYzMiwKICBwYWQ6IGYzMiwKICByZWZyYWN0OiBmMzIsCiAgY2hyb21hOiBmMzIsCiAgZWRnZUhMOiBmMzIsCiAgc3BlYzogZjMyLAogIGZyZXNuZWw6IGYzMiwKICBkaXN0b3J0OiBmMzIsCiAgYWxwaGE6IGYzMiwKICBzYXQ6IGYzMiwKICB0aW50OiBmMzIsCiAgelJhZGl1czogZjMyLAogIGJyaWdodG5lc3M6IGYzMiwKICBzaGFkb3dBbHBoYTogZjMyLAogIHNoYWRvd1NwcmVhZDogZjMyLAogIHNoYWRvd09mZlk6IGYzMiwKICBiZXZlbE1vZGU6IGYzMiwKICBfcGFkOiB2ZWMyZiwKfQoKQGdyb3VwKDApIEBiaW5kaW5nKDApIHZhcjx1bmlmb3JtPiB1OiBHbGFzc1VuaWZvcm1zOwpAZ3JvdXAoMCkgQGJpbmRpbmcoMSkgdmFyIHRleFNhbXBsZXI6IHNhbXBsZXI7CkBncm91cCgwKSBAYmluZGluZygyKSB2YXIgYmdUZXg6IHRleHR1cmVfMmQ8ZjMyPjsKQGdyb3VwKDApIEBiaW5kaW5nKDMpIHZhciBibHVyVGV4OiB0ZXh0dXJlXzJkPGYzMj47CgpzdHJ1Y3QgVmVydGV4T3V0cHV0IHsKICBAYnVpbHRpbihwb3NpdGlvbikgcG9zaXRpb246IHZlYzRmLAogIEBsb2NhdGlvbigwKSBsb2NhbFB4OiB2ZWMyZiwKICBAbG9jYXRpb24oMSkgc2NyZWVuVVY6IHZlYzJmLAp9CgpAdmVydGV4CmZuIHZlcnRleE1haW4oQGxvY2F0aW9uKDApIHBvczogdmVjMmYpIC0+IFZlcnRleE91dHB1dCB7CiAgdmFyIG91dDogVmVydGV4T3V0cHV0OwogIGxldCB0b3RhbCA9IHUuc2l6ZSArIHZlYzJmKHUucGFkICogMi4wKTsKICBvdXQubG9jYWxQeCA9IHBvcyAqIHRvdGFsOwogIGxldCBweCA9IHUuY2VudGVyICsgcG9zICogdG90YWw7CiAgb3V0LnNjcmVlblVWID0gdmVjMmYocHgueCAvIHUucmVzLngsIDEuMCAtIHB4LnkgLyB1LnJlcy55KTsKICB2YXIgbmRjID0gKHB4IC8gdS5yZXMpICogMi4wIC0gMS4wOwogIG5kYy55ID0gLW5kYy55OwogIG91dC5wb3NpdGlvbiA9IHZlYzRmKG5kYywgMC4wLCAxLjApOwogIHJldHVybiBvdXQ7Cn0KCi8vIFJvdW5kZWQtcmVjdCBzaWduZWQgZGlzdGFuY2UKZm4gcnJTREYocDogdmVjMmYsIGI6IHZlYzJmLCByOiBmMzIpIC0+IGYzMiB7CiAgbGV0IHEgPSBhYnMocCkgLSBiICsgdmVjMmYocik7CiAgcmV0dXJuIG1pbihtYXgocS54LCBxLnkpLCAwLjApICsgbGVuZ3RoKG1heChxLCB2ZWMyZigwLjApKSkgLSByOwp9CgovLyBCZXZlbCBoZWlnaHQgZmllbGQKZm4gYmV2ZWxIZWlnaHQoZDogZjMyLCB6UjogZjMyKSAtPiBmMzIgewogIGlmIChkIDw9IDAuMCkgeyByZXR1cm4gMC4wOyB9CiAgaWYgKGQgPj0gelIpIHsgcmV0dXJuIHpSOyB9CiAgcmV0dXJuIHNxcnQoZCAqICgyLjAgKiB6UiAtIGQpKTsKfQoKZm4gaGFzaChwOiB2ZWMyZikgLT4gZjMyIHsKICByZXR1cm4gZnJhY3Qoc2luKGRvdChwLCB2ZWMyZigxMjcuMSwgMzExLjcpKSkgKiA0Mzc1OC41NDUzKTsKfQoKQGZyYWdtZW50CmZuIGZyYWdtZW50TWFpbihpbjogVmVydGV4T3V0cHV0KSAtPiBAbG9jYXRpb24oMCkgdmVjNGYgewogIGxldCBoYWxmXyA9IHUuc2l6ZSAqIDAuNTsKICBsZXQgciA9IG1pbih1LnJhZGl1cywgbWluKGhhbGZfLngsIGhhbGZfLnkpKTsKICBsZXQgc2RmID0gcnJTREYoaW4ubG9jYWxQeCwgaGFsZl8sIHIpOwoKICAvLyBBbnRpLWFsaWFzZWQgbWFzawogIGxldCBtYXNrID0gMS4wIC0gc21vb3Roc3RlcCgtMS41LCAwLjUsIHNkZik7CgogIGxldCBtYXhEID0gbWluKGhhbGZfLngsIGhhbGZfLnkpOwogIGxldCBpbnNpZGUgPSAtc2RmOwogIGxldCBlZGdlID0gc21vb3Roc3RlcChtYXhEICogMC4zNSwgMC4wLCBpbnNpZGUpOwoKICAvLyBTdXJmYWNlIG5vcm1hbCB2aWEgYmV2ZWwgaGVpZ2h0IGZpZWxkCiAgbGV0IHpSID0gdS56UmFkaXVzOwogIGxldCBlID0gMi4wOwogIGxldCBkQyA9IGluc2lkZTsKICBsZXQgZFIgPSAtcnJTREYoaW4ubG9jYWxQeCArIHZlYzJmKGUsIDAuMCksIGhhbGZfLCByKTsKICBsZXQgZEwgPSAtcnJTREYoaW4ubG9jYWxQeCAtIHZlYzJmKGUsIDAuMCksIGhhbGZfLCByKTsKICBsZXQgZFUgPSAtcnJTREYoaW4ubG9jYWxQeCArIHZlYzJmKDAuMCwgZSksIGhhbGZfLCByKTsKICBsZXQgZEQgPSAtcnJTREYoaW4ubG9jYWxQeCAtIHZlYzJmKDAuMCwgZSksIGhhbGZfLCByKTsKICBsZXQgaEMgPSBiZXZlbEhlaWdodChkQywgelIpOwogIGxldCBoUiA9IGJldmVsSGVpZ2h0KGRSLCB6Uik7CiAgbGV0IGhMID0gYmV2ZWxIZWlnaHQoZEwsIHpSKTsKICBsZXQgaFUgPSBiZXZlbEhlaWdodChkVSwgelIpOwogIGxldCBoRCA9IGJldmVsSGVpZ2h0KGRELCB6Uik7CiAgbGV0IGhHcmFkID0gdmVjMmYoaFIgLSBoTCwgaFUgLSBoRCkgLyAoMi4wICogZSk7CiAgbGV0IE4gPSBub3JtYWxpemUodmVjM2YoLWhHcmFkLCAxLjApKTsKCiAgbGV0IGRlcHRoID0gc21vb3Roc3RlcCgwLjAsIHpSLCBpbnNpZGUpOwoKICAvLyBSZWZyYWN0aW9uIC0gY29tcHV0ZSBib3RoIG1vZGVzIGFuZCBzZWxlY3QKICBsZXQgcHhUb1VWID0gdmVjMmYoMS4wLCAtMS4wKSAvIHUucmVzOwogIGxldCBpb3IgPSAxLjU7CiAgbGV0IHJlZnJQb3cgPSAxLjAgLSAxLjAgLyBpb3I7CiAgbGV0IHRoaWNrbmVzcyA9IGhDICogMi4wOwogIGxldCB0aGlja05vcm0gPSB0aGlja25lc3MgLyBtYXgoelIgKiAyLjAsIDEuMCk7CgogIC8vIEJpY29udmV4IG1vZGUKICBsZXQgZXhpdFJlZnIgPSBoR3JhZCAqIHJlZnJQb3c7CiAgbGV0IGVudHJ5UmVmciA9IGhHcmFkICogcmVmclBvdzsKICBsZXQgdGhyb3VnaFJlZnIgPSBlbnRyeVJlZnIgKiB0aGlja05vcm0gKiAwLjU7CiAgdmFyIHJlZnJQeEJpY29udmV4ID0gKGV4aXRSZWZyICsgZW50cnlSZWZyICsgdGhyb3VnaFJlZnIpICogdS5yZWZyYWN0ICogMzAuMDsKICBsZXQgY2VudGVyRGlyID0gLWluLmxvY2FsUHggLyBtYXgoaGFsZl8sIHZlYzJmKDEuMCkpOwogIHJlZnJQeEJpY29udmV4ICs9IGNlbnRlckRpciAqIHUucmVmcmFjdCAqIDQuMCAqIGRlcHRoOwoKICAvLyBEb21lIG1vZGUKICBsZXQgcmVmclB4RG9tZSA9IC1pbi5sb2NhbFB4ICogdS5yZWZyYWN0ICogZGVwdGggKiAwLjM1OwoKICAvLyBTZWxlY3QgYmFzZWQgb24gYmV2ZWwgbW9kZQogIGxldCByZWZyUHggPSBzZWxlY3QocmVmclB4Qmljb252ZXgsIHJlZnJQeERvbWUsIHUuYmV2ZWxNb2RlID49IDAuNSk7CiAgbGV0IHJlZnIgPSByZWZyUHggKiBweFRvVVY7CgogIC8vIE1pY3JvLWRpc3RvcnRpb24gbm9pc2UKICBsZXQgbnMgPSBpbi5sb2NhbFB4ICogMC4wODsKICBsZXQgYWJzUHhUb1VWID0gdmVjMmYoMS4wKSAvIHUucmVzOwogIGxldCBtaWNybyA9ICh2ZWMyZihoYXNoKG5zKSwgaGFzaChucyArIHZlYzJmKDM3LjApKSkgLSAwLjUpICogdS5kaXN0b3J0ICogNC4wICogYWJzUHhUb1VWOwoKICAvLyBDaHJvbWF0aWMgYWJlcnJhdGlvbgogIGxldCBjYVMgPSB1LmNocm9tYSAqIDE4LjAgKiAoZWRnZSAqIDAuNyArIDAuMykgKiAyLjA7CiAgbGV0IGNhRCA9IE4ueHkgKiBjYVMgKiBweFRvVVY7CiAgbGV0IGJhc2UgPSBpbi5zY3JlZW5VViArIHJlZnIgKyBtaWNybzsKCiAgLy8gU2FtcGxlIHRleHR1cmVzIChtdXN0IGJlIGluIHVuaWZvcm0gY29udHJvbCBmbG93KQogIGxldCBzaGFycFIgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlICsgY2FEKS5yOwogIGxldCBzaGFycEcgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlKS5nOwogIGxldCBzaGFycEIgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlIC0gY2FEKS5iOwogIGxldCBzaGFycCA9IHZlYzNmKHNoYXJwUiwgc2hhcnBHLCBzaGFycEIpOwoKICBsZXQgYmx1clIgPSB0ZXh0dXJlU2FtcGxlKGJsdXJUZXgsIHRleFNhbXBsZXIsIGJhc2UgKyBjYUQpLnI7CiAgbGV0IGJsdXJHID0gdGV4dHVyZVNhbXBsZShibHVyVGV4LCB0ZXhTYW1wbGVyLCBiYXNlKS5nOwogIGxldCBibHVyQiA9IHRleHR1cmVTYW1wbGUoYmx1clRleCwgdGV4U2FtcGxlciwgYmFzZSAtIGNhRCkuYjsKICBsZXQgYmx1ciA9IHZlYzNmKGJsdXJSLCBibHVyRywgYmx1ckIpOwoKICAvLyBFZGdlLXdlaWdodGVkIGJsdXIgbWl4CiAgbGV0IGVkZ2VNaXggPSAxLjAgLSBlZGdlICogMC4xNTsKICB2YXIgY29sID0gbWl4KHNoYXJwLCBibHVyLCBlZGdlTWl4KTsKCiAgLy8gQnJpZ2h0bmVzcwogIGNvbCAqPSAxLjAgKyB1LmJyaWdodG5lc3M7CgogIC8vIFNhdHVyYXRpb24KICBsZXQgbHVtID0gZG90KGNvbCwgdmVjM2YoMC4yOTksIDAuNTg3LCAwLjExNCkpOwogIGNvbCA9IG1peCh2ZWMzZihsdW0pLCBjb2wsIDEuMCArIHUuc2F0KTsKCiAgLy8gQ29vbCBnbGFzcyB0aW50CiAgY29sID0gbWl4KGNvbCwgY29sICogdmVjM2YoMC45MiwgMC45NSwgMS4wNSksIHUudGludCk7CiAgY29sICo9IDEuMCArIDAuMDYgKiBkZXB0aDsKCiAgLy8gRnJlc25lbAogIGxldCBmcmVzID0gcG93KDEuMCAtIGFicyhOLnopLCA0LjApICogdS5mcmVzbmVsOwoKICAvLyBTcGVjdWxhciBoaWdobGlnaHRzIChtdWx0aS1saWdodCBCbGlubi1QaG9uZykKICBsZXQgViA9IHZlYzNmKDAuMCwgMC4wLCAxLjApOwogIGxldCBMMSA9IG5vcm1hbGl6ZSh2ZWMzZigwLjQsIDAuNywgMS4wKSk7CiAgbGV0IEgxID0gbm9ybWFsaXplKEwxICsgVik7CiAgbGV0IHNwMSA9IHBvdyhtYXgoZG90KE4sIEgxKSwgMC4wKSwgOTAuMCk7CiAgbGV0IEwyID0gbm9ybWFsaXplKHZlYzNmKC0wLjMsIC0wLjUsIDEuMCkpOwogIGxldCBIMiA9IG5vcm1hbGl6ZShMMiArIFYpOwogIGxldCBzcDIgPSBwb3cobWF4KGRvdChOLCBIMiksIDAuMCksIDUwLjApICogMC4zOwogIGxldCBMMyA9IG5vcm1hbGl6ZSh2ZWMzZigwLjEsIDAuMywgMS4wKSk7CiAgbGV0IHNwQiA9IHBvdyhtYXgoZG90KE4sIEwzKSwgMC4wKSwgNi4wKSAqIDAuMTsKICBsZXQgTDQgPSBub3JtYWxpemUodmVjM2YoMC4wLCAwLjksIDAuNCkpOwogIGxldCBINCA9IG5vcm1hbGl6ZShMNCArIFYpOwogIGxldCBzcDQgPSBwb3cobWF4KGRvdChOLCBINCksIDAuMCksIDEyMC4wKSAqIDAuNjsKICBsZXQgdG90YWxTcGVjID0gKHNwMSArIHNwMiArIHNwQiArIHNwNCkgKiB1LnNwZWM7CgogIC8vIElubmVyIGJvcmRlciAvIHN0cm9rZSBoaWdobGlnaHQKICBsZXQgYm9yZGVyV2lkdGggPSAxLjU7CiAgbGV0IGlubmVyU3Ryb2tlID0gc21vb3Roc3RlcCgtYm9yZGVyV2lkdGggLSAxLjAsIC1ib3JkZXJXaWR0aCwgc2RmKQogICAgICAgICAgICAgICAgICAqICgxLjAgLSBzbW9vdGhzdGVwKC0xLjAsIDAuMCwgc2RmKSk7CiAgbGV0IHRvcEJpYXMgPSAwLjUgKyAwLjUgKiAoLWluLmxvY2FsUHgueSAvIGhhbGZfLnkpOwogIGxldCBpbm5lclN0cm9rZUZpbmFsID0gaW5uZXJTdHJva2UgKiAoMC40ICsgMC42ICogdG9wQmlhcyk7CgogIC8vIEVkZ2UgaGlnaGxpZ2h0ICYgaW5uZXIgZ2xvdwogIGxldCByaW0gPSBlZGdlICogdS5lZGdlSEwgKiAwLjIyOwogIGxldCBpbm5lckdsb3cgPSBzbW9vdGhzdGVwKDUuMCwgMC4wLCAtc2RmKSAqIHUuZWRnZUhMICogMC4xNTsKCiAgLy8gRW52aXJvbm1lbnQtbGlrZSByZWZsZWN0aW9uIChmYWtlKQogIGxldCBlbnZSZWZsID0gKE4ueSAqIDAuNSArIDAuNSkgKiBmcmVzICogMC4wODsKCiAgLy8gQ29tcG9zaXRlIGdsYXNzIGVmZmVjdAogIHZhciBmaW4gPSBjb2w7CiAgZmluICs9IHZlYzNmKHRvdGFsU3BlYyk7CiAgZmluICs9IHZlYzNmKHJpbSArIGlubmVyR2xvdyk7CiAgZmluICs9IHZlYzNmKGlubmVyU3Ryb2tlRmluYWwgKiB1LmVkZ2VITCAqIDAuNTUpOwogIGZpbiArPSB2ZWMzZihlbnZSZWZsKTsKICBmaW4gPSBtaXgoZmluLCB2ZWMzZigxLjApLCBmcmVzICogMC4yKTsKCiAgLy8gU2hhZG93IGNhbGN1bGF0aW9uIChvdXRzaWRlIHBhbmVsKQogIGxldCBzZGZTaGFkb3cgPSByclNERihpbi5sb2NhbFB4IC0gdmVjMmYoMC4wLCB1LnNoYWRvd09mZlkpLCBoYWxmXywgcik7CiAgbGV0IHNoYWRvd0QgPSBtYXgoc2RmU2hhZG93IC0gMS4wLCAwLjApOwogIGxldCBzcHJlYWQgPSBtYXgodS5zaGFkb3dTcHJlYWQsIDEuMCk7CiAgbGV0IGZhbGxvZmYgPSAxLjAgLyAoc3ByZWFkICogc3ByZWFkKTsKICBsZXQgb3V0ZXJTaGFkb3cgPSBleHAoLXNoYWRvd0QgKiBzaGFkb3dEICogZmFsbG9mZikgKiAwLjY1OwogIGxldCBjb250YWN0U2hhZG93ID0gZXhwKC1zaGFkb3dEICogMC4wOCAvIG1heChzcHJlYWQgKiAwLjA0LCAwLjAxKSkgKiAwLjM1OwogIGxldCBzaGFkb3cgPSAob3V0ZXJTaGFkb3cgKyBjb250YWN0U2hhZG93KSAqIHUuc2hhZG93QWxwaGE7CgogIC8vIFNlbGVjdCBiZXR3ZWVuIHNoYWRvdyAob3V0c2lkZSkgYW5kIGdsYXNzIChpbnNpZGUpCiAgbGV0IGlzT3V0c2lkZSA9IHNkZiA+IDAuMDsKICBsZXQgZmluYWxDb2xvciA9IHNlbGVjdChmaW4sIHZlYzNmKDAuMCksIGlzT3V0c2lkZSk7CiAgbGV0IGZpbmFsQWxwaGEgPSBzZWxlY3QobWFzayAqIHUuYWxwaGEsIHNoYWRvdywgaXNPdXRzaWRlKTsKCiAgcmV0dXJuIHZlYzRmKGZpbmFsQ29sb3IsIGZpbmFsQWxwaGEpOwp9CmAsCiAgICB5ID0gY2xhc3MgewogICAgICBjYW52YXM7CiAgICAgIGRldmljZSA9IG51bGw7CiAgICAgIGNvbnRleHQgPSBudWxsOwogICAgICBmb3JtYXQgPSAiYmdyYTh1bm9ybSI7CiAgICAgIGJsaXRQaXBlbGluZSA9IG51bGw7CiAgICAgIGJsdXJQaXBlbGluZSA9IG51bGw7CiAgICAgIGdsYXNzUGlwZWxpbmUgPSBudWxsOwogICAgICBxdWFkQnVmZmVyID0gbnVsbDsKICAgICAgcGFuZWxCdWZmZXIgPSBudWxsOwogICAgICBibGl0VW5pZm9ybUJ1ZmZlciA9IG51bGw7CiAgICAgIGJsdXJVbmlmb3JtQnVmZmVyID0gbnVsbDsKICAgICAgZ2xhc3NVbmlmb3JtQnVmZmVyID0gbnVsbDsKICAgICAgc2FtcGxlciA9IG51bGw7CiAgICAgIHRhcmdldENhY2hlID0gbmV3IE1hcCgpOwogICAgICBhY3RpdmVUYXJnZXRzID0gbnVsbDsKICAgICAgYmdUZXh0dXJlID0gbnVsbDsKICAgICAgYmdUZXh0dXJlVmlldyA9IG51bGw7CiAgICAgIHdpZHRoID0gMDsKICAgICAgaGVpZ2h0ID0gMDsKICAgICAgX2luaXRQcm9taXNlID0gbnVsbDsKICAgICAgX2luaXRpYWxpemVkID0gITE7CiAgICAgIGNvbnN0cnVjdG9yKCkgewogICAgICAgICgodGhpcy5jYW52YXMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJjYW52YXMiKSksCiAgICAgICAgICAodGhpcy5jYW52YXMuc3R5bGUuZGlzcGxheSA9ICJub25lIiksCiAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKHRoaXMuY2FudmFzKSk7CiAgICAgIH0KICAgICAgYXN5bmMgaW5pdCgpIHsKICAgICAgICByZXR1cm4gdGhpcy5faW5pdFByb21pc2UKICAgICAgICAgID8gdGhpcy5faW5pdFByb21pc2UKICAgICAgICAgIDogKCh0aGlzLl9pbml0UHJvbWlzZSA9IHRoaXMuX2RvSW5pdCgpKSwgdGhpcy5faW5pdFByb21pc2UpOwogICAgICB9CiAgICAgIGFzeW5jIF9kb0luaXQoKSB7CiAgICAgICAgaWYgKCFuYXZpZ2F0b3IuZ3B1KSByZXR1cm4gKGNvbnNvbGUud2FybigiV2ViR1BVIG5vdCBzdXBwb3J0ZWQiKSwgITEpOwogICAgICAgIGxldCBlID0gYXdhaXQgbmF2aWdhdG9yLmdwdS5yZXF1ZXN0QWRhcHRlcigpOwogICAgICAgIHJldHVybiBlCiAgICAgICAgICA/ICgodGhpcy5kZXZpY2UgPSBhd2FpdCBlLnJlcXVlc3REZXZpY2UoKSksCiAgICAgICAgICAgIHRoaXMuZGV2aWNlCiAgICAgICAgICAgICAgPyAoKHRoaXMuY29udGV4dCA9IHRoaXMuY2FudmFzLmdldENvbnRleHQoIndlYmdwdSIpKSwKICAgICAgICAgICAgICAgIHRoaXMuY29udGV4dAogICAgICAgICAgICAgICAgICA/ICgodGhpcy5mb3JtYXQgPSBuYXZpZ2F0b3IuZ3B1LmdldFByZWZlcnJlZENhbnZhc0Zvcm1hdCgpKSwKICAgICAgICAgICAgICAgICAgICB0aGlzLmNvbnRleHQuY29uZmlndXJlKHsKICAgICAgICAgICAgICAgICAgICAgIGRldmljZTogdGhpcy5kZXZpY2UsCiAgICAgICAgICAgICAgICAgICAgICBmb3JtYXQ6IHRoaXMuZm9ybWF0LAogICAgICAgICAgICAgICAgICAgICAgYWxwaGFNb2RlOiAicHJlbXVsdGlwbGllZCIsCiAgICAgICAgICAgICAgICAgICAgfSksCiAgICAgICAgICAgICAgICAgICAgdGhpcy5faW5pdFBpcGVsaW5lcygpLAogICAgICAgICAgICAgICAgICAgIHRoaXMuX2luaXRCdWZmZXJzKCksCiAgICAgICAgICAgICAgICAgICAgKHRoaXMuX2luaXRpYWxpemVkID0gITApLAogICAgICAgICAgICAgICAgICAgICEwKQogICAgICAgICAgICAgICAgICA6IChjb25zb2xlLndhcm4oIkZhaWxlZCB0byBnZXQgV2ViR1BVIGNvbnRleHQiKSwgITEpKQogICAgICAgICAgICAgIDogKGNvbnNvbGUud2FybigiRmFpbGVkIHRvIGdldCBXZWJHUFUgZGV2aWNlIiksICExKSkKICAgICAgICAgIDogKGNvbnNvbGUud2FybigiTm8gV2ViR1BVIGFkYXB0ZXIgZm91bmQiKSwgITEpOwogICAgICB9CiAgICAgIGdldCBpbml0aWFsaXplZCgpIHsKICAgICAgICByZXR1cm4gdGhpcy5faW5pdGlhbGl6ZWQ7CiAgICAgIH0KICAgICAgX2luaXRQaXBlbGluZXMoKSB7CiAgICAgICAgbGV0IGUgPSB0aGlzLmRldmljZTsKICAgICAgICB0aGlzLnNhbXBsZXIgPSBlLmNyZWF0ZVNhbXBsZXIoewogICAgICAgICAgbWFnRmlsdGVyOiAibGluZWFyIiwKICAgICAgICAgIG1pbkZpbHRlcjogImxpbmVhciIsCiAgICAgICAgICBhZGRyZXNzTW9kZVU6ICJjbGFtcC10by1lZGdlIiwKICAgICAgICAgIGFkZHJlc3NNb2RlVjogImNsYW1wLXRvLWVkZ2UiLAogICAgICAgIH0pOwogICAgICAgIGxldCB0ID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBxIH0pLAogICAgICAgICAgciA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICB0aGlzLmJsaXRQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW3JdIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogdCwKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsgbW9kdWxlOiB0LCBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwgdGFyZ2V0czogW3sgZm9ybWF0OiAicmdiYTh1bm9ybSIgfV0gfSwKICAgICAgICAgIHByaW1pdGl2ZTogeyB0b3BvbG9neTogInRyaWFuZ2xlLXN0cmlwIiB9LAogICAgICAgIH0pOwogICAgICAgIGxldCBuID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBrIH0pLAogICAgICAgICAgaSA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICB0aGlzLmJsdXJQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW2ldIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogbiwKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsgbW9kdWxlOiBuLCBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwgdGFyZ2V0czogW3sgZm9ybWF0OiAicmdiYTh1bm9ybSIgfV0gfSwKICAgICAgICAgIHByaW1pdGl2ZTogeyB0b3BvbG9neTogInRyaWFuZ2xlLXN0cmlwIiB9LAogICAgICAgIH0pOwogICAgICAgIGxldCBzID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBXIH0pLAogICAgICAgICAgbCA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgICAgeyBiaW5kaW5nOiAzLCB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwgdGV4dHVyZTogeyBzYW1wbGVUeXBlOiAiZmxvYXQiIH0gfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pOwogICAgICAgIHRoaXMuZ2xhc3NQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW2xdIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogcywKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsKICAgICAgICAgICAgbW9kdWxlOiBzLAogICAgICAgICAgICBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwKICAgICAgICAgICAgdGFyZ2V0czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGZvcm1hdDogdGhpcy5mb3JtYXQsCiAgICAgICAgICAgICAgICBibGVuZDogewogICAgICAgICAgICAgICAgICBjb2xvcjogewogICAgICAgICAgICAgICAgICAgIHNyY0ZhY3RvcjogInNyYy1hbHBoYSIsCiAgICAgICAgICAgICAgICAgICAgZHN0RmFjdG9yOiAib25lLW1pbnVzLXNyYy1hbHBoYSIsCiAgICAgICAgICAgICAgICAgICAgb3BlcmF0aW9uOiAiYWRkIiwKICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgYWxwaGE6IHsgc3JjRmFjdG9yOiAib25lIiwgZHN0RmFjdG9yOiAib25lLW1pbnVzLXNyYy1hbHBoYSIsIG9wZXJhdGlvbjogImFkZCIgfSwKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0sCiAgICAgICAgICBwcmltaXRpdmU6IHsgdG9wb2xvZ3k6ICJ0cmlhbmdsZS1zdHJpcCIgfSwKICAgICAgICB9KTsKICAgICAgfQogICAgICBfaW5pdEJ1ZmZlcnMoKSB7CiAgICAgICAgbGV0IGUgPSB0aGlzLmRldmljZTsKICAgICAgICAoKHRoaXMucXVhZEJ1ZmZlciA9IGUuY3JlYXRlQnVmZmVyKHsKICAgICAgICAgIHNpemU6IDMyLAogICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlZFUlRFWCwKICAgICAgICAgIG1hcHBlZEF0Q3JlYXRpb246ICEwLAogICAgICAgIH0pKSwKICAgICAgICAgIG5ldyBGbG9hdDMyQXJyYXkodGhpcy5xdWFkQnVmZmVyLmdldE1hcHBlZFJhbmdlKCkpLnNldChbLTEsIC0xLCAxLCAtMSwgLTEsIDEsIDEsIDFdKSwKICAgICAgICAgIHRoaXMucXVhZEJ1ZmZlci51bm1hcCgpLAogICAgICAgICAgKHRoaXMucGFuZWxCdWZmZXIgPSBlLmNyZWF0ZUJ1ZmZlcih7CiAgICAgICAgICAgIHNpemU6IDMyLAogICAgICAgICAgICB1c2FnZTogR1BVQnVmZmVyVXNhZ2UuVkVSVEVYLAogICAgICAgICAgICBtYXBwZWRBdENyZWF0aW9uOiAhMCwKICAgICAgICAgIH0pKSwKICAgICAgICAgIG5ldyBGbG9hdDMyQXJyYXkodGhpcy5wYW5lbEJ1ZmZlci5nZXRNYXBwZWRSYW5nZSgpKS5zZXQoWwogICAgICAgICAgICAtMC41LCAtMC41LCAwLjUsIC0wLjUsIC0wLjUsIDAuNSwgMC41LCAwLjUsCiAgICAgICAgICBdKSwKICAgICAgICAgIHRoaXMucGFuZWxCdWZmZXIudW5tYXAoKSwKICAgICAgICAgICh0aGlzLmJsaXRVbmlmb3JtQnVmZmVyID0gZS5jcmVhdGVCdWZmZXIoewogICAgICAgICAgICBzaXplOiAxNiwKICAgICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlVOSUZPUk0gfCBHUFVCdWZmZXJVc2FnZS5DT1BZX0RTVCwKICAgICAgICAgIH0pKSwKICAgICAgICAgICh0aGlzLmJsdXJVbmlmb3JtQnVmZmVyID0gZS5jcmVhdGVCdWZmZXIoewogICAgICAgICAgICBzaXplOiAxNiwKICAgICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlVOSUZPUk0gfCBHUFVCdWZmZXJVc2FnZS5DT1BZX0RTVCwKICAgICAgICAgIH0pKSwKICAgICAgICAgICh0aGlzLmdsYXNzVW5pZm9ybUJ1ZmZlciA9IGUuY3JlYXRlQnVmZmVyKHsKICAgICAgICAgICAgc2l6ZTogMTEyLAogICAgICAgICAgICB1c2FnZTogR1BVQnVmZmVyVXNhZ2UuVU5JRk9STSB8IEdQVUJ1ZmZlclVzYWdlLkNPUFlfRFNULAogICAgICAgICAgfSkpKTsKICAgICAgfQogICAgICByZXNpemUoZSwgdCkgewogICAgICAgIGlmICghKHRoaXMud2lkdGggPT09IGUgJiYgdGhpcy5oZWlnaHQgPT09IHQpKSB7CiAgICAgICAgICAoKHRoaXMud2lkdGggPSBlKSwgKHRoaXMuaGVpZ2h0ID0gdCkpOwogICAgICAgICAgZm9yIChsZXQgciBvZiB0aGlzLnRhcmdldENhY2hlLnZhbHVlcygpKSB0aGlzLl9mcmVlVGFyZ2V0U2V0KHIpOwogICAgICAgICAgKHRoaXMudGFyZ2V0Q2FjaGUuY2xlYXIoKSwgKHRoaXMuYWN0aXZlVGFyZ2V0cyA9IG51bGwpKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgdXBsb2FkQW5kQmx1cihlLCB0LCByLCBuLCBpLCBzKSB7CiAgICAgICAgaWYgKCF0aGlzLl9pbml0aWFsaXplZCB8fCAhdGhpcy5kZXZpY2UgfHwgIXRoaXMuX3NldEFjdGl2ZVNpemUobiwgaSkpIHJldHVybjsKICAgICAgICBsZXQgbCA9IHRoaXMuZGV2aWNlLAogICAgICAgICAgYSA9IHRoaXMud2lkdGgsCiAgICAgICAgICB1ID0gdGhpcy5oZWlnaHQsCiAgICAgICAgICBvID0gdGhpcy5hY3RpdmVUYXJnZXRzLAogICAgICAgICAgZCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoImNhbnZhcyIpOwogICAgICAgICgoZC53aWR0aCA9IGEpLAogICAgICAgICAgKGQuaGVpZ2h0ID0gdSksCiAgICAgICAgICBkLmdldENvbnRleHQoIjJkIikuZHJhd0ltYWdlKGUsIC10LCAtciksCiAgICAgICAgICAoIXRoaXMuYmdUZXh0dXJlIHx8IHRoaXMuYmdUZXh0dXJlLndpZHRoICE9PSBhIHx8IHRoaXMuYmdUZXh0dXJlLmhlaWdodCAhPT0gdSkgJiYKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlICYmIHRoaXMuYmdUZXh0dXJlLmRlc3Ryb3koKSwKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlID0gbC5jcmVhdGVUZXh0dXJlKHsKICAgICAgICAgICAgICBzaXplOiBbYSwgdV0sCiAgICAgICAgICAgICAgZm9ybWF0OiAicmdiYTh1bm9ybSIsCiAgICAgICAgICAgICAgdXNhZ2U6CiAgICAgICAgICAgICAgICBHUFVUZXh0dXJlVXNhZ2UuVEVYVFVSRV9CSU5ESU5HIHwKICAgICAgICAgICAgICAgIEdQVVRleHR1cmVVc2FnZS5DT1BZX0RTVCB8CiAgICAgICAgICAgICAgICBHUFVUZXh0dXJlVXNhZ2UuUkVOREVSX0FUVEFDSE1FTlQsCiAgICAgICAgICAgIH0pKSwKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlVmlldyA9IHRoaXMuYmdUZXh0dXJlLmNyZWF0ZVZpZXcoKSkpLAogICAgICAgICAgbC5xdWV1ZS5jb3B5RXh0ZXJuYWxJbWFnZVRvVGV4dHVyZSgKICAgICAgICAgICAgeyBzb3VyY2U6IGQsIGZsaXBZOiAhMCB9LAogICAgICAgICAgICB7IHRleHR1cmU6IHRoaXMuYmdUZXh0dXJlIH0sCiAgICAgICAgICAgIFthLCB1XSwKICAgICAgICAgICkpOwogICAgICAgIGxldCBmID0gbC5jcmVhdGVDb21tYW5kRW5jb2RlcigpOwogICAgICAgIHRoaXMuX2JsaXRQYXNzKGYsIHRoaXMuYmdUZXh0dXJlVmlldywgby5iZy52aWV3LCBhLCB1LCAxLCAxLCAwLCAwKTsKICAgICAgICBsZXQgaCA9IG8uYmx1ckEudywKICAgICAgICAgIGIgPSBvLmJsdXJBLmg7CiAgICAgICAgaWYgKCh0aGlzLl9ibGl0UGFzcyhmLCBvLmJnLnZpZXcsIG8uYmx1ckEudmlldywgaCwgYiwgMSwgMSwgMCwgMCksIHMgPiAwKSkgewogICAgICAgICAgbGV0IGcgPSBzICogMi41OwogICAgICAgICAgZm9yIChsZXQgcCA9IDA7IHAgPCBMOyBwKyspCiAgICAgICAgICAgICh0aGlzLl9ibHVyUGFzcyhmLCBvLmJsdXJBLnZpZXcsIG8uYmx1ckIudmlldywgaCwgYiwgZyAvIGgsIDApLAogICAgICAgICAgICAgIHRoaXMuX2JsdXJQYXNzKGYsIG8uYmx1ckIudmlldywgby5ibHVyQS52aWV3LCBoLCBiLCAwLCBnIC8gYikpOwogICAgICAgIH0KICAgICAgICBsLnF1ZXVlLnN1Ym1pdChbZi5maW5pc2goKV0pOwogICAgICB9CiAgICAgIF9ibGl0UGFzcyhlLCB0LCByLCBuLCBpLCBzLCBsLCBhLCB1KSB7CiAgICAgICAgbGV0IG8gPSB0aGlzLmRldmljZTsKICAgICAgICBvLnF1ZXVlLndyaXRlQnVmZmVyKHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIsIDAsIG5ldyBGbG9hdDMyQXJyYXkoW3MsIGwsIGEsIHVdKSk7CiAgICAgICAgbGV0IGQgPSBvLmNyZWF0ZUJpbmRHcm91cCh7CiAgICAgICAgICAgIGxheW91dDogdGhpcy5ibGl0UGlwZWxpbmUuZ2V0QmluZEdyb3VwTGF5b3V0KDApLAogICAgICAgICAgICBlbnRyaWVzOiBbCiAgICAgICAgICAgICAgeyBiaW5kaW5nOiAwLCByZXNvdXJjZTogeyBidWZmZXI6IHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgcmVzb3VyY2U6IHRoaXMuc2FtcGxlciB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgcmVzb3VyY2U6IHQgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pLAogICAgICAgICAgYyA9IGUuYmVnaW5SZW5kZXJQYXNzKHsKICAgICAgICAgICAgY29sb3JBdHRhY2htZW50czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHZpZXc6IHIsCiAgICAgICAgICAgICAgICBsb2FkT3A6ICJjbGVhciIsCiAgICAgICAgICAgICAgICBzdG9yZU9wOiAic3RvcmUiLAogICAgICAgICAgICAgICAgY2xlYXJWYWx1ZTogeyByOiAwLCBnOiAwLCBiOiAwLCBhOiAwIH0sCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pOwogICAgICAgIChjLnNldFBpcGVsaW5lKHRoaXMuYmxpdFBpcGVsaW5lKSwKICAgICAgICAgIGMuc2V0QmluZEdyb3VwKDAsIGQpLAogICAgICAgICAgYy5zZXRWZXJ0ZXhCdWZmZXIoMCwgdGhpcy5xdWFkQnVmZmVyKSwKICAgICAgICAgIGMuc2V0Vmlld3BvcnQoMCwgMCwgbiwgaSwgMCwgMSksCiAgICAgICAgICBjLmRyYXcoNCksCiAgICAgICAgICBjLmVuZCgpKTsKICAgICAgfQogICAgICBfYmx1clBhc3MoZSwgdCwgciwgbiwgaSwgcywgbCkgewogICAgICAgIGxldCBhID0gdGhpcy5kZXZpY2U7CiAgICAgICAgYS5xdWV1ZS53cml0ZUJ1ZmZlcih0aGlzLmJsdXJVbmlmb3JtQnVmZmVyLCAwLCBuZXcgRmxvYXQzMkFycmF5KFtzLCBsLCAwLCAwXSkpOwogICAgICAgIGxldCB1ID0gYS5jcmVhdGVCaW5kR3JvdXAoewogICAgICAgICAgICBsYXlvdXQ6IHRoaXMuYmx1clBpcGVsaW5lLmdldEJpbmRHcm91cExheW91dCgwKSwKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsgYmluZGluZzogMCwgcmVzb3VyY2U6IHsgYnVmZmVyOiB0aGlzLmJsdXJVbmlmb3JtQnVmZmVyIH0gfSwKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDEsIHJlc291cmNlOiB0aGlzLnNhbXBsZXIgfSwKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDIsIHJlc291cmNlOiB0IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KSwKICAgICAgICAgIG8gPSBlLmJlZ2luUmVuZGVyUGFzcyh7CiAgICAgICAgICAgIGNvbG9yQXR0YWNobWVudHM6IFsKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICB2aWV3OiByLAogICAgICAgICAgICAgICAgbG9hZE9wOiAiY2xlYXIiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICAgIGNsZWFyVmFsdWU6IHsgcjogMCwgZzogMCwgYjogMCwgYTogMCB9LAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICAoby5zZXRQaXBlbGluZSh0aGlzLmJsdXJQaXBlbGluZSksCiAgICAgICAgICBvLnNldEJpbmRHcm91cCgwLCB1KSwKICAgICAgICAgIG8uc2V0VmVydGV4QnVmZmVyKDAsIHRoaXMucXVhZEJ1ZmZlciksCiAgICAgICAgICBvLnNldFZpZXdwb3J0KDAsIDAsIG4sIGksIDAsIDEpLAogICAgICAgICAgby5kcmF3KDQpLAogICAgICAgICAgby5lbmQoKSk7CiAgICAgIH0KICAgICAgcmVuZGVyR2xhc3NQYW5lbChlLCB0LCByLCBuKSB7CiAgICAgICAgaWYgKCF0aGlzLl9pbml0aWFsaXplZCB8fCAhdGhpcy5kZXZpY2UgfHwgIXRoaXMuY29udGV4dCkgcmV0dXJuOwogICAgICAgIGxldCBpID0gdGhpcy5kZXZpY2UsCiAgICAgICAgICBzID0gdGhpcy53aWR0aCwKICAgICAgICAgIGwgPSB0aGlzLmhlaWdodCwKICAgICAgICAgIGEgPSB0aGlzLmFjdGl2ZVRhcmdldHMsCiAgICAgICAgICB1ID0gbmV3IEZsb2F0MzJBcnJheShbCiAgICAgICAgICAgIHMgKiAwLjUsCiAgICAgICAgICAgIGwgKiAwLjUsCiAgICAgICAgICAgIHQgKiBuLAogICAgICAgICAgICByICogbiwKICAgICAgICAgICAgcywKICAgICAgICAgICAgbCwKICAgICAgICAgICAgZS5jb3JuZXJSYWRpdXMgKiBuLAogICAgICAgICAgICBUICogbiwKICAgICAgICAgICAgZS5yZWZyYWN0aW9uLAogICAgICAgICAgICBlLmNocm9tQWJlcnJhdGlvbiwKICAgICAgICAgICAgZS5lZGdlSGlnaGxpZ2h0LAogICAgICAgICAgICBlLnNwZWN1bGFyLAogICAgICAgICAgICBlLmZyZXNuZWwsCiAgICAgICAgICAgIGUuZGlzdG9ydGlvbiwKICAgICAgICAgICAgZS5vcGFjaXR5LAogICAgICAgICAgICBlLnNhdHVyYXRpb24sCiAgICAgICAgICAgIGUudGludFN0cmVuZ3RoLAogICAgICAgICAgICBlLnpSYWRpdXMgKiBuLAogICAgICAgICAgICBlLmJyaWdodG5lc3MsCiAgICAgICAgICAgIGUuc2hhZG93T3BhY2l0eSwKICAgICAgICAgICAgZS5zaGFkb3dTcHJlYWQgKiBuLAogICAgICAgICAgICBlLnNoYWRvd09mZnNldFkgKiBuLAogICAgICAgICAgICBlLmJldmVsTW9kZSwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgIF0pOwogICAgICAgIGkucXVldWUud3JpdGVCdWZmZXIodGhpcy5nbGFzc1VuaWZvcm1CdWZmZXIsIDAsIHUpOwogICAgICAgIGxldCBvID0gaS5jcmVhdGVCaW5kR3JvdXAoewogICAgICAgICAgICBsYXlvdXQ6IHRoaXMuZ2xhc3NQaXBlbGluZS5nZXRCaW5kR3JvdXBMYXlvdXQoMCksCiAgICAgICAgICAgIGVudHJpZXM6IFsKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDAsIHJlc291cmNlOiB7IGJ1ZmZlcjogdGhpcy5nbGFzc1VuaWZvcm1CdWZmZXIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgcmVzb3VyY2U6IHRoaXMuc2FtcGxlciB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgcmVzb3VyY2U6IGEuYmcudmlldyB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMywgcmVzb3VyY2U6IGEuYmx1ckEudmlldyB9LAogICAgICAgICAgICBdLAogICAgICAgICAgfSksCiAgICAgICAgICBkID0gaS5jcmVhdGVDb21tYW5kRW5jb2RlcigpLAogICAgICAgICAgYyA9IGQuYmVnaW5SZW5kZXJQYXNzKHsKICAgICAgICAgICAgY29sb3JBdHRhY2htZW50czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHZpZXc6IHRoaXMuY29udGV4dC5nZXRDdXJyZW50VGV4dHVyZSgpLmNyZWF0ZVZpZXcoKSwKICAgICAgICAgICAgICAgIGxvYWRPcDogImxvYWQiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICBdLAogICAgICAgICAgfSk7CiAgICAgICAgKGMuc2V0UGlwZWxpbmUodGhpcy5nbGFzc1BpcGVsaW5lKSwKICAgICAgICAgIGMuc2V0QmluZEdyb3VwKDAsIG8pLAogICAgICAgICAgYy5zZXRWZXJ0ZXhCdWZmZXIoMCwgdGhpcy5wYW5lbEJ1ZmZlciksCiAgICAgICAgICBjLnNldFZpZXdwb3J0KDAsIDAsIHMsIGwsIDAsIDEpLAogICAgICAgICAgYy5kcmF3KDQpLAogICAgICAgICAgYy5lbmQoKSwKICAgICAgICAgIGkucXVldWUuc3VibWl0KFtkLmZpbmlzaCgpXSkpOwogICAgICB9CiAgICAgIGNsZWFyKCkgewogICAgICAgIGlmICghdGhpcy5faW5pdGlhbGl6ZWQgfHwgIXRoaXMuZGV2aWNlIHx8ICF0aGlzLmNvbnRleHQpIHJldHVybjsKICAgICAgICBsZXQgZSA9IHRoaXMuZGV2aWNlLmNyZWF0ZUNvbW1hbmRFbmNvZGVyKCksCiAgICAgICAgICB0ID0gZS5iZWdpblJlbmRlclBhc3MoewogICAgICAgICAgICBjb2xvckF0dGFjaG1lbnRzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgdmlldzogdGhpcy5jb250ZXh0LmdldEN1cnJlbnRUZXh0dXJlKCkuY3JlYXRlVmlldygpLAogICAgICAgICAgICAgICAgbG9hZE9wOiAiY2xlYXIiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICAgIGNsZWFyVmFsdWU6IHsgcjogMCwgZzogMCwgYjogMCwgYTogMCB9LAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICAodC5zZXRWaWV3cG9ydCgwLCAwLCB0aGlzLndpZHRoLCB0aGlzLmhlaWdodCwgMCwgMSksCiAgICAgICAgICB0LmVuZCgpLAogICAgICAgICAgdGhpcy5kZXZpY2UucXVldWUuc3VibWl0KFtlLmZpbmlzaCgpXSkpOwogICAgICB9CiAgICAgIGRlc3Ryb3koKSB7CiAgICAgICAgZm9yIChsZXQgZSBvZiB0aGlzLnRhcmdldENhY2hlLnZhbHVlcygpKSB0aGlzLl9mcmVlVGFyZ2V0U2V0KGUpOwogICAgICAgICh0aGlzLnRhcmdldENhY2hlLmNsZWFyKCksCiAgICAgICAgICB0aGlzLmJnVGV4dHVyZSAmJiB0aGlzLmJnVGV4dHVyZS5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLnF1YWRCdWZmZXIgJiYgdGhpcy5xdWFkQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMucGFuZWxCdWZmZXIgJiYgdGhpcy5wYW5lbEJ1ZmZlci5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLmJsaXRVbmlmb3JtQnVmZmVyICYmIHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIuZGVzdHJveSgpLAogICAgICAgICAgdGhpcy5ibHVyVW5pZm9ybUJ1ZmZlciAmJiB0aGlzLmJsdXJVbmlmb3JtQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMuZ2xhc3NVbmlmb3JtQnVmZmVyICYmIHRoaXMuZ2xhc3NVbmlmb3JtQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMuZGV2aWNlPy5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLmNhbnZhcy5yZW1vdmUoKSk7CiAgICAgIH0KICAgICAgX3NldEFjdGl2ZVNpemUoZSwgdCkgewogICAgICAgIGlmIChlIDw9IDAgfHwgdCA8PSAwKSByZXR1cm4gITE7CiAgICAgICAgKCh0aGlzLndpZHRoID0gZSksCiAgICAgICAgICAodGhpcy5oZWlnaHQgPSB0KSwKICAgICAgICAgICh0aGlzLmNhbnZhcy53aWR0aCA8IGUgfHwgdGhpcy5jYW52YXMuaGVpZ2h0IDwgdCkgJiYKICAgICAgICAgICAgKCh0aGlzLmNhbnZhcy53aWR0aCA9IE1hdGgubWF4KHRoaXMuY2FudmFzLndpZHRoLCBlKSksCiAgICAgICAgICAgICh0aGlzLmNhbnZhcy5oZWlnaHQgPSBNYXRoLm1heCh0aGlzLmNhbnZhcy5oZWlnaHQsIHQpKSwKICAgICAgICAgICAgdGhpcy5jb250ZXh0Py5jb25maWd1cmUoewogICAgICAgICAgICAgIGRldmljZTogdGhpcy5kZXZpY2UsCiAgICAgICAgICAgICAgZm9ybWF0OiB0aGlzLmZvcm1hdCwKICAgICAgICAgICAgICBhbHBoYU1vZGU6ICJwcmVtdWx0aXBsaWVkIiwKICAgICAgICAgICAgfSkpKTsKICAgICAgICBsZXQgciA9IGAke2V9eCR7dH1gLAogICAgICAgICAgbiA9IHRoaXMudGFyZ2V0Q2FjaGUuZ2V0KHIpOwogICAgICAgIHJldHVybiAoCiAgICAgICAgICBuIHx8CiAgICAgICAgICAgICgobiA9IHsKICAgICAgICAgICAgICBiZzogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgICBibHVyQTogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgICBibHVyQjogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgfSksCiAgICAgICAgICAgIHRoaXMudGFyZ2V0Q2FjaGUuc2V0KHIsIG4pKSwKICAgICAgICAgICh0aGlzLmFjdGl2ZVRhcmdldHMgPSBuKSwKICAgICAgICAgICEwCiAgICAgICAgKTsKICAgICAgfQogICAgICBfbWFrZVRhcmdldChlLCB0KSB7CiAgICAgICAgbGV0IHIgPSB0aGlzLmRldmljZS5jcmVhdGVUZXh0dXJlKHsKICAgICAgICAgIHNpemU6IFtlLCB0XSwKICAgICAgICAgIGZvcm1hdDogInJnYmE4dW5vcm0iLAogICAgICAgICAgdXNhZ2U6IEdQVVRleHR1cmVVc2FnZS5URVhUVVJFX0JJTkRJTkcgfCBHUFVUZXh0dXJlVXNhZ2UuUkVOREVSX0FUVEFDSE1FTlQsCiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIHsgdGV4dHVyZTogciwgdmlldzogci5jcmVhdGVWaWV3KCksIHc6IGUsIGg6IHQgfTsKICAgICAgfQogICAgICBfZnJlZVRhcmdldChlKSB7CiAgICAgICAgZSAmJiBlLnRleHR1cmUuZGVzdHJveSgpOwogICAgICB9CiAgICAgIF9mcmVlVGFyZ2V0U2V0KGUpIHsKICAgICAgICAodGhpcy5fZnJlZVRhcmdldChlLmJnKSwgdGhpcy5fZnJlZVRhcmdldChlLmJsdXJBKSwgdGhpcy5fZnJlZVRhcmdldChlLmJsdXJCKSk7CiAgICAgIH0KICAgIH07CiAgdmFyIFIgPSBjbGFzcyB7CiAgICBjYW52YXM7CiAgICBjdHg7CiAgICByZW5kZXJlcjsKICAgIHNjZW5lQ2FudmFzOwogICAgc2NlbmVDdHg7CiAgICBkcmF3RWxlbWVudEltYWdlOwogICAgX2luaXRQcm9taXNlOwogICAgX2luaXRpYWxpemVkID0gITE7CiAgICBjb25zdHJ1Y3RvcihlKSB7CiAgICAgICgodGhpcy5jYW52YXMgPSBlKSwKICAgICAgICAodGhpcy5jdHggPSBlLmdldENvbnRleHQoIjJkIikpLAogICAgICAgICh0aGlzLnJlbmRlcmVyID0gbmV3IHkoKSksCiAgICAgICAgKHRoaXMuc2NlbmVDYW52YXMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJjYW52YXMiKSksCiAgICAgICAgKHRoaXMuc2NlbmVDdHggPSB0aGlzLnNjZW5lQ2FudmFzLmdldENvbnRleHQoIjJkIikpKTsKICAgICAgbGV0IHQgPSB0aGlzLmN0eDsKICAgICAgKCh0aGlzLmRyYXdFbGVtZW50SW1hZ2UgPSB0LmRyYXdFbGVtZW50SW1hZ2U/LmJpbmQodCkgPz8gdC5kcmF3RWxlbWVudD8uYmluZCh0KSA/PyBudWxsKSwKICAgICAgICAodGhpcy5faW5pdFByb21pc2UgPSB0aGlzLl9pbml0V2ViR1BVKCkpKTsKICAgIH0KICAgIGFzeW5jIF9pbml0V2ViR1BVKCkgewogICAgICB0cnkgewogICAgICAgIHJldHVybiAoYXdhaXQgdGhpcy5yZW5kZXJlci5pbml0KCkpCiAgICAgICAgICA/ICgodGhpcy5faW5pdGlhbGl6ZWQgPSAhMCksIGNvbnNvbGUubG9nKCJMaXF1aWRHbGFzczogV2ViR1BVIHJlbmRlcmVyIGluaXRpYWxpemVkIiksICEwKQogICAgICAgICAgOiAoY29uc29sZS5lcnJvcigiTGlxdWlkR2xhc3M6IFdlYkdQVSBub3QgYXZhaWxhYmxlIiksICExKTsKICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgIHJldHVybiAoY29uc29sZS5lcnJvcigiTGlxdWlkR2xhc3M6IFdlYkdQVSBpbml0IGZhaWxlZCIsIGUpLCAhMSk7CiAgICAgIH0KICAgIH0KICAgIGdldCBpc1JlYWR5KCkgewogICAgICByZXR1cm4gdGhpcy5faW5pdGlhbGl6ZWQ7CiAgICB9CiAgICBhc3luYyB3YWl0Rm9ySW5pdCgpIHsKICAgICAgcmV0dXJuIHRoaXMuX2luaXRQcm9taXNlOwogICAgfQogICAgcmVuZGVyKCkgewogICAgICBsZXQgZSA9IHRoaXMuY2FudmFzLndpZHRoLAogICAgICAgIHQgPSB0aGlzLmNhbnZhcy5oZWlnaHQ7CiAgICAgIGlmIChlID09PSAwIHx8IHQgPT09IDAgfHwgIXRoaXMuZHJhd0VsZW1lbnRJbWFnZSB8fCAhdGhpcy5faW5pdGlhbGl6ZWQpIHJldHVybjsKICAgICAgdGhpcy5jdHguY2xlYXJSZWN0KDAsIDAsIGUsIHQpOwogICAgICBsZXQgciA9IHdpbmRvdy5kZXZpY2VQaXhlbFJhdGlvIHx8IDEsCiAgICAgICAgbiA9IHRoaXMuY2FudmFzLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLAogICAgICAgIGkgPSBBcnJheS5mcm9tKHRoaXMuY2FudmFzLmNoaWxkcmVuKSwKICAgICAgICBzID0gQXJyYXkuZnJvbSh0aGlzLmNhbnZhcy5xdWVyeVNlbGVjdG9yQWxsKCIubGlxdWlkLWdsYXNzIikpLAogICAgICAgIGwgPSBuZXcgU2V0KHMpOwogICAgICBpLmxlbmd0aCA9PT0gMCAmJgogICAgICAgICF0aGlzLl9fbGdfd2Fybl9lbXB0eSAmJgogICAgICAgIChjb25zb2xlLndhcm4oIkxpcXVpZEdsYXNzOiBObyBjaGlsZHJlbiBmb3VuZCBpbnNpZGUgdGhlIGNhbnZhcyB0byByZW5kZXIuIiksCiAgICAgICAgKHRoaXMuX19sZ193YXJuX2VtcHR5ID0gITApKTsKICAgICAgZm9yIChsZXQgYSBvZiBpKQogICAgICAgIGlmICghbC5oYXMoYSkpIHsKICAgICAgICAgIGxldCB1ID0gYSwKICAgICAgICAgICAgbyA9IHRoaXMuX2dldEVsZW1lbnRQb3NpdGlvbih1LCBuKTsKICAgICAgICAgIGlmIChvLncgPD0gMCB8fCBvLmggPD0gMCkgY29udGludWU7CiAgICAgICAgICBsZXQgZCA9IG8ueCAqIHIsCiAgICAgICAgICAgIGMgPSBvLnkgKiByOwogICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgbGV0IGYgPSB0aGlzLmRyYXdFbGVtZW50SW1hZ2UoYSwgZCwgYyk7CiAgICAgICAgICAgIGYgJiYgKHUuc3R5bGUudHJhbnNmb3JtID0gZi50b1N0cmluZygpKTsKICAgICAgICAgIH0gY2F0Y2ggKGYpIHsKICAgICAgICAgICAgYS5fX2xnX2Vycm9yX2xvZ2dlZCB8fAogICAgICAgICAgICAgIChjb25zb2xlLndhcm4oCiAgICAgICAgICAgICAgICBgTGlxdWlkR2xhc3M6IEZhaWxlZCB0byBkcmF3IGJhY2tncm91bmQgZWxlbWVudCAke2EudGFnTmFtZX0uJHthLmNsYXNzTmFtZX06YCwKICAgICAgICAgICAgICAgIGYubWVzc2FnZSB8fCBmLAogICAgICAgICAgICAgICksCiAgICAgICAgICAgICAgKGEuX19sZ19lcnJvcl9sb2dnZWQgPSAhMCkpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgZm9yIChsZXQgYSBvZiBzKQogICAgICAgIHRyeSB7CiAgICAgICAgICB0aGlzLl9yZW5kZXJHbGFzc0VsZW1lbnQoYSwgbiwgcik7CiAgICAgICAgfSBjYXRjaCAodSkgewogICAgICAgICAgYS5fX2xnX2Vycm9yX2xvZ2dlZF9nbGFzcyB8fAogICAgICAgICAgICAoY29uc29sZS5lcnJvcigKICAgICAgICAgICAgICBgTGlxdWlkR2xhc3M6IEZhaWxlZCB0byByZW5kZXIgZ2xhc3MgZWZmZWN0IGZvciAke2EudGFnTmFtZX0uJHthLmNsYXNzTmFtZX06YCwKICAgICAgICAgICAgICB1Lm1lc3NhZ2UgfHwgdSwKICAgICAgICAgICAgKSwKICAgICAgICAgICAgKGEuX19sZ19lcnJvcl9sb2dnZWRfZ2xhc3MgPSAhMCkpOwogICAgICAgIH0KICAgIH0KICAgIHJlbmRlckdsYXNzRWxlbWVudHMoKSB7CiAgICAgIGxldCBlID0gdGhpcy5jYW52YXMud2lkdGgsCiAgICAgICAgdCA9IHRoaXMuY2FudmFzLmhlaWdodDsKICAgICAgaWYgKGUgPT09IDAgfHwgdCA9PT0gMCB8fCAhdGhpcy5kcmF3RWxlbWVudEltYWdlIHx8ICF0aGlzLl9pbml0aWFsaXplZCkgcmV0dXJuOwogICAgICBsZXQgciA9IHdpbmRvdy5kZXZpY2VQaXhlbFJhdGlvIHx8IDEsCiAgICAgICAgbiA9IHRoaXMuY2FudmFzLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLAogICAgICAgIGkgPSB0aGlzLmNhbnZhcy5xdWVyeVNlbGVjdG9yQWxsKCIubGlxdWlkLWdsYXNzIik7CiAgICAgIGZvciAobGV0IHMgb2YgaSkgdGhpcy5fcmVuZGVyR2xhc3NFbGVtZW50KHMsIG4sIHIpOwogICAgfQogICAgX3BhcnNlQ1NTTGVuZ3RoKGUsIHQpIHsKICAgICAgcmV0dXJuICFlIHx8IGUgPT09ICJhdXRvIgogICAgICAgID8gTmFOCiAgICAgICAgOiAoKGUgPSBlLnRyaW0oKSksCiAgICAgICAgICBlLnN0YXJ0c1dpdGgoImNhbGMoIikKICAgICAgICAgICAgPyB0aGlzLl9wYXJzZUNhbGMoZSwgdCkKICAgICAgICAgICAgOiBlLmVuZHNXaXRoKCIlIikKICAgICAgICAgICAgICA/IChwYXJzZUZsb2F0KGUpIC8gMTAwKSAqIHQKICAgICAgICAgICAgICA6IHBhcnNlRmxvYXQoZSkgfHwgMCk7CiAgICB9CiAgICBfcGFyc2VDYWxjKGUsIHQpIHsKICAgICAgbGV0IHIgPSBlLm1hdGNoKC9jYWxjXCgoLispXCkvKTsKICAgICAgaWYgKCFyKSByZXR1cm4gMDsKICAgICAgbGV0IG4gPSByWzFdLnRyaW0oKSwKICAgICAgICBpID0gbi5tYXRjaCgvKC4rKVxzKlwrXHMqKC4rKS8pLAogICAgICAgIHMgPSBuLm1hdGNoKC8oLispXHMqLVxzKiguKykvKTsKICAgICAgaWYgKHMpIHsKICAgICAgICBsZXQgbCA9IHRoaXMuX3BhcnNlQ1NTTGVuZ3RoKHNbMV0udHJpbSgpLCB0KSwKICAgICAgICAgIGEgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChzWzJdLnRyaW0oKSwgdCk7CiAgICAgICAgcmV0dXJuIGwgLSBhOwogICAgICB9CiAgICAgIGlmIChpKSB7CiAgICAgICAgbGV0IGwgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChpWzFdLnRyaW0oKSwgdCksCiAgICAgICAgICBhID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoaVsyXS50cmltKCksIHQpOwogICAgICAgIHJldHVybiBsICsgYTsKICAgICAgfQogICAgICByZXR1cm4gdGhpcy5fcGFyc2VDU1NMZW5ndGgobiwgdCk7CiAgICB9CiAgICBfcGFyc2VUcmFuc2Zvcm0oZSwgdCwgcikgewogICAgICBsZXQgbiA9IDAsCiAgICAgICAgaSA9IDA7CiAgICAgIGlmICghZSB8fCBlID09PSAibm9uZSIpIHJldHVybiB7IHR4OiBuLCB0eTogaSB9OwogICAgICBsZXQgcyA9IGUubWF0Y2goL3RyYW5zbGF0ZVwoXHMqKFteLCldKykoPzpccyosXHMqKFteKV0rKSk/XHMqXCkvKTsKICAgICAgcyAmJgogICAgICAgICgobiA9IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoc1sxXSwgdCkpLAogICAgICAgIChpID0gc1syXSA/IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoc1syXSwgcikgOiAwKSk7CiAgICAgIGxldCBsID0gZS5tYXRjaCgvdHJhbnNsYXRlWFwoXHMqKFteKV0rKVxzKlwpLyk7CiAgICAgIGwgJiYgKG4gPSB0aGlzLl9wYXJzZVRyYW5zbGF0ZVZhbHVlKGxbMV0sIHQpKTsKICAgICAgbGV0IGEgPSBlLm1hdGNoKC90cmFuc2xhdGVZXChccyooW14pXSspXHMqXCkvKTsKICAgICAgYSAmJiAoaSA9IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoYVsxXSwgcikpOwogICAgICBsZXQgdSA9IGUubWF0Y2goL3RyYW5zbGF0ZTNkXChccyooW14sXSspXHMqLFxzKihbXixdKylccyosXHMqW14pXStccypcKS8pOwogICAgICByZXR1cm4gKAogICAgICAgIHUgJiYgKChuID0gdGhpcy5fcGFyc2VUcmFuc2xhdGVWYWx1ZSh1WzFdLCB0KSksIChpID0gdGhpcy5fcGFyc2VUcmFuc2xhdGVWYWx1ZSh1WzJdLCByKSkpLAogICAgICAgIHsgdHg6IG4sIHR5OiBpIH0KICAgICAgKTsKICAgIH0KICAgIF9wYXJzZVRyYW5zbGF0ZVZhbHVlKGUsIHQpIHsKICAgICAgcmV0dXJuICgoZSA9IGUudHJpbSgpKSwgZS5lbmRzV2l0aCgiJSIpID8gKHBhcnNlRmxvYXQoZSkgLyAxMDApICogdCA6IHBhcnNlRmxvYXQoZSkgfHwgMCk7CiAgICB9CiAgICBfZ2V0RWxlbWVudFBvc2l0aW9uKGUsIHQpIHsKICAgICAgbGV0IHIgPSBnZXRDb21wdXRlZFN0eWxlKGUpLAogICAgICAgIG4gPSBwYXJzZUZsb2F0KGdldENvbXB1dGVkU3R5bGUodGhpcy5jYW52YXMpLndpZHRoKSB8fCB0aGlzLmNhbnZhcy53aWR0aCB8fCAxNTM2LAogICAgICAgIGkgPSBwYXJzZUZsb2F0KGdldENvbXB1dGVkU3R5bGUodGhpcy5jYW52YXMpLmhlaWdodCkgfHwgdGhpcy5jYW52YXMuaGVpZ2h0IHx8IDEwMjQsCiAgICAgICAgcyA9IGUuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCksCiAgICAgICAgbCA9IHMud2lkdGggfHwgcGFyc2VGbG9hdChyLndpZHRoKSB8fCAwLAogICAgICAgIGEgPSBzLmhlaWdodCB8fCBwYXJzZUZsb2F0KHIuaGVpZ2h0KSB8fCAwLAogICAgICAgIHUgPSAwLAogICAgICAgIG8gPSAwLAogICAgICAgIGQgPSBlLnN0eWxlLAogICAgICAgIGMgPSBkLmxlZnQgfHwgci5sZWZ0LAogICAgICAgIGYgPSBkLnJpZ2h0IHx8IHIucmlnaHQsCiAgICAgICAgaCA9IGQudG9wIHx8IHIudG9wLAogICAgICAgIGIgPSBkLmJvdHRvbSB8fCByLmJvdHRvbSwKICAgICAgICBnID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoYywgbiksCiAgICAgICAgcCA9IHRoaXMuX3BhcnNlQ1NTTGVuZ3RoKGYsIG4pLAogICAgICAgIHYgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChoLCBpKSwKICAgICAgICBTID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoYiwgaSksCiAgICAgICAgUCA9IHBhcnNlRmxvYXQoci5tYXJnaW5MZWZ0KSB8fCAwLAogICAgICAgIHggPSBwYXJzZUZsb2F0KHIubWFyZ2luUmlnaHQpIHx8IDAsCiAgICAgICAgTSA9IHBhcnNlRmxvYXQoci5tYXJnaW5Ub3ApIHx8IDAsCiAgICAgICAgQSA9IHBhcnNlRmxvYXQoci5tYXJnaW5Cb3R0b20pIHx8IDAsCiAgICAgICAgRyA9ICFpc05hTihnKSwKICAgICAgICBVID0gIWlzTmFOKHApOwogICAgICBHICYmIFUgJiYgZyA9PT0gMCAmJiBwID09PSAwCiAgICAgICAgPyAodSA9IChuIC0gbCkgLyAyKQogICAgICAgIDogKEcgJiYgVSkgfHwgRwogICAgICAgICAgPyAodSA9IGcgKyBQKQogICAgICAgICAgOiBVICYmICh1ID0gbiAtIGwgLSBwIC0geCk7CiAgICAgIGxldCBCID0gIWlzTmFOKHYpLAogICAgICAgIEMgPSAhaXNOYU4oUyk7CiAgICAgIEIgJiYgQyAmJiB2ID09PSAwICYmIFMgPT09IDAKICAgICAgICA/IChvID0gKGkgLSBhKSAvIDIpCiAgICAgICAgOiAoQiAmJiBDKSB8fCBCCiAgICAgICAgICA/IChvID0gdiArIE0pCiAgICAgICAgICA6IEMgJiYgKG8gPSBpIC0gYSAtIFMgLSBBKTsKICAgICAgbGV0IHsgdHg6IFYsIHR5OiBGIH0gPSB0aGlzLl9wYXJzZVRyYW5zZm9ybShyLnRyYW5zZm9ybSwgbCwgYSk7CiAgICAgIHJldHVybiAoKHUgKz0gViksIChvICs9IEYpLCB7IHg6IHUsIHk6IG8sIHc6IGwsIGg6IGEgfSk7CiAgICB9CiAgICBfcmVuZGVyR2xhc3NFbGVtZW50KGUsIHQsIHIpIHsKICAgICAgaWYgKCF0aGlzLmRyYXdFbGVtZW50SW1hZ2UpIHJldHVybjsKICAgICAgbGV0IG4gPSB0aGlzLl9nZXRDb25maWdGcm9tQ1NTKGUpLAogICAgICAgIGkgPSB0aGlzLl9nZXRFbGVtZW50UG9zaXRpb24oZSwgdCksCiAgICAgICAgcyA9IGkueCwKICAgICAgICBsID0gaS55LAogICAgICAgIGEgPSBpLncsCiAgICAgICAgdSA9IGkuaCwKICAgICAgICBvID0gcyAqIHIsCiAgICAgICAgZCA9IGwgKiByLAogICAgICAgIGMgPSBhICogciwKICAgICAgICBmID0gdSAqIHIsCiAgICAgICAgaCA9IFQgKiByLAogICAgICAgIGIgPSBvIC0gaCwKICAgICAgICBnID0gZCAtIGgsCiAgICAgICAgcCA9IGMgKyBoICogMiwKICAgICAgICB2ID0gZiArIGggKiAyOwogICAgICB0aGlzLl9jYXB0dXJlUmVnaW9uKGIsIGcsIHAsIHYpOwogICAgICBsZXQgUyA9IE1hdGgucm91bmQocCksCiAgICAgICAgUCA9IE1hdGgucm91bmQodik7CiAgICAgICh0aGlzLnJlbmRlcmVyLmNsZWFyKCksCiAgICAgICAgdGhpcy5yZW5kZXJlci51cGxvYWRBbmRCbHVyKHRoaXMuc2NlbmVDYW52YXMsIDAsIDAsIFMsIFAsIG4uYmx1ckFtb3VudCksCiAgICAgICAgdGhpcy5yZW5kZXJlci5yZW5kZXJHbGFzc1BhbmVsKG4sIGEsIHUsIHIpLAogICAgICAgIHRoaXMuY3R4LmRyYXdJbWFnZSh0aGlzLnJlbmRlcmVyLmNhbnZhcywgMCwgMCwgcCwgdiwgYiwgZywgcCwgdikpOwogICAgICB0cnkgewogICAgICAgIGxldCB4ID0gdGhpcy5fZHJhd0dsYXNzRWxlbWVudENvbnRlbnQoZSwgbywgZCk7CiAgICAgICAgeCAmJiAoZS5zdHlsZS50cmFuc2Zvcm0gPSB4LnRvU3RyaW5nKCkpOwogICAgICB9IGNhdGNoICh4KSB7CiAgICAgICAgZS5fX2xnX2Vycm9yX2xvZ2dlZCB8fAogICAgICAgICAgKGNvbnNvbGUud2FybigKICAgICAgICAgICAgYExpcXVpZEdsYXNzOiBGYWlsZWQgdG8gZHJhdyBnbGFzcyBlbGVtZW50ICR7ZS50YWdOYW1lfS4ke2UuY2xhc3NOYW1lfTpgLAogICAgICAgICAgICB4LAogICAgICAgICAgKSwKICAgICAgICAgIChlLl9fbGdfZXJyb3JfbG9nZ2VkID0gITApKTsKICAgICAgfQogICAgfQogICAgX2RyYXdHbGFzc0VsZW1lbnRDb250ZW50KGUsIHQsIHIpIHsKICAgICAgaWYgKCF0aGlzLmRyYXdFbGVtZW50SW1hZ2UpIHJldHVybjsKICAgICAgbGV0IG4gPSB0aGlzLl9zdXBwcmVzc0dsYXNzQ2hyb21lKGUpOwogICAgICB0cnkgewogICAgICAgIHJldHVybiB0aGlzLmRyYXdFbGVtZW50SW1hZ2UoZSwgdCwgcik7CiAgICAgIH0gZmluYWxseSB7CiAgICAgICAgdGhpcy5fcmVzdG9yZUlubGluZVN0eWxlcyhlLCBuKTsKICAgICAgfQogICAgfQogICAgX3N1cHByZXNzR2xhc3NDaHJvbWUoZSkgewogICAgICBsZXQgdCA9IG5ldyBNYXAoKSwKICAgICAgICByID0gWwogICAgICAgICAgImJhY2tncm91bmQiLAogICAgICAgICAgImJhY2tncm91bmRDb2xvciIsCiAgICAgICAgICAiYmFja2dyb3VuZEltYWdlIiwKICAgICAgICAgICJib3JkZXJDb2xvciIsCiAgICAgICAgICAiYm94U2hhZG93IiwKICAgICAgICAgICJmaWx0ZXIiLAogICAgICAgICAgIm91dGxpbmVDb2xvciIsCiAgICAgICAgXTsKICAgICAgZm9yIChsZXQgbiBvZiByKSB0LnNldChuLCBlLnN0eWxlW25dKTsKICAgICAgcmV0dXJuICgKICAgICAgICAoZS5zdHlsZS5iYWNrZ3JvdW5kID0gInRyYW5zcGFyZW50IiksCiAgICAgICAgKGUuc3R5bGUuYmFja2dyb3VuZENvbG9yID0gInRyYW5zcGFyZW50IiksCiAgICAgICAgKGUuc3R5bGUuYmFja2dyb3VuZEltYWdlID0gIm5vbmUiKSwKICAgICAgICAoZS5zdHlsZS5ib3JkZXJDb2xvciA9ICJ0cmFuc3BhcmVudCIpLAogICAgICAgIChlLnN0eWxlLmJveFNoYWRvdyA9ICJub25lIiksCiAgICAgICAgKGUuc3R5bGUuZmlsdGVyID0gIm5vbmUiKSwKICAgICAgICAoZS5zdHlsZS5vdXRsaW5lQ29sb3IgPSAidHJhbnNwYXJlbnQiKSwKICAgICAgICB0CiAgICAgICk7CiAgICB9CiAgICBfcmVzdG9yZUlubGluZVN0eWxlcyhlLCB0KSB7CiAgICAgIGZvciAobGV0IFtyLCBuXSBvZiB0KSBlLnN0eWxlW3JdID0gbjsKICAgIH0KICAgIF9jYXB0dXJlUmVnaW9uKGUsIHQsIHIsIG4pIHsKICAgICAgbGV0IGkgPSBNYXRoLnJvdW5kKHIpLAogICAgICAgIHMgPSBNYXRoLnJvdW5kKG4pOwogICAgICAoKHRoaXMuc2NlbmVDYW52YXMud2lkdGggIT09IGkgfHwgdGhpcy5zY2VuZUNhbnZhcy5oZWlnaHQgIT09IHMpICYmCiAgICAgICAgKCh0aGlzLnNjZW5lQ2FudmFzLndpZHRoID0gaSksICh0aGlzLnNjZW5lQ2FudmFzLmhlaWdodCA9IHMpKSwKICAgICAgICAodGhpcy5zY2VuZUN0eC5maWxsU3R5bGUgPSAiI2ZmZmZmZiIpLAogICAgICAgIHRoaXMuc2NlbmVDdHguZmlsbFJlY3QoMCwgMCwgaSwgcyksCiAgICAgICAgdGhpcy5zY2VuZUN0eC5kcmF3SW1hZ2UodGhpcy5jYW52YXMsIGUsIHQsIHIsIG4sIDAsIDAsIGksIHMpKTsKICAgIH0KICAgIF9nZXRDb25maWdGcm9tQ1NTKGUpIHsKICAgICAgbGV0IHQgPSBnZXRDb21wdXRlZFN0eWxlKGUpLAogICAgICAgIHIgPSB7IC4uLncgfTsKICAgICAgZm9yIChsZXQgW24sIGldIG9mIE9iamVjdC5lbnRyaWVzKF8pKSB7CiAgICAgICAgbGV0IHMgPSB0LmdldFByb3BlcnR5VmFsdWUobikudHJpbSgpOwogICAgICAgIGlmIChzKSB7CiAgICAgICAgICBsZXQgbCA9IHBhcnNlRmxvYXQocyk7CiAgICAgICAgICBpc05hTihsKSB8fCAocltpXSA9IGwpOwogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gcjsKICAgIH0KICAgIGRlc3Ryb3koKSB7CiAgICAgIHRoaXMucmVuZGVyZXIuZGVzdHJveSgpOwogICAgfQogIH07CiAgcmV0dXJuIEkoWSk7Cn0pKCk7Cg==\"></script>\n <style>\n *,\n *::before,\n *::after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n body {\n background: #0a0218;\n overflow: hidden;\n font-family: \"Inter\", system-ui, sans-serif;\n }\n #root {\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n }\n #three-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 1920px;\n height: 1080px;\n z-index: 0;\n }\n #glass-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 1920px;\n height: 1080px;\n z-index: 1;\n }\n\n /* ── Glass Panel ── */\n .menu-panel {\n position: absolute;\n width: 390px;\n height: 506px;\n background: rgba(255, 255, 255, 0.15);\n --lg-blur: 0.56;\n --lg-refraction: 0.52;\n --lg-corner-radius: 30;\n --lg-z-radius: 48;\n --lg-specular: 0.26;\n --lg-fresnel: 1;\n --lg-edge-highlight: 0.2;\n --lg-chrom-aberration: 0.035;\n --lg-tint: 0.88;\n --lg-brightness: 0.54;\n --lg-shadow-opacity: 0;\n --lg-shadow-spread: 0;\n --lg-shadow-offset-y: 0;\n --lg-saturation: -0.24;\n }\n #glass-menu {\n top: 270px;\n left: 1980px;\n }\n .file-panel {\n position: absolute;\n top: 372px;\n left: 500px;\n width: 360px;\n height: 104px;\n background: rgba(255, 255, 255, 0.11);\n --lg-blur: 0.52;\n --lg-refraction: 0.48;\n --lg-corner-radius: 28;\n --lg-z-radius: 36;\n --lg-specular: 0.28;\n --lg-fresnel: 0.94;\n --lg-edge-highlight: 0.18;\n --lg-chrom-aberration: 0.03;\n --lg-tint: 0.74;\n --lg-brightness: 0.34;\n --lg-shadow-opacity: 0;\n --lg-shadow-spread: 0;\n --lg-shadow-offset-y: 0;\n --lg-saturation: -0.18;\n }\n .submenu-panel {\n position: absolute;\n top: 456px;\n left: 1980px;\n width: 230px;\n height: 58px;\n background: rgba(255, 255, 255, 0.11);\n --lg-blur: 0.52;\n --lg-refraction: 0.5;\n --lg-corner-radius: 20;\n --lg-z-radius: 28;\n --lg-specular: 0.3;\n --lg-fresnel: 0.96;\n --lg-edge-highlight: 0.18;\n --lg-chrom-aberration: 0.03;\n --lg-tint: 0.74;\n --lg-brightness: 0.36;\n --lg-shadow-opacity: 0;\n --lg-shadow-spread: 0;\n --lg-shadow-offset-y: 0;\n --lg-saturation: -0.2;\n }\n\n /* ── Text Overlay ── */\n .text-overlay {\n position: absolute;\n z-index: 2;\n pointer-events: none;\n }\n .context-file {\n position: absolute;\n top: 340px;\n left: 500px;\n z-index: 2;\n width: 360px;\n height: 104px;\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 18px 22px;\n border-radius: 26px;\n background: linear-gradient(\n 180deg,\n rgba(255, 255, 255, 0.095) 0%,\n rgba(255, 255, 255, 0.036) 38%,\n rgba(255, 255, 255, 0.006) 100%\n );\n box-shadow: none;\n }\n .file-icon {\n width: 58px;\n height: 68px;\n flex-shrink: 0;\n border-radius: 16px;\n background:\n linear-gradient(135deg, rgba(6, 227, 250, 0.92), rgba(79, 219, 94, 0.85)),\n rgba(255, 255, 255, 0.12);\n box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);\n }\n .file-meta {\n display: flex;\n flex-direction: column;\n gap: 4px;\n }\n .file-title {\n color: rgba(5, 17, 28, 0.9);\n font-size: 21px;\n font-weight: 780;\n letter-spacing: 0;\n text-shadow:\n 0 1px 0 rgba(255, 255, 255, 0.24),\n 0 10px 20px rgba(255, 255, 255, 0.14);\n }\n .file-subtitle {\n color: rgba(5, 17, 28, 0.72);\n font-size: 15px;\n font-weight: 650;\n text-shadow:\n 0 1px 0 rgba(255, 255, 255, 0.2),\n 0 8px 18px rgba(255, 255, 255, 0.12);\n }\n .pointer {\n position: absolute;\n top: 395px;\n left: 778px;\n z-index: 4;\n width: 34px;\n height: 44px;\n border-radius: 2px;\n background: #fff;\n clip-path: polygon(0 0, 0 100%, 31% 73%, 47% 100%, 62% 93%, 46% 67%, 82% 67%);\n filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));\n }\n .click-ring {\n position: absolute;\n top: 390px;\n left: 770px;\n z-index: 3;\n width: 46px;\n height: 46px;\n border: 2px solid rgba(255, 255, 255, 0.75);\n border-radius: 50%;\n opacity: 0;\n }\n .menu-text {\n width: 390px;\n height: 506px;\n display: flex;\n flex-direction: column;\n padding: 18px 0;\n background: transparent;\n border-radius: 30px;\n box-shadow: none;\n overflow: hidden;\n }\n #text-menu {\n top: 270px;\n left: 1980px;\n }\n\n .menu-highlight {\n position: absolute;\n top: 17px;\n left: 14px;\n z-index: 0;\n width: 362px;\n height: 52px;\n border-radius: 17px;\n background:\n radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.48), transparent 42%),\n linear-gradient(90deg, rgba(255, 255, 255, 0.29), rgba(255, 255, 255, 0.12));\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.38),\n inset 0 -1px 0 rgba(255, 255, 255, 0.1);\n opacity: 0;\n }\n .menu-item {\n position: relative;\n z-index: 1;\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 14px 28px;\n font-size: 18px;\n font-weight: 650;\n color: rgb(0, 7, 14);\n cursor: default;\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);\n }\n .menu-item svg {\n width: 22px;\n height: 22px;\n flex-shrink: 0;\n stroke: rgb(0, 7, 14);\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n }\n .menu-sep {\n height: 1px;\n margin: 10px 28px;\n background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);\n }\n .menu-footer {\n position: relative;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 14px 26px;\n margin-top: auto;\n }\n .menu-footer-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n font-size: 13px;\n font-weight: 650;\n color: rgba(0, 7, 14, 0.9);\n text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);\n }\n .menu-footer-item svg {\n width: 24px;\n height: 24px;\n stroke: rgba(0, 7, 14, 0.84);\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n }\n .menu-kbd {\n margin-left: auto;\n font-size: 14px;\n font-weight: 650;\n color: rgba(0, 7, 14, 0.82);\n font-variant-numeric: tabular-nums;\n }\n .submenu-preview {\n position: absolute;\n top: 456px;\n left: 1980px;\n z-index: 2;\n width: 230px;\n height: 58px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 20px;\n background: transparent;\n box-shadow: none;\n color: rgba(0, 7, 14, 0.92);\n font-size: 15px;\n font-weight: 760;\n opacity: 0;\n }\n </style>\n </head>\n <body>\n <div\n id=\"root\"\n data-composition-id=\"liquid-glass-context-menu\"\n data-width=\"1920\"\n data-height=\"1080\"\n data-start=\"0\"\n data-duration=\"8\"\n data-root=\"true\"\n >\n <canvas id=\"three-canvas\" width=\"1920\" height=\"1080\"></canvas>\n\n <canvas id=\"glass-canvas\" layoutsubtree width=\"1920\" height=\"1080\">\n <div id=\"glass-file\" class=\"file-panel liquid-glass\"></div>\n <div id=\"glass-menu\" class=\"menu-panel liquid-glass\"></div>\n <div id=\"glass-submenu\" class=\"submenu-panel liquid-glass\"></div>\n </canvas>\n\n <div id=\"context-file\" class=\"context-file\">\n <div class=\"file-icon\"></div>\n <div class=\"file-meta\">\n <div class=\"file-title\">liquid-glass.mov</div>\n <div class=\"file-subtitle\">Preview render - 08s</div>\n </div>\n </div>\n <div id=\"click-ring\" class=\"click-ring\"></div>\n <div id=\"pointer\" class=\"pointer\"></div>\n\n <div id=\"text-menu\" class=\"text-overlay menu-text\">\n <div id=\"menu-highlight\" class=\"menu-highlight\"></div>\n <div class=\"menu-item\">\n <svg viewBox=\"0 0 24 24\">\n <path d=\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\" />\n <polyline points=\"16 6 12 2 8 6\" />\n <line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"15\" />\n </svg>\n <span>Share</span>\n </div>\n <div class=\"menu-item\">\n <svg viewBox=\"0 0 24 24\">\n <path d=\"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z\" />\n </svg>\n <span>Add to Bookmarks</span>\n </div>\n <div class=\"menu-item\">\n <svg viewBox=\"0 0 24 24\"><path d=\"M12 5v14M5 12h14\" /></svg>\n <span>Add Bookmark to...</span>\n </div>\n <div class=\"menu-sep\"></div>\n <div class=\"menu-item\">\n <svg viewBox=\"0 0 24 24\">\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\" />\n <line x1=\"9\" y1=\"3\" x2=\"9\" y2=\"21\" />\n </svg>\n <span>New Tab</span>\n <span class=\"menu-kbd\">&#8984;T</span>\n </div>\n <div class=\"menu-item\">\n <svg viewBox=\"0 0 24 24\">\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\" />\n <path d=\"M9 3v18\" />\n <path d=\"M14 9l3 3-3 3\" />\n </svg>\n <span>New Private Tab</span>\n <span class=\"menu-kbd\">&#8679;&#8984;N</span>\n </div>\n <div class=\"menu-sep\"></div>\n <div class=\"menu-footer\">\n <div class=\"menu-footer-item\">\n <svg viewBox=\"0 0 24 24\">\n <path d=\"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z\" />\n </svg>\n <span>Bookmarks</span>\n </div>\n <div class=\"menu-footer-item\">\n <svg viewBox=\"0 0 24 24\">\n <rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" />\n <rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" />\n <rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" />\n <rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />\n </svg>\n <span>All Tabs</span>\n </div>\n </div>\n </div>\n <div id=\"submenu-preview\" class=\"submenu-preview\">Open in New Tab</div>\n\n <div\n id=\"driver\"\n class=\"clip\"\n data-start=\"0\"\n data-duration=\"8\"\n data-track-index=\"0\"\n style=\"position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none\"\n ></div>\n </div>\n\n <script>\n var W = 1920,\n H = 1080,\n DURATION = 8;\n\n /* ── Three.js Aurora Shader ─────────────────────────────────────── */\n var vs = \"varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }\";\n var fs = [\n \"precision highp float;\",\n \"varying vec2 vUv;\",\n \"uniform float uTime;\",\n \"vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}\",\n \"vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}\",\n \"vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}\",\n \"vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}\",\n \"float snoise(vec3 v){\",\n \" const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);\",\n \" vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);\",\n \" vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;\",\n \" vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);\",\n \" vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;\",\n \" i=mod289(i);\",\n \" vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));\",\n \" float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;\",\n \" vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);\",\n \" vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);\",\n \" vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);\",\n \" vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;\",\n \" vec4 sh=-step(h,vec4(0.0));\",\n \" vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;\",\n \" vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);\",\n \" vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));\",\n \" p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;\",\n \" vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;\",\n \" return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));\",\n \"}\",\n \"void main(){\",\n \" vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;\",\n \" float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;\",\n \" vec2 wp=p+vec2(wx,wy);\",\n \" vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));\",\n \" float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));\",\n \" float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);\",\n \" float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);\",\n \" float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);\",\n \" float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;\",\n \" float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;\",\n \" float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;\",\n \" vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);\",\n \" float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);\",\n \" vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);\",\n \" float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);\",\n \" vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);\",\n \" float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);\",\n \" vec3 col=base;\",\n \" col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));\",\n \" col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));\",\n \" col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));\",\n \" float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;\",\n \" col+=edgeGlow*mix(warm,cool,uv.x)*0.8;\",\n \" col*=1.0-pow(abs(ridge1),4.0)*0.15;\",\n \" float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));\",\n \" col*=0.65+vig*0.5;\",\n \" float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);\",\n \" col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));\",\n \" gl_FragColor=vec4(col,1.0);\",\n \"}\",\n ].join(\"\\n\");\n\n /* ── Three.js Setup ─────────────────────────────────────────────── */\n var threeCanvas = document.getElementById(\"three-canvas\");\n var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });\n renderer.setSize(W, H, false);\n renderer.setPixelRatio(1);\n\n var scene = new THREE.Scene();\n var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);\n var uniforms = { uTime: { value: 0 } };\n var mat = new THREE.ShaderMaterial({\n vertexShader: vs,\n fragmentShader: fs,\n uniforms: uniforms,\n });\n var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), mat);\n scene.add(quad);\n\n /* ── Glass Canvas ───────────────────────────────────────────────── */\n var glassCanvas = document.getElementById(\"glass-canvas\");\n var ctx = glassCanvas.getContext(\"2d\");\n var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);\n var lgReady = false;\n\n function renderGlass(time) {\n if (!lgReady) return;\n uniforms.uTime.value = time;\n renderer.render(scene, camera);\n ctx.clearRect(0, 0, W, H);\n ctx.drawImage(threeCanvas, 0, 0, W, H);\n lg.renderGlassElements();\n }\n\n function requestGlassRender(time) {\n if (glassCanvas.requestPaint) {\n glassCanvas.onpaint = function () {\n renderGlass(time);\n };\n glassCanvas.requestPaint();\n return;\n }\n renderGlass(time);\n }\n\n lg.waitForInit().then(function (ok) {\n if (!ok) return;\n lgReady = true;\n requestGlassRender(0);\n });\n\n /* ── GSAP Timeline ──────────────────────────────────────────────── */\n window.__timelines = window.__timelines || {};\n var tl = gsap.timeline({ paused: true });\n\n var gm = document.getElementById(\"glass-menu\");\n var gf = document.getElementById(\"glass-file\");\n var gsm = document.getElementById(\"glass-submenu\");\n var tm = document.getElementById(\"text-menu\");\n var pointer = document.getElementById(\"pointer\");\n var fileCard = document.getElementById(\"context-file\");\n\n gsap.set([gm, tm], {\n left: 860,\n top: 270,\n opacity: 0,\n scale: 0.82,\n y: -8,\n transformOrigin: \"0% 18%\",\n });\n // glass (#glass-file) is html-in-canvas — stays on left/top (exempt, no stutter)\n gsap.set(gf, { top: 372, opacity: 1, scale: 1, transformOrigin: \"78% 54%\" });\n // plain DOM (#context-file) — CSS resting top is 340px, so top:372 becomes y:32\n gsap.set(fileCard, { y: 32, opacity: 1, scale: 1, transformOrigin: \"78% 54%\" });\n gsap.set([gsm, \"#submenu-preview\"], {\n left: 1980,\n opacity: 0,\n scale: 0.86,\n x: -12,\n transformOrigin: \"0% 50%\",\n });\n gsap.set(\".menu-item\", { y: -4, opacity: 0 });\n // #menu-highlight plain DOM — CSS resting top:17; top:17 seed is y:0, tweens use y\n gsap.set(\"#menu-highlight\", { y: 0, opacity: 0 });\n\n tl.to(gf, { top: 340, duration: 0.38, ease: \"power3.out\" }, 0.1);\n tl.to(fileCard, { y: 0, duration: 0.38, ease: \"power3.out\" }, 0.1);\n // #pointer plain DOM — CSS resting left:778 top:395; convert left/top → x/y offsets\n tl.fromTo(\n pointer,\n { x: -158, y: 125 },\n { x: 0, y: 0, duration: 0.55, ease: \"power3.out\" },\n 0.35,\n );\n tl.set(\"#click-ring\", { left: 756, top: 372, scale: 0.72 }, 0.84);\n tl.to(\"#click-ring\", { opacity: 0.7, scale: 1.18, duration: 0.16, ease: \"power2.out\" }, 0.86);\n tl.to(\"#click-ring\", { opacity: 0, scale: 1.8, duration: 0.28, ease: \"power2.out\" }, 1.02);\n tl.to(\n [gf, fileCard],\n { scale: 0.985, duration: 0.08, ease: \"power2.out\", yoyo: true, repeat: 1 },\n 0.86,\n );\n\n tl.to([gm, tm], { opacity: 1, scale: 1, y: 0, duration: 0.36, ease: \"back.out(1.08)\" }, 0.98);\n tl.to(\n \".menu-item\",\n { y: 0, opacity: 1, duration: 0.24, ease: \"power3.out\", stagger: 0.026 },\n 1.07,\n );\n\n tl.to(\"#menu-highlight\", { opacity: 1, duration: 0.12, ease: \"none\" }, 1.35);\n tl.to(\"#menu-highlight\", { y: 52, duration: 0.22, ease: \"power2.out\" }, 2.0);\n tl.to(pointer, { x: 350, y: 73, duration: 0.46, ease: \"power3.inOut\" }, 2.48);\n tl.to(\"#menu-highlight\", { y: 170, duration: 0.22, ease: \"power2.out\" }, 2.58);\n tl.set([gsm, \"#submenu-preview\"], { left: 1236 }, 3.04);\n tl.fromTo(\n [gsm, \"#submenu-preview\"],\n { scale: 0.86, opacity: 0, x: -12 },\n { scale: 1, opacity: 1, x: 0, duration: 0.24, ease: \"back.out(1.04)\" },\n 3.08,\n );\n tl.to(pointer, { x: 540, y: 89, duration: 0.5, ease: \"power3.inOut\" }, 3.32);\n tl.set(\"#click-ring\", { left: 1295, top: 461, scale: 0.72 }, 3.86);\n tl.to(\n \"#click-ring\",\n { opacity: 0.72, scale: 1.08, duration: 0.12, ease: \"power2.out\" },\n 3.88,\n );\n tl.to(\"#click-ring\", { opacity: 0, scale: 1.58, duration: 0.24, ease: \"power2.out\" }, 4.0);\n tl.to(\n [gsm, \"#submenu-preview\"],\n { scale: 0.965, duration: 0.09, ease: \"power2.out\", yoyo: true, repeat: 1 },\n 3.92,\n );\n\n tl.to(pointer, { opacity: 0, duration: 0.35, ease: \"power2.out\" }, 5.85);\n\n /* Duration driver */\n tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: \"none\" }, 0);\n\n tl.eventCallback(\"onUpdate\", function () {\n requestGlassRender(tl.time());\n });\n\n window.__timelines[\"liquid-glass-context-menu\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/blocks/liquid-glass-media-controls.json b/docs/public/catalog/blocks/liquid-glass-media-controls.json
deleted file mode 100644
index 15fd5a75a2..0000000000
--- a/docs/public/catalog/blocks/liquid-glass-media-controls.json
+++ /dev/null
@@ -1 +0,0 @@
-{"html":"<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=1920, height=1080\" />\n <title>Liquid Glass Media Controls</title>\n <script src=\"https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js\"></script>\n <script\n src=\"https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js\"\n integrity=\"sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu\"\n crossorigin=\"anonymous\"\n ></script>\n <script src=\"data:text/javascript;base64,dmFyIExpcXVpZEdsYXNzID0gKCgpID0+IHsKICB2YXIgRSA9IE9iamVjdC5kZWZpbmVQcm9wZXJ0eTsKICB2YXIgRCA9IE9iamVjdC5nZXRPd25Qcm9wZXJ0eURlc2NyaXB0b3I7CiAgdmFyIHogPSBPYmplY3QuZ2V0T3duUHJvcGVydHlOYW1lczsKICB2YXIgTiA9IE9iamVjdC5wcm90b3R5cGUuaGFzT3duUHJvcGVydHk7CiAgdmFyIE8gPSAobSwgZSkgPT4gewogICAgICBmb3IgKHZhciB0IGluIGUpIEUobSwgdCwgeyBnZXQ6IGVbdF0sIGVudW1lcmFibGU6ICEwIH0pOwogICAgfSwKICAgIEggPSAobSwgZSwgdCwgcikgPT4gewogICAgICBpZiAoKGUgJiYgdHlwZW9mIGUgPT0gIm9iamVjdCIpIHx8IHR5cGVvZiBlID09ICJmdW5jdGlvbiIpCiAgICAgICAgZm9yIChsZXQgbiBvZiB6KGUpKQogICAgICAgICAgIU4uY2FsbChtLCBuKSAmJgogICAgICAgICAgICBuICE9PSB0ICYmCiAgICAgICAgICAgIEUobSwgbiwgeyBnZXQ6ICgpID0+IGVbbl0sIGVudW1lcmFibGU6ICEociA9IEQoZSwgbikpIHx8IHIuZW51bWVyYWJsZSB9KTsKICAgICAgcmV0dXJuIG07CiAgICB9OwogIHZhciBJID0gKG0pID0+IEgoRSh7fSwgIl9fZXNNb2R1bGUiLCB7IHZhbHVlOiAhMCB9KSwgbSk7CiAgdmFyIFkgPSB7fTsKICBPKFksIHsKICAgIENTU19QUk9QRVJUWV9NQVA6ICgpID0+IF8sCiAgICBERUZBVUxUUzogKCkgPT4gdywKICAgIEdsYXNzUmVuZGVyZXJHUFU6ICgpID0+IHksCiAgICBMaXF1aWRHbGFzc0NhbnZhczogKCkgPT4gUiwKICB9KTsKICB2YXIgdyA9IHsKICAgICAgYmx1ckFtb3VudDogMCwKICAgICAgcmVmcmFjdGlvbjogMC42OSwKICAgICAgY2hyb21BYmVycmF0aW9uOiAwLjA1LAogICAgICBlZGdlSGlnaGxpZ2h0OiAwLjA1LAogICAgICBzcGVjdWxhcjogMCwKICAgICAgZnJlc25lbDogMSwKICAgICAgZGlzdG9ydGlvbjogMCwKICAgICAgY29ybmVyUmFkaXVzOiA2NSwKICAgICAgelJhZGl1czogNDAsCiAgICAgIG9wYWNpdHk6IDEsCiAgICAgIHNhdHVyYXRpb246IDAsCiAgICAgIHRpbnRTdHJlbmd0aDogMCwKICAgICAgYnJpZ2h0bmVzczogMCwKICAgICAgc2hhZG93T3BhY2l0eTogMC4zLAogICAgICBzaGFkb3dTcHJlYWQ6IDEwLAogICAgICBzaGFkb3dPZmZzZXRZOiAxLAogICAgICBiZXZlbE1vZGU6IDAsCiAgICB9LAogICAgXyA9IHsKICAgICAgIi0tbGctYmx1ciI6ICJibHVyQW1vdW50IiwKICAgICAgIi0tbGctcmVmcmFjdGlvbiI6ICJyZWZyYWN0aW9uIiwKICAgICAgIi0tbGctY2hyb20tYWJlcnJhdGlvbiI6ICJjaHJvbUFiZXJyYXRpb24iLAogICAgICAiLS1sZy1lZGdlLWhpZ2hsaWdodCI6ICJlZGdlSGlnaGxpZ2h0IiwKICAgICAgIi0tbGctc3BlY3VsYXIiOiAic3BlY3VsYXIiLAogICAgICAiLS1sZy1mcmVzbmVsIjogImZyZXNuZWwiLAogICAgICAiLS1sZy1kaXN0b3J0aW9uIjogImRpc3RvcnRpb24iLAogICAgICAiLS1sZy1jb3JuZXItcmFkaXVzIjogImNvcm5lclJhZGl1cyIsCiAgICAgICItLWxnLXotcmFkaXVzIjogInpSYWRpdXMiLAogICAgICAiLS1sZy1vcGFjaXR5IjogIm9wYWNpdHkiLAogICAgICAiLS1sZy1zYXR1cmF0aW9uIjogInNhdHVyYXRpb24iLAogICAgICAiLS1sZy10aW50IjogInRpbnRTdHJlbmd0aCIsCiAgICAgICItLWxnLWJyaWdodG5lc3MiOiAiYnJpZ2h0bmVzcyIsCiAgICAgICItLWxnLXNoYWRvdy1vcGFjaXR5IjogInNoYWRvd09wYWNpdHkiLAogICAgICAiLS1sZy1zaGFkb3ctc3ByZWFkIjogInNoYWRvd1NwcmVhZCIsCiAgICAgICItLWxnLXNoYWRvdy1vZmZzZXQteSI6ICJzaGFkb3dPZmZzZXRZIiwKICAgICAgIi0tbGctYmV2ZWwtbW9kZSI6ICJiZXZlbE1vZGUiLAogICAgfSwKICAgIEwgPSA2LAogICAgVCA9IDIwOwogIHZhciBxID0gYC8vIEJsaXQgc2hhZGVyIC0gY29weSB0ZXh0dXJlIHdpdGggVVYgdHJhbnNmb3JtCgpzdHJ1Y3QgQmxpdFVuaWZvcm1zIHsKICBzY2FsZTogdmVjMmYsCiAgb2Zmc2V0OiB2ZWMyZiwKfQoKQGdyb3VwKDApIEBiaW5kaW5nKDApIHZhcjx1bmlmb3JtPiB1OiBCbGl0VW5pZm9ybXM7CkBncm91cCgwKSBAYmluZGluZygxKSB2YXIgdGV4U2FtcGxlcjogc2FtcGxlcjsKQGdyb3VwKDApIEBiaW5kaW5nKDIpIHZhciB0ZXg6IHRleHR1cmVfMmQ8ZjMyPjsKCnN0cnVjdCBWZXJ0ZXhPdXRwdXQgewogIEBidWlsdGluKHBvc2l0aW9uKSBwb3NpdGlvbjogdmVjNGYsCiAgQGxvY2F0aW9uKDApIHV2OiB2ZWMyZiwKfQoKQHZlcnRleApmbiB2ZXJ0ZXhNYWluKEBsb2NhdGlvbigwKSBwb3M6IHZlYzJmKSAtPiBWZXJ0ZXhPdXRwdXQgewogIHZhciBvdXQ6IFZlcnRleE91dHB1dDsKICBvdXQudXYgPSBwb3MgKiAwLjUgKyAwLjU7CiAgb3V0LnBvc2l0aW9uID0gdmVjNGYocG9zLCAwLjAsIDEuMCk7CiAgcmV0dXJuIG91dDsKfQoKQGZyYWdtZW50CmZuIGZyYWdtZW50TWFpbihpbjogVmVydGV4T3V0cHV0KSAtPiBAbG9jYXRpb24oMCkgdmVjNGYgewogIHJldHVybiB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgKiB1LnNjYWxlICsgdS5vZmZzZXQpOwp9CmAsCiAgICBrID0gYC8vIEJsdXIgc2hhZGVyIC0gOS10YXAgR2F1c3NpYW4gYmx1ciAoc2luZ2xlIGRpcmVjdGlvbikKCnN0cnVjdCBCbHVyVW5pZm9ybXMgewogIGRpcjogdmVjMmYsCiAgX3BhZDogdmVjMmYsCn0KCkBncm91cCgwKSBAYmluZGluZygwKSB2YXI8dW5pZm9ybT4gdTogQmx1clVuaWZvcm1zOwpAZ3JvdXAoMCkgQGJpbmRpbmcoMSkgdmFyIHRleFNhbXBsZXI6IHNhbXBsZXI7CkBncm91cCgwKSBAYmluZGluZygyKSB2YXIgdGV4OiB0ZXh0dXJlXzJkPGYzMj47CgpzdHJ1Y3QgVmVydGV4T3V0cHV0IHsKICBAYnVpbHRpbihwb3NpdGlvbikgcG9zaXRpb246IHZlYzRmLAogIEBsb2NhdGlvbigwKSB1djogdmVjMmYsCn0KCkB2ZXJ0ZXgKZm4gdmVydGV4TWFpbihAbG9jYXRpb24oMCkgcG9zOiB2ZWMyZikgLT4gVmVydGV4T3V0cHV0IHsKICB2YXIgb3V0OiBWZXJ0ZXhPdXRwdXQ7CiAgb3V0LnV2ID0gcG9zICogMC41ICsgMC41OwogIG91dC5wb3NpdGlvbiA9IHZlYzRmKHBvcywgMC4wLCAxLjApOwogIHJldHVybiBvdXQ7Cn0KCkBmcmFnbWVudApmbiBmcmFnbWVudE1haW4oaW46IFZlcnRleE91dHB1dCkgLT4gQGxvY2F0aW9uKDApIHZlYzRmIHsKICB2YXIgcyA9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51dikgKiAwLjIyNzAyNzsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diArIHUuZGlyICogMS4wKSAqIDAuMTk0NTk0OwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2IC0gdS5kaXIgKiAxLjApICogMC4xOTQ1OTQ7CiAgcyArPSB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgKyB1LmRpciAqIDIuMCkgKiAwLjEyMTYyMjsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diAtIHUuZGlyICogMi4wKSAqIDAuMTIxNjIyOwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2ICsgdS5kaXIgKiAzLjApICogMC4wNTQwNTQ7CiAgcyArPSB0ZXh0dXJlU2FtcGxlKHRleCwgdGV4U2FtcGxlciwgaW4udXYgLSB1LmRpciAqIDMuMCkgKiAwLjA1NDA1NDsKICBzICs9IHRleHR1cmVTYW1wbGUodGV4LCB0ZXhTYW1wbGVyLCBpbi51diArIHUuZGlyICogNC4wKSAqIDAuMDE2MjE2OwogIHMgKz0gdGV4dHVyZVNhbXBsZSh0ZXgsIHRleFNhbXBsZXIsIGluLnV2IC0gdS5kaXIgKiA0LjApICogMC4wMTYyMTY7CiAgcmV0dXJuIHM7Cn0KYCwKICAgIFcgPSBgLy8gR2xhc3Mgc2hhZGVyIC0gdGhlIGNvcmUgbGlxdWlkIGdsYXNzIGVmZmVjdAoKc3RydWN0IEdsYXNzVW5pZm9ybXMgewogIGNlbnRlcjogdmVjMmYsCiAgc2l6ZTogdmVjMmYsCiAgcmVzOiB2ZWMyZiwKICByYWRpdXM6IGYzMiwKICBwYWQ6IGYzMiwKICByZWZyYWN0OiBmMzIsCiAgY2hyb21hOiBmMzIsCiAgZWRnZUhMOiBmMzIsCiAgc3BlYzogZjMyLAogIGZyZXNuZWw6IGYzMiwKICBkaXN0b3J0OiBmMzIsCiAgYWxwaGE6IGYzMiwKICBzYXQ6IGYzMiwKICB0aW50OiBmMzIsCiAgelJhZGl1czogZjMyLAogIGJyaWdodG5lc3M6IGYzMiwKICBzaGFkb3dBbHBoYTogZjMyLAogIHNoYWRvd1NwcmVhZDogZjMyLAogIHNoYWRvd09mZlk6IGYzMiwKICBiZXZlbE1vZGU6IGYzMiwKICBfcGFkOiB2ZWMyZiwKfQoKQGdyb3VwKDApIEBiaW5kaW5nKDApIHZhcjx1bmlmb3JtPiB1OiBHbGFzc1VuaWZvcm1zOwpAZ3JvdXAoMCkgQGJpbmRpbmcoMSkgdmFyIHRleFNhbXBsZXI6IHNhbXBsZXI7CkBncm91cCgwKSBAYmluZGluZygyKSB2YXIgYmdUZXg6IHRleHR1cmVfMmQ8ZjMyPjsKQGdyb3VwKDApIEBiaW5kaW5nKDMpIHZhciBibHVyVGV4OiB0ZXh0dXJlXzJkPGYzMj47CgpzdHJ1Y3QgVmVydGV4T3V0cHV0IHsKICBAYnVpbHRpbihwb3NpdGlvbikgcG9zaXRpb246IHZlYzRmLAogIEBsb2NhdGlvbigwKSBsb2NhbFB4OiB2ZWMyZiwKICBAbG9jYXRpb24oMSkgc2NyZWVuVVY6IHZlYzJmLAp9CgpAdmVydGV4CmZuIHZlcnRleE1haW4oQGxvY2F0aW9uKDApIHBvczogdmVjMmYpIC0+IFZlcnRleE91dHB1dCB7CiAgdmFyIG91dDogVmVydGV4T3V0cHV0OwogIGxldCB0b3RhbCA9IHUuc2l6ZSArIHZlYzJmKHUucGFkICogMi4wKTsKICBvdXQubG9jYWxQeCA9IHBvcyAqIHRvdGFsOwogIGxldCBweCA9IHUuY2VudGVyICsgcG9zICogdG90YWw7CiAgb3V0LnNjcmVlblVWID0gdmVjMmYocHgueCAvIHUucmVzLngsIDEuMCAtIHB4LnkgLyB1LnJlcy55KTsKICB2YXIgbmRjID0gKHB4IC8gdS5yZXMpICogMi4wIC0gMS4wOwogIG5kYy55ID0gLW5kYy55OwogIG91dC5wb3NpdGlvbiA9IHZlYzRmKG5kYywgMC4wLCAxLjApOwogIHJldHVybiBvdXQ7Cn0KCi8vIFJvdW5kZWQtcmVjdCBzaWduZWQgZGlzdGFuY2UKZm4gcnJTREYocDogdmVjMmYsIGI6IHZlYzJmLCByOiBmMzIpIC0+IGYzMiB7CiAgbGV0IHEgPSBhYnMocCkgLSBiICsgdmVjMmYocik7CiAgcmV0dXJuIG1pbihtYXgocS54LCBxLnkpLCAwLjApICsgbGVuZ3RoKG1heChxLCB2ZWMyZigwLjApKSkgLSByOwp9CgovLyBCZXZlbCBoZWlnaHQgZmllbGQKZm4gYmV2ZWxIZWlnaHQoZDogZjMyLCB6UjogZjMyKSAtPiBmMzIgewogIGlmIChkIDw9IDAuMCkgeyByZXR1cm4gMC4wOyB9CiAgaWYgKGQgPj0gelIpIHsgcmV0dXJuIHpSOyB9CiAgcmV0dXJuIHNxcnQoZCAqICgyLjAgKiB6UiAtIGQpKTsKfQoKZm4gaGFzaChwOiB2ZWMyZikgLT4gZjMyIHsKICByZXR1cm4gZnJhY3Qoc2luKGRvdChwLCB2ZWMyZigxMjcuMSwgMzExLjcpKSkgKiA0Mzc1OC41NDUzKTsKfQoKQGZyYWdtZW50CmZuIGZyYWdtZW50TWFpbihpbjogVmVydGV4T3V0cHV0KSAtPiBAbG9jYXRpb24oMCkgdmVjNGYgewogIGxldCBoYWxmXyA9IHUuc2l6ZSAqIDAuNTsKICBsZXQgciA9IG1pbih1LnJhZGl1cywgbWluKGhhbGZfLngsIGhhbGZfLnkpKTsKICBsZXQgc2RmID0gcnJTREYoaW4ubG9jYWxQeCwgaGFsZl8sIHIpOwoKICAvLyBBbnRpLWFsaWFzZWQgbWFzawogIGxldCBtYXNrID0gMS4wIC0gc21vb3Roc3RlcCgtMS41LCAwLjUsIHNkZik7CgogIGxldCBtYXhEID0gbWluKGhhbGZfLngsIGhhbGZfLnkpOwogIGxldCBpbnNpZGUgPSAtc2RmOwogIGxldCBlZGdlID0gc21vb3Roc3RlcChtYXhEICogMC4zNSwgMC4wLCBpbnNpZGUpOwoKICAvLyBTdXJmYWNlIG5vcm1hbCB2aWEgYmV2ZWwgaGVpZ2h0IGZpZWxkCiAgbGV0IHpSID0gdS56UmFkaXVzOwogIGxldCBlID0gMi4wOwogIGxldCBkQyA9IGluc2lkZTsKICBsZXQgZFIgPSAtcnJTREYoaW4ubG9jYWxQeCArIHZlYzJmKGUsIDAuMCksIGhhbGZfLCByKTsKICBsZXQgZEwgPSAtcnJTREYoaW4ubG9jYWxQeCAtIHZlYzJmKGUsIDAuMCksIGhhbGZfLCByKTsKICBsZXQgZFUgPSAtcnJTREYoaW4ubG9jYWxQeCArIHZlYzJmKDAuMCwgZSksIGhhbGZfLCByKTsKICBsZXQgZEQgPSAtcnJTREYoaW4ubG9jYWxQeCAtIHZlYzJmKDAuMCwgZSksIGhhbGZfLCByKTsKICBsZXQgaEMgPSBiZXZlbEhlaWdodChkQywgelIpOwogIGxldCBoUiA9IGJldmVsSGVpZ2h0KGRSLCB6Uik7CiAgbGV0IGhMID0gYmV2ZWxIZWlnaHQoZEwsIHpSKTsKICBsZXQgaFUgPSBiZXZlbEhlaWdodChkVSwgelIpOwogIGxldCBoRCA9IGJldmVsSGVpZ2h0KGRELCB6Uik7CiAgbGV0IGhHcmFkID0gdmVjMmYoaFIgLSBoTCwgaFUgLSBoRCkgLyAoMi4wICogZSk7CiAgbGV0IE4gPSBub3JtYWxpemUodmVjM2YoLWhHcmFkLCAxLjApKTsKCiAgbGV0IGRlcHRoID0gc21vb3Roc3RlcCgwLjAsIHpSLCBpbnNpZGUpOwoKICAvLyBSZWZyYWN0aW9uIC0gY29tcHV0ZSBib3RoIG1vZGVzIGFuZCBzZWxlY3QKICBsZXQgcHhUb1VWID0gdmVjMmYoMS4wLCAtMS4wKSAvIHUucmVzOwogIGxldCBpb3IgPSAxLjU7CiAgbGV0IHJlZnJQb3cgPSAxLjAgLSAxLjAgLyBpb3I7CiAgbGV0IHRoaWNrbmVzcyA9IGhDICogMi4wOwogIGxldCB0aGlja05vcm0gPSB0aGlja25lc3MgLyBtYXgoelIgKiAyLjAsIDEuMCk7CgogIC8vIEJpY29udmV4IG1vZGUKICBsZXQgZXhpdFJlZnIgPSBoR3JhZCAqIHJlZnJQb3c7CiAgbGV0IGVudHJ5UmVmciA9IGhHcmFkICogcmVmclBvdzsKICBsZXQgdGhyb3VnaFJlZnIgPSBlbnRyeVJlZnIgKiB0aGlja05vcm0gKiAwLjU7CiAgdmFyIHJlZnJQeEJpY29udmV4ID0gKGV4aXRSZWZyICsgZW50cnlSZWZyICsgdGhyb3VnaFJlZnIpICogdS5yZWZyYWN0ICogMzAuMDsKICBsZXQgY2VudGVyRGlyID0gLWluLmxvY2FsUHggLyBtYXgoaGFsZl8sIHZlYzJmKDEuMCkpOwogIHJlZnJQeEJpY29udmV4ICs9IGNlbnRlckRpciAqIHUucmVmcmFjdCAqIDQuMCAqIGRlcHRoOwoKICAvLyBEb21lIG1vZGUKICBsZXQgcmVmclB4RG9tZSA9IC1pbi5sb2NhbFB4ICogdS5yZWZyYWN0ICogZGVwdGggKiAwLjM1OwoKICAvLyBTZWxlY3QgYmFzZWQgb24gYmV2ZWwgbW9kZQogIGxldCByZWZyUHggPSBzZWxlY3QocmVmclB4Qmljb252ZXgsIHJlZnJQeERvbWUsIHUuYmV2ZWxNb2RlID49IDAuNSk7CiAgbGV0IHJlZnIgPSByZWZyUHggKiBweFRvVVY7CgogIC8vIE1pY3JvLWRpc3RvcnRpb24gbm9pc2UKICBsZXQgbnMgPSBpbi5sb2NhbFB4ICogMC4wODsKICBsZXQgYWJzUHhUb1VWID0gdmVjMmYoMS4wKSAvIHUucmVzOwogIGxldCBtaWNybyA9ICh2ZWMyZihoYXNoKG5zKSwgaGFzaChucyArIHZlYzJmKDM3LjApKSkgLSAwLjUpICogdS5kaXN0b3J0ICogNC4wICogYWJzUHhUb1VWOwoKICAvLyBDaHJvbWF0aWMgYWJlcnJhdGlvbgogIGxldCBjYVMgPSB1LmNocm9tYSAqIDE4LjAgKiAoZWRnZSAqIDAuNyArIDAuMykgKiAyLjA7CiAgbGV0IGNhRCA9IE4ueHkgKiBjYVMgKiBweFRvVVY7CiAgbGV0IGJhc2UgPSBpbi5zY3JlZW5VViArIHJlZnIgKyBtaWNybzsKCiAgLy8gU2FtcGxlIHRleHR1cmVzIChtdXN0IGJlIGluIHVuaWZvcm0gY29udHJvbCBmbG93KQogIGxldCBzaGFycFIgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlICsgY2FEKS5yOwogIGxldCBzaGFycEcgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlKS5nOwogIGxldCBzaGFycEIgPSB0ZXh0dXJlU2FtcGxlKGJnVGV4LCB0ZXhTYW1wbGVyLCBiYXNlIC0gY2FEKS5iOwogIGxldCBzaGFycCA9IHZlYzNmKHNoYXJwUiwgc2hhcnBHLCBzaGFycEIpOwoKICBsZXQgYmx1clIgPSB0ZXh0dXJlU2FtcGxlKGJsdXJUZXgsIHRleFNhbXBsZXIsIGJhc2UgKyBjYUQpLnI7CiAgbGV0IGJsdXJHID0gdGV4dHVyZVNhbXBsZShibHVyVGV4LCB0ZXhTYW1wbGVyLCBiYXNlKS5nOwogIGxldCBibHVyQiA9IHRleHR1cmVTYW1wbGUoYmx1clRleCwgdGV4U2FtcGxlciwgYmFzZSAtIGNhRCkuYjsKICBsZXQgYmx1ciA9IHZlYzNmKGJsdXJSLCBibHVyRywgYmx1ckIpOwoKICAvLyBFZGdlLXdlaWdodGVkIGJsdXIgbWl4CiAgbGV0IGVkZ2VNaXggPSAxLjAgLSBlZGdlICogMC4xNTsKICB2YXIgY29sID0gbWl4KHNoYXJwLCBibHVyLCBlZGdlTWl4KTsKCiAgLy8gQnJpZ2h0bmVzcwogIGNvbCAqPSAxLjAgKyB1LmJyaWdodG5lc3M7CgogIC8vIFNhdHVyYXRpb24KICBsZXQgbHVtID0gZG90KGNvbCwgdmVjM2YoMC4yOTksIDAuNTg3LCAwLjExNCkpOwogIGNvbCA9IG1peCh2ZWMzZihsdW0pLCBjb2wsIDEuMCArIHUuc2F0KTsKCiAgLy8gQ29vbCBnbGFzcyB0aW50CiAgY29sID0gbWl4KGNvbCwgY29sICogdmVjM2YoMC45MiwgMC45NSwgMS4wNSksIHUudGludCk7CiAgY29sICo9IDEuMCArIDAuMDYgKiBkZXB0aDsKCiAgLy8gRnJlc25lbAogIGxldCBmcmVzID0gcG93KDEuMCAtIGFicyhOLnopLCA0LjApICogdS5mcmVzbmVsOwoKICAvLyBTcGVjdWxhciBoaWdobGlnaHRzIChtdWx0aS1saWdodCBCbGlubi1QaG9uZykKICBsZXQgViA9IHZlYzNmKDAuMCwgMC4wLCAxLjApOwogIGxldCBMMSA9IG5vcm1hbGl6ZSh2ZWMzZigwLjQsIDAuNywgMS4wKSk7CiAgbGV0IEgxID0gbm9ybWFsaXplKEwxICsgVik7CiAgbGV0IHNwMSA9IHBvdyhtYXgoZG90KE4sIEgxKSwgMC4wKSwgOTAuMCk7CiAgbGV0IEwyID0gbm9ybWFsaXplKHZlYzNmKC0wLjMsIC0wLjUsIDEuMCkpOwogIGxldCBIMiA9IG5vcm1hbGl6ZShMMiArIFYpOwogIGxldCBzcDIgPSBwb3cobWF4KGRvdChOLCBIMiksIDAuMCksIDUwLjApICogMC4zOwogIGxldCBMMyA9IG5vcm1hbGl6ZSh2ZWMzZigwLjEsIDAuMywgMS4wKSk7CiAgbGV0IHNwQiA9IHBvdyhtYXgoZG90KE4sIEwzKSwgMC4wKSwgNi4wKSAqIDAuMTsKICBsZXQgTDQgPSBub3JtYWxpemUodmVjM2YoMC4wLCAwLjksIDAuNCkpOwogIGxldCBINCA9IG5vcm1hbGl6ZShMNCArIFYpOwogIGxldCBzcDQgPSBwb3cobWF4KGRvdChOLCBINCksIDAuMCksIDEyMC4wKSAqIDAuNjsKICBsZXQgdG90YWxTcGVjID0gKHNwMSArIHNwMiArIHNwQiArIHNwNCkgKiB1LnNwZWM7CgogIC8vIElubmVyIGJvcmRlciAvIHN0cm9rZSBoaWdobGlnaHQKICBsZXQgYm9yZGVyV2lkdGggPSAxLjU7CiAgbGV0IGlubmVyU3Ryb2tlID0gc21vb3Roc3RlcCgtYm9yZGVyV2lkdGggLSAxLjAsIC1ib3JkZXJXaWR0aCwgc2RmKQogICAgICAgICAgICAgICAgICAqICgxLjAgLSBzbW9vdGhzdGVwKC0xLjAsIDAuMCwgc2RmKSk7CiAgbGV0IHRvcEJpYXMgPSAwLjUgKyAwLjUgKiAoLWluLmxvY2FsUHgueSAvIGhhbGZfLnkpOwogIGxldCBpbm5lclN0cm9rZUZpbmFsID0gaW5uZXJTdHJva2UgKiAoMC40ICsgMC42ICogdG9wQmlhcyk7CgogIC8vIEVkZ2UgaGlnaGxpZ2h0ICYgaW5uZXIgZ2xvdwogIGxldCByaW0gPSBlZGdlICogdS5lZGdlSEwgKiAwLjIyOwogIGxldCBpbm5lckdsb3cgPSBzbW9vdGhzdGVwKDUuMCwgMC4wLCAtc2RmKSAqIHUuZWRnZUhMICogMC4xNTsKCiAgLy8gRW52aXJvbm1lbnQtbGlrZSByZWZsZWN0aW9uIChmYWtlKQogIGxldCBlbnZSZWZsID0gKE4ueSAqIDAuNSArIDAuNSkgKiBmcmVzICogMC4wODsKCiAgLy8gQ29tcG9zaXRlIGdsYXNzIGVmZmVjdAogIHZhciBmaW4gPSBjb2w7CiAgZmluICs9IHZlYzNmKHRvdGFsU3BlYyk7CiAgZmluICs9IHZlYzNmKHJpbSArIGlubmVyR2xvdyk7CiAgZmluICs9IHZlYzNmKGlubmVyU3Ryb2tlRmluYWwgKiB1LmVkZ2VITCAqIDAuNTUpOwogIGZpbiArPSB2ZWMzZihlbnZSZWZsKTsKICBmaW4gPSBtaXgoZmluLCB2ZWMzZigxLjApLCBmcmVzICogMC4yKTsKCiAgLy8gU2hhZG93IGNhbGN1bGF0aW9uIChvdXRzaWRlIHBhbmVsKQogIGxldCBzZGZTaGFkb3cgPSByclNERihpbi5sb2NhbFB4IC0gdmVjMmYoMC4wLCB1LnNoYWRvd09mZlkpLCBoYWxmXywgcik7CiAgbGV0IHNoYWRvd0QgPSBtYXgoc2RmU2hhZG93IC0gMS4wLCAwLjApOwogIGxldCBzcHJlYWQgPSBtYXgodS5zaGFkb3dTcHJlYWQsIDEuMCk7CiAgbGV0IGZhbGxvZmYgPSAxLjAgLyAoc3ByZWFkICogc3ByZWFkKTsKICBsZXQgb3V0ZXJTaGFkb3cgPSBleHAoLXNoYWRvd0QgKiBzaGFkb3dEICogZmFsbG9mZikgKiAwLjY1OwogIGxldCBjb250YWN0U2hhZG93ID0gZXhwKC1zaGFkb3dEICogMC4wOCAvIG1heChzcHJlYWQgKiAwLjA0LCAwLjAxKSkgKiAwLjM1OwogIGxldCBzaGFkb3cgPSAob3V0ZXJTaGFkb3cgKyBjb250YWN0U2hhZG93KSAqIHUuc2hhZG93QWxwaGE7CgogIC8vIFNlbGVjdCBiZXR3ZWVuIHNoYWRvdyAob3V0c2lkZSkgYW5kIGdsYXNzIChpbnNpZGUpCiAgbGV0IGlzT3V0c2lkZSA9IHNkZiA+IDAuMDsKICBsZXQgZmluYWxDb2xvciA9IHNlbGVjdChmaW4sIHZlYzNmKDAuMCksIGlzT3V0c2lkZSk7CiAgbGV0IGZpbmFsQWxwaGEgPSBzZWxlY3QobWFzayAqIHUuYWxwaGEsIHNoYWRvdywgaXNPdXRzaWRlKTsKCiAgcmV0dXJuIHZlYzRmKGZpbmFsQ29sb3IsIGZpbmFsQWxwaGEpOwp9CmAsCiAgICB5ID0gY2xhc3MgewogICAgICBjYW52YXM7CiAgICAgIGRldmljZSA9IG51bGw7CiAgICAgIGNvbnRleHQgPSBudWxsOwogICAgICBmb3JtYXQgPSAiYmdyYTh1bm9ybSI7CiAgICAgIGJsaXRQaXBlbGluZSA9IG51bGw7CiAgICAgIGJsdXJQaXBlbGluZSA9IG51bGw7CiAgICAgIGdsYXNzUGlwZWxpbmUgPSBudWxsOwogICAgICBxdWFkQnVmZmVyID0gbnVsbDsKICAgICAgcGFuZWxCdWZmZXIgPSBudWxsOwogICAgICBibGl0VW5pZm9ybUJ1ZmZlciA9IG51bGw7CiAgICAgIGJsdXJVbmlmb3JtQnVmZmVyID0gbnVsbDsKICAgICAgZ2xhc3NVbmlmb3JtQnVmZmVyID0gbnVsbDsKICAgICAgc2FtcGxlciA9IG51bGw7CiAgICAgIHRhcmdldENhY2hlID0gbmV3IE1hcCgpOwogICAgICBhY3RpdmVUYXJnZXRzID0gbnVsbDsKICAgICAgYmdUZXh0dXJlID0gbnVsbDsKICAgICAgYmdUZXh0dXJlVmlldyA9IG51bGw7CiAgICAgIHdpZHRoID0gMDsKICAgICAgaGVpZ2h0ID0gMDsKICAgICAgX2luaXRQcm9taXNlID0gbnVsbDsKICAgICAgX2luaXRpYWxpemVkID0gITE7CiAgICAgIGNvbnN0cnVjdG9yKCkgewogICAgICAgICgodGhpcy5jYW52YXMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJjYW52YXMiKSksCiAgICAgICAgICAodGhpcy5jYW52YXMuc3R5bGUuZGlzcGxheSA9ICJub25lIiksCiAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKHRoaXMuY2FudmFzKSk7CiAgICAgIH0KICAgICAgYXN5bmMgaW5pdCgpIHsKICAgICAgICByZXR1cm4gdGhpcy5faW5pdFByb21pc2UKICAgICAgICAgID8gdGhpcy5faW5pdFByb21pc2UKICAgICAgICAgIDogKCh0aGlzLl9pbml0UHJvbWlzZSA9IHRoaXMuX2RvSW5pdCgpKSwgdGhpcy5faW5pdFByb21pc2UpOwogICAgICB9CiAgICAgIGFzeW5jIF9kb0luaXQoKSB7CiAgICAgICAgaWYgKCFuYXZpZ2F0b3IuZ3B1KSByZXR1cm4gKGNvbnNvbGUud2FybigiV2ViR1BVIG5vdCBzdXBwb3J0ZWQiKSwgITEpOwogICAgICAgIGxldCBlID0gYXdhaXQgbmF2aWdhdG9yLmdwdS5yZXF1ZXN0QWRhcHRlcigpOwogICAgICAgIHJldHVybiBlCiAgICAgICAgICA/ICgodGhpcy5kZXZpY2UgPSBhd2FpdCBlLnJlcXVlc3REZXZpY2UoKSksCiAgICAgICAgICAgIHRoaXMuZGV2aWNlCiAgICAgICAgICAgICAgPyAoKHRoaXMuY29udGV4dCA9IHRoaXMuY2FudmFzLmdldENvbnRleHQoIndlYmdwdSIpKSwKICAgICAgICAgICAgICAgIHRoaXMuY29udGV4dAogICAgICAgICAgICAgICAgICA/ICgodGhpcy5mb3JtYXQgPSBuYXZpZ2F0b3IuZ3B1LmdldFByZWZlcnJlZENhbnZhc0Zvcm1hdCgpKSwKICAgICAgICAgICAgICAgICAgICB0aGlzLmNvbnRleHQuY29uZmlndXJlKHsKICAgICAgICAgICAgICAgICAgICAgIGRldmljZTogdGhpcy5kZXZpY2UsCiAgICAgICAgICAgICAgICAgICAgICBmb3JtYXQ6IHRoaXMuZm9ybWF0LAogICAgICAgICAgICAgICAgICAgICAgYWxwaGFNb2RlOiAicHJlbXVsdGlwbGllZCIsCiAgICAgICAgICAgICAgICAgICAgfSksCiAgICAgICAgICAgICAgICAgICAgdGhpcy5faW5pdFBpcGVsaW5lcygpLAogICAgICAgICAgICAgICAgICAgIHRoaXMuX2luaXRCdWZmZXJzKCksCiAgICAgICAgICAgICAgICAgICAgKHRoaXMuX2luaXRpYWxpemVkID0gITApLAogICAgICAgICAgICAgICAgICAgICEwKQogICAgICAgICAgICAgICAgICA6IChjb25zb2xlLndhcm4oIkZhaWxlZCB0byBnZXQgV2ViR1BVIGNvbnRleHQiKSwgITEpKQogICAgICAgICAgICAgIDogKGNvbnNvbGUud2FybigiRmFpbGVkIHRvIGdldCBXZWJHUFUgZGV2aWNlIiksICExKSkKICAgICAgICAgIDogKGNvbnNvbGUud2FybigiTm8gV2ViR1BVIGFkYXB0ZXIgZm91bmQiKSwgITEpOwogICAgICB9CiAgICAgIGdldCBpbml0aWFsaXplZCgpIHsKICAgICAgICByZXR1cm4gdGhpcy5faW5pdGlhbGl6ZWQ7CiAgICAgIH0KICAgICAgX2luaXRQaXBlbGluZXMoKSB7CiAgICAgICAgbGV0IGUgPSB0aGlzLmRldmljZTsKICAgICAgICB0aGlzLnNhbXBsZXIgPSBlLmNyZWF0ZVNhbXBsZXIoewogICAgICAgICAgbWFnRmlsdGVyOiAibGluZWFyIiwKICAgICAgICAgIG1pbkZpbHRlcjogImxpbmVhciIsCiAgICAgICAgICBhZGRyZXNzTW9kZVU6ICJjbGFtcC10by1lZGdlIiwKICAgICAgICAgIGFkZHJlc3NNb2RlVjogImNsYW1wLXRvLWVkZ2UiLAogICAgICAgIH0pOwogICAgICAgIGxldCB0ID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBxIH0pLAogICAgICAgICAgciA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICB0aGlzLmJsaXRQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW3JdIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogdCwKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsgbW9kdWxlOiB0LCBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwgdGFyZ2V0czogW3sgZm9ybWF0OiAicmdiYTh1bm9ybSIgfV0gfSwKICAgICAgICAgIHByaW1pdGl2ZTogeyB0b3BvbG9neTogInRyaWFuZ2xlLXN0cmlwIiB9LAogICAgICAgIH0pOwogICAgICAgIGxldCBuID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBrIH0pLAogICAgICAgICAgaSA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICB0aGlzLmJsdXJQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW2ldIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogbiwKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsgbW9kdWxlOiBuLCBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwgdGFyZ2V0czogW3sgZm9ybWF0OiAicmdiYTh1bm9ybSIgfV0gfSwKICAgICAgICAgIHByaW1pdGl2ZTogeyB0b3BvbG9neTogInRyaWFuZ2xlLXN0cmlwIiB9LAogICAgICAgIH0pOwogICAgICAgIGxldCBzID0gZS5jcmVhdGVTaGFkZXJNb2R1bGUoeyBjb2RlOiBXIH0pLAogICAgICAgICAgbCA9IGUuY3JlYXRlQmluZEdyb3VwTGF5b3V0KHsKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGJpbmRpbmc6IDAsCiAgICAgICAgICAgICAgICB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5WRVJURVggfCBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwKICAgICAgICAgICAgICAgIGJ1ZmZlcjogeyB0eXBlOiAidW5pZm9ybSIgfSwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHNhbXBsZXI6IHsgdHlwZTogImZpbHRlcmluZyIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgdmlzaWJpbGl0eTogR1BVU2hhZGVyU3RhZ2UuRlJBR01FTlQsIHRleHR1cmU6IHsgc2FtcGxlVHlwZTogImZsb2F0IiB9IH0sCiAgICAgICAgICAgICAgeyBiaW5kaW5nOiAzLCB2aXNpYmlsaXR5OiBHUFVTaGFkZXJTdGFnZS5GUkFHTUVOVCwgdGV4dHVyZTogeyBzYW1wbGVUeXBlOiAiZmxvYXQiIH0gfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pOwogICAgICAgIHRoaXMuZ2xhc3NQaXBlbGluZSA9IGUuY3JlYXRlUmVuZGVyUGlwZWxpbmUoewogICAgICAgICAgbGF5b3V0OiBlLmNyZWF0ZVBpcGVsaW5lTGF5b3V0KHsgYmluZEdyb3VwTGF5b3V0czogW2xdIH0pLAogICAgICAgICAgdmVydGV4OiB7CiAgICAgICAgICAgIG1vZHVsZTogcywKICAgICAgICAgICAgZW50cnlQb2ludDogInZlcnRleE1haW4iLAogICAgICAgICAgICBidWZmZXJzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgYXJyYXlTdHJpZGU6IDgsCiAgICAgICAgICAgICAgICBhdHRyaWJ1dGVzOiBbeyBzaGFkZXJMb2NhdGlvbjogMCwgb2Zmc2V0OiAwLCBmb3JtYXQ6ICJmbG9hdDMyeDIiIH1dLAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9LAogICAgICAgICAgZnJhZ21lbnQ6IHsKICAgICAgICAgICAgbW9kdWxlOiBzLAogICAgICAgICAgICBlbnRyeVBvaW50OiAiZnJhZ21lbnRNYWluIiwKICAgICAgICAgICAgdGFyZ2V0czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIGZvcm1hdDogdGhpcy5mb3JtYXQsCiAgICAgICAgICAgICAgICBibGVuZDogewogICAgICAgICAgICAgICAgICBjb2xvcjogewogICAgICAgICAgICAgICAgICAgIHNyY0ZhY3RvcjogInNyYy1hbHBoYSIsCiAgICAgICAgICAgICAgICAgICAgZHN0RmFjdG9yOiAib25lLW1pbnVzLXNyYy1hbHBoYSIsCiAgICAgICAgICAgICAgICAgICAgb3BlcmF0aW9uOiAiYWRkIiwKICAgICAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAgICAgYWxwaGE6IHsgc3JjRmFjdG9yOiAib25lIiwgZHN0RmFjdG9yOiAib25lLW1pbnVzLXNyYy1hbHBoYSIsIG9wZXJhdGlvbjogImFkZCIgfSwKICAgICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0sCiAgICAgICAgICBwcmltaXRpdmU6IHsgdG9wb2xvZ3k6ICJ0cmlhbmdsZS1zdHJpcCIgfSwKICAgICAgICB9KTsKICAgICAgfQogICAgICBfaW5pdEJ1ZmZlcnMoKSB7CiAgICAgICAgbGV0IGUgPSB0aGlzLmRldmljZTsKICAgICAgICAoKHRoaXMucXVhZEJ1ZmZlciA9IGUuY3JlYXRlQnVmZmVyKHsKICAgICAgICAgIHNpemU6IDMyLAogICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlZFUlRFWCwKICAgICAgICAgIG1hcHBlZEF0Q3JlYXRpb246ICEwLAogICAgICAgIH0pKSwKICAgICAgICAgIG5ldyBGbG9hdDMyQXJyYXkodGhpcy5xdWFkQnVmZmVyLmdldE1hcHBlZFJhbmdlKCkpLnNldChbLTEsIC0xLCAxLCAtMSwgLTEsIDEsIDEsIDFdKSwKICAgICAgICAgIHRoaXMucXVhZEJ1ZmZlci51bm1hcCgpLAogICAgICAgICAgKHRoaXMucGFuZWxCdWZmZXIgPSBlLmNyZWF0ZUJ1ZmZlcih7CiAgICAgICAgICAgIHNpemU6IDMyLAogICAgICAgICAgICB1c2FnZTogR1BVQnVmZmVyVXNhZ2UuVkVSVEVYLAogICAgICAgICAgICBtYXBwZWRBdENyZWF0aW9uOiAhMCwKICAgICAgICAgIH0pKSwKICAgICAgICAgIG5ldyBGbG9hdDMyQXJyYXkodGhpcy5wYW5lbEJ1ZmZlci5nZXRNYXBwZWRSYW5nZSgpKS5zZXQoWwogICAgICAgICAgICAtMC41LCAtMC41LCAwLjUsIC0wLjUsIC0wLjUsIDAuNSwgMC41LCAwLjUsCiAgICAgICAgICBdKSwKICAgICAgICAgIHRoaXMucGFuZWxCdWZmZXIudW5tYXAoKSwKICAgICAgICAgICh0aGlzLmJsaXRVbmlmb3JtQnVmZmVyID0gZS5jcmVhdGVCdWZmZXIoewogICAgICAgICAgICBzaXplOiAxNiwKICAgICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlVOSUZPUk0gfCBHUFVCdWZmZXJVc2FnZS5DT1BZX0RTVCwKICAgICAgICAgIH0pKSwKICAgICAgICAgICh0aGlzLmJsdXJVbmlmb3JtQnVmZmVyID0gZS5jcmVhdGVCdWZmZXIoewogICAgICAgICAgICBzaXplOiAxNiwKICAgICAgICAgICAgdXNhZ2U6IEdQVUJ1ZmZlclVzYWdlLlVOSUZPUk0gfCBHUFVCdWZmZXJVc2FnZS5DT1BZX0RTVCwKICAgICAgICAgIH0pKSwKICAgICAgICAgICh0aGlzLmdsYXNzVW5pZm9ybUJ1ZmZlciA9IGUuY3JlYXRlQnVmZmVyKHsKICAgICAgICAgICAgc2l6ZTogMTEyLAogICAgICAgICAgICB1c2FnZTogR1BVQnVmZmVyVXNhZ2UuVU5JRk9STSB8IEdQVUJ1ZmZlclVzYWdlLkNPUFlfRFNULAogICAgICAgICAgfSkpKTsKICAgICAgfQogICAgICByZXNpemUoZSwgdCkgewogICAgICAgIGlmICghKHRoaXMud2lkdGggPT09IGUgJiYgdGhpcy5oZWlnaHQgPT09IHQpKSB7CiAgICAgICAgICAoKHRoaXMud2lkdGggPSBlKSwgKHRoaXMuaGVpZ2h0ID0gdCkpOwogICAgICAgICAgZm9yIChsZXQgciBvZiB0aGlzLnRhcmdldENhY2hlLnZhbHVlcygpKSB0aGlzLl9mcmVlVGFyZ2V0U2V0KHIpOwogICAgICAgICAgKHRoaXMudGFyZ2V0Q2FjaGUuY2xlYXIoKSwgKHRoaXMuYWN0aXZlVGFyZ2V0cyA9IG51bGwpKTsKICAgICAgICB9CiAgICAgIH0KICAgICAgdXBsb2FkQW5kQmx1cihlLCB0LCByLCBuLCBpLCBzKSB7CiAgICAgICAgaWYgKCF0aGlzLl9pbml0aWFsaXplZCB8fCAhdGhpcy5kZXZpY2UgfHwgIXRoaXMuX3NldEFjdGl2ZVNpemUobiwgaSkpIHJldHVybjsKICAgICAgICBsZXQgbCA9IHRoaXMuZGV2aWNlLAogICAgICAgICAgYSA9IHRoaXMud2lkdGgsCiAgICAgICAgICB1ID0gdGhpcy5oZWlnaHQsCiAgICAgICAgICBvID0gdGhpcy5hY3RpdmVUYXJnZXRzLAogICAgICAgICAgZCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoImNhbnZhcyIpOwogICAgICAgICgoZC53aWR0aCA9IGEpLAogICAgICAgICAgKGQuaGVpZ2h0ID0gdSksCiAgICAgICAgICBkLmdldENvbnRleHQoIjJkIikuZHJhd0ltYWdlKGUsIC10LCAtciksCiAgICAgICAgICAoIXRoaXMuYmdUZXh0dXJlIHx8IHRoaXMuYmdUZXh0dXJlLndpZHRoICE9PSBhIHx8IHRoaXMuYmdUZXh0dXJlLmhlaWdodCAhPT0gdSkgJiYKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlICYmIHRoaXMuYmdUZXh0dXJlLmRlc3Ryb3koKSwKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlID0gbC5jcmVhdGVUZXh0dXJlKHsKICAgICAgICAgICAgICBzaXplOiBbYSwgdV0sCiAgICAgICAgICAgICAgZm9ybWF0OiAicmdiYTh1bm9ybSIsCiAgICAgICAgICAgICAgdXNhZ2U6CiAgICAgICAgICAgICAgICBHUFVUZXh0dXJlVXNhZ2UuVEVYVFVSRV9CSU5ESU5HIHwKICAgICAgICAgICAgICAgIEdQVVRleHR1cmVVc2FnZS5DT1BZX0RTVCB8CiAgICAgICAgICAgICAgICBHUFVUZXh0dXJlVXNhZ2UuUkVOREVSX0FUVEFDSE1FTlQsCiAgICAgICAgICAgIH0pKSwKICAgICAgICAgICAgKHRoaXMuYmdUZXh0dXJlVmlldyA9IHRoaXMuYmdUZXh0dXJlLmNyZWF0ZVZpZXcoKSkpLAogICAgICAgICAgbC5xdWV1ZS5jb3B5RXh0ZXJuYWxJbWFnZVRvVGV4dHVyZSgKICAgICAgICAgICAgeyBzb3VyY2U6IGQsIGZsaXBZOiAhMCB9LAogICAgICAgICAgICB7IHRleHR1cmU6IHRoaXMuYmdUZXh0dXJlIH0sCiAgICAgICAgICAgIFthLCB1XSwKICAgICAgICAgICkpOwogICAgICAgIGxldCBmID0gbC5jcmVhdGVDb21tYW5kRW5jb2RlcigpOwogICAgICAgIHRoaXMuX2JsaXRQYXNzKGYsIHRoaXMuYmdUZXh0dXJlVmlldywgby5iZy52aWV3LCBhLCB1LCAxLCAxLCAwLCAwKTsKICAgICAgICBsZXQgaCA9IG8uYmx1ckEudywKICAgICAgICAgIGIgPSBvLmJsdXJBLmg7CiAgICAgICAgaWYgKCh0aGlzLl9ibGl0UGFzcyhmLCBvLmJnLnZpZXcsIG8uYmx1ckEudmlldywgaCwgYiwgMSwgMSwgMCwgMCksIHMgPiAwKSkgewogICAgICAgICAgbGV0IGcgPSBzICogMi41OwogICAgICAgICAgZm9yIChsZXQgcCA9IDA7IHAgPCBMOyBwKyspCiAgICAgICAgICAgICh0aGlzLl9ibHVyUGFzcyhmLCBvLmJsdXJBLnZpZXcsIG8uYmx1ckIudmlldywgaCwgYiwgZyAvIGgsIDApLAogICAgICAgICAgICAgIHRoaXMuX2JsdXJQYXNzKGYsIG8uYmx1ckIudmlldywgby5ibHVyQS52aWV3LCBoLCBiLCAwLCBnIC8gYikpOwogICAgICAgIH0KICAgICAgICBsLnF1ZXVlLnN1Ym1pdChbZi5maW5pc2goKV0pOwogICAgICB9CiAgICAgIF9ibGl0UGFzcyhlLCB0LCByLCBuLCBpLCBzLCBsLCBhLCB1KSB7CiAgICAgICAgbGV0IG8gPSB0aGlzLmRldmljZTsKICAgICAgICBvLnF1ZXVlLndyaXRlQnVmZmVyKHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIsIDAsIG5ldyBGbG9hdDMyQXJyYXkoW3MsIGwsIGEsIHVdKSk7CiAgICAgICAgbGV0IGQgPSBvLmNyZWF0ZUJpbmRHcm91cCh7CiAgICAgICAgICAgIGxheW91dDogdGhpcy5ibGl0UGlwZWxpbmUuZ2V0QmluZEdyb3VwTGF5b3V0KDApLAogICAgICAgICAgICBlbnRyaWVzOiBbCiAgICAgICAgICAgICAgeyBiaW5kaW5nOiAwLCByZXNvdXJjZTogeyBidWZmZXI6IHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgcmVzb3VyY2U6IHRoaXMuc2FtcGxlciB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgcmVzb3VyY2U6IHQgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pLAogICAgICAgICAgYyA9IGUuYmVnaW5SZW5kZXJQYXNzKHsKICAgICAgICAgICAgY29sb3JBdHRhY2htZW50czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHZpZXc6IHIsCiAgICAgICAgICAgICAgICBsb2FkT3A6ICJjbGVhciIsCiAgICAgICAgICAgICAgICBzdG9yZU9wOiAic3RvcmUiLAogICAgICAgICAgICAgICAgY2xlYXJWYWx1ZTogeyByOiAwLCBnOiAwLCBiOiAwLCBhOiAwIH0sCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgXSwKICAgICAgICAgIH0pOwogICAgICAgIChjLnNldFBpcGVsaW5lKHRoaXMuYmxpdFBpcGVsaW5lKSwKICAgICAgICAgIGMuc2V0QmluZEdyb3VwKDAsIGQpLAogICAgICAgICAgYy5zZXRWZXJ0ZXhCdWZmZXIoMCwgdGhpcy5xdWFkQnVmZmVyKSwKICAgICAgICAgIGMuc2V0Vmlld3BvcnQoMCwgMCwgbiwgaSwgMCwgMSksCiAgICAgICAgICBjLmRyYXcoNCksCiAgICAgICAgICBjLmVuZCgpKTsKICAgICAgfQogICAgICBfYmx1clBhc3MoZSwgdCwgciwgbiwgaSwgcywgbCkgewogICAgICAgIGxldCBhID0gdGhpcy5kZXZpY2U7CiAgICAgICAgYS5xdWV1ZS53cml0ZUJ1ZmZlcih0aGlzLmJsdXJVbmlmb3JtQnVmZmVyLCAwLCBuZXcgRmxvYXQzMkFycmF5KFtzLCBsLCAwLCAwXSkpOwogICAgICAgIGxldCB1ID0gYS5jcmVhdGVCaW5kR3JvdXAoewogICAgICAgICAgICBsYXlvdXQ6IHRoaXMuYmx1clBpcGVsaW5lLmdldEJpbmRHcm91cExheW91dCgwKSwKICAgICAgICAgICAgZW50cmllczogWwogICAgICAgICAgICAgIHsgYmluZGluZzogMCwgcmVzb3VyY2U6IHsgYnVmZmVyOiB0aGlzLmJsdXJVbmlmb3JtQnVmZmVyIH0gfSwKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDEsIHJlc291cmNlOiB0aGlzLnNhbXBsZXIgfSwKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDIsIHJlc291cmNlOiB0IH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KSwKICAgICAgICAgIG8gPSBlLmJlZ2luUmVuZGVyUGFzcyh7CiAgICAgICAgICAgIGNvbG9yQXR0YWNobWVudHM6IFsKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICB2aWV3OiByLAogICAgICAgICAgICAgICAgbG9hZE9wOiAiY2xlYXIiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICAgIGNsZWFyVmFsdWU6IHsgcjogMCwgZzogMCwgYjogMCwgYTogMCB9LAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICAoby5zZXRQaXBlbGluZSh0aGlzLmJsdXJQaXBlbGluZSksCiAgICAgICAgICBvLnNldEJpbmRHcm91cCgwLCB1KSwKICAgICAgICAgIG8uc2V0VmVydGV4QnVmZmVyKDAsIHRoaXMucXVhZEJ1ZmZlciksCiAgICAgICAgICBvLnNldFZpZXdwb3J0KDAsIDAsIG4sIGksIDAsIDEpLAogICAgICAgICAgby5kcmF3KDQpLAogICAgICAgICAgby5lbmQoKSk7CiAgICAgIH0KICAgICAgcmVuZGVyR2xhc3NQYW5lbChlLCB0LCByLCBuKSB7CiAgICAgICAgaWYgKCF0aGlzLl9pbml0aWFsaXplZCB8fCAhdGhpcy5kZXZpY2UgfHwgIXRoaXMuY29udGV4dCkgcmV0dXJuOwogICAgICAgIGxldCBpID0gdGhpcy5kZXZpY2UsCiAgICAgICAgICBzID0gdGhpcy53aWR0aCwKICAgICAgICAgIGwgPSB0aGlzLmhlaWdodCwKICAgICAgICAgIGEgPSB0aGlzLmFjdGl2ZVRhcmdldHMsCiAgICAgICAgICB1ID0gbmV3IEZsb2F0MzJBcnJheShbCiAgICAgICAgICAgIHMgKiAwLjUsCiAgICAgICAgICAgIGwgKiAwLjUsCiAgICAgICAgICAgIHQgKiBuLAogICAgICAgICAgICByICogbiwKICAgICAgICAgICAgcywKICAgICAgICAgICAgbCwKICAgICAgICAgICAgZS5jb3JuZXJSYWRpdXMgKiBuLAogICAgICAgICAgICBUICogbiwKICAgICAgICAgICAgZS5yZWZyYWN0aW9uLAogICAgICAgICAgICBlLmNocm9tQWJlcnJhdGlvbiwKICAgICAgICAgICAgZS5lZGdlSGlnaGxpZ2h0LAogICAgICAgICAgICBlLnNwZWN1bGFyLAogICAgICAgICAgICBlLmZyZXNuZWwsCiAgICAgICAgICAgIGUuZGlzdG9ydGlvbiwKICAgICAgICAgICAgZS5vcGFjaXR5LAogICAgICAgICAgICBlLnNhdHVyYXRpb24sCiAgICAgICAgICAgIGUudGludFN0cmVuZ3RoLAogICAgICAgICAgICBlLnpSYWRpdXMgKiBuLAogICAgICAgICAgICBlLmJyaWdodG5lc3MsCiAgICAgICAgICAgIGUuc2hhZG93T3BhY2l0eSwKICAgICAgICAgICAgZS5zaGFkb3dTcHJlYWQgKiBuLAogICAgICAgICAgICBlLnNoYWRvd09mZnNldFkgKiBuLAogICAgICAgICAgICBlLmJldmVsTW9kZSwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgICAgMCwKICAgICAgICAgIF0pOwogICAgICAgIGkucXVldWUud3JpdGVCdWZmZXIodGhpcy5nbGFzc1VuaWZvcm1CdWZmZXIsIDAsIHUpOwogICAgICAgIGxldCBvID0gaS5jcmVhdGVCaW5kR3JvdXAoewogICAgICAgICAgICBsYXlvdXQ6IHRoaXMuZ2xhc3NQaXBlbGluZS5nZXRCaW5kR3JvdXBMYXlvdXQoMCksCiAgICAgICAgICAgIGVudHJpZXM6IFsKICAgICAgICAgICAgICB7IGJpbmRpbmc6IDAsIHJlc291cmNlOiB7IGJ1ZmZlcjogdGhpcy5nbGFzc1VuaWZvcm1CdWZmZXIgfSB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMSwgcmVzb3VyY2U6IHRoaXMuc2FtcGxlciB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMiwgcmVzb3VyY2U6IGEuYmcudmlldyB9LAogICAgICAgICAgICAgIHsgYmluZGluZzogMywgcmVzb3VyY2U6IGEuYmx1ckEudmlldyB9LAogICAgICAgICAgICBdLAogICAgICAgICAgfSksCiAgICAgICAgICBkID0gaS5jcmVhdGVDb21tYW5kRW5jb2RlcigpLAogICAgICAgICAgYyA9IGQuYmVnaW5SZW5kZXJQYXNzKHsKICAgICAgICAgICAgY29sb3JBdHRhY2htZW50czogWwogICAgICAgICAgICAgIHsKICAgICAgICAgICAgICAgIHZpZXc6IHRoaXMuY29udGV4dC5nZXRDdXJyZW50VGV4dHVyZSgpLmNyZWF0ZVZpZXcoKSwKICAgICAgICAgICAgICAgIGxvYWRPcDogImxvYWQiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICBdLAogICAgICAgICAgfSk7CiAgICAgICAgKGMuc2V0UGlwZWxpbmUodGhpcy5nbGFzc1BpcGVsaW5lKSwKICAgICAgICAgIGMuc2V0QmluZEdyb3VwKDAsIG8pLAogICAgICAgICAgYy5zZXRWZXJ0ZXhCdWZmZXIoMCwgdGhpcy5wYW5lbEJ1ZmZlciksCiAgICAgICAgICBjLnNldFZpZXdwb3J0KDAsIDAsIHMsIGwsIDAsIDEpLAogICAgICAgICAgYy5kcmF3KDQpLAogICAgICAgICAgYy5lbmQoKSwKICAgICAgICAgIGkucXVldWUuc3VibWl0KFtkLmZpbmlzaCgpXSkpOwogICAgICB9CiAgICAgIGNsZWFyKCkgewogICAgICAgIGlmICghdGhpcy5faW5pdGlhbGl6ZWQgfHwgIXRoaXMuZGV2aWNlIHx8ICF0aGlzLmNvbnRleHQpIHJldHVybjsKICAgICAgICBsZXQgZSA9IHRoaXMuZGV2aWNlLmNyZWF0ZUNvbW1hbmRFbmNvZGVyKCksCiAgICAgICAgICB0ID0gZS5iZWdpblJlbmRlclBhc3MoewogICAgICAgICAgICBjb2xvckF0dGFjaG1lbnRzOiBbCiAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgdmlldzogdGhpcy5jb250ZXh0LmdldEN1cnJlbnRUZXh0dXJlKCkuY3JlYXRlVmlldygpLAogICAgICAgICAgICAgICAgbG9hZE9wOiAiY2xlYXIiLAogICAgICAgICAgICAgICAgc3RvcmVPcDogInN0b3JlIiwKICAgICAgICAgICAgICAgIGNsZWFyVmFsdWU6IHsgcjogMCwgZzogMCwgYjogMCwgYTogMCB9LAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAgIF0sCiAgICAgICAgICB9KTsKICAgICAgICAodC5zZXRWaWV3cG9ydCgwLCAwLCB0aGlzLndpZHRoLCB0aGlzLmhlaWdodCwgMCwgMSksCiAgICAgICAgICB0LmVuZCgpLAogICAgICAgICAgdGhpcy5kZXZpY2UucXVldWUuc3VibWl0KFtlLmZpbmlzaCgpXSkpOwogICAgICB9CiAgICAgIGRlc3Ryb3koKSB7CiAgICAgICAgZm9yIChsZXQgZSBvZiB0aGlzLnRhcmdldENhY2hlLnZhbHVlcygpKSB0aGlzLl9mcmVlVGFyZ2V0U2V0KGUpOwogICAgICAgICh0aGlzLnRhcmdldENhY2hlLmNsZWFyKCksCiAgICAgICAgICB0aGlzLmJnVGV4dHVyZSAmJiB0aGlzLmJnVGV4dHVyZS5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLnF1YWRCdWZmZXIgJiYgdGhpcy5xdWFkQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMucGFuZWxCdWZmZXIgJiYgdGhpcy5wYW5lbEJ1ZmZlci5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLmJsaXRVbmlmb3JtQnVmZmVyICYmIHRoaXMuYmxpdFVuaWZvcm1CdWZmZXIuZGVzdHJveSgpLAogICAgICAgICAgdGhpcy5ibHVyVW5pZm9ybUJ1ZmZlciAmJiB0aGlzLmJsdXJVbmlmb3JtQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMuZ2xhc3NVbmlmb3JtQnVmZmVyICYmIHRoaXMuZ2xhc3NVbmlmb3JtQnVmZmVyLmRlc3Ryb3koKSwKICAgICAgICAgIHRoaXMuZGV2aWNlPy5kZXN0cm95KCksCiAgICAgICAgICB0aGlzLmNhbnZhcy5yZW1vdmUoKSk7CiAgICAgIH0KICAgICAgX3NldEFjdGl2ZVNpemUoZSwgdCkgewogICAgICAgIGlmIChlIDw9IDAgfHwgdCA8PSAwKSByZXR1cm4gITE7CiAgICAgICAgKCh0aGlzLndpZHRoID0gZSksCiAgICAgICAgICAodGhpcy5oZWlnaHQgPSB0KSwKICAgICAgICAgICh0aGlzLmNhbnZhcy53aWR0aCA8IGUgfHwgdGhpcy5jYW52YXMuaGVpZ2h0IDwgdCkgJiYKICAgICAgICAgICAgKCh0aGlzLmNhbnZhcy53aWR0aCA9IE1hdGgubWF4KHRoaXMuY2FudmFzLndpZHRoLCBlKSksCiAgICAgICAgICAgICh0aGlzLmNhbnZhcy5oZWlnaHQgPSBNYXRoLm1heCh0aGlzLmNhbnZhcy5oZWlnaHQsIHQpKSwKICAgICAgICAgICAgdGhpcy5jb250ZXh0Py5jb25maWd1cmUoewogICAgICAgICAgICAgIGRldmljZTogdGhpcy5kZXZpY2UsCiAgICAgICAgICAgICAgZm9ybWF0OiB0aGlzLmZvcm1hdCwKICAgICAgICAgICAgICBhbHBoYU1vZGU6ICJwcmVtdWx0aXBsaWVkIiwKICAgICAgICAgICAgfSkpKTsKICAgICAgICBsZXQgciA9IGAke2V9eCR7dH1gLAogICAgICAgICAgbiA9IHRoaXMudGFyZ2V0Q2FjaGUuZ2V0KHIpOwogICAgICAgIHJldHVybiAoCiAgICAgICAgICBuIHx8CiAgICAgICAgICAgICgobiA9IHsKICAgICAgICAgICAgICBiZzogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgICBibHVyQTogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgICBibHVyQjogdGhpcy5fbWFrZVRhcmdldChlLCB0KSwKICAgICAgICAgICAgfSksCiAgICAgICAgICAgIHRoaXMudGFyZ2V0Q2FjaGUuc2V0KHIsIG4pKSwKICAgICAgICAgICh0aGlzLmFjdGl2ZVRhcmdldHMgPSBuKSwKICAgICAgICAgICEwCiAgICAgICAgKTsKICAgICAgfQogICAgICBfbWFrZVRhcmdldChlLCB0KSB7CiAgICAgICAgbGV0IHIgPSB0aGlzLmRldmljZS5jcmVhdGVUZXh0dXJlKHsKICAgICAgICAgIHNpemU6IFtlLCB0XSwKICAgICAgICAgIGZvcm1hdDogInJnYmE4dW5vcm0iLAogICAgICAgICAgdXNhZ2U6IEdQVVRleHR1cmVVc2FnZS5URVhUVVJFX0JJTkRJTkcgfCBHUFVUZXh0dXJlVXNhZ2UuUkVOREVSX0FUVEFDSE1FTlQsCiAgICAgICAgfSk7CiAgICAgICAgcmV0dXJuIHsgdGV4dHVyZTogciwgdmlldzogci5jcmVhdGVWaWV3KCksIHc6IGUsIGg6IHQgfTsKICAgICAgfQogICAgICBfZnJlZVRhcmdldChlKSB7CiAgICAgICAgZSAmJiBlLnRleHR1cmUuZGVzdHJveSgpOwogICAgICB9CiAgICAgIF9mcmVlVGFyZ2V0U2V0KGUpIHsKICAgICAgICAodGhpcy5fZnJlZVRhcmdldChlLmJnKSwgdGhpcy5fZnJlZVRhcmdldChlLmJsdXJBKSwgdGhpcy5fZnJlZVRhcmdldChlLmJsdXJCKSk7CiAgICAgIH0KICAgIH07CiAgdmFyIFIgPSBjbGFzcyB7CiAgICBjYW52YXM7CiAgICBjdHg7CiAgICByZW5kZXJlcjsKICAgIHNjZW5lQ2FudmFzOwogICAgc2NlbmVDdHg7CiAgICBkcmF3RWxlbWVudEltYWdlOwogICAgX2luaXRQcm9taXNlOwogICAgX2luaXRpYWxpemVkID0gITE7CiAgICBjb25zdHJ1Y3RvcihlKSB7CiAgICAgICgodGhpcy5jYW52YXMgPSBlKSwKICAgICAgICAodGhpcy5jdHggPSBlLmdldENvbnRleHQoIjJkIikpLAogICAgICAgICh0aGlzLnJlbmRlcmVyID0gbmV3IHkoKSksCiAgICAgICAgKHRoaXMuc2NlbmVDYW52YXMgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCJjYW52YXMiKSksCiAgICAgICAgKHRoaXMuc2NlbmVDdHggPSB0aGlzLnNjZW5lQ2FudmFzLmdldENvbnRleHQoIjJkIikpKTsKICAgICAgbGV0IHQgPSB0aGlzLmN0eDsKICAgICAgKCh0aGlzLmRyYXdFbGVtZW50SW1hZ2UgPSB0LmRyYXdFbGVtZW50SW1hZ2U/LmJpbmQodCkgPz8gdC5kcmF3RWxlbWVudD8uYmluZCh0KSA/PyBudWxsKSwKICAgICAgICAodGhpcy5faW5pdFByb21pc2UgPSB0aGlzLl9pbml0V2ViR1BVKCkpKTsKICAgIH0KICAgIGFzeW5jIF9pbml0V2ViR1BVKCkgewogICAgICB0cnkgewogICAgICAgIHJldHVybiAoYXdhaXQgdGhpcy5yZW5kZXJlci5pbml0KCkpCiAgICAgICAgICA/ICgodGhpcy5faW5pdGlhbGl6ZWQgPSAhMCksIGNvbnNvbGUubG9nKCJMaXF1aWRHbGFzczogV2ViR1BVIHJlbmRlcmVyIGluaXRpYWxpemVkIiksICEwKQogICAgICAgICAgOiAoY29uc29sZS5lcnJvcigiTGlxdWlkR2xhc3M6IFdlYkdQVSBub3QgYXZhaWxhYmxlIiksICExKTsKICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgIHJldHVybiAoY29uc29sZS5lcnJvcigiTGlxdWlkR2xhc3M6IFdlYkdQVSBpbml0IGZhaWxlZCIsIGUpLCAhMSk7CiAgICAgIH0KICAgIH0KICAgIGdldCBpc1JlYWR5KCkgewogICAgICByZXR1cm4gdGhpcy5faW5pdGlhbGl6ZWQ7CiAgICB9CiAgICBhc3luYyB3YWl0Rm9ySW5pdCgpIHsKICAgICAgcmV0dXJuIHRoaXMuX2luaXRQcm9taXNlOwogICAgfQogICAgcmVuZGVyKCkgewogICAgICBsZXQgZSA9IHRoaXMuY2FudmFzLndpZHRoLAogICAgICAgIHQgPSB0aGlzLmNhbnZhcy5oZWlnaHQ7CiAgICAgIGlmIChlID09PSAwIHx8IHQgPT09IDAgfHwgIXRoaXMuZHJhd0VsZW1lbnRJbWFnZSB8fCAhdGhpcy5faW5pdGlhbGl6ZWQpIHJldHVybjsKICAgICAgdGhpcy5jdHguY2xlYXJSZWN0KDAsIDAsIGUsIHQpOwogICAgICBsZXQgciA9IHdpbmRvdy5kZXZpY2VQaXhlbFJhdGlvIHx8IDEsCiAgICAgICAgbiA9IHRoaXMuY2FudmFzLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLAogICAgICAgIGkgPSBBcnJheS5mcm9tKHRoaXMuY2FudmFzLmNoaWxkcmVuKSwKICAgICAgICBzID0gQXJyYXkuZnJvbSh0aGlzLmNhbnZhcy5xdWVyeVNlbGVjdG9yQWxsKCIubGlxdWlkLWdsYXNzIikpLAogICAgICAgIGwgPSBuZXcgU2V0KHMpOwogICAgICBpLmxlbmd0aCA9PT0gMCAmJgogICAgICAgICF0aGlzLl9fbGdfd2Fybl9lbXB0eSAmJgogICAgICAgIChjb25zb2xlLndhcm4oIkxpcXVpZEdsYXNzOiBObyBjaGlsZHJlbiBmb3VuZCBpbnNpZGUgdGhlIGNhbnZhcyB0byByZW5kZXIuIiksCiAgICAgICAgKHRoaXMuX19sZ193YXJuX2VtcHR5ID0gITApKTsKICAgICAgZm9yIChsZXQgYSBvZiBpKQogICAgICAgIGlmICghbC5oYXMoYSkpIHsKICAgICAgICAgIGxldCB1ID0gYSwKICAgICAgICAgICAgbyA9IHRoaXMuX2dldEVsZW1lbnRQb3NpdGlvbih1LCBuKTsKICAgICAgICAgIGlmIChvLncgPD0gMCB8fCBvLmggPD0gMCkgY29udGludWU7CiAgICAgICAgICBsZXQgZCA9IG8ueCAqIHIsCiAgICAgICAgICAgIGMgPSBvLnkgKiByOwogICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgbGV0IGYgPSB0aGlzLmRyYXdFbGVtZW50SW1hZ2UoYSwgZCwgYyk7CiAgICAgICAgICAgIGYgJiYgKHUuc3R5bGUudHJhbnNmb3JtID0gZi50b1N0cmluZygpKTsKICAgICAgICAgIH0gY2F0Y2ggKGYpIHsKICAgICAgICAgICAgYS5fX2xnX2Vycm9yX2xvZ2dlZCB8fAogICAgICAgICAgICAgIChjb25zb2xlLndhcm4oCiAgICAgICAgICAgICAgICBgTGlxdWlkR2xhc3M6IEZhaWxlZCB0byBkcmF3IGJhY2tncm91bmQgZWxlbWVudCAke2EudGFnTmFtZX0uJHthLmNsYXNzTmFtZX06YCwKICAgICAgICAgICAgICAgIGYubWVzc2FnZSB8fCBmLAogICAgICAgICAgICAgICksCiAgICAgICAgICAgICAgKGEuX19sZ19lcnJvcl9sb2dnZWQgPSAhMCkpOwogICAgICAgICAgfQogICAgICAgIH0KICAgICAgZm9yIChsZXQgYSBvZiBzKQogICAgICAgIHRyeSB7CiAgICAgICAgICB0aGlzLl9yZW5kZXJHbGFzc0VsZW1lbnQoYSwgbiwgcik7CiAgICAgICAgfSBjYXRjaCAodSkgewogICAgICAgICAgYS5fX2xnX2Vycm9yX2xvZ2dlZF9nbGFzcyB8fAogICAgICAgICAgICAoY29uc29sZS5lcnJvcigKICAgICAgICAgICAgICBgTGlxdWlkR2xhc3M6IEZhaWxlZCB0byByZW5kZXIgZ2xhc3MgZWZmZWN0IGZvciAke2EudGFnTmFtZX0uJHthLmNsYXNzTmFtZX06YCwKICAgICAgICAgICAgICB1Lm1lc3NhZ2UgfHwgdSwKICAgICAgICAgICAgKSwKICAgICAgICAgICAgKGEuX19sZ19lcnJvcl9sb2dnZWRfZ2xhc3MgPSAhMCkpOwogICAgICAgIH0KICAgIH0KICAgIHJlbmRlckdsYXNzRWxlbWVudHMoKSB7CiAgICAgIGxldCBlID0gdGhpcy5jYW52YXMud2lkdGgsCiAgICAgICAgdCA9IHRoaXMuY2FudmFzLmhlaWdodDsKICAgICAgaWYgKGUgPT09IDAgfHwgdCA9PT0gMCB8fCAhdGhpcy5kcmF3RWxlbWVudEltYWdlIHx8ICF0aGlzLl9pbml0aWFsaXplZCkgcmV0dXJuOwogICAgICBsZXQgciA9IHdpbmRvdy5kZXZpY2VQaXhlbFJhdGlvIHx8IDEsCiAgICAgICAgbiA9IHRoaXMuY2FudmFzLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLAogICAgICAgIGkgPSB0aGlzLmNhbnZhcy5xdWVyeVNlbGVjdG9yQWxsKCIubGlxdWlkLWdsYXNzIik7CiAgICAgIGZvciAobGV0IHMgb2YgaSkgdGhpcy5fcmVuZGVyR2xhc3NFbGVtZW50KHMsIG4sIHIpOwogICAgfQogICAgX3BhcnNlQ1NTTGVuZ3RoKGUsIHQpIHsKICAgICAgcmV0dXJuICFlIHx8IGUgPT09ICJhdXRvIgogICAgICAgID8gTmFOCiAgICAgICAgOiAoKGUgPSBlLnRyaW0oKSksCiAgICAgICAgICBlLnN0YXJ0c1dpdGgoImNhbGMoIikKICAgICAgICAgICAgPyB0aGlzLl9wYXJzZUNhbGMoZSwgdCkKICAgICAgICAgICAgOiBlLmVuZHNXaXRoKCIlIikKICAgICAgICAgICAgICA/IChwYXJzZUZsb2F0KGUpIC8gMTAwKSAqIHQKICAgICAgICAgICAgICA6IHBhcnNlRmxvYXQoZSkgfHwgMCk7CiAgICB9CiAgICBfcGFyc2VDYWxjKGUsIHQpIHsKICAgICAgbGV0IHIgPSBlLm1hdGNoKC9jYWxjXCgoLispXCkvKTsKICAgICAgaWYgKCFyKSByZXR1cm4gMDsKICAgICAgbGV0IG4gPSByWzFdLnRyaW0oKSwKICAgICAgICBpID0gbi5tYXRjaCgvKC4rKVxzKlwrXHMqKC4rKS8pLAogICAgICAgIHMgPSBuLm1hdGNoKC8oLispXHMqLVxzKiguKykvKTsKICAgICAgaWYgKHMpIHsKICAgICAgICBsZXQgbCA9IHRoaXMuX3BhcnNlQ1NTTGVuZ3RoKHNbMV0udHJpbSgpLCB0KSwKICAgICAgICAgIGEgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChzWzJdLnRyaW0oKSwgdCk7CiAgICAgICAgcmV0dXJuIGwgLSBhOwogICAgICB9CiAgICAgIGlmIChpKSB7CiAgICAgICAgbGV0IGwgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChpWzFdLnRyaW0oKSwgdCksCiAgICAgICAgICBhID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoaVsyXS50cmltKCksIHQpOwogICAgICAgIHJldHVybiBsICsgYTsKICAgICAgfQogICAgICByZXR1cm4gdGhpcy5fcGFyc2VDU1NMZW5ndGgobiwgdCk7CiAgICB9CiAgICBfcGFyc2VUcmFuc2Zvcm0oZSwgdCwgcikgewogICAgICBsZXQgbiA9IDAsCiAgICAgICAgaSA9IDA7CiAgICAgIGlmICghZSB8fCBlID09PSAibm9uZSIpIHJldHVybiB7IHR4OiBuLCB0eTogaSB9OwogICAgICBsZXQgcyA9IGUubWF0Y2goL3RyYW5zbGF0ZVwoXHMqKFteLCldKykoPzpccyosXHMqKFteKV0rKSk/XHMqXCkvKTsKICAgICAgcyAmJgogICAgICAgICgobiA9IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoc1sxXSwgdCkpLAogICAgICAgIChpID0gc1syXSA/IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoc1syXSwgcikgOiAwKSk7CiAgICAgIGxldCBsID0gZS5tYXRjaCgvdHJhbnNsYXRlWFwoXHMqKFteKV0rKVxzKlwpLyk7CiAgICAgIGwgJiYgKG4gPSB0aGlzLl9wYXJzZVRyYW5zbGF0ZVZhbHVlKGxbMV0sIHQpKTsKICAgICAgbGV0IGEgPSBlLm1hdGNoKC90cmFuc2xhdGVZXChccyooW14pXSspXHMqXCkvKTsKICAgICAgYSAmJiAoaSA9IHRoaXMuX3BhcnNlVHJhbnNsYXRlVmFsdWUoYVsxXSwgcikpOwogICAgICBsZXQgdSA9IGUubWF0Y2goL3RyYW5zbGF0ZTNkXChccyooW14sXSspXHMqLFxzKihbXixdKylccyosXHMqW14pXStccypcKS8pOwogICAgICByZXR1cm4gKAogICAgICAgIHUgJiYgKChuID0gdGhpcy5fcGFyc2VUcmFuc2xhdGVWYWx1ZSh1WzFdLCB0KSksIChpID0gdGhpcy5fcGFyc2VUcmFuc2xhdGVWYWx1ZSh1WzJdLCByKSkpLAogICAgICAgIHsgdHg6IG4sIHR5OiBpIH0KICAgICAgKTsKICAgIH0KICAgIF9wYXJzZVRyYW5zbGF0ZVZhbHVlKGUsIHQpIHsKICAgICAgcmV0dXJuICgoZSA9IGUudHJpbSgpKSwgZS5lbmRzV2l0aCgiJSIpID8gKHBhcnNlRmxvYXQoZSkgLyAxMDApICogdCA6IHBhcnNlRmxvYXQoZSkgfHwgMCk7CiAgICB9CiAgICBfZ2V0RWxlbWVudFBvc2l0aW9uKGUsIHQpIHsKICAgICAgbGV0IHIgPSBnZXRDb21wdXRlZFN0eWxlKGUpLAogICAgICAgIG4gPSBwYXJzZUZsb2F0KGdldENvbXB1dGVkU3R5bGUodGhpcy5jYW52YXMpLndpZHRoKSB8fCB0aGlzLmNhbnZhcy53aWR0aCB8fCAxNTM2LAogICAgICAgIGkgPSBwYXJzZUZsb2F0KGdldENvbXB1dGVkU3R5bGUodGhpcy5jYW52YXMpLmhlaWdodCkgfHwgdGhpcy5jYW52YXMuaGVpZ2h0IHx8IDEwMjQsCiAgICAgICAgcyA9IGUuZ2V0Qm91bmRpbmdDbGllbnRSZWN0KCksCiAgICAgICAgbCA9IHMud2lkdGggfHwgcGFyc2VGbG9hdChyLndpZHRoKSB8fCAwLAogICAgICAgIGEgPSBzLmhlaWdodCB8fCBwYXJzZUZsb2F0KHIuaGVpZ2h0KSB8fCAwLAogICAgICAgIHUgPSAwLAogICAgICAgIG8gPSAwLAogICAgICAgIGQgPSBlLnN0eWxlLAogICAgICAgIGMgPSBkLmxlZnQgfHwgci5sZWZ0LAogICAgICAgIGYgPSBkLnJpZ2h0IHx8IHIucmlnaHQsCiAgICAgICAgaCA9IGQudG9wIHx8IHIudG9wLAogICAgICAgIGIgPSBkLmJvdHRvbSB8fCByLmJvdHRvbSwKICAgICAgICBnID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoYywgbiksCiAgICAgICAgcCA9IHRoaXMuX3BhcnNlQ1NTTGVuZ3RoKGYsIG4pLAogICAgICAgIHYgPSB0aGlzLl9wYXJzZUNTU0xlbmd0aChoLCBpKSwKICAgICAgICBTID0gdGhpcy5fcGFyc2VDU1NMZW5ndGgoYiwgaSksCiAgICAgICAgUCA9IHBhcnNlRmxvYXQoci5tYXJnaW5MZWZ0KSB8fCAwLAogICAgICAgIHggPSBwYXJzZUZsb2F0KHIubWFyZ2luUmlnaHQpIHx8IDAsCiAgICAgICAgTSA9IHBhcnNlRmxvYXQoci5tYXJnaW5Ub3ApIHx8IDAsCiAgICAgICAgQSA9IHBhcnNlRmxvYXQoci5tYXJnaW5Cb3R0b20pIHx8IDAsCiAgICAgICAgRyA9ICFpc05hTihnKSwKICAgICAgICBVID0gIWlzTmFOKHApOwogICAgICBHICYmIFUgJiYgZyA9PT0gMCAmJiBwID09PSAwCiAgICAgICAgPyAodSA9IChuIC0gbCkgLyAyKQogICAgICAgIDogKEcgJiYgVSkgfHwgRwogICAgICAgICAgPyAodSA9IGcgKyBQKQogICAgICAgICAgOiBVICYmICh1ID0gbiAtIGwgLSBwIC0geCk7CiAgICAgIGxldCBCID0gIWlzTmFOKHYpLAogICAgICAgIEMgPSAhaXNOYU4oUyk7CiAgICAgIEIgJiYgQyAmJiB2ID09PSAwICYmIFMgPT09IDAKICAgICAgICA/IChvID0gKGkgLSBhKSAvIDIpCiAgICAgICAgOiAoQiAmJiBDKSB8fCBCCiAgICAgICAgICA/IChvID0gdiArIE0pCiAgICAgICAgICA6IEMgJiYgKG8gPSBpIC0gYSAtIFMgLSBBKTsKICAgICAgbGV0IHsgdHg6IFYsIHR5OiBGIH0gPSB0aGlzLl9wYXJzZVRyYW5zZm9ybShyLnRyYW5zZm9ybSwgbCwgYSk7CiAgICAgIHJldHVybiAoKHUgKz0gViksIChvICs9IEYpLCB7IHg6IHUsIHk6IG8sIHc6IGwsIGg6IGEgfSk7CiAgICB9CiAgICBfcmVuZGVyR2xhc3NFbGVtZW50KGUsIHQsIHIpIHsKICAgICAgaWYgKCF0aGlzLmRyYXdFbGVtZW50SW1hZ2UpIHJldHVybjsKICAgICAgbGV0IG4gPSB0aGlzLl9nZXRDb25maWdGcm9tQ1NTKGUpLAogICAgICAgIGkgPSB0aGlzLl9nZXRFbGVtZW50UG9zaXRpb24oZSwgdCksCiAgICAgICAgcyA9IGkueCwKICAgICAgICBsID0gaS55LAogICAgICAgIGEgPSBpLncsCiAgICAgICAgdSA9IGkuaCwKICAgICAgICBvID0gcyAqIHIsCiAgICAgICAgZCA9IGwgKiByLAogICAgICAgIGMgPSBhICogciwKICAgICAgICBmID0gdSAqIHIsCiAgICAgICAgaCA9IFQgKiByLAogICAgICAgIGIgPSBvIC0gaCwKICAgICAgICBnID0gZCAtIGgsCiAgICAgICAgcCA9IGMgKyBoICogMiwKICAgICAgICB2ID0gZiArIGggKiAyOwogICAgICB0aGlzLl9jYXB0dXJlUmVnaW9uKGIsIGcsIHAsIHYpOwogICAgICBsZXQgUyA9IE1hdGgucm91bmQocCksCiAgICAgICAgUCA9IE1hdGgucm91bmQodik7CiAgICAgICh0aGlzLnJlbmRlcmVyLmNsZWFyKCksCiAgICAgICAgdGhpcy5yZW5kZXJlci51cGxvYWRBbmRCbHVyKHRoaXMuc2NlbmVDYW52YXMsIDAsIDAsIFMsIFAsIG4uYmx1ckFtb3VudCksCiAgICAgICAgdGhpcy5yZW5kZXJlci5yZW5kZXJHbGFzc1BhbmVsKG4sIGEsIHUsIHIpLAogICAgICAgIHRoaXMuY3R4LmRyYXdJbWFnZSh0aGlzLnJlbmRlcmVyLmNhbnZhcywgMCwgMCwgcCwgdiwgYiwgZywgcCwgdikpOwogICAgICB0cnkgewogICAgICAgIGxldCB4ID0gdGhpcy5fZHJhd0dsYXNzRWxlbWVudENvbnRlbnQoZSwgbywgZCk7CiAgICAgICAgeCAmJiAoZS5zdHlsZS50cmFuc2Zvcm0gPSB4LnRvU3RyaW5nKCkpOwogICAgICB9IGNhdGNoICh4KSB7CiAgICAgICAgZS5fX2xnX2Vycm9yX2xvZ2dlZCB8fAogICAgICAgICAgKGNvbnNvbGUud2FybigKICAgICAgICAgICAgYExpcXVpZEdsYXNzOiBGYWlsZWQgdG8gZHJhdyBnbGFzcyBlbGVtZW50ICR7ZS50YWdOYW1lfS4ke2UuY2xhc3NOYW1lfTpgLAogICAgICAgICAgICB4LAogICAgICAgICAgKSwKICAgICAgICAgIChlLl9fbGdfZXJyb3JfbG9nZ2VkID0gITApKTsKICAgICAgfQogICAgfQogICAgX2RyYXdHbGFzc0VsZW1lbnRDb250ZW50KGUsIHQsIHIpIHsKICAgICAgaWYgKCF0aGlzLmRyYXdFbGVtZW50SW1hZ2UpIHJldHVybjsKICAgICAgbGV0IG4gPSB0aGlzLl9zdXBwcmVzc0dsYXNzQ2hyb21lKGUpOwogICAgICB0cnkgewogICAgICAgIHJldHVybiB0aGlzLmRyYXdFbGVtZW50SW1hZ2UoZSwgdCwgcik7CiAgICAgIH0gZmluYWxseSB7CiAgICAgICAgdGhpcy5fcmVzdG9yZUlubGluZVN0eWxlcyhlLCBuKTsKICAgICAgfQogICAgfQogICAgX3N1cHByZXNzR2xhc3NDaHJvbWUoZSkgewogICAgICBsZXQgdCA9IG5ldyBNYXAoKSwKICAgICAgICByID0gWwogICAgICAgICAgImJhY2tncm91bmQiLAogICAgICAgICAgImJhY2tncm91bmRDb2xvciIsCiAgICAgICAgICAiYmFja2dyb3VuZEltYWdlIiwKICAgICAgICAgICJib3JkZXJDb2xvciIsCiAgICAgICAgICAiYm94U2hhZG93IiwKICAgICAgICAgICJmaWx0ZXIiLAogICAgICAgICAgIm91dGxpbmVDb2xvciIsCiAgICAgICAgXTsKICAgICAgZm9yIChsZXQgbiBvZiByKSB0LnNldChuLCBlLnN0eWxlW25dKTsKICAgICAgcmV0dXJuICgKICAgICAgICAoZS5zdHlsZS5iYWNrZ3JvdW5kID0gInRyYW5zcGFyZW50IiksCiAgICAgICAgKGUuc3R5bGUuYmFja2dyb3VuZENvbG9yID0gInRyYW5zcGFyZW50IiksCiAgICAgICAgKGUuc3R5bGUuYmFja2dyb3VuZEltYWdlID0gIm5vbmUiKSwKICAgICAgICAoZS5zdHlsZS5ib3JkZXJDb2xvciA9ICJ0cmFuc3BhcmVudCIpLAogICAgICAgIChlLnN0eWxlLmJveFNoYWRvdyA9ICJub25lIiksCiAgICAgICAgKGUuc3R5bGUuZmlsdGVyID0gIm5vbmUiKSwKICAgICAgICAoZS5zdHlsZS5vdXRsaW5lQ29sb3IgPSAidHJhbnNwYXJlbnQiKSwKICAgICAgICB0CiAgICAgICk7CiAgICB9CiAgICBfcmVzdG9yZUlubGluZVN0eWxlcyhlLCB0KSB7CiAgICAgIGZvciAobGV0IFtyLCBuXSBvZiB0KSBlLnN0eWxlW3JdID0gbjsKICAgIH0KICAgIF9jYXB0dXJlUmVnaW9uKGUsIHQsIHIsIG4pIHsKICAgICAgbGV0IGkgPSBNYXRoLnJvdW5kKHIpLAogICAgICAgIHMgPSBNYXRoLnJvdW5kKG4pOwogICAgICAoKHRoaXMuc2NlbmVDYW52YXMud2lkdGggIT09IGkgfHwgdGhpcy5zY2VuZUNhbnZhcy5oZWlnaHQgIT09IHMpICYmCiAgICAgICAgKCh0aGlzLnNjZW5lQ2FudmFzLndpZHRoID0gaSksICh0aGlzLnNjZW5lQ2FudmFzLmhlaWdodCA9IHMpKSwKICAgICAgICAodGhpcy5zY2VuZUN0eC5maWxsU3R5bGUgPSAiI2ZmZmZmZiIpLAogICAgICAgIHRoaXMuc2NlbmVDdHguZmlsbFJlY3QoMCwgMCwgaSwgcyksCiAgICAgICAgdGhpcy5zY2VuZUN0eC5kcmF3SW1hZ2UodGhpcy5jYW52YXMsIGUsIHQsIHIsIG4sIDAsIDAsIGksIHMpKTsKICAgIH0KICAgIF9nZXRDb25maWdGcm9tQ1NTKGUpIHsKICAgICAgbGV0IHQgPSBnZXRDb21wdXRlZFN0eWxlKGUpLAogICAgICAgIHIgPSB7IC4uLncgfTsKICAgICAgZm9yIChsZXQgW24sIGldIG9mIE9iamVjdC5lbnRyaWVzKF8pKSB7CiAgICAgICAgbGV0IHMgPSB0LmdldFByb3BlcnR5VmFsdWUobikudHJpbSgpOwogICAgICAgIGlmIChzKSB7CiAgICAgICAgICBsZXQgbCA9IHBhcnNlRmxvYXQocyk7CiAgICAgICAgICBpc05hTihsKSB8fCAocltpXSA9IGwpOwogICAgICAgIH0KICAgICAgfQogICAgICByZXR1cm4gcjsKICAgIH0KICAgIGRlc3Ryb3koKSB7CiAgICAgIHRoaXMucmVuZGVyZXIuZGVzdHJveSgpOwogICAgfQogIH07CiAgcmV0dXJuIEkoWSk7Cn0pKCk7Cg==\"></script>\n <style>\n *,\n *::before,\n *::after {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n body {\n background: #0a0218;\n overflow: hidden;\n font-family: \"Inter\", system-ui, sans-serif;\n }\n #root {\n position: relative;\n width: 1920px;\n height: 1080px;\n overflow: hidden;\n }\n #three-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 1920px;\n height: 1080px;\n z-index: 0;\n }\n #glass-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 1920px;\n height: 1080px;\n z-index: 1;\n }\n\n /* ── Glass Panels ── */\n .glass-panel {\n position: absolute;\n background: rgba(255, 255, 255, 0.055);\n --lg-blur: 0.42;\n --lg-refraction: 0.92;\n --lg-corner-radius: 36;\n --lg-z-radius: 58;\n --lg-specular: 0.46;\n --lg-fresnel: 1.15;\n --lg-edge-highlight: 0.34;\n --lg-chrom-aberration: 0.08;\n --lg-shadow-opacity: 0;\n --lg-shadow-spread: 0;\n --lg-shadow-offset-y: 0;\n --lg-saturation: 1.1;\n }\n .search-panel {\n width: 640px;\n height: 72px;\n --lg-corner-radius: 24;\n }\n .toggle-panel {\n width: 640px;\n height: 64px;\n --lg-corner-radius: 44;\n }\n .media-panel {\n width: 640px;\n height: 116px;\n --lg-corner-radius: 44;\n }\n .slider-panel {\n width: 640px;\n height: 76px;\n --lg-corner-radius: 28;\n }\n\n #glass-search {\n top: 300px;\n left: 640px;\n }\n #glass-toggle {\n top: 390px;\n left: 640px;\n }\n #glass-media {\n top: 476px;\n left: 640px;\n }\n #glass-slider {\n top: 616px;\n left: 640px;\n }\n\n /* ── Text Overlays ── */\n .text-overlay {\n position: absolute;\n z-index: 2;\n pointer-events: none;\n }\n\n /* Search bar */\n .search-text {\n width: 640px;\n height: 72px;\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 0 28px;\n background: transparent;\n border-radius: 24px;\n box-shadow: none;\n }\n .search-text svg {\n width: 22px;\n height: 22px;\n stroke: rgba(255, 255, 255, 0.86);\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n flex-shrink: 0;\n }\n .search-label {\n font-size: 19px;\n font-weight: 650;\n color: #fff;\n text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);\n }\n .search-caret {\n width: 2px;\n height: 25px;\n border-radius: 999px;\n background: rgba(255, 255, 255, 0.82);\n opacity: 0;\n }\n #text-search {\n top: 300px;\n left: 640px;\n }\n\n /* Toggle row */\n .toggle-text {\n width: 640px;\n height: 64px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0;\n position: relative;\n padding: 6px;\n background: transparent;\n border-radius: 44px;\n box-shadow: none;\n }\n .toggle-active-pill {\n position: absolute;\n top: 6px;\n left: 6px;\n z-index: 0;\n width: 209px;\n height: 52px;\n border-radius: 999px;\n background:\n radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.32), transparent 42%),\n rgba(255, 255, 255, 0.14);\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.32),\n inset 0 -1px 0 rgba(255, 255, 255, 0.09);\n }\n .toggle-item {\n flex: 1;\n position: relative;\n z-index: 1;\n text-align: center;\n font-size: 16px;\n font-weight: 700;\n color: rgba(255, 255, 255, 0.96);\n line-height: 52px;\n text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);\n }\n .toggle-item.active {\n color: #fff;\n }\n #text-toggle {\n top: 390px;\n left: 640px;\n }\n\n /* Media pill */\n .media-text {\n width: 640px;\n height: 116px;\n display: flex;\n align-items: center;\n gap: 22px;\n padding: 0 24px;\n background: transparent;\n border-radius: 44px;\n box-shadow: none;\n }\n .album-art {\n position: relative;\n overflow: hidden;\n width: 78px;\n height: 78px;\n border-radius: 20px;\n background:\n radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.78), transparent 16%),\n conic-gradient(from 210deg, #06e3fa, #4fdb5e, #f59e0b, #ec4899, #06e3fa);\n flex-shrink: 0;\n box-shadow:\n inset 0 1px 0 rgba(255, 255, 255, 0.28),\n 0 12px 26px rgba(0, 0, 0, 0.24);\n }\n .album-sheen {\n position: absolute;\n top: -10px;\n left: -70px;\n width: 38px;\n height: 110px;\n background: rgba(255, 255, 255, 0.34);\n filter: blur(8px);\n transform: rotate(24deg);\n }\n .media-info {\n display: flex;\n flex-direction: column;\n gap: 7px;\n flex: 1;\n min-width: 0;\n }\n .media-title {\n font-size: 22px;\n font-weight: 700;\n color: #fff;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);\n }\n .media-artist {\n font-size: 16px;\n font-weight: 600;\n color: rgba(255, 255, 255, 0.84);\n text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);\n }\n .media-meta-row {\n display: flex;\n align-items: center;\n gap: 9px;\n }\n .live-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: #4ade80;\n box-shadow: 0 0 14px rgba(74, 222, 128, 0.76);\n }\n .sound-wave {\n display: flex;\n align-items: end;\n gap: 3px;\n height: 16px;\n }\n .sound-wave span {\n width: 3px;\n height: 7px;\n border-radius: 999px;\n background: rgba(255, 255, 255, 0.74);\n }\n .transport {\n display: flex;\n align-items: center;\n gap: 24px;\n margin-left: auto;\n padding-right: 4px;\n }\n .transport svg {\n width: 28px;\n height: 28px;\n fill: #fff;\n stroke: none;\n }\n .transport .play-btn svg {\n width: 38px;\n height: 38px;\n }\n #text-media {\n top: 476px;\n left: 640px;\n }\n\n /* Brightness slider */\n .slider-text {\n width: 640px;\n height: 76px;\n display: flex;\n align-items: center;\n gap: 18px;\n padding: 0 28px;\n background: transparent;\n border-radius: 28px;\n box-shadow: none;\n }\n .slider-text svg {\n width: 26px;\n height: 26px;\n stroke: rgba(255, 255, 255, 0.88);\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n stroke-linejoin: round;\n flex-shrink: 0;\n }\n .slider-track {\n flex: 1;\n height: 8px;\n background: rgba(255, 255, 255, 0.24);\n border-radius: 4px;\n position: relative;\n }\n .slider-fill {\n position: absolute;\n top: 0;\n left: 0;\n width: 34%;\n height: 100%;\n background: #fff;\n border-radius: 3px;\n box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);\n }\n .slider-pct {\n font-size: 17px;\n font-weight: 600;\n color: rgba(255, 255, 255, 0.9);\n font-variant-numeric: tabular-nums;\n width: 42px;\n text-align: right;\n text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);\n }\n #text-slider {\n top: 616px;\n left: 640px;\n }\n </style>\n </head>\n <body>\n <div\n id=\"root\"\n data-composition-id=\"liquid-glass-media-controls\"\n data-width=\"1920\"\n data-height=\"1080\"\n data-start=\"0\"\n data-duration=\"8\"\n data-root=\"true\"\n >\n <canvas id=\"three-canvas\" width=\"1920\" height=\"1080\"></canvas>\n\n <canvas id=\"glass-canvas\" layoutsubtree width=\"1920\" height=\"1080\">\n <div id=\"glass-search\" class=\"glass-panel search-panel liquid-glass\"></div>\n <div id=\"glass-toggle\" class=\"glass-panel toggle-panel liquid-glass\"></div>\n <div id=\"glass-media\" class=\"glass-panel media-panel liquid-glass\"></div>\n <div id=\"glass-slider\" class=\"glass-panel slider-panel liquid-glass\"></div>\n </canvas>\n\n <!-- Search bar -->\n <div id=\"text-search\" class=\"text-overlay search-text\">\n <svg viewBox=\"0 0 24 24\">\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <line x1=\"21\" y1=\"21\" x2=\"16.65\" y2=\"16.65\" />\n </svg>\n <span id=\"search-label\" class=\"search-label\">Search</span>\n <span id=\"search-caret\" class=\"search-caret\"></span>\n </div>\n\n <!-- Toggle row -->\n <div id=\"text-toggle\" class=\"text-overlay toggle-text\">\n <div id=\"toggle-pill\" class=\"toggle-active-pill\"></div>\n <div class=\"toggle-item active\">All</div>\n <div class=\"toggle-item\">Favorites</div>\n <div class=\"toggle-item\">Recent</div>\n </div>\n\n <!-- Media pill -->\n <div id=\"text-media\" class=\"text-overlay media-text\">\n <div class=\"album-art\"><span id=\"album-sheen\" class=\"album-sheen\"></span></div>\n <div class=\"media-info\">\n <div class=\"media-title\">Midnight Drive</div>\n <div class=\"media-meta-row\">\n <span id=\"live-dot\" class=\"live-dot\"></span>\n <div class=\"media-artist\">Glass Resonance</div>\n <div id=\"sound-wave\" class=\"sound-wave\">\n <span></span><span></span><span></span><span></span>\n </div>\n </div>\n </div>\n <div class=\"transport\">\n <span>\n <svg viewBox=\"0 0 24 24\">\n <polygon points=\"19 20 9 12 19 4\" />\n <line x1=\"5\" y1=\"4\" x2=\"5\" y2=\"20\" stroke=\"#fff\" stroke-width=\"2\" />\n </svg>\n </span>\n <span class=\"play-btn\">\n <svg viewBox=\"0 0 24 24\"><polygon points=\"5 3 19 12 5 21\" /></svg>\n </span>\n <span>\n <svg viewBox=\"0 0 24 24\">\n <polygon points=\"5 4 15 12 5 20\" />\n <line x1=\"19\" y1=\"4\" x2=\"19\" y2=\"20\" stroke=\"#fff\" stroke-width=\"2\" />\n </svg>\n </span>\n </div>\n </div>\n\n <!-- Brightness slider -->\n <div id=\"text-slider\" class=\"text-overlay slider-text\">\n <svg viewBox=\"0 0 24 24\">\n <circle cx=\"12\" cy=\"12\" r=\"5\" />\n <line x1=\"12\" y1=\"1\" x2=\"12\" y2=\"3\" />\n <line x1=\"12\" y1=\"21\" x2=\"12\" y2=\"23\" />\n <line x1=\"4.22\" y1=\"4.22\" x2=\"5.64\" y2=\"5.64\" />\n <line x1=\"18.36\" y1=\"18.36\" x2=\"19.78\" y2=\"19.78\" />\n <line x1=\"1\" y1=\"12\" x2=\"3\" y2=\"12\" />\n <line x1=\"21\" y1=\"12\" x2=\"23\" y2=\"12\" />\n <line x1=\"4.22\" y1=\"19.78\" x2=\"5.64\" y2=\"18.36\" />\n <line x1=\"18.36\" y1=\"5.64\" x2=\"19.78\" y2=\"4.22\" />\n </svg>\n <div class=\"slider-track\"><div id=\"slider-fill\" class=\"slider-fill\"></div></div>\n <span id=\"slider-pct\" class=\"slider-pct\">34%</span>\n </div>\n\n <div\n id=\"driver\"\n class=\"clip\"\n data-start=\"0\"\n data-duration=\"8\"\n data-track-index=\"0\"\n style=\"position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none\"\n ></div>\n </div>\n\n <script>\n var W = 1920,\n H = 1080,\n DURATION = 8;\n\n /* ── Three.js Aurora Shader ─────────────────────────────────────── */\n var vs = \"varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }\";\n var fs = [\n \"precision highp float;\",\n \"varying vec2 vUv;\",\n \"uniform float uTime;\",\n \"vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}\",\n \"vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}\",\n \"vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}\",\n \"vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}\",\n \"float snoise(vec3 v){\",\n \" const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);\",\n \" vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);\",\n \" vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;\",\n \" vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);\",\n \" vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;\",\n \" i=mod289(i);\",\n \" vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));\",\n \" float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;\",\n \" vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);\",\n \" vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);\",\n \" vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);\",\n \" vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;\",\n \" vec4 sh=-step(h,vec4(0.0));\",\n \" vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;\",\n \" vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);\",\n \" vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));\",\n \" p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;\",\n \" vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;\",\n \" return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));\",\n \"}\",\n \"void main(){\",\n \" vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;\",\n \" float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;\",\n \" vec2 wp=p+vec2(wx,wy);\",\n \" vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));\",\n \" float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));\",\n \" float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);\",\n \" float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);\",\n \" float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);\",\n \" float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;\",\n \" float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;\",\n \" float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;\",\n \" vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);\",\n \" float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);\",\n \" vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);\",\n \" float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);\",\n \" vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);\",\n \" float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);\",\n \" vec3 col=base;\",\n \" col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));\",\n \" col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));\",\n \" col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));\",\n \" float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;\",\n \" col+=edgeGlow*mix(warm,cool,uv.x)*0.8;\",\n \" col*=1.0-pow(abs(ridge1),4.0)*0.15;\",\n \" float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));\",\n \" col*=0.65+vig*0.5;\",\n \" float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);\",\n \" col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));\",\n \" gl_FragColor=vec4(col,1.0);\",\n \"}\",\n ].join(\"\\n\");\n\n /* ── Three.js Setup ─────────────────────────────────────────────── */\n var threeCanvas = document.getElementById(\"three-canvas\");\n var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });\n renderer.setSize(W, H, false);\n renderer.setPixelRatio(1);\n\n var scene = new THREE.Scene();\n var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);\n var uniforms = { uTime: { value: 0 } };\n var shaderMat = new THREE.ShaderMaterial({\n vertexShader: vs,\n fragmentShader: fs,\n uniforms: uniforms,\n });\n var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), shaderMat);\n scene.add(quad);\n\n /* ── Glass Canvas ───────────────────────────────────────────────── */\n var glassCanvas = document.getElementById(\"glass-canvas\");\n var ctx = glassCanvas.getContext(\"2d\");\n var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);\n var lgReady = false;\n\n function renderGlass(time) {\n if (!lgReady) return;\n uniforms.uTime.value = time;\n renderer.render(scene, camera);\n ctx.clearRect(0, 0, W, H);\n ctx.drawImage(threeCanvas, 0, 0, W, H);\n lg.renderGlassElements();\n }\n\n function requestGlassRender(time) {\n if (glassCanvas.requestPaint) {\n glassCanvas.onpaint = function () {\n renderGlass(time);\n };\n glassCanvas.requestPaint();\n return;\n }\n renderGlass(time);\n }\n\n lg.waitForInit().then(function (ok) {\n if (!ok) return;\n lgReady = true;\n requestGlassRender(0);\n });\n\n /* ── GSAP Timeline ──────────────────────────────────────────────── */\n window.__timelines = window.__timelines || {};\n var tl = gsap.timeline({ paused: true });\n\n var gs = document.getElementById(\"glass-search\");\n var gt = document.getElementById(\"glass-toggle\");\n var gm = document.getElementById(\"glass-media\");\n var gsl = document.getElementById(\"glass-slider\");\n var ts = document.getElementById(\"text-search\");\n var tt = document.getElementById(\"text-toggle\");\n var tm = document.getElementById(\"text-media\");\n var tsl = document.getElementById(\"text-slider\");\n var searchLabel = document.getElementById(\"search-label\");\n var sliderPct = document.getElementById(\"slider-pct\");\n var sliderValue = { value: 34 };\n\n // Glass panels live inside <canvas layoutsubtree> (html-in-canvas): the canvas lib\n // reads their sub-pixel computed top/left, so animating layout props on them does\n // NOT stutter and is exempt from gsap_non_transform_motion. They keep top/left.\n // Plain-DOM text overlays DO stutter on layout props, so they use transforms (x/y).\n // CSS resting tops — search 300, toggle 390, media 476, slider 616 — are the\n // transform base; the original set seeded top:1160, i.e. y = 1160 - restingTop.\n gsap.set([gs, gt, gm, gsl], { top: 1160, opacity: 1 });\n gsap.set(ts, { y: 860, opacity: 1 });\n gsap.set(tt, { y: 770, opacity: 1 });\n gsap.set(tm, { y: 684, opacity: 1 });\n gsap.set(tsl, { y: 544, opacity: 1 });\n gsap.set(\"#sound-wave span\", { height: 7 });\n\n tl.to(gs, { top: 300, duration: 0.48, ease: \"power3.out\" }, 0.12);\n tl.to(ts, { y: 0, duration: 0.48, ease: \"power3.out\" }, 0.12);\n tl.to(gt, { top: 390, duration: 0.44, ease: \"power3.out\" }, 0.22);\n tl.to(tt, { y: 0, duration: 0.44, ease: \"power3.out\" }, 0.22);\n tl.to(gm, { top: 476, duration: 0.44, ease: \"power3.out\" }, 0.32);\n tl.to(tm, { y: 0, duration: 0.44, ease: \"power3.out\" }, 0.32);\n tl.to(gsl, { top: 616, duration: 0.46, ease: \"power3.out\" }, 0.42);\n tl.to(tsl, { y: 0, duration: 0.46, ease: \"power3.out\" }, 0.42);\n\n tl.call(\n function () {\n searchLabel.textContent = \"Search Music\";\n },\n null,\n 0.9,\n );\n tl.to(\n \"#search-caret\",\n { opacity: 1, duration: 0.1, yoyo: true, repeat: 5, ease: \"none\" },\n 0.94,\n );\n tl.call(\n function () {\n searchLabel.textContent = \"Midnight Drive\";\n },\n null,\n 1.55,\n );\n tl.to(\"#toggle-pill\", { x: 209, duration: 0.24, ease: \"power2.out\" }, 1.82);\n tl.to(\n \".play-btn\",\n { scale: 0.86, duration: 0.12, ease: \"power2.out\", yoyo: true, repeat: 1 },\n 2.18,\n );\n tl.to(\"#album-sheen\", { x: 182, duration: 0.75, ease: \"power2.out\" }, 2.2);\n tl.to(\n \"#sound-wave span\",\n { height: 15, duration: 0.22, ease: \"power2.inOut\", stagger: 0.05, yoyo: true, repeat: 12 },\n 2.2,\n );\n tl.to(\n sliderValue,\n {\n value: 82,\n duration: 4.4,\n ease: \"none\",\n onUpdate: function () {\n sliderPct.textContent = Math.round(sliderValue.value) + \"%\";\n },\n },\n 1.2,\n );\n tl.to(\"#slider-fill\", { width: \"82%\", duration: 4.4, ease: \"none\" }, 1.2);\n tl.to(\n \"#live-dot\",\n { scale: 1.45, duration: 0.24, ease: \"power2.out\", yoyo: true, repeat: 4 },\n 2.6,\n );\n tl.to(\"#toggle-pill\", { x: 419, duration: 0.24, ease: \"power2.out\" }, 4.15);\n\n // Settle + exit. Split so glass panels keep relative top (exempt, html-in-canvas)\n // and plain-DOM text overlays use the relative transform equivalent (y). Inline\n // array literals so the linter can resolve each group's targets; a pre-declared\n // array variable resolves to __unresolved__ and would lose the canvas exemption.\n tl.to(\n [gs, gt, gm, gsl],\n { top: \"-=8\", duration: 0.22, ease: \"power2.out\", yoyo: true, repeat: 1 },\n 5.55,\n );\n tl.to(\n [ts, tt, tm, tsl],\n { y: \"-=8\", duration: 0.22, ease: \"power2.out\", yoyo: true, repeat: 1 },\n 5.55,\n );\n tl.to([gs, gt, gm, gsl], { top: \"+=760\", duration: 0.42, ease: \"power2.in\" }, 6.72);\n tl.to([ts, tt, tm, tsl], { y: \"+=760\", duration: 0.42, ease: \"power2.in\" }, 6.72);\n\n /* Duration driver */\n tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: \"none\" }, 0);\n\n tl.eventCallback(\"onUpdate\", function () {\n requestGlassRender(tl.time());\n });\n\n window.__timelines[\"liquid-glass-media-controls\"] = tl;\n </script>\n </body>\n</html>\n"}
\ No newline at end of file
diff --git a/docs/public/catalog/items/code-snippet-dark-plus/assets/background.jpeg b/docs/public/catalog/items/code-snippet-dark-plus/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-dark-plus/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-dark-plus/background.jpeg b/docs/public/catalog/items/code-snippet-dark-plus/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-dark-plus/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-high-contrast-light/assets/background.jpeg b/docs/public/catalog/items/code-snippet-high-contrast-light/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-high-contrast-light/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-high-contrast-light/background.jpeg b/docs/public/catalog/items/code-snippet-high-contrast-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-high-contrast-light/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-high-contrast/assets/background.jpeg b/docs/public/catalog/items/code-snippet-high-contrast/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-high-contrast/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-high-contrast/background.jpeg b/docs/public/catalog/items/code-snippet-high-contrast/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-high-contrast/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-2026/assets/background.jpeg b/docs/public/catalog/items/code-snippet-light-2026/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-2026/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-2026/background.jpeg b/docs/public/catalog/items/code-snippet-light-2026/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-2026/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-modern/assets/background.jpeg b/docs/public/catalog/items/code-snippet-light-modern/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-modern/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-modern/background.jpeg b/docs/public/catalog/items/code-snippet-light-modern/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-modern/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-plus/assets/background.jpeg b/docs/public/catalog/items/code-snippet-light-plus/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-plus/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-light-plus/background.jpeg b/docs/public/catalog/items/code-snippet-light-plus/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-light-plus/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-monokai/assets/background.jpeg b/docs/public/catalog/items/code-snippet-monokai/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-monokai/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-monokai/background.jpeg b/docs/public/catalog/items/code-snippet-monokai/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-monokai/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-solarized-light/assets/background.jpeg b/docs/public/catalog/items/code-snippet-solarized-light/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-solarized-light/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-solarized-light/background.jpeg b/docs/public/catalog/items/code-snippet-solarized-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-solarized-light/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-visual-studio-dark/assets/background.jpeg b/docs/public/catalog/items/code-snippet-visual-studio-dark/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-visual-studio-dark/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-visual-studio-dark/background.jpeg b/docs/public/catalog/items/code-snippet-visual-studio-dark/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-visual-studio-dark/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-visual-studio-light/assets/background.jpeg b/docs/public/catalog/items/code-snippet-visual-studio-light/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-visual-studio-light/assets/background.jpeg and /dev/null differ
diff --git a/docs/public/catalog/items/code-snippet-visual-studio-light/background.jpeg b/docs/public/catalog/items/code-snippet-visual-studio-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/docs/public/catalog/items/code-snippet-visual-studio-light/background.jpeg and /dev/null differ
diff --git a/docs/snippets/catalog-gallery-data.mdx b/docs/snippets/catalog-gallery-data.mdx
index a6d8ed9201..2e754e3196 100644
--- a/docs/snippets/catalog-gallery-data.mdx
+++ b/docs/snippets/catalog-gallery-data.mdx
@@ -1 +1 @@
-export const catalogGalleryData = {"source":"https://github.com/heygen-com/hyperframes","groups":[{"id":"3d-motion","label":"3D motion","pinned":true,"count":7},{"id":"carousels","label":"Carousels","pinned":false,"count":25},{"id":"text-captions","label":"Text & captions","pinned":false,"count":71},{"id":"code","label":"Code","pinned":false,"count":34},{"id":"transitions","label":"Transitions","pinned":false,"count":31},{"id":"data-charts","label":"Data & charts","pinned":false,"count":18},{"id":"scenes-demos","label":"Scenes & demos","pinned":false,"count":95},{"id":"motion-effects","label":"Motion & effects","pinned":false,"count":94},{"id":"surfaces","label":"Surfaces","pinned":false,"count":20},{"id":"blocks","label":"Blocks","pinned":false,"count":13}],"items":[{"id":"canopy-part-title","kind":"block","href":"/catalog/blocks/canopy-part-title","title":"Canopy Part Title","tagline":"Leaves sweep through the frame and part to reveal the headline.","description":"Leaves sweep through the frame and part to reveal the headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","leaves","organic","depth-of-field","two-headlines","sweep"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/canopy-part-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/canopy-part-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/canopy-part-title.json","heavy":true,"width":1920,"height":1080}},{"id":"code-slice-hero","kind":"block","href":"/catalog/blocks/code-slice-hero","title":"Code Slice Hero","tagline":"A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline.","description":"A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","transition","typography","tiles","flip","webgl2","shadows","two-headlines"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-slice-hero.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-slice-hero.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-slice-hero.json","heavy":false,"width":1920,"height":1080}},{"id":"cuboid-carousel","kind":"block","href":"/catalog/blocks/cuboid-carousel","title":"Cuboid Carousel","tagline":"A chain of bevelled cuboids rides a travelling wave as a content carousel.","description":"A chain of bevelled cuboids rides a travelling wave as a content carousel.","group":"3d-motion","section":"3D motion","tags":["3d-motion","carousel","cards","travelling-wave","pbr","shadows","room-environment"],"tech":[],"duration":6.67,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cuboid-carousel.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cuboid-carousel.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cuboid-carousel.json","heavy":true,"width":1920,"height":1080}},{"id":"frost-sequence-camera-orbit","kind":"block","href":"/catalog/blocks/frost-sequence-camera-orbit","title":"Frost Sequence Camera Orbit","tagline":"An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades.","description":"An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades.","group":"3d-motion","section":"3D motion","tags":["3d-motion","ice","frost","camera-orbit","logo","particles","webgpu","two-headlines"],"tech":[],"duration":22.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/frost-sequence-camera-orbit.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/frost-sequence-camera-orbit.mp4","preview":{"mode":"video"}},{"id":"glass-shard-title","kind":"block","href":"/catalog/blocks/glass-shard-title","title":"Glass Shard Title","tagline":"Glass shards fly in through fog and tile themselves into the headline.","description":"Glass shards fly in through fog and tile themselves into the headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","glass","voronoi","shards","fog","hdr"],"tech":[],"duration":12.16,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glass-shard-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glass-shard-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/glass-shard-title.json","heavy":true,"width":1920,"height":1080}},{"id":"orbit-card","kind":"block","href":"/catalog/blocks/orbit-card","title":"Orbit Card","tagline":"A single feature card orbits a dot sphere on approved Blender camera motion.","description":"A single feature card orbits a dot sphere on approved Blender camera motion.","group":"3d-motion","section":"3D motion","tags":["3d-motion","cards","feature-reveal","dots","orbit","blender-motion","sphere"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/orbit-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/orbit-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/orbit-card.json","heavy":true,"width":1920,"height":1080}},{"id":"wireframe-portal-title","kind":"block","href":"/catalog/blocks/wireframe-portal-title","title":"Wireframe Portal Title","tagline":"A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase.","description":"A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","wireframe","portal","burst","typography","post-processing","phrase-swap"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/wireframe-portal-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/wireframe-portal-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/wireframe-portal-title.json","heavy":true,"width":1920,"height":1080}},{"id":"carousel-circle-1","kind":"block","href":"/catalog/blocks/carousel-circle-1","title":"Circle Carousel 1","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 1); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 1); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-2","kind":"block","href":"/catalog/blocks/carousel-circle-2","title":"Circle Carousel 2","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 2); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-3","kind":"block","href":"/catalog/blocks/carousel-circle-3","title":"Circle Carousel 3","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 3); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-4","kind":"block","href":"/catalog/blocks/carousel-circle-4","title":"Circle Carousel 4","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 4); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 4); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-5","kind":"block","href":"/catalog/blocks/carousel-circle-5","title":"Circle Carousel 5","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 5); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 5); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-1","kind":"block","href":"/catalog/blocks/carousel-orbit-1","title":"Orbit Carousel 1","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 1); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 1); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-2","kind":"block","href":"/catalog/blocks/carousel-orbit-2","title":"Orbit Carousel 2","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 2); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 2); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-3","kind":"block","href":"/catalog/blocks/carousel-orbit-3","title":"Orbit Carousel 3","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 3); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 3); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-4","kind":"block","href":"/catalog/blocks/carousel-orbit-4","title":"Orbit Carousel 4","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 4); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 4); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-5","kind":"block","href":"/catalog/blocks/carousel-orbit-5","title":"Orbit Carousel 5","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 5); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 5); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-1","kind":"block","href":"/catalog/blocks/carousel-path-1","title":"Path Carousel 1","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 1); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 1); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-2","kind":"block","href":"/catalog/blocks/carousel-path-2","title":"Path Carousel 2","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 2); 12 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-3","kind":"block","href":"/catalog/blocks/carousel-path-3","title":"Path Carousel 3","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 3); 12 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-4","kind":"block","href":"/catalog/blocks/carousel-path-4","title":"Path Carousel 4","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 4); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 4); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-5","kind":"block","href":"/catalog/blocks/carousel-path-5","title":"Path Carousel 5","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 5); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 5); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-1","kind":"block","href":"/catalog/blocks/carousel-text-circle-1","title":"Text + Circle Carousel 1","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 1).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 1).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-2","kind":"block","href":"/catalog/blocks/carousel-text-circle-2","title":"Text + Circle Carousel 2","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 2).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 2).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-3","kind":"block","href":"/catalog/blocks/carousel-text-circle-3","title":"Text + Circle Carousel 3","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 3).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 3).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-4","kind":"block","href":"/catalog/blocks/carousel-text-circle-4","title":"Text + Circle Carousel 4","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 4).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 4).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-5","kind":"block","href":"/catalog/blocks/carousel-text-circle-5","title":"Text + Circle Carousel 5","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 5).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 5).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-1","kind":"block","href":"/catalog/blocks/carousel-vision-1","title":"Vision Carousel 1","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 1); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 1); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-2","kind":"block","href":"/catalog/blocks/carousel-vision-2","title":"Vision Carousel 2","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 2); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-3","kind":"block","href":"/catalog/blocks/carousel-vision-3","title":"Vision Carousel 3","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 3); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-4","kind":"block","href":"/catalog/blocks/carousel-vision-4","title":"Vision Carousel 4","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 4); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 4); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-5","kind":"block","href":"/catalog/blocks/carousel-vision-5","title":"Vision Carousel 5","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 5); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 5); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-5.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-camera-follow","kind":"component","href":"/catalog/components/caption-camera-follow","title":"Camera Follow Captions","tagline":"One sentence written across a world far larger than the frame. Each word is sized against everything already written, so the block grows geometrically and the camera pulls back at a steady rate to keep landing the new word at the same size. Old words stay lit and simply become small.","description":"One sentence written across a world far larger than the frame. Each word is sized against everything already written, so the block grows geometrically and the camera pulls back at a steady rate to keep landing the new word at the same size. Old words stay lit and simply become small.","group":"text-captions","section":"Captions","tags":["captions","caption-style","camera","typography","motion-primitive","portrait"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/caption-camera-follow.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-clip-wipe","kind":"component","href":"/catalog/components/caption-clip-wipe","title":"Clip Wipe","tagline":"Left-to-right clip-path wipe reveal per word","description":"Left-to-right clip-path wipe reveal per word","group":"text-captions","section":"Captions","tags":["captions","caption-style","wipe","clip-path","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-clip-wipe.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-clip-wipe/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-clip-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-editorial-emphasis","kind":"component","href":"/catalog/components/caption-editorial-emphasis","title":"Editorial Emphasis","tagline":"Dual-font system with dramatic size contrast for emphasis words","description":"Dual-font system with dramatic size contrast for emphasis words","group":"text-captions","section":"Captions","tags":["captions","caption-style","editorial","typography","emphasis"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-editorial-emphasis.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-editorial-emphasis/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-editorial-emphasis.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-emoji-pop","kind":"component","href":"/catalog/components/caption-emoji-pop","title":"Emoji Pop","tagline":"Emoji integration with stroked text and horizontal squeeze entrance","description":"Emoji integration with stroked text and horizontal squeeze entrance","group":"text-captions","section":"Captions","tags":["captions","caption-style","emoji","social"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-emoji-pop.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-emoji-pop/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-emoji-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-glitch-rgb","kind":"component","href":"/catalog/components/caption-glitch-rgb","title":"Glitch RGB","tagline":"RGB chromatic aberration with CRT scanline overlay","description":"RGB chromatic aberration with CRT scanline overlay","group":"text-captions","section":"Captions","tags":["captions","caption-style","glitch","cyber","tech"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-glitch-rgb.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-glitch-rgb/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-glitch-rgb.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-gradient-fill","kind":"component","href":"/catalog/components/caption-gradient-fill","title":"Gradient Fill","tagline":"Gradient-clipped text with elastic bounce entrance","description":"Gradient-clipped text with elastic bounce entrance","group":"text-captions","section":"Captions","tags":["captions","caption-style","gradient","colorful"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-gradient-fill.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-gradient-fill/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-gradient-fill.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-highlight","kind":"component","href":"/catalog/components/caption-highlight","title":"Highlight","tagline":"Red background sweep behind each active word, TikTok-style","description":"Red background sweep behind each active word, TikTok-style","group":"text-captions","section":"Captions","tags":["captions","caption-style","highlight","social","tiktok"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-highlight.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-highlight/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-kinetic-slam","kind":"component","href":"/catalog/components/caption-kinetic-slam","title":"Kinetic Slam","tagline":"Full-screen single-word display with alternating entrance directions","description":"Full-screen single-word display with alternating entrance directions","group":"text-captions","section":"Captions","tags":["captions","caption-style","kinetic","typography","slam"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-kinetic-slam.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-kinetic-slam/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-kinetic-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-matrix-decode","kind":"component","href":"/catalog/components/caption-matrix-decode","title":"Matrix Decode","tagline":"Character scramble animation before text reveal","description":"Character scramble animation before text reveal","group":"text-captions","section":"Captions","tags":["captions","caption-style","matrix","scramble","decode"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-matrix-decode.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-matrix-decode/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-matrix-decode.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-neon-accent","kind":"component","href":"/catalog/components/caption-neon-accent","title":"Neon Accent","tagline":"Multi-color neon glow accents with wiggle drift animation","description":"Multi-color neon glow accents with wiggle drift animation","group":"text-captions","section":"Captions","tags":["captions","caption-style","neon","glow","accent"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-neon-accent.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-neon-accent/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-neon-accent.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-neon-glow","kind":"component","href":"/catalog/components/caption-neon-glow","title":"Neon Glow","tagline":"Cyan and magenta neon glow with keyword accent colors","description":"Cyan and magenta neon glow with keyword accent colors","group":"text-captions","section":"Captions","tags":["captions","caption-style","neon","glow","gaming"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-neon-glow.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-neon-glow/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-neon-glow.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-parallax-layers","kind":"component","href":"/catalog/components/caption-parallax-layers","title":"Parallax Layers","tagline":"Behind-subject 3D text layering with vertical stretch effect","description":"Behind-subject 3D text layering with vertical stretch effect","group":"text-captions","section":"Captions","tags":["captions","caption-style","parallax","3d","depth"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-parallax-layers.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-parallax-layers/preview.mp4?v=1779051692","preview":{"mode":"player","source":"/public/catalog/components/caption-parallax-layers.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-particle-burst","kind":"component","href":"/catalog/components/caption-particle-burst","title":"Particle Burst","tagline":"Keyword words trigger colored particle explosions","description":"Keyword words trigger colored particle explosions","group":"text-captions","section":"Captions","tags":["captions","caption-style","particles","burst","effects"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-particle-burst.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-particle-burst/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-particle-burst.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-pill-karaoke","kind":"component","href":"/catalog/components/caption-pill-karaoke","title":"Pill Karaoke","tagline":"Pill-shaped container with per-word karaoke color highlight","description":"Pill-shaped container with per-word karaoke color highlight","group":"text-captions","section":"Captions","tags":["captions","caption-style","karaoke","pill"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-pill-karaoke.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-pill-karaoke/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-pill-karaoke.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-texture","kind":"component","href":"/catalog/components/caption-texture","title":"Texture","tagline":"Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable","description":"Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable","group":"text-captions","section":"Captions","tags":["captions","caption-style","texture","mask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-texture.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-texture-lava/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-texture.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-weight-shift","kind":"component","href":"/catalog/components/caption-weight-shift","title":"Weight Shift","tagline":"Elegant font-weight transition between caption lines","description":"Elegant font-weight transition between caption lines","group":"text-captions","section":"Captions","tags":["captions","caption-style","minimal","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-weight-shift.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-weight-shift/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-weight-shift.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-callout-highlight","kind":"block","href":"/catalog/blocks/mk-callout-highlight","title":"Word-Sweep Highlight","tagline":"A sentence whose word-by-word emphasis is driven by a single scalar — tween it to sync the highlight with a voiceover","description":"A sentence whose word-by-word emphasis is driven by a single scalar — tween it to sync the highlight with a voiceover","group":"text-captions","section":"Captions","tags":["typography","karaoke","captions","minimal"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-callout-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"blur-out-up","kind":"component","href":"/catalog/components/blur-out-up","title":"Blur Out Up","tagline":"Words arrive clean and depart upward with increasing blur for airy exits.","description":"Words arrive clean and depart upward with increasing blur for airy exits.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/blur-out-up.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/blur-out-up.json","heavy":false,"width":1920,"height":1080}},{"id":"bottom-up-letters","kind":"component","href":"/catalog/components/bottom-up-letters","title":"Bottom Up Letters","tagline":"Splits text into letters and reveals each glyph from below with deterministic staggered timing","description":"Splits text into letters and reveals each glyph from below with deterministic staggered timing","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","letters","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/bottom-up-letters.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/bottom-up-letters.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-blend-difference","kind":"component","href":"/catalog/components/caption-blend-difference","title":"Blend Difference","tagline":"Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background","description":"Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background","group":"text-captions","section":"Typography & Text","tags":["text","text-effect","effect","blend-mode","contrast","inversion"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/caption-blend-difference.json","heavy":false,"width":1920,"height":1080}},{"id":"char-slam-explode","kind":"component","href":"/catalog/components/char-slam-explode","title":"Char Slam Explode","tagline":"Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake.","description":"Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","text-treatment","scatter","slam","impact"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/char-slam-explode.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-blur-resolve","kind":"component","href":"/catalog/components/focus-blur-resolve","title":"Focus Blur Resolve","tagline":"A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.","description":"A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/focus-blur-resolve.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-blur-resolve.json","heavy":false,"width":1920,"height":1080}},{"id":"headline-slam","kind":"component","href":"/catalog/components/headline-slam","title":"Headline Slam","tagline":"A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.","description":"A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","headline","slam","impact","exit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/headline-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-path-text","kind":"block","href":"/catalog/blocks/hw-path-text","title":"Text Along a Path","tagline":"Handwriting flowing along any SVG path with a per-character reveal; the path is the only geometry input","description":"Handwriting flowing along any SVG path with a per-character reveal; the path is the only geometry input","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","path","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-path-text.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-title","kind":"block","href":"/catalog/blocks/hw-title","title":"Handwritten Title","tagline":"Handwritten display text with a scalar-driven word-by-word highlight sweep and a seeded squiggle underline sized to the text; boils","description":"Handwritten display text with a scalar-driven word-by-word highlight sweep and a seeded squiggle underline sized to the text; boils","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","title-card","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-title.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-write-title","kind":"block","href":"/catalog/blocks/hw-write-title","title":"Handwritten Write-On Title","tagline":"True glyph write-on: filled Caveat letterforms revealed by baked per-glyph centerline strokes traced in real stroke order with a curvature-adaptive pen-velocity ease (fast on straights, slow into curves, inter-stroke pen lifts); optional squiggle underline; boils","description":"True glyph write-on: filled Caveat letterforms revealed by baked per-glyph centerline strokes traced in real stroke order with a curvature-adaptive pen-velocity ease (fast on straights, slow into curves, inter-stroke pen lifts); optional squiggle underline; boils","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","title-card","write-on","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-write-title.json","heavy":false,"width":1920,"height":1080}},{"id":"inline-highlight","kind":"component","href":"/catalog/components/inline-highlight","title":"Inline Highlight","tagline":"A clean marker-style inline highlight that animates behind text using a CSS scale variable","description":"A clean marker-style inline highlight that animates behind text using a CSS scale variable","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","highlight","caption"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/inline-highlight.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/inline-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"kinetic-center-build","kind":"component","href":"/catalog/components/kinetic-center-build","title":"Kinetic Center Build","tagline":"Words enter from the right and push the growing phrase left until the final line locks centered.","description":"Words enter from the right and push the growing phrase left until the final line locks centered.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","kinetic-type","reveal","remocn-port"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/kinetic-center-build.json","heavy":false,"width":1920,"height":1080}},{"id":"kinetic-type-swap","kind":"component","href":"/catalog/components/kinetic-type-swap","title":"Kinetic Type Swap","tagline":"A held sentence keeps its fixed text in place while one widest-word masked slot rolls through alternatives and settles on the final option.","description":"A held sentence keeps its fixed text in place while one widest-word masked slot rolls through alternatives and settles on the final option.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","kinetic-type","word-swap","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/kinetic-type-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"line-by-line-slide","kind":"component","href":"/catalog/components/line-by-line-slide","title":"Line-by-Line Slide","tagline":"Each line enters from the left with staggered slide and exits to the right.","description":"Each line enters from the left with staggered slide and exits to the right.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/line-by-line-slide.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/line-by-line-slide.json","heavy":false,"width":1920,"height":1080}},{"id":"line-swap","kind":"component","href":"/catalog/components/line-swap","title":"Line Swap","tagline":"A masked full-line beat replacement: line A holds center then exits up through an overflow-hidden mask as line B enters bottom-up on the same beat, with an optional accent underline drawing beneath one word of line B.","description":"A masked full-line beat replacement: line A holds center then exits up through an overflow-hidden mask as line B enters bottom-up on the same beat, with an optional accent underline drawing beneath one word of line B.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","swap","beat","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/line-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-brand-close","kind":"component","href":"/catalog/components/logo-brand-close","title":"Logo Brand Close","tagline":"A display-scale wordmark cascades letter by letter into a centered lockup, the accent brand period lands last, an optional tagline and wide-tracked mono URL settle beneath, and the finished identity holds dead still to the end of the film.","description":"A display-scale wordmark cascades letter by letter into a centered lockup, the accent brand period lands last, an optional tagline and wide-tracked mono URL settle beneath, and the finished identity holds dead still to the end of the film.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","brand","logo","end-card","close"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-brand-close.json","heavy":false,"width":1920,"height":1080}},{"id":"marker-highlight","kind":"component","href":"/catalog/components/marker-highlight","title":"Marker Highlight","tagline":"Display text settles in, then one hand-drawn marker stroke (highlight, circle, underline, or scribble) draws over the emphasized word on cue.","description":"Display text settles in, then one hand-drawn marker stroke (highlight, circle, underline, or scribble) draws over the emphasized word on cue.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","emphasis","marker","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/marker-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"matrix-decode","kind":"component","href":"/catalog/components/matrix-decode","title":"Matrix Decode","tagline":"Random scramble resolves left-to-right into the target text.","description":"Random scramble resolves left-to-right into the target text.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/matrix-decode.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/matrix-decode.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-emphasis-type","kind":"component","href":"/catalog/components/mk-emphasis-type","title":"Background Emphasis Type","tagline":"Oversized low-contrast background word drifting slowly behind the subject — typography as texture","description":"Oversized low-contrast background word drifting slowly behind the subject — typography as texture","group":"text-captions","section":"Typography & Text","tags":["typography","text-treatment","minimal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/mk-emphasis-type.json","heavy":false,"width":1920,"height":1080}},{"id":"morph-text","kind":"component","href":"/catalog/components/morph-text","title":"Morph Text","tagline":"Gooey text morph — cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect","description":"Gooey text morph — cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect","group":"text-captions","section":"Typography & Text","tags":["text","text-effect","typography","morph","gooey","kinetic","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/morph-text.mp4","preview":{"mode":"player","source":"/public/catalog/components/morph-text.json","heavy":false,"width":1920,"height":1080}},{"id":"particle-text-dissolve","kind":"component","href":"/catalog/components/particle-text-dissolve","title":"Particle Text Dissolve","tagline":"Text assembles from a seeded particle cloud (or dissolves into it): per-particle targets sampled once from the rendered text bitmap at mount, table-driven particles, zero per-particle tweens, one onUpdate painter.","description":"Text assembles from a seeded particle cloud (or dissolves into it): per-particle targets sampled once from the rendered text bitmap at mount, table-driven particles, zero per-particle tweens, one onUpdate painter.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","particles","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/particle-text-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"per-word-crossfade","kind":"component","href":"/catalog/components/per-word-crossfade","title":"Per-Word Crossfade","tagline":"Words gently fade into place with a short vertical drift for calm keynote rhythm.","description":"Words gently fade into place with a short vertical drift for calm keynote rhythm.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/per-word-crossfade.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/per-word-crossfade.json","heavy":false,"width":1920,"height":1080}},{"id":"per-word-rise","kind":"component","href":"/catalog/components/per-word-rise","title":"Per Word Rise","tagline":"Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).","description":"Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","typography","stagger","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/per-word-rise.json","heavy":false,"width":1920,"height":1080}},{"id":"perspective-marquee","kind":"component","href":"/catalog/components/perspective-marquee","title":"Perspective Marquee","tagline":"A 3D tilted marquee with depth feel as items roll toward the horizon.","description":"A 3D tilted marquee with depth feel as items roll toward the horizon.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/perspective-marquee.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/perspective-marquee.json","heavy":false,"width":1920,"height":1080}},{"id":"rgb-glitch-text","kind":"component","href":"/catalog/components/rgb-glitch-text","title":"RGB Glitch Text","tagline":"RGB-offset text copies jitter briefly for a controlled glitch window.","description":"RGB-offset text copies jitter briefly for a controlled glitch window.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/rgb-glitch-text.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/rgb-glitch-text.json","heavy":false,"width":1920,"height":1080}},{"id":"scan-band","kind":"component","href":"/catalog/components/scan-band","title":"Scan Band","tagline":"A diagonal distortion band sweeps once across a clean wordmark, revealing clipped red and cyan offsets only inside the moving band.","description":"A diagonal distortion band sweeps once across a clean wordmark, revealing clipped red and cyan offsets only inside the moving band.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","scan","chromatic","distortion","wordmark"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scan-band.json","heavy":false,"width":1920,"height":1080}},{"id":"scramble-reveal","kind":"component","href":"/catalog/components/scramble-reveal","title":"Scramble Reveal","tagline":"A deterministic hacker-style text reveal that cycles fixed glyph rows and locks the target string from left to right.","description":"A deterministic hacker-style text reveal that cycles fixed glyph rows and locks the target string from left to right.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","scramble","reveal","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scramble-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"shared-axis-y","kind":"component","href":"/catalog/components/shared-axis-y","title":"Shared Axis Y","tagline":"Per-word vertical shared-axis transition for sharp editorial swaps.","description":"Per-word vertical shared-axis transition for sharp editorial swaps.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shared-axis-y.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shared-axis-y.json","heavy":false,"width":1920,"height":1080}},{"id":"shared-axis-z","kind":"component","href":"/catalog/components/shared-axis-z","title":"Shared Axis Z","tagline":"Scale-based shared-axis transition for focus shifts and context depth.","description":"Scale-based shared-axis transition for focus shifts and context depth.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shared-axis-z.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shared-axis-z.json","heavy":false,"width":1920,"height":1080}},{"id":"shimmer-sweep","kind":"component","href":"/catalog/components/shimmer-sweep","title":"Shimmer Sweep","tagline":"Animated light sweep across text or elements using a CSS gradient mask — ideal for AI accents and premium reveals","description":"Animated light sweep across text or elements using a CSS gradient mask — ideal for AI accents and premium reveals","group":"text-captions","section":"Typography & Text","tags":["text","shimmer","highlight","effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shimmer-sweep.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shimmer-sweep.json","heavy":false,"width":1920,"height":1080}},{"id":"soft-blur-in","kind":"component","href":"/catalog/components/soft-blur-in","title":"Soft Blur In","tagline":"A soft opacity, blur, and lift reveal for headlines, captions, and product UI callouts","description":"A soft opacity, blur, and lift reveal for headlines, captions, and product UI callouts","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","reveal","blur"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/soft-blur-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/soft-blur-in.json","heavy":false,"width":1920,"height":1080}},{"id":"split-flap-board","kind":"block","href":"/catalog/blocks/split-flap-board","title":"Split-Flap Board","tagline":"Solari-style departure board: every cell walks its drum forward through the intervening characters of a fixed alphabet until it lands on its target, so the text resolves as a mechanical cascade instead of a fade.","description":"Solari-style departure board: every cell walks its drum forward through the intervening characters of a fixed alphabet until it lands on its target, so the text resolves as a mechanical cascade instead of a fade.","group":"text-captions","section":"Typography & Text","tags":["text","kinetic","mechanical","split-flap","solari","departure-board","reveal"],"tech":[],"duration":3.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/split-flap-board.json","heavy":false,"width":1920,"height":1080}},{"id":"strikethrough-replace","kind":"component","href":"/catalog/components/strikethrough-replace","title":"Strikethrough Replace","tagline":"Draw a strike line across old text, then reveal the replacement.","description":"Draw a strike line across old text, then reveal the replacement.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/strikethrough-replace.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/strikethrough-replace.json","heavy":false,"width":1920,"height":1080}},{"id":"text-shimmer","kind":"component","href":"/catalog/components/text-shimmer","title":"Text Shimmer","tagline":"A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.","description":"A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","shimmer","specular","emphasis"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-shimmer.json","heavy":false,"width":1920,"height":1080}},{"id":"ticker-takeover","kind":"component","href":"/catalog/components/ticker-takeover","title":"Ticker Takeover","tagline":"A mono ticker rolls through options, locks on a final word with an accent flash, and promotes it into a full-frame headline.","description":"A mono ticker rolls through options, locks on a final word with an accent flash, and promotes it into a full-frame headline.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","ticker","slot-machine","headline","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ticker-takeover.json","heavy":false,"width":1920,"height":1080}},{"id":"titlecard-calm","kind":"component","href":"/catalog/components/titlecard-calm","title":"Titlecard Calm","tagline":"A restrained title card where a mono kicker and generous grotesque headline fade upward, drift almost imperceptibly, and exit cleanly.","description":"A restrained title card where a mono kicker and generous grotesque headline fade upward, drift almost imperceptibly, and exit cleanly.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","title-card","calm","orient"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/titlecard-calm.json","heavy":false,"width":1920,"height":1080}},{"id":"titlecard-lockup","kind":"component","href":"/catalog/components/titlecard-lockup","title":"Titlecard Lockup","tagline":"The calm breather titlecard: an optional mono kicker fades up, the wordmark settles dead-center with one restrained move, a hairline rule draws left to right, a mono label fades beneath, and the lockup holds truly still.","description":"The calm breather titlecard: an optional mono kicker fades up, the wordmark settles dead-center with one restrained move, a hairline rule draws left to right, a mono label fades beneath, and the lockup holds truly still.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","title-card","lockup","breather","orient"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/titlecard-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"tracking-in","kind":"component","href":"/catalog/components/tracking-in","title":"Tracking In","tagline":"A precise letter-spacing reveal for premium headings and interface labels","description":"A precise letter-spacing reveal for premium headings and interface labels","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","reveal","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tracking-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tracking-in.json","heavy":false,"width":1920,"height":1080}},{"id":"variable-axis-type","kind":"component","href":"/catalog/components/variable-axis-type","title":"Variable Axis Type","tagline":"A locked one-line headline whose weight or width axis morphs into a decisive emphasis beat.","description":"A locked one-line headline whose weight or width axis morphs into a decisive emphasis beat.","group":"text-captions","section":"Typography & Text","tags":["typography","variable-font","kinetic-type","axis","emphasize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/variable-axis-type.json","heavy":false,"width":1920,"height":1080}},{"id":"vox-annotate","kind":"component","href":"/catalog/components/vox-annotate","title":"Vox Annotate","tagline":"The Vox-style annotate gesture: a keyword in a held sentence gets a hand-drawn marker while a thin connector draws up to a mono callout label, all as one choreographed beat on the cue.","description":"The Vox-style annotate gesture: a keyword in a held sentence gets a hand-drawn marker while a thin connector draws up to a mono callout label, all as one choreographed beat on the cue.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","annotation","marker","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/vox-annotate.json","heavy":false,"width":1920,"height":1080}},{"id":"weight-wave","kind":"block","href":"/catalog/blocks/weight-wave","title":"Weight Wave","tagline":"A crest of thickness travels along a headline: each character swells from light to black and leans forward as the wave passes, driven by the wght and slnt variable-font axes rather than by transforms.","description":"A crest of thickness travels along a headline: each character swells from light to black and leans forward as the wave passes, driven by the wght and slnt variable-font axes rather than by transforms.","group":"text-captions","section":"Typography & Text","tags":["typography","kinetic-type","title","variable-font","text"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/weight-wave.json","heavy":false,"width":1920,"height":1080}},{"id":"wordmark-tiles","kind":"component","href":"/catalog/components/wordmark-tiles","title":"Wordmark Tiles","tagline":"A wordmark resolves from deterministic color noise into correctly cropped glyph tiles through a spatially modulated GSAP wave.","description":"A wordmark resolves from deterministic color noise into correctly cropped glyph tiles through a spatially modulated GSAP wave.","group":"text-captions","section":"Typography & Text","tags":["typography","wordmark","tiles","raster","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/wordmark-tiles.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-prism-title","kind":"block","href":"/catalog/blocks/yt-prism-title","title":"Chromatic Fringe Title","tagline":"Display title on a transparent root: blur-focus entrance, red/blue fringe that settles then breathes, perspective bow, slow scale drift","description":"Display title on a transparent root: blur-focus entrance, red/blue fringe that settles then breathes, perspective bow, slow scale drift","group":"text-captions","section":"Typography & Text","tags":["typography","title-card","creator"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-prism-title.json","heavy":false,"width":1920,"height":1080}},{"id":"lower-third-bild","kind":"block","href":"/catalog/blocks/lower-third-bild","title":"Lower Third — BILD Style","tagline":"News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow.","description":"News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow.","group":"text-captions","section":"Lower Thirds","tags":["broadcast","lower-third","news","overlay"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lower-third-bild.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-accent-underline","kind":"block","href":"/catalog/blocks/lt-accent-underline","title":"Lower Third — Accent Underline","tagline":"Cardless lower third for footage overlay: name rises, an accent rule draws left-to-right, role fades in; text-shadowed for legibility","description":"Cardless lower third for footage overlay: name rises, an accent rule draws left-to-right, role fades in; text-shadowed for legibility","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-accent-underline.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-bold-block","kind":"block","href":"/catalog/blocks/lt-bold-block","title":"Lower Third — Bold Block","tagline":"High-energy podcast lower third: solid dark block wipes in, uppercase name slams up, accent tag pops","description":"High-energy podcast lower third: solid dark block wipes in, uppercase name slams up, accent tag pops","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-bold-block.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-clean-bar","kind":"block","href":"/catalog/blocks/lt-clean-bar","title":"Lower Third — Clean Bar","tagline":"Minimal white-card lower third for podcasts/interviews: accent tab, name + role, clip-wipe entrance","description":"Minimal white-card lower third for podcasts/interviews: accent tab, name + role, clip-wipe entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-clean-bar.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-color-block","kind":"block","href":"/catalog/blocks/lt-color-block","title":"Lower Third — Color Block","tagline":"High-energy lower third: bold accent-color block slides in with overshoot, condensed name + mono role","description":"High-energy lower third: bold accent-color block slides in with overshoot, condensed name + mono role","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-color-block.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-dark-card","kind":"block","href":"/catalog/blocks/lt-dark-card","title":"Lower Third — Dark Card","tagline":"Charcoal card lower third for bright footage: name, drawn accent underline, role; slide-up entrance","description":"Charcoal card lower third for bright footage: name, drawn accent underline, role; slide-up entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","dark"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-dark-card.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-kicker-name","kind":"block","href":"/catalog/blocks/lt-kicker-name","title":"Lower Third — Kicker Name","tagline":"Cardless lower third with an accent eyebrow/kicker tag, heavy name, and a drawn baseline; for footage","description":"Cardless lower third with an accent eyebrow/kicker tag, heavy name, and a drawn baseline; for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-kicker-name.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-mask-reveal","kind":"block","href":"/catalog/blocks/lt-mask-reveal","title":"Lower Third — Mask Reveal","tagline":"Cardless lower third: an accent sweep crosses and clip-path-reveals a heavy name, role fades up; for footage","description":"Cardless lower third: an accent sweep crosses and clip-path-reveals a heavy name, role fades up; for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-mask-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-side-rule","kind":"block","href":"/catalog/blocks/lt-side-rule","title":"Lower Third — Side Rule","tagline":"Cardless lower third with a vertical accent bar; condensed display name + mono role, text-shadowed for footage","description":"Cardless lower third with a vertical accent bar; condensed display name + mono role, text-shadowed for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-side-rule.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-soft-pill","kind":"block","href":"/catalog/blocks/lt-soft-pill","title":"Lower Third — Soft Pill","tagline":"Rounded white pill lower third for podcasts/interviews: status dot, name + role, scale-pop entrance","description":"Rounded white pill lower third for podcasts/interviews: status dot, name + role, scale-pop entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-soft-pill.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-stack-bars","kind":"block","href":"/catalog/blocks/lt-stack-bars","title":"Lower Third — Stack Bars","tagline":"Two stacked bars: a dark name bar wipes from the left, an accent role bar wipes from the right","description":"Two stacked bars: a dark name bar wipes from the left, an accent role bar wipes from the right","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-stack-bars.json","heavy":false,"width":1920,"height":1080}},{"id":"news-ticker","kind":"block","href":"/catalog/blocks/news-ticker","title":"News Ticker","tagline":"Premium broadcast-style lower-third ticker with live label, headline ribbon, and scrolling news crawl.","description":"Premium broadcast-style lower-third ticker with live label, headline ribbon, and scrolling news crawl.","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","news","ticker"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/news-ticker.json","heavy":false,"width":1920,"height":1080}},{"id":"code-3d-extrude","kind":"block","href":"/catalog/blocks/code-3d-extrude","title":"Code 3D Extrude","tagline":"Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and lighting, not a 2D transform.","description":"Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and lighting, not a 2D transform.","group":"code","section":"Code Animations","tags":["code","code-animation","3d","webgl","developer"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-3d-extrude.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-3d-extrude.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-3d-extrude.json","heavy":true,"width":1920,"height":1080}},{"id":"code-diff","kind":"block","href":"/catalog/blocks/code-diff","title":"Code Diff","tagline":"An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.","description":"An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.","group":"code","section":"Code Animations","tags":["code","code-animation","diff","developer"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-diff.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-diff.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-diff.json","heavy":false,"width":1920,"height":1080}},{"id":"code-highlight","kind":"block","href":"/catalog/blocks/code-highlight","title":"Code Highlight Sweep","tagline":"A highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.","description":"A highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.","group":"code","section":"Code Animations","tags":["code","code-animation","highlight","developer"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-highlight.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-highlight.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"code-morph","kind":"block","href":"/catalog/blocks/code-morph","title":"Code Morph","tagline":"One snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.","description":"One snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.","group":"code","section":"Code Animations","tags":["code","code-animation","morph","refactor","developer"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-morph.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-morph.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"code-particle-assemble","kind":"block","href":"/catalog/blocks/code-particle-assemble","title":"Code Particle Assemble","tagline":"Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text — a particle system, not a token tween.","description":"Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text — a particle system, not a token tween.","group":"code","section":"Code Animations","tags":["code","code-animation","particles","gpu","webgl","developer"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-particle-assemble.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-particle-assemble.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-particle-assemble.json","heavy":true,"width":1920,"height":1080}},{"id":"code-scroll","kind":"block","href":"/catalog/blocks/code-scroll","title":"Code Scroll To Line","tagline":"The camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.","description":"The camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.","group":"code","section":"Code Animations","tags":["code","code-animation","scroll","developer"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-scroll.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-scroll.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-scroll.json","heavy":false,"width":1920,"height":1080}},{"id":"code-shader-dissolve","kind":"block","href":"/catalog/blocks/code-shader-dissolve","title":"Code Shader Dissolve","tagline":"The code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then holds crisp.","description":"The code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then holds crisp.","group":"code","section":"Code Animations","tags":["code","code-animation","shader","webgl","developer"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-shader-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-shader-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-shader-dissolve.json","heavy":true,"width":1920,"height":1080}},{"id":"code-snippet-flight","kind":"block","href":"/catalog/blocks/code-snippet-flight","title":"Code Snippet Flight","tagline":"Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP.","description":"Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP.","group":"code","section":"Code Animations","tags":["code","code-animation","flight","developer"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-flight.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-flight.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-flight.json","heavy":false,"width":1920,"height":1080}},{"id":"code-typing","kind":"block","href":"/catalog/blocks/code-typing","title":"Code Typing","tagline":"Token-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.","description":"Token-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.","group":"code","section":"Code Animations","tags":["code","code-animation","typing","developer"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-typing.json","heavy":false,"width":1920,"height":1080}},{"id":"terminal-simulator","kind":"component","href":"/catalog/components/terminal-simulator","title":"Terminal Simulator","tagline":"A terminal window types commands and streams log output.","description":"A terminal window types commands and streams log output.","group":"code","section":"Code Animations","tags":["code-animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/terminal-simulator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/terminal-simulator.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-basic","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-basic","title":"Code Snippet - Apple Terminal Basic","tagline":"Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session.","description":"Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-basic.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-basic.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-basic.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-clear-dark","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-clear-dark","title":"Code Snippet - Apple Terminal Clear Dark","tagline":"Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session.","description":"Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-dark.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-dark.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-clear-light","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-clear-light","title":"Code Snippet - Apple Terminal Clear Light","tagline":"Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session.","description":"Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-light.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-light.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-grass","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-grass","title":"Code Snippet - Apple Terminal Grass","tagline":"Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session.","description":"Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-grass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-grass.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-grass.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-homebrew","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-homebrew","title":"Code Snippet - Apple Terminal Homebrew","tagline":"Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session.","description":"Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-homebrew.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-homebrew.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-man-page","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-man-page","title":"Code Snippet - Apple Terminal Man Page","tagline":"Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session.","description":"Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-man-page.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-man-page.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-man-page.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-novel","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-novel","title":"Code Snippet - Apple Terminal Novel","tagline":"Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session.","description":"Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-novel.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-novel.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-novel.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-ocean","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-ocean","title":"Code Snippet - Apple Terminal Ocean","tagline":"Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session.","description":"Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-ocean.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-ocean.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-ocean.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-pro","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-pro","title":"Code Snippet - Apple Terminal Pro","tagline":"Apple Terminal Pro profile: black background with grey text and lime green cursor, per-character typing animation of a shell session.","description":"Apple Terminal Pro profile: black background with grey text and lime green cursor, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-pro.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-pro.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-pro.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-red-sands","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-red-sands","title":"Code Snippet - Apple Terminal Red Sands","tagline":"Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session.","description":"Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-red-sands.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-red-sands.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-silver-aerogel","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-silver-aerogel","title":"Code Snippet - Apple Terminal Silver Aerogel","tagline":"Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session.","description":"Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-solid-colors","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-solid-colors","title":"Code Snippet - Apple Terminal Solid Colors","tagline":"Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session.","description":"Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-solid-colors.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-solid-colors.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-dark-2026","kind":"block","href":"/catalog/blocks/code-snippet-dark-2026","title":"Code Snippet - Dark 2026","tagline":"VS Code workbench with per-character typing animation in the Dark 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Dark 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-dark-2026.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-dark-modern","kind":"block","href":"/catalog/blocks/code-snippet-dark-modern","title":"Code Snippet - Dark Modern","tagline":"VS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-dark-modern.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-dark-plus","kind":"block","href":"/catalog/blocks/code-snippet-dark-plus","title":"Code Snippet - Dark+","tagline":"VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-dark-plus.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-high-contrast","kind":"block","href":"/catalog/blocks/code-snippet-high-contrast","title":"Code Snippet - High Contrast","tagline":"VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-high-contrast.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-high-contrast-light","kind":"block","href":"/catalog/blocks/code-snippet-high-contrast-light","title":"Code Snippet - High Contrast Light","tagline":"VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-high-contrast-light.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-light-2026","kind":"block","href":"/catalog/blocks/code-snippet-light-2026","title":"Code Snippet - Light 2026","tagline":"VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-light-2026.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-light-modern","kind":"block","href":"/catalog/blocks/code-snippet-light-modern","title":"Code Snippet - Light Modern","tagline":"VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-light-modern.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-light-plus","kind":"block","href":"/catalog/blocks/code-snippet-light-plus","title":"Code Snippet - Light+","tagline":"VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-light-plus.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-monokai","kind":"block","href":"/catalog/blocks/code-snippet-monokai","title":"Code Snippet - Monokai","tagline":"VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-monokai.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-solarized-light","kind":"block","href":"/catalog/blocks/code-snippet-solarized-light","title":"Code Snippet - Solarized Light","tagline":"VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-solarized-light.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-visual-studio-dark","kind":"block","href":"/catalog/blocks/code-snippet-visual-studio-dark","title":"Code Snippet - Visual Studio Dark","tagline":"VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-visual-studio-dark.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-visual-studio-light","kind":"block","href":"/catalog/blocks/code-snippet-visual-studio-light","title":"Code Snippet - Visual Studio Light","tagline":"VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-visual-studio-light.json","heavy":false,"width":1920,"height":1080}},{"id":"chromatic-radial-split","kind":"block","href":"/catalog/blocks/chromatic-radial-split","title":"Chromatic Radial Split","tagline":"Shader transition with chromatic aberration radial split","description":"Shader transition with chromatic aberration radial split","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/chromatic-radial-split.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/chromatic-radial-split.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/chromatic-radial-split.json","heavy":true,"width":1920,"height":1080}},{"id":"cinematic-zoom","kind":"block","href":"/catalog/blocks/cinematic-zoom","title":"Cinematic Zoom","tagline":"Shader transition with dramatic zoom blur","description":"Shader transition with dramatic zoom blur","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cinematic-zoom.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cinematic-zoom.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cinematic-zoom.json","heavy":true,"width":1920,"height":1080}},{"id":"cross-warp-morph","kind":"block","href":"/catalog/blocks/cross-warp-morph","title":"Cross Warp Morph","tagline":"Shader transition with cross-warped morphing","description":"Shader transition with cross-warped morphing","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cross-warp-morph.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cross-warp-morph.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cross-warp-morph.json","heavy":true,"width":1920,"height":1080}},{"id":"domain-warp-dissolve","kind":"block","href":"/catalog/blocks/domain-warp-dissolve","title":"Domain Warp Dissolve","tagline":"Shader transition with fractal noise domain warping","description":"Shader transition with fractal noise domain warping","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/domain-warp-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/domain-warp-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/domain-warp-dissolve.json","heavy":true,"width":1920,"height":1080}},{"id":"flash-through-white","kind":"block","href":"/catalog/blocks/flash-through-white","title":"Flash Through White","tagline":"Shader transition with white flash crossfade","description":"Shader transition with white flash crossfade","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flash-through-white.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flash-through-white.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flash-through-white.json","heavy":true,"width":1920,"height":1080}},{"id":"glitch","kind":"block","href":"/catalog/blocks/glitch","title":"Glitch","tagline":"Shader transition with digital glitch artifacts","description":"Shader transition with digital glitch artifacts","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glitch.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glitch.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/glitch.json","heavy":true,"width":1920,"height":1080}},{"id":"gravitational-lens","kind":"block","href":"/catalog/blocks/gravitational-lens","title":"Gravitational Lens","tagline":"Shader transition with gravitational lensing distortion","description":"Shader transition with gravitational lensing distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/gravitational-lens.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/gravitational-lens.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/gravitational-lens.json","heavy":true,"width":1920,"height":1080}},{"id":"light-leak","kind":"block","href":"/catalog/blocks/light-leak","title":"Light Leak","tagline":"Shader transition with cinematic light leak overlay","description":"Shader transition with cinematic light leak overlay","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/light-leak.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/light-leak.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/light-leak.json","heavy":true,"width":1920,"height":1080}},{"id":"ridged-burn","kind":"block","href":"/catalog/blocks/ridged-burn","title":"Ridged Burn","tagline":"Shader transition with ridged turbulence burn effect","description":"Shader transition with ridged turbulence burn effect","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ridged-burn.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ridged-burn.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ridged-burn.json","heavy":true,"width":1920,"height":1080}},{"id":"ripple-waves","kind":"block","href":"/catalog/blocks/ripple-waves","title":"Ripple Waves","tagline":"Shader transition with concentric ripple wave distortion","description":"Shader transition with concentric ripple wave distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ripple-waves.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ripple-waves.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ripple-waves.json","heavy":true,"width":1920,"height":1080}},{"id":"sdf-iris","kind":"block","href":"/catalog/blocks/sdf-iris","title":"SDF Iris","tagline":"Shader transition with signed distance field iris reveal","description":"Shader transition with signed distance field iris reveal","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/sdf-iris.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/sdf-iris.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/sdf-iris.json","heavy":true,"width":1920,"height":1080}},{"id":"swirl-vortex","kind":"block","href":"/catalog/blocks/swirl-vortex","title":"Swirl Vortex","tagline":"Shader transition with swirling vortex distortion","description":"Shader transition with swirling vortex distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/swirl-vortex.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/swirl-vortex.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/swirl-vortex.json","heavy":true,"width":1920,"height":1080}},{"id":"thermal-distortion","kind":"block","href":"/catalog/blocks/thermal-distortion","title":"Thermal Distortion","tagline":"Shader transition with heat haze thermal distortion","description":"Shader transition with heat haze thermal distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/thermal-distortion.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/thermal-distortion.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/thermal-distortion.json","heavy":true,"width":1920,"height":1080}},{"id":"whip-pan","kind":"block","href":"/catalog/blocks/whip-pan","title":"Whip Pan","tagline":"Shader transition simulating a fast camera whip pan","description":"Shader transition simulating a fast camera whip pan","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/whip-pan.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/whip-pan.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/whip-pan.json","heavy":true,"width":1920,"height":1080}},{"id":"beat-freeze-cut","kind":"block","href":"/catalog/blocks/beat-freeze-cut","title":"Beat Freeze Cut","tagline":"A beat-driven speed ramp, freeze-frame hit, and hard-cut sequence for music-led promos and montages.","description":"A beat-driven speed ramp, freeze-frame hit, and hard-cut sequence for music-led promos and montages.","group":"transitions","section":"CSS Transitions","tags":["transition","music","beat-driven","freeze-frame"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/beat-freeze-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-scribble-transition","kind":"block","href":"/catalog/blocks/hw-scribble-transition","title":"Scribble Transition","tagline":"Overlay transition: scribble bands accumulate to cover the frame with a solid backstop, the host cuts beneath, and the scribble clears","description":"Overlay transition: scribble bands accumulate to cover the frame with a solid backstop, the host cuts beneath, and the scribble clears","group":"transitions","section":"CSS Transitions","tags":["handwritten","transition","wipe"],"tech":[],"duration":2.2,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-scribble-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-clone-wall-transition","kind":"block","href":"/catalog/blocks/mk-clone-wall-transition","title":"Text Clone Wall Transition","tagline":"Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears — hard-cut the content beneath while covered","description":"Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears — hard-cut the content beneath while covered","group":"transitions","section":"CSS Transitions","tags":["transition","typography","wipe"],"tech":[],"duration":2.4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-clone-wall-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"organic-light-leak-overlay","kind":"block","href":"/catalog/blocks/organic-light-leak-overlay","title":"Organic Light Leak Overlay","tagline":"Finite CSS light-leak overlay for memory beats and motivated transitions","description":"Finite CSS light-leak overlay for memory beats and motivated transitions","group":"transitions","section":"CSS Transitions","tags":["light-leak","film","memory","transition","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/organic-light-leak-overlay.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/organic-light-leak-overlay.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/organic-light-leak-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-3d","kind":"block","href":"/catalog/blocks/transitions-3d","title":"3D Transitions","tagline":"Showcase of 3D perspective flip and rotate transitions","description":"Showcase of 3D perspective flip and rotate transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-3d.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-3d.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-3d.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-blur","kind":"block","href":"/catalog/blocks/transitions-blur","title":"Blur Transitions","tagline":"Showcase of blur-based transitions between scenes","description":"Showcase of blur-based transitions between scenes","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-blur.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-blur.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-blur.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-cover","kind":"block","href":"/catalog/blocks/transitions-cover","title":"Cover Transitions","tagline":"Showcase of cover/uncover slide transitions","description":"Showcase of cover/uncover slide transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-cover.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-cover.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-cover.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-destruction","kind":"block","href":"/catalog/blocks/transitions-destruction","title":"Destruction Transitions","tagline":"Showcase of destructive break-apart transitions","description":"Showcase of destructive break-apart transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":14,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-destruction.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-destruction.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-destruction.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-dissolve","kind":"block","href":"/catalog/blocks/transitions-dissolve","title":"Dissolve Transitions","tagline":"Showcase of dissolve and fade transitions","description":"Showcase of dissolve and fade transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":24,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-distortion","kind":"block","href":"/catalog/blocks/transitions-distortion","title":"Distortion Transitions","tagline":"Showcase of warp and distortion transitions","description":"Showcase of warp and distortion transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-distortion.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-distortion.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-distortion.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-grid","kind":"block","href":"/catalog/blocks/transitions-grid","title":"Grid Transitions","tagline":"Showcase of grid-based tile transitions","description":"Showcase of grid-based tile transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-grid.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-grid.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-light","kind":"block","href":"/catalog/blocks/transitions-light","title":"Light Transitions","tagline":"Showcase of light-based glow and flash transitions","description":"Showcase of light-based glow and flash transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-light.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-light.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-light.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-mechanical","kind":"block","href":"/catalog/blocks/transitions-mechanical","title":"Mechanical Transitions","tagline":"Showcase of mechanical shutter and iris transitions","description":"Showcase of mechanical shutter and iris transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-mechanical.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-mechanical.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-mechanical.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-other","kind":"block","href":"/catalog/blocks/transitions-other","title":"Other Transitions","tagline":"Showcase of miscellaneous creative transitions","description":"Showcase of miscellaneous creative transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-other.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-other.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-other.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-push","kind":"block","href":"/catalog/blocks/transitions-push","title":"Push Transitions","tagline":"Showcase of push and slide transitions","description":"Showcase of push and slide transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":24,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-push.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-push.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-push.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-radial","kind":"block","href":"/catalog/blocks/transitions-radial","title":"Radial Transitions","tagline":"Showcase of radial wipe and reveal transitions","description":"Showcase of radial wipe and reveal transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-radial.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-radial.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-radial.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-scale","kind":"block","href":"/catalog/blocks/transitions-scale","title":"Scale Transitions","tagline":"Showcase of scale and zoom transitions","description":"Showcase of scale and zoom transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-scale.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-scale.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-scale.json","heavy":false,"width":1920,"height":1080}},{"id":"animated-bar-chart","kind":"component","href":"/catalog/components/animated-bar-chart","title":"Animated Bar Chart","tagline":"A compact data card with deterministic bar growth and value callouts.","description":"A compact data card with deterministic bar growth and value callouts.","group":"data-charts","section":"Data","tags":["data"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/animated-bar-chart.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/animated-bar-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"ascii-render-pass","kind":"component","href":"/catalog/components/ascii-render-pass","title":"ASCII Render Pass","tagline":"A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a density ramp charset; resolution steps coarse to fine as the piece resolves, then holds legible-fine.","description":"A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a density ramp charset; resolution steps coarse to fine as the piece resolves, then holds legible-fine.","group":"data-charts","section":"Data","tags":["motion-primitive","experiment","texture","ascii","quantize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ascii-render-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"ascii-trail-reveal","kind":"component","href":"/catalog/components/ascii-trail-reveal","title":"ASCII Trail Reveal","tagline":"An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel.","description":"An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel.","group":"data-charts","section":"Data","tags":["motion-primitive","intro","reveal","ascii","trail","grid"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ascii-trail-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"bar-chart-race","kind":"block","href":"/catalog/blocks/bar-chart-race","title":"Bar Chart Race","tagline":"Ranked bars grow and overtake each other as a time series advances, with the axis rescaling as values climb and the accent handing over to whoever leads","description":"Ranked bars grow and overtake each other as a time series advances, with the axis rescaling as values climb and the accent handing over to whoever leads","group":"data-charts","section":"Data","tags":["data","chart","statistics","ranking"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/bar-chart-race.json","heavy":false,"width":1920,"height":1080}},{"id":"chart-story","kind":"component","href":"/catalog/components/chart-story","title":"Chart Story","tagline":"One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a sweeping donut, or filling progress bars, with an accented value callout on the emphasized datum.","description":"One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a sweeping donut, or filling progress bars, with an accented value callout on the emphasized datum.","group":"data-charts","section":"Data","tags":["motion-primitive","proof","stats","chart","bars","line","donut","progress","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chart-story.json","heavy":false,"width":1920,"height":1080}},{"id":"conic-progress-ring","kind":"component","href":"/catalog/components/conic-progress-ring","title":"Conic Progress Ring","tagline":"A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage.","description":"A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage.","group":"data-charts","section":"Data","tags":["data","progress","ring","conic-gradient","prove","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/conic-progress-ring.json","heavy":false,"width":1920,"height":1080}},{"id":"data-chart","kind":"block","href":"/catalog/blocks/data-chart","title":"Data Chart","tagline":"Animated bar + line chart with staggered reveal, NYT-style typography, and value labels","description":"Animated bar + line chart with staggered reveal, NYT-style typography, and value labels","group":"data-charts","section":"Data","tags":["data","chart","statistics"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/data-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"decline-chart","kind":"component","href":"/catalog/components/decline-chart","title":"Decline Chart","tagline":"A metric line draws downward as its value counts down and the ambient background darkens in lockstep.","description":"A metric line draws downward as its value counts down and the ambient background darkens in lockstep.","group":"data-charts","section":"Data","tags":["motion-primitive","data","chart","decline","metric","problem"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/decline-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-wall","kind":"component","href":"/catalog/components/logo-wall","title":"Logo Wall","tagline":"A trusted-by wall of placeholder lettermark logos that fades and scales into place with a deterministic per-cell stagger.","description":"A trusted-by wall of placeholder lettermark logos that fades and scales into place with a deterministic per-cell stagger.","group":"data-charts","section":"Data","tags":["data","logos","social-proof","stagger","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-wall.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-line-graph","kind":"block","href":"/catalog/blocks/mk-line-graph","title":"Minimal Line Graph","tagline":"One or two SVG series draw on with dots popping and value labels riding the draw front; dim baseline axis, x-labels, color-dot legend","description":"One or two SVG series draw on with dots popping and value labels riding the draw front; dim baseline axis, x-labels, color-dot legend","group":"data-charts","section":"Data","tags":["data-viz","chart","graph","minimal"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-line-graph.json","heavy":false,"width":1920,"height":1080}},{"id":"spain-map","kind":"block","href":"/catalog/blocks/spain-map","title":"Spain Map","tagline":"Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection","description":"Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection","group":"data-charts","section":"Data","tags":["data","map","geography","spain","europe","choropleth"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spain-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spain-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/spain-map.json","heavy":false,"width":1920,"height":1080}},{"id":"star-rating-fill","kind":"component","href":"/catalog/components/star-rating-fill","title":"Star Rating Fill","tagline":"A token-driven star row whose colored layer sweeps to a rating, preserves the fractional final star, and can count the value in sync.","description":"A token-driven star row whose colored layer sweeps to a rating, preserves the fractional final star, and can count the value in sync.","group":"data-charts","section":"Data","tags":["data","rating","stars","fractional","fill","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/star-rating-fill.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map","kind":"block","href":"/catalog/blocks/us-map","title":"US Map","tagline":"Animated US choropleth map with staggered state reveals, value labels, and gradient legend — pure inline SVG with GSAP","description":"Animated US choropleth map with staggered state reveals, value labels, and gradient legend — pure inline SVG with GSAP","group":"data-charts","section":"Data","tags":["data","map","geography","usa","choropleth"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-bubble","kind":"block","href":"/catalog/blocks/us-map-bubble","title":"US Bubble Map","tagline":"Animated US bubble map with proportional city markers, value callouts, and connection lines — composable with us-map","description":"Animated US bubble map with proportional city markers, value callouts, and connection lines — composable with us-map","group":"data-charts","section":"Data","tags":["data","map","geography","usa","bubble","cities"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-bubble.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-bubble.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-bubble.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-flow","kind":"block","href":"/catalog/blocks/us-map-flow","title":"US Flow Map","tagline":"Animated connection arcs between US cities over a base map — composable origin-destination flow visualization","description":"Animated connection arcs between US cities over a base map — composable origin-destination flow visualization","group":"data-charts","section":"Data","tags":["data","map","geography","usa","flow","connections","arcs"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-flow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-flow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-hex","kind":"block","href":"/catalog/blocks/us-map-hex","title":"US Hex Grid Map","tagline":"Animated hexagonal tile grid map — each state as an equal-weight hex with data fill and abbreviation label","description":"Animated hexagonal tile grid map — each state as an equal-weight hex with data fill and abbreviation label","group":"data-charts","section":"Data","tags":["data","map","geography","usa","hexgrid","tilegrid"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-hex.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-hex.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-hex.json","heavy":false,"width":1920,"height":1080}},{"id":"week-in-merges","kind":"block","href":"/catalog/blocks/week-in-merges","title":"Week in Merges","tagline":"Each author's avatar bounces across their row at a speed set by how many pull requests they merged","description":"Each author's avatar bounces across their row at a speed set by how many pull requests they merged","group":"data-charts","section":"Data","tags":["data","chart","ranking","leaderboard"],"tech":[],"duration":16,"width":1080,"height":1350,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/week-in-merges.json","heavy":false,"width":1080,"height":1350}},{"id":"world-map","kind":"block","href":"/catalog/blocks/world-map","title":"World Map","tagline":"Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset — D3 Natural Earth projection","description":"Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset — D3 Natural Earth projection","group":"data-charts","section":"Data","tags":["data","map","geography","world","choropleth"],"tech":[],"duration":14,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/world-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/world-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/world-map.json","heavy":false,"width":1920,"height":1080}},{"id":"ai-chat-reveal","kind":"block","href":"/catalog/blocks/ai-chat-reveal","title":"AI Chat Reveal","tagline":"A question is typed on a rising keyboard, sent, and answered by an AI that streams its reply word by word on a measured token rhythm - thinking dot, uneven bursts, bulleted list - before the app cuts to a branded closing card","description":"A question is typed on a rising keyboard, sent, and answered by an AI that streams its reply word by word on a measured token rhythm - thinking dot, uneven bursts, bulleted list - before the app cuts to a branded closing card","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":19.3333,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/ai-chat-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"app-showcase","kind":"block","href":"/catalog/blocks/app-showcase","title":"App Showcase","tagline":"Fitness app product showcase with three floating smartphone screens","description":"Fitness app product showcase with three floating smartphone screens","group":"scenes-demos","section":"Showcases","tags":["showcase","app","3d"],"tech":[],"duration":5.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/app-showcase.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/app-showcase.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/app-showcase.json","heavy":false,"width":1920,"height":1080}},{"id":"apple-money-count","kind":"block","href":"/catalog/blocks/apple-money-count","title":"Apple Money Count","tagline":"Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound.","description":"Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound.","group":"scenes-demos","section":"Showcases","tags":["showcase","finance","kinetic","youtube","sfx"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/apple-money-count.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/apple-money-count.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/apple-money-count.json","heavy":false,"width":1920,"height":1080}},{"id":"blue-sweater-intro-video","kind":"block","href":"/catalog/blocks/blue-sweater-intro-video","title":"Blue Sweater Intro Video","tagline":"Warm AI creator intro sequence that resolves into an X follow card for @_blue_sweater_.","description":"Warm AI creator intro sequence that resolves into an X follow card for @_blue_sweater_.","group":"scenes-demos","section":"Showcases","tags":["showcase","ai","creator","sfx"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/blue-sweater-intro-video.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/blue-sweater-intro-video.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/blue-sweater-intro-video.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-dolly-zoom","kind":"block","href":"/catalog/blocks/camera-dolly-zoom","title":"Dolly Zoom (Vertigo Shot)","tagline":"Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while the background collapses behind it or rushes in. Focal length is solved from dolly distance every frame against d * tan(FOV/2) = const, not keyframed beside it. Requires depth: the subject sits on the z = 0 plane and the content behind it must be layered or genuinely 3D (translateZ at two or more distinct depths) -- a flat element gains nothing from this move.","description":"Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while the background collapses behind it or rushes in. Focal length is solved from dolly distance every frame against d * tan(FOV/2) = const, not keyframed beside it. Requires depth: the subject sits on the z = 0 plane and the content behind it must be layered or genuinely 3D (translateZ at two or more distinct depths) -- a flat element gains nothing from this move.","group":"scenes-demos","section":"Showcases","tags":["camera","depth","3d","cinematic"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/camera-dolly-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"chatgpt-exchange","kind":"block","href":"/catalog/blocks/chatgpt-exchange","title":"ChatGPT Exchange","tagline":"A portrait ChatGPT-style exchange types and sends a prompt, streams an answer, assembles a comparison table, and scrolls back through the result","description":"A portrait ChatGPT-style exchange types and sends a prompt, streams an answer, assembles a comparison table, and scrolls back through the result","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":14.9,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/chatgpt-exchange.json","heavy":false,"width":1080,"height":1920}},{"id":"claude-exchange","kind":"block","href":"/catalog/blocks/claude-exchange","title":"Claude Exchange","tagline":"A portrait Claude-style exchange types a prompt, works through search and reasoning steps, then streams a detailed answer with citations and actions","description":"A portrait Claude-style exchange types a prompt, works through search and reasoning steps, then streams a detailed answer with citations and actions","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":21.4,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/claude-exchange.json","heavy":false,"width":1080,"height":1920}},{"id":"cosmic-orb","kind":"block","href":"/catalog/blocks/cosmic-orb","title":"Cosmic Orb","tagline":"An iridescent soap-bubble planet: a slowly spinning sphere of nebula bands, dust lanes and twinkling stars wrapped in a refracting glass limb with chromatic aberration at the edge.","description":"An iridescent soap-bubble planet: a slowly spinning sphere of nebula bands, dust lanes and twinkling stars wrapped in a refracting glass limb with chromatic aberration at the edge.","group":"scenes-demos","section":"Showcases","tags":["webgl","shader","background","showcase","3d"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/cosmic-orb.json","heavy":true,"width":1920,"height":1080}},{"id":"gallery-tunnel","kind":"block","href":"/catalog/blocks/gallery-tunnel","title":"Gallery Tunnel","tagline":"An infinite corridor of panels: a square tunnel receding to a vanishing point, its floor, ceiling and walls tiled with saturated colour slabs and caller-supplied images that swell toward camera and exit past you, the far end dissolving into fog.","description":"An infinite corridor of panels: a square tunnel receding to a vanishing point, its floor, ceiling and walls tiled with saturated colour slabs and caller-supplied images that swell toward camera and exit past you, the far end dissolving into fog.","group":"scenes-demos","section":"Showcases","tags":["webgl","3d","background","showcase","depth","loop"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/gallery-tunnel.json","heavy":false,"width":1920,"height":1080}},{"id":"heygen-avatar-promo-card","kind":"block","href":"/catalog/blocks/heygen-avatar-promo-card","title":"HeyGen Avatar Promo Card","tagline":"A portrait HeyGen offer card pairs a moving avatar mosaic with bold promotional typography and a branded callout","description":"A portrait HeyGen offer card pairs a moving avatar mosaic with bold promotional typography and a branded callout","group":"scenes-demos","section":"Showcases","tags":["showcase","avatar","promotion","vertical"],"tech":[],"duration":10,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/heygen-avatar-promo-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/heygen-avatar-promo-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/heygen-avatar-promo-card.json","heavy":false,"width":1080,"height":1920}},{"id":"message-thread-reveal","kind":"block","href":"/catalog/blocks/message-thread-reveal","title":"Message Thread Reveal","tagline":"A full text conversation plays out on a phone - bubbles popping in, typing indicators, a shared link card, emoji, delivered receipts - with the whole thread scrolling up beat by beat until a closing card lands. The complete chat ad-template, measured message by message","description":"A full text conversation plays out on a phone - bubbles popping in, typing indicators, a shared link card, emoji, delivered receipts - with the whole thread scrolling up beat by beat until a closing card lands. The complete chat ad-template, measured message by message","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","chat","vertical","ad-template"],"tech":[],"duration":25.7667,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/message-thread-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"north-korea-locked-down","kind":"block","href":"/catalog/blocks/north-korea-locked-down","title":"North Korea Locked Down","tagline":"Realistic map zoom into North Korea with a red scribble circle, locked-down pop-up label, and reddish editorial wash.","description":"Realistic map zoom into North Korea with a red scribble circle, locked-down pop-up label, and reddish editorial wash.","group":"scenes-demos","section":"Showcases","tags":["showcase","map","annotation","youtube","kinetic"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/north-korea-locked-down.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/north-korea-locked-down.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/north-korea-locked-down.json","heavy":false,"width":1920,"height":1080}},{"id":"notes-reveal","kind":"block","href":"/catalog/blocks/notes-reveal","title":"Notes Reveal","tagline":"A personal note is typed character by character in a notes app - caret riding every letter, the page scrolling up on measured settle curves as each line lands - then cuts to a hand-lettered paper card with a marker headline and a ticked checklist","description":"A personal note is typed character by character in a notes app - caret riding every letter, the page scrolling up on measured settle curves as each line lands - then cuts to a hand-lettered paper card with a marker headline and a ticked checklist","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notes","typing","vertical","ad-template"],"tech":[],"duration":24.85,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/notes-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"notification-cascade","kind":"block","href":"/catalog/blocks/notification-cascade","title":"Notification Cascade","tagline":"Phone notifications land one after another and stack up the screen, each banner pushing the pile down as it arrives, before the whole stack lifts away into a closing card","description":"Phone notifications land one after another and stack up the screen, each banner pushing the pile down as it arrives, before the whole stack lifts away into a closing card","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notification","vertical","ad-template"],"tech":[],"duration":14,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/notification-cascade.json","heavy":false,"width":1080,"height":1920}},{"id":"nyc-paris-flight","kind":"block","href":"/catalog/blocks/nyc-paris-flight","title":"NYC Paris Flight","tagline":"Apple-style realistic map animation with a plane flying from New York to Paris, marker circle, landing pop, and sound effects.","description":"Apple-style realistic map animation with a plane flying from New York to Paris, marker circle, landing pop, and sound effects.","group":"scenes-demos","section":"Showcases","tags":["showcase","travel","map","youtube","sfx"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/nyc-paris-flight.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/nyc-paris-flight.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/nyc-paris-flight.json","heavy":false,"width":1920,"height":1080}},{"id":"oscilloscope-trace","kind":"block","href":"/catalog/blocks/oscilloscope-trace","title":"Oscilloscope Trace","tagline":"CRT oscilloscope beam sweeping a waveform across a 10x8 graticule, with closed-form phosphor persistence: the tail decays as exp(-age/tau) and brightens where the beam slows","description":"CRT oscilloscope beam sweeping a waveform across a 10x8 graticule, with closed-form phosphor persistence: the tail decays as exp(-age/tau) and brightens where the beam slows","group":"scenes-demos","section":"Showcases","tags":["instrument","data","showcase","retro"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/oscilloscope-trace.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/oscilloscope-trace.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/oscilloscope-trace.json","heavy":false,"width":1920,"height":1080}},{"id":"rack-focus","kind":"block","href":"/catalog/blocks/rack-focus","title":"Rack Focus","tagline":"A focus pull with real aperture bokeh: the focal plane travels from a near subject to a far one, so one resolves as the other blows into hard-edged polygon discs that clip to a cat's eye toward the corners. A focus pull only reads against content at two clearly separated depths, so this block carries its own depth-layered night exterior and puts both subject depths on variables.","description":"A focus pull with real aperture bokeh: the focal plane travels from a near subject to a far one, so one resolves as the other blows into hard-edged polygon discs that clip to a cat's eye toward the corners. A focus pull only reads against content at two clearly separated depths, so this block carries its own depth-layered night exterior and puts both subject depths on variables.","group":"scenes-demos","section":"Showcases","tags":["webgl","shader","camera","depth","cinematic","showcase"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/rack-focus.json","heavy":true,"width":1920,"height":1080}},{"id":"share-sheet-carousel","kind":"block","href":"/catalog/blocks/share-sheet-carousel","title":"Share-Sheet Carousel","tagline":"A share sheet springs up from the bottom of the phone and cycles previews inside its card on a fast cut rhythm while the blurred ground swaps behind it, ending on an accept tap","description":"A share sheet springs up from the bottom of the phone and cycles previews inside its card on a fast cut rhythm while the blurred ground swaps behind it, ending on an accept tap","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","share-sheet","vertical","ad-template"],"tech":[],"duration":7.2333,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/share-sheet-carousel.json","heavy":false,"width":1080,"height":1920}},{"id":"slack-notification-ad","kind":"block","href":"/catalog/blocks/slack-notification-ad","title":"Slack Notification Ad","tagline":"A portrait lock screen fills with escalating Slack video requests before HeyGen delivers the payoff","description":"A portrait lock screen fills with escalating Slack video requests before HeyGen delivers the payoff","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notification","vertical","ad-template"],"tech":[],"duration":12,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/slack-notification-ad.json","heavy":false,"width":1080,"height":1920}},{"id":"ui-3d-reveal","kind":"block","href":"/catalog/blocks/ui-3d-reveal","title":"3D UI Reveal","tagline":"Perspective 3D reveal animation for UI elements","description":"Perspective 3D reveal animation for UI elements","group":"scenes-demos","section":"Showcases","tags":["showcase","3d","reveal"],"tech":[],"duration":13,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ui-3d-reveal.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ui-3d-reveal.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ui-3d-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"vfx-anamorphic-flare","kind":"block","href":"/catalog/blocks/vfx-anamorphic-flare","title":"Anamorphic Streak Flare","tagline":"A drifting field of bright points, each one throwing the long horizontal blue-violet streak a real anamorphic cinema lens produces. Built from the measured filter constants: a 0.3 high-pass, 80 horizontal taps at quarter resolution, a samples/3 gain and a 0x7a8aff tint.","description":"A drifting field of bright points, each one throwing the long horizontal blue-violet streak a real anamorphic cinema lens produces. Built from the measured filter constants: a 0.3 high-pass, 80 horizontal taps at quarter resolution, a samples/3 gain and a 0x7a8aff tint.","group":"scenes-demos","section":"Showcases","tags":["vfx","background","showcase","optical","canvas"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/vfx-anamorphic-flare.json","heavy":false,"width":1920,"height":1080}},{"id":"vpn-youtube-spot","kind":"block","href":"/catalog/blocks/vpn-youtube-spot","title":"VPN YouTube Spot","tagline":"Snappy Apple-style YouTube insert showing a phone finding and installing a friendly VPN app with sound effects.","description":"Snappy Apple-style YouTube insert showing a phone finding and installing a friendly VPN app with sound effects.","group":"scenes-demos","section":"Showcases","tags":["app","showcase","youtube","sfx"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vpn-youtube-spot.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vpn-youtube-spot.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/vpn-youtube-spot.json","heavy":false,"width":1920,"height":1080}},{"id":"browser-device-stage","kind":"component","href":"/catalog/components/browser-device-stage","title":"Browser Device Stage","tagline":"A generic app surface in token-native device chrome (browser, window, or phone). The screen is a slot for caller img/video/HTML with a token-styled skeleton default; one settle entrance, a readable hold, and an optional screen swap.","description":"A generic app surface in token-native device chrome (browser, window, or phone). The screen is a slot for caller img/video/HTML with a token-styled skeleton default; one settle entrance, a readable hold, and an optional screen swap.","group":"scenes-demos","section":"Product Demo","tags":["stage","product-demo","device","browser","phone","slot","chrome"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/browser-device-stage.json","heavy":false,"width":1920,"height":1080}},{"id":"code-terminal-run","kind":"component","href":"/catalog/components/code-terminal-run","title":"Code Terminal Run","tagline":"A token-chrome terminal panel runs one command: the prompt line types deterministically behind an integer-cycle caret, executes after a beat, and output lines print one per cue before a fresh prompt appears.","description":"A token-chrome terminal panel runs one command: the prompt line types deterministically behind an integer-cycle caret, executes after a beat, and output lines print one per cue before a fresh prompt appears.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","terminal","typing","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/code-terminal-run.json","heavy":false,"width":1920,"height":1080}},{"id":"cursor-glyph-trail","kind":"component","href":"/catalog/components/cursor-glyph-trail","title":"Cursor Glyph Trail","tagline":"An actor travels an authored path depositing small dithered glyphs at its past positions, each popping in and decaying in place, stamp rate scaling with the actor's velocity.","description":"An actor travels an authored path depositing small dithered glyphs at its past positions, each popping in and decaying in place, stamp rate scaling with the actor's velocity.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","demonstrate","trail","cursor","glyphs","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cursor-glyph-trail.json","heavy":false,"width":1920,"height":1080}},{"id":"echo-trail","kind":"component","href":"/catalog/components/echo-trail","title":"Echo Trail","tagline":"A moving element renders with N ghosted copies of itself at t minus i times delta, opacity stepped down per ghost; one traversal, echoes collapsing into the settled element at rest.","description":"A moving element renders with N ghosted copies of itself at t minus i times delta, opacity stepped down per ghost; one traversal, echoes collapsing into the settled element at rest.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","demonstrate","trail","onion-skin","ghosts","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/echo-trail.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-swap","kind":"component","href":"/catalog/components/focus-swap","title":"Focus Swap","tagline":"Moves attention between two side-by-side cards as one recedes with scale, blur, and dimming while the other advances to full focus.","description":"Moves attention between two side-by-side cards as one recedes with scale, blur, and dimming while the other advances to full focus.","group":"scenes-demos","section":"Product Demo","tags":["effect","ui-props","focus","blur","attention","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"icon-morph-beat","kind":"component","href":"/catalog/components/icon-morph-beat","title":"Icon Morph Beat","tagline":"An icon morphs between authored state silhouettes, shifts to an accent color, and marks completion with one restrained pulse.","description":"An icon morphs between authored state silhouettes, shifts to an accent color, and marks completion with one restrained pulse.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","icon","morph","state-change","completion"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/icon-morph-beat.json","heavy":false,"width":1920,"height":1080}},{"id":"native-notification-pop","kind":"component","href":"/catalog/components/native-notification-pop","title":"Native Notification Pop","tagline":"One system-faithful notification banner (iOS or macOS) drops in over any scene on an accurate interruptible spring: fast arrival, soft overshoot, settled mass, backdrop blur, app dot, title, one body line. Holds; tucks away only via exit.","description":"One system-faithful notification banner (iOS or macOS) drops in over any scene on an accurate interruptible spring: fast arrival, soft overshoot, settled mass, backdrop blur, app dot, title, one body line. Holds; tucks away only via exit.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","overlay","notification","spring"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/native-notification-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"notification-stack","kind":"component","href":"/catalog/components/notification-stack","title":"Notification Stack","tagline":"1 to 5 token notification cards slide-settle into a vertical stack on cues, newest on top; one card grows slightly and brightens as the focus while the rest dim by position.","description":"1 to 5 token notification cards slide-settle into a vertical stack on cues, newest on top; one card grows slightly and brightens as the focus while the rest dim by position.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","notification","stack","stagger"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notification-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"offset-path-traveler","kind":"component","href":"/catalog/components/offset-path-traveler","title":"Offset Path Traveler","tagline":"A slotted traveler follows an authored path with tangent rotation, curved entry, and curved exit.","description":"A slotted traveler follows an authored path with tangent rotation, curved entry, and curved exit.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","path","traveler","auto-rotate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/offset-path-traveler.json","heavy":false,"width":1920,"height":1080}},{"id":"press-ripple","kind":"component","href":"/catalog/components/press-ripple","title":"Press Ripple","tagline":"A cursor decel-arrives from off-stage, lands slightly off-center on a caller-positioned target, compresses with it in lockstep, releases with ink ripple rings, then exits off-stage while the pressed state holds.","description":"A cursor decel-arrives from off-stage, lands slightly off-center on a caller-positioned target, compresses with it in lockstep, releases with ink ripple rings, then exits off-stage while the pressed state holds.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","cursor","press","ripple","payoff"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/press-ripple.json","heavy":false,"width":1920,"height":1080}},{"id":"pull-to-refresh","kind":"component","href":"/catalog/components/pull-to-refresh","title":"Pull to Refresh","tagline":"A mobile list pulls through nonlinear rubber-band resistance, arms at a threshold, commits to a bounded loading indicator, then snaps exactly back to rest.","description":"A mobile list pulls through nonlinear rubber-band resistance, arms at a threshold, commits to a bounded loading indicator, then snaps exactly back to rest.","group":"scenes-demos","section":"Product Demo","tags":["pointer","pointers","mobile","gesture","interaction","refresh","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pull-to-refresh.json","heavy":false,"width":1920,"height":1080}},{"id":"screen-flow-carousel","kind":"component","href":"/catalog/components/screen-flow-carousel","title":"Screen Flow Carousel","tagline":"Two to five app screens ride a horizontal rail: one primary at center, neighbors receded, advancing on cues with a velocity-matched throw and a smooth long-tail catch while a mono caption swaps with each advance. Screens are slots with token skeleton defaults.","description":"Two to five app screens ride a horizontal rail: one primary at center, neighbors receded, advancing on cues with a velocity-matched throw and a smooth long-tail catch while a mono caption swaps with each advance. Screens are slots with token skeleton defaults.","group":"scenes-demos","section":"Product Demo","tags":["product-demo","feature-tour","carousel","rail","slot","screens"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/screen-flow-carousel.json","heavy":false,"width":1920,"height":1080}},{"id":"segmentation-flood","kind":"component","href":"/catalog/components/segmentation-flood","title":"Segmentation Flood","tagline":"Machine-vision read of a slotted subject: translucent accent segmentation masks flood on in quantized scanline steps, each region gets a thin bracket and mono label chip, a deterministic 2-frame HUD flicker rides the pass, then the labeled read settles clean.","description":"Machine-vision read of a slotted subject: translucent accent segmentation masks flood on in quantized scanline steps, each region gets a thin bracket and mono label chip, a deterministic 2-frame HUD flicker rides the pass, then the labeled read settles clean.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","ai","hud","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/segmentation-flood.json","heavy":false,"width":1920,"height":1080}},{"id":"soft-blob-touch","kind":"component","href":"/catalog/components/soft-blob-touch","title":"Soft Blob Touch","tagline":"A granular soft blob idles with slow internal drift; a scripted touch dot decel-arrives, the blob deforms toward it with an attraction bulge, then recovers with a velocity-preserving spring. No hard edges anywhere.","description":"A granular soft blob idles with slow internal drift; a scripted touch dot decel-arrives, the blob deforms toward it with an attraction bulge, then recovers with a velocity-preserving spring. No hard edges anywhere.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","material","blob","touch","grain"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/soft-blob-touch.json","heavy":false,"width":1920,"height":1080}},{"id":"spring-stack-shuffle","kind":"component","href":"/catalog/components/spring-stack-shuffle","title":"Spring Stack Shuffle","tagline":"A stack of 3 to 5 slotted cards reshuffles on cues: the back card throws over the top and lands at the front with real mass, the rest compress and resettle; cues that land mid-flight redirect the moving cards with velocity preserved.","description":"A stack of 3 to 5 slotted cards reshuffles on cues: the back card throws over the top and lands at the front with real mass, the rest compress and resettle; cues that land mid-flight redirect the moving cards with velocity preserved.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","physics","stack","interruptible-spring"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/spring-stack-shuffle.json","heavy":false,"width":1920,"height":1080}},{"id":"state-chip-rail","kind":"component","href":"/catalog/components/state-chip-rail","title":"State Chip Rail","tagline":"A rail of mono status chips advances a seek-safe data-state snap machine on a cue schedule: active chip ink on surface, done chips dim, pending chips hollow, optional badges pop beside one state.","description":"A rail of mono status chips advances a seek-safe data-state snap machine on a cue schedule: active chip ink on surface, done chips dim, pending chips hollow, optional badges pop beside one state.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","state-machine","status","chips","rail"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/state-chip-rail.json","heavy":false,"width":1920,"height":1080}},{"id":"sticky-mock-swap","kind":"component","href":"/catalog/components/sticky-mock-swap","title":"Sticky Mock Swap","tagline":"A pinned product mock cross-fades through accent-tinted feature states while matching captions rise, hold, and exit beside it.","description":"A pinned product mock cross-fades through accent-tinted feature states while matching captions rise, hold, and exit beside it.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","sticky","mock","crossfade","feature-tour"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/sticky-mock-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"telemetry-hud","kind":"component","href":"/catalog/components/telemetry-hud","title":"Telemetry HUD","tagline":"Quiet mono debug-HUD readouts frame a slotted subject: corner brackets draw on, label:value lines tick their values on cues, one readout emphasized in accent. The subject never moves; the HUD breathes zero.","description":"Quiet mono debug-HUD readouts frame a slotted subject: corner brackets draw on, label:value lines tick their values on cues, one readout emphasized in accent. The subject never moves; the HUD breathes zero.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","hud","telemetry","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/telemetry-hud.json","heavy":false,"width":1920,"height":1080}},{"id":"toggle-flip","kind":"component","href":"/catalog/components/toggle-flip","title":"Toggle Flip","tagline":"An oversized UI toggle switch that flips with real physicality: thumb overshoot, track color crossfade, and a soft press-compress before release. The reference prop of the ui-props family.","description":"An oversized UI toggle switch that flips with real physicality: thumb overshoot, track color crossfade, and a soft press-compress before release. The reference prop of the ui-props family.","group":"scenes-demos","section":"Product Demo","tags":["prop","ui-props","toggle","interaction","reference-prop","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/toggle-flip.json","heavy":false,"width":1920,"height":1080}},{"id":"tracing-beam","kind":"component","href":"/catalog/components/tracing-beam","title":"Tracing Beam","tagline":"A glowing dash follows one SVG path through three UI elements, lifting and brightening each element in sequence.","description":"A glowing dash follows one SVG path through three UI elements, lifting and brightening each element in sequence.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","attention","beam","path","spotlight"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/tracing-beam.json","heavy":false,"width":1920,"height":1080}},{"id":"typed-prompt","kind":"component","href":"/catalog/components/typed-prompt","title":"Typed Prompt","tagline":"A prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of the final word.","description":"A prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of the final word.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","typing","prompt","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/typed-prompt.json","heavy":false,"width":1920,"height":1080}},{"id":"vector-editor-rig","kind":"component","href":"/catalog/components/vector-editor-rig","title":"Vector Editor Rig","tagline":"A dark design-tool app chrome with a live vector pen path, sequential anchor points, bezier handles, a selection frame, and theme-driven blue accents.","description":"A dark design-tool app chrome with a live vector pen path, sequential anchor points, bezier handles, a selection frame, and theme-driven blue accents.","group":"scenes-demos","section":"Product Demo","tags":["prop","ui-props","demonstrate","vector","design-tool","pen-tool","bezier","app-chrome"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/vector-editor-rig.json","heavy":false,"width":1920,"height":1080}},{"id":"editorial-flash-overlay","kind":"block","href":"/catalog/blocks/editorial-flash-overlay","title":"Editorial Flash Overlay","tagline":"Finite neutral-warm light layers for a seek-safe camera-flash cut or social reveal","description":"Finite neutral-warm light layers for a seek-safe camera-flash cut or social reveal","group":"scenes-demos","section":"Social Overlays","tags":["flash","editorial","social","light","transition","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/editorial-flash-overlay.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/editorial-flash-overlay.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/editorial-flash-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"freeze-frame-dressing","kind":"block","href":"/catalog/blocks/freeze-frame-dressing","title":"Freeze-Frame Dressing","tagline":"Timeline-driven paper, tape, and flash dressing for a freeze-frame or background-removed subject","description":"Timeline-driven paper, tape, and flash dressing for a freeze-frame or background-removed subject","group":"scenes-demos","section":"Social Overlays","tags":["freeze-frame","cutout","scrapbook","paper","social","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/freeze-frame-dressing.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/freeze-frame-dressing.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/freeze-frame-dressing.json","heavy":false,"width":1920,"height":1080}},{"id":"instagram-follow","kind":"block","href":"/catalog/blocks/instagram-follow","title":"Instagram Follow","tagline":"Animated Instagram follow overlay with profile card and follow button","description":"Animated Instagram follow overlay with profile card and follow button","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","instagram"],"tech":[],"duration":4.5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/instagram-follow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/instagram-follow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/instagram-follow.json","heavy":false,"width":1080,"height":1920}},{"id":"macos-notification","kind":"block","href":"/catalog/blocks/macos-notification","title":"macOS Notification","tagline":"Animated macOS-style notification banner with app icon and message","description":"Animated macOS-style notification banner with app icon and message","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","notification"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-notification.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-notification.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/macos-notification.json","heavy":false,"width":1920,"height":1080}},{"id":"reddit-post","kind":"block","href":"/catalog/blocks/reddit-post","title":"Reddit Post Card","tagline":"Animated Reddit post card overlay with upvotes and comments","description":"Animated Reddit post card overlay with upvotes and comments","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","reddit"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/reddit-post.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/reddit-post.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/reddit-post.json","heavy":false,"width":1920,"height":1080}},{"id":"spotify-card","kind":"block","href":"/catalog/blocks/spotify-card","title":"Spotify Now Playing","tagline":"Animated Spotify now-playing card with album art and progress bar","description":"Animated Spotify now-playing card with album art and progress bar","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","spotify"],"tech":[],"duration":5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spotify-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spotify-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/spotify-card.json","heavy":false,"width":1080,"height":1920}},{"id":"thread-message-stack","kind":"block","href":"/catalog/blocks/thread-message-stack","title":"Thread Message Stack","tagline":"A source-owned editable conversation stack with arbitrary incoming and outgoing messages","description":"A source-owned editable conversation stack with arbitrary incoming and outgoing messages","group":"scenes-demos","section":"Social Overlays","tags":["social","conversation","messages"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/thread-message-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"tiktok-follow","kind":"block","href":"/catalog/blocks/tiktok-follow","title":"TikTok Follow","tagline":"Animated TikTok follow overlay with profile card and follow button","description":"Animated TikTok follow overlay with profile card and follow button","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","tiktok"],"tech":[],"duration":4.5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/tiktok-follow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/tiktok-follow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/tiktok-follow.json","heavy":false,"width":1080,"height":1920}},{"id":"x-post","kind":"block","href":"/catalog/blocks/x-post","title":"X Post Card","tagline":"Animated X/Twitter post card overlay with engagement metrics","description":"Animated X/Twitter post card overlay with engagement metrics","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","twitter"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/x-post.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/x-post.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/x-post.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-comment-card","kind":"block","href":"/catalog/blocks/yt-comment-card","title":"Comment Cards","tagline":"Social comments typing on over footage: avatar pop, username and time, per-character typewriter, likes row; image avatars or initials chips","description":"Social comments typing on over footage: avatar pop, username and time, per-character typewriter, likes row; image avatars or initials chips","group":"scenes-demos","section":"Social Overlays","tags":["social","comments","creator","overlay"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-comment-card.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-lower-third","kind":"block","href":"/catalog/blocks/yt-lower-third","title":"YouTube Lower Third","tagline":"Animated YouTube subscribe lower third with avatar and channel info","description":"Animated YouTube subscribe lower third with avatar and channel info","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","youtube"],"tech":[],"duration":4.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/yt-lower-third.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/yt-lower-third.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/yt-lower-third.json","heavy":false,"width":1920,"height":1080}},{"id":"aurora-drift","kind":"component","href":"/catalog/components/aurora-drift","title":"Aurora Drift","tagline":"Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette.","description":"Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","background","aurora","gradient","ambient","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/aurora-drift.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-accent","kind":"component","href":"/catalog/components/beat-accent","title":"Beat Accent","tagline":"A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay.","description":"A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","burst","sting","emphasize","impact"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-accent.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-pulse-background","kind":"component","href":"/catalog/components/beat-pulse-background","title":"Beat Pulse Background","tagline":"An accent-derived backdrop pulses its glow intensity and saturation on a deterministic, supplied beat grid.","description":"An accent-derived backdrop pulses its glow intensity and saturation on a deterministic, supplied beat grid.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","background","beat","pulse","rhythmic","reactive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-pulse-background.json","heavy":false,"width":1920,"height":1080}},{"id":"chat-thread","kind":"component","href":"/catalog/components/chat-thread","title":"Chat Thread","tagline":"The measured conversation as one mountable scene at full fidelity: status bar, back badge, avatar and name pill, bubbles with real iMessage tails, a Delivered receipt, large emoji rows, a media placeholder, a link card, and typing dots holding the beat. Every message picks its type by prefix - recv:/sent: text, emoji: a large row, img media, card:Title~domain a link card - and heights are measured at mount so any thread fits","description":"The measured conversation as one mountable scene at full fidelity: status bar, back badge, avatar and name pill, bubbles with real iMessage tails, a Delivered receipt, large emoji rows, a media placeholder, a link card, and typing dots holding the beat. Every message picks its type by prefix - recv:/sent: text, emoji: a large row, img media, card:Title~domain a link card - and heights are measured at mount so any thread fits","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","chat","mock-ui","conversation","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chat-thread.json","heavy":false,"width":1920,"height":1080}},{"id":"constellation-hub","kind":"component","href":"/catalog/components/constellation-hub","title":"Constellation Hub","tagline":"Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup.","description":"Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","feature-tour","hub","nodes","connector","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/constellation-hub.json","heavy":false,"width":1920,"height":1080}},{"id":"count-up","kind":"component","href":"/catalog/components/count-up","title":"Count Up","tagline":"A token-native stat counter that eases between values and lands with a restrained scale pulse.","description":"A token-native stat counter that eases between values and lands with a restrained scale pulse.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","stats","counter","number","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/count-up.json","heavy":false,"width":1920,"height":1080}},{"id":"cta-close","kind":"component","href":"/catalog/components/cta-close","title":"CTA Close","tagline":"A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.","description":"A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","ui-props","cta","end-card","close","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cta-close.json","heavy":false,"width":1920,"height":1080}},{"id":"cta-lockup","kind":"component","href":"/catalog/components/cta-lockup","title":"CTA Lockup","tagline":"A canonical closing lockup that reveals an action line, pops in an accent CTA capsule, settles supporting microcopy, and holds with confidence.","description":"A canonical closing lockup that reveals an action line, pops in an accent CTA capsule, settles supporting microcopy, and holds with confidence.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","ui-props","cta","end-card","lockup","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cta-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"facet-morph","kind":"component","href":"/catalog/components/facet-morph","title":"Facet Morph","tagline":"A faceted low-poly mass of 36 triangles continuously reshapes between three authored silhouettes (blob, mark, badge) with per-facet flat shading that recomputes as the vertices move. Light reads from the upper left; lit facets lift toward a pale accent-tinted tone while turned-away facets fall toward near-black. One calm continuous morph, then a settled hold.","description":"A faceted low-poly mass of 36 triangles continuously reshapes between three authored silhouettes (blob, mark, badge) with per-facet flat shading that recomputes as the vertices move. Light reads from the upper left; lit facets lift toward a pale accent-tinted tone while turned-away facets fall toward near-black. One calm continuous morph, then a settled hold.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","morph","low-poly","svg","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/facet-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"gesture-tap","kind":"component","href":"/catalog/components/gesture-tap","title":"Gesture Tap","tagline":"A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.","description":"A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","gesture","tap","interaction","ui-props"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/gesture-tap.json","heavy":false,"width":1920,"height":1080}},{"id":"gloss-sweep","kind":"component","href":"/catalog/components/gloss-sweep","title":"Gloss Sweep","tagline":"A card lands with a restrained slam, catches one diagonal specular gloss, and holds perfectly still.","description":"A card lands with a restrained slam, catches one diagonal specular gloss, and holds perfectly still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","celebration","gloss","card","badge","payoff"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/gloss-sweep.json","heavy":false,"width":1920,"height":1080}},{"id":"grade-split-reveal","kind":"component","href":"/catalog/components/grade-split-reveal","title":"Grade Split Reveal","tagline":"The same picture twice, one flat and one finished, with a hard edge sweeping between them. It stops in the middle long enough to compare, then commits and the graded look takes the frame. Both looks are real HyperFrames color grading run through the WebGL shader, so the preview and the render match.","description":"The same picture twice, one flat and one finished, with a hard edge sweeping between them. It stops in the middle long enough to compare, then commits and the graded look takes the frame. Both looks are real HyperFrames color grading run through the WebGL shader, so the preview and the render match.","group":"scenes-demos","section":"Motion Scenes","tags":["color-grading","media","compare","reveal","motion-primitive","grade"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grade-split-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"grid-card-assemble","kind":"component","href":"/catalog/components/grid-card-assemble","title":"Grid Card Assemble","tagline":"N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still.","description":"N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","layout","grid","list","stagger","assemble","feature-tour"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grid-card-assemble.json","heavy":false,"width":1920,"height":1080}},{"id":"light-sweep-pass","kind":"component","href":"/catalog/components/light-sweep-pass","title":"Light Sweep Pass","tagline":"A traveling key light re-shades a slotted scene: a soft diagonal gradient band crosses the frame once while every per-element highlight and shadow shifts in lockstep (all driven by one --light-x property), then the light settles into a resting key. Quiet, expensive-feeling; the scene itself never moves. Callers fill the named scene slot; a token hero-and-cards default renders when it is left empty.","description":"A traveling key light re-shades a slotted scene: a soft diagonal gradient band crosses the frame once while every per-element highlight and shadow shifts in lockstep (all driven by one --light-x property), then the light settles into a resting key. Quiet, expensive-feeling; the scene itself never moves. Callers fill the named scene slot; a token hero-and-cards default renders when it is left empty.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","overlay","light","sweep","slots","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/light-sweep-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"locked-nucleus-orbit","kind":"component","href":"/catalog/components/locked-nucleus-orbit","title":"Locked Nucleus Orbit","tagline":"A fixed center nucleus anchors deterministic satellite orbits that settle into a composed lockup.","description":"A fixed center nucleus anchors deterministic satellite orbits that settle into a composed lockup.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","orbit","lockup","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/locked-nucleus-orbit.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-sting","kind":"component","href":"/catalog/components/logo-sting","title":"Logo Sting","tagline":"A wordmark slams into its final scale, fires one accent ring and one white impact frame, then holds completely still.","description":"A wordmark slams into its final scale, fires one accent ring and one white impact frame, then holds completely still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","brand","logo","sting","impact","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-sting.json","heavy":false,"width":1920,"height":1080}},{"id":"marker-checklist-card","kind":"component","href":"/catalog/components/marker-checklist-card","title":"Marker Checklist Card","tagline":"A hand-lettered paper card: marker headline with an underline and a drawn ellipse around one word, then three checklist rows whose checks draw themselves on - typewriter labels, marker values. The paper-and-marker sibling of mk-specs-list's clean professional rows","description":"A hand-lettered paper card: marker headline with an underline and a drawn ellipse around one word, then three checklist rows whose checks draw themselves on - typewriter labels, marker values. The paper-and-marker sibling of mk-specs-list's clean professional rows","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","handwritten","checklist","paper","marker"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/marker-checklist-card.json","heavy":false,"width":1920,"height":1080}},{"id":"modal-morph","kind":"component","href":"/catalog/components/modal-morph","title":"Modal Morph","tagline":"A small card expands into a full panel, shared-element style: both layouts measured once at mount, the container morphs by transform only (never width/height tweens) while keyed children counter-scale and re-flow onto their own measured targets as pure functions of time.","description":"A small card expands into a full panel, shared-element style: both layouts measured once at mount, the container morphs by transform only (never width/height tweens) while keyed children counter-scale and re-flow onto their own measured targets as pure functions of time.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","structure","flip","shared-element","modal","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/modal-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"multi-device-splay","kind":"component","href":"/catalog/components/multi-device-splay","title":"Multi Device Splay","tagline":"Phone, tablet, and desktop product mockups fan from a centered stack into a proud splayed arrangement with a subtle idle float.","description":"Phone, tablet, and desktop product mockups fan from a centered stack into a proud splayed arrangement with a subtle idle float.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","device","phone","tablet","desktop","splay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/multi-device-splay.json","heavy":false,"width":1920,"height":1080}},{"id":"notes-typing","kind":"component","href":"/catalog/components/notes-typing","title":"Notes Typing","tagline":"The notes-app confession as a mountable scene: a bold title, then body lines typed character by character on the measured human keystroke rhythm, the caret riding every landed character and jumping down at each paragraph. For a bare prompt line use typed-prompt; for an even mechanical reveal use typewriter","description":"The notes-app confession as a mountable scene: a bold title, then body lines typed character by character on the measured human keystroke rhythm, the caret riding every landed character and jumping down at each paragraph. For a bare prompt line use typed-prompt; for an even mechanical reveal use typewriter","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","notes","typing","mock-ui","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notes-typing.json","heavy":false,"width":1920,"height":1080}},{"id":"outline-draw","kind":"component","href":"/catalog/components/outline-draw","title":"Outline Draw","tagline":"A rounded outline that proves a callout by drawing clockwise as a hollow conic-gradient border with a clean closure.","description":"A rounded outline that proves a callout by drawing clockwise as a hollow conic-gradient border with a clean closure.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","outline","border","mask","proof"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/outline-draw.json","heavy":false,"width":1920,"height":1080}},{"id":"oversized-cursor","kind":"component","href":"/catalog/components/oversized-cursor","title":"Oversized Cursor","tagline":"A deliberately oversized macOS-style pointer that enters off-screen, travels to a target, clicks to ignite a visible response, then exits","description":"A deliberately oversized macOS-style pointer that enters off-screen, travels to a target, clicks to ignite a visible response, then exits","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","actor","cursor","pointer","interaction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/oversized-cursor.json","heavy":false,"width":1920,"height":1080}},{"id":"particle-image-reveal","kind":"component","href":"/catalog/components/particle-image-reveal","title":"Particle Image Reveal","tagline":"A seeded deterministic particle field converges and settles while a slotted image reveals beneath it, the trail thinning until the image holds clean.","description":"A seeded deterministic particle field converges and settles while a slotted image reveals beneath it, the trail thinning until the image holds clean.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intros-reveals","particles","reveal","canvas","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/particle-image-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"physical-exit","kind":"component","href":"/catalog/components/physical-exit","title":"Physical Exit","tagline":"A card exits with physical momentum in toss, drop, or slide mode, carrying acceleration and rotation through the final offscreen pose without fading.","description":"A card exits with physical momentum in toss, drop, or slide mode, carrying acceleration and rotation through the final offscreen pose without fading.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","exit","momentum","toss","drop","slide"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/physical-exit.json","heavy":false,"width":1920,"height":1080}},{"id":"radial-surround","kind":"component","href":"/catalog/components/radial-surround","title":"Radial Surround","tagline":"Labeled hairline chips assemble around a centered subject on an elliptical ring, then optionally converge inward with a subtle edge dim. The center never moves: surrounded, not zoomed.","description":"Labeled hairline chips assemble around a centered subject on an elliptical ring, then optionally converge inward with a subtle edge dim. The center never moves: surrounded, not zoomed.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","problem-setup","radial","ring","surround","converge"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/radial-surround.json","heavy":false,"width":1920,"height":1080}},{"id":"scroll-feed","kind":"component","href":"/catalog/components/scroll-feed","title":"Scroll Feed","tagline":"A loop-friendly column of varied skeleton post cards scrolls upward with subtle motion trails and an agitated pace.","description":"A loop-friendly column of varied skeleton post cards scrolls upward with subtle motion trails and an agitated pace.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","scroll","feed","loop","agitation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scroll-feed.json","heavy":false,"width":1920,"height":1080}},{"id":"slit-scan-reveal","kind":"component","href":"/catalog/components/slit-scan-reveal","title":"Slit Scan Reveal","tagline":"The frame's rows sample an authored subject at offset times: a canvas painter draws row slices of one pure position function evaluated at t minus offset(row), smearing arrival through time until the offsets collapse to zero and the mark holds coherent.","description":"The frame's rows sample an authored subject at offset times: a canvas painter draws row slices of one pure position function evaluated at t minus offset(row), smearing arrival through time until the offsets collapse to zero and the mark holds coherent.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","time","slit-scan","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/slit-scan-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"social-proof-card","kind":"component","href":"/catalog/components/social-proof-card","title":"Social Proof Card","tagline":"The app-store close as one mountable scene: wordmark, five stars, a proof line, three feature icons and a CTA capsule build in a quiet stagger and hold - measured from reference ad footage. For an animated star sweep use star-rating-fill; for a quote card use testimonial-proof-card; for a bare lockup use cta-lockup","description":"The app-store close as one mountable scene: wordmark, five stars, a proof line, three feature icons and a CTA capsule build in a quiet stagger and hold - measured from reference ad footage. For an animated star sweep use star-rating-fill; for a quote card use testimonial-proof-card; for a bare lockup use cta-lockup","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","social-proof","end-card","cta","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/social-proof-card.json","heavy":false,"width":1920,"height":1080}},{"id":"split-tilt-cards","kind":"component","href":"/catalog/components/split-tilt-cards","title":"Split Tilt Cards","tagline":"Two equal-weight cards arrive from opposite wings with mirrored rotateY book-open tilts under one shared perspective, pill badges spring-pop at each inner edge, and the pair holds with a barely-there phase-opposed idle float. Card bodies are content slots with token skeleton defaults.","description":"Two equal-weight cards arrive from opposite wings with mirrored rotateY book-open tilts under one shared perspective, pill badges spring-pop at each inner edge, and the pair holds with a barely-there phase-opposed idle float. Card bodies are content slots with token skeleton defaults.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","layout","compare","holdable","book-open","tilt","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/split-tilt-cards.json","heavy":false,"width":1920,"height":1080}},{"id":"spring-pop","kind":"component","href":"/catalog/components/spring-pop","title":"Spring Pop","tagline":"A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.","description":"A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","spring","overshoot","pop","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/spring-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"stitched-text-draw","kind":"component","href":"/catalog/components/stitched-text-draw","title":"Stitched Text Draw","tagline":"Text drawn as thread stitches: a single-stroke display alphabet draws via attribute-driven dashoffset with stitch-tuned dash patterns, seeded angle jitter, needle-hole dots, a leading needle, and a thread-tail overshoot per letter.","description":"Text drawn as thread stitches: a single-stroke display alphabet draws via attribute-driven dashoffset with stitch-tuned dash patterns, seeded angle jitter, needle-hole dots, a leading needle, and a thread-tail overshoot per letter.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","experiment","type","craft","stitch","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stitched-text-draw.json","heavy":false,"width":1920,"height":1080}},{"id":"stop-motion-cadence","kind":"component","href":"/catalog/components/stop-motion-cadence","title":"Stop Motion Cadence","tagline":"The stepped-time law as a demo primitive: one driver quantizes timeline time to floor(t * fps) / fps and feeds ALL motion; four token paper-cut shapes throw-and-land with squash on hits, 2-frame boil jitter seeded per step, and sparkle accents living exactly 2 to 3 frames.","description":"The stepped-time law as a demo primitive: one driver quantizes timeline time to floor(t * fps) / fps and feeds ALL motion; four token paper-cut shapes throw-and-land with squash on hits, 2-frame boil jitter seeded per step, and sparkle accents living exactly 2 to 3 frames.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","time-law","stop-motion","stepped","boil","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stop-motion-cadence.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-stroke-trace","kind":"component","href":"/catalog/components/svg-stroke-trace","title":"SVG Stroke Trace","tagline":"An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed.","description":"An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","svg","stroke","line-draw"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-stroke-trace.json","heavy":false,"width":1920,"height":1080}},{"id":"swipe-rail","kind":"component","href":"/catalog/components/swipe-rail","title":"Swipe Rail","tagline":"A contact circle leads a horizontal card rail through a fast drag, momentum carry, and settled snap to the next card.","description":"A contact circle leads a horizontal card rail through a fast drag, momentum carry, and settled snap to the next card.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","interaction","gesture","swipe","cards","rail"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/swipe-rail.json","heavy":false,"width":1920,"height":1080}},{"id":"testimonial-proof-card","kind":"component","href":"/catalog/components/testimonial-proof-card","title":"Testimonial Proof Card","tagline":"A quote card whose testimonial reveals per-line through a soft mask, with an avatar disc (initials default, image slot), mono name and role, an optional company text mark, and one emphasis substring underlined in accent ink after the quote lands.","description":"A quote card whose testimonial reveals per-line through a soft mask, with an avatar disc (initials default, image slot), mono name and role, an optional company text mark, and one emphasis substring underlined in accent ink after the quote lands.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","testimonial","quote","social-proof","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/testimonial-proof-card.json","heavy":false,"width":1920,"height":1080}},{"id":"touch-indicator","kind":"component","href":"/catalog/components/touch-indicator","title":"Touch Indicator","tagline":"A translucent contact-circle gesture actor for mobile UI scenes: it touches the glass, causes a same-frame response, and lifts. Tap or swipe, picked by variable.","description":"A translucent contact-circle gesture actor for mobile UI scenes: it touches the glass, causes a same-frame response, and lifts. Tap or swipe, picked by variable.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","mobile","gesture","touch","pointer"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/touch-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"trust-strip","kind":"component","href":"/catalog/components/trust-strip","title":"Trust Strip","tagline":"A monochrome trust row of wide-tracked mono wordmarks that fade in with an opacity-only left-to-right stagger, then hold dead still.","description":"A monochrome trust row of wide-tracked mono wordmarks that fade in with an opacity-only left-to-right stagger, then hold dead still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","trust","logo-strip","wordmarks"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/trust-strip.json","heavy":false,"width":1920,"height":1080}},{"id":"variable-font-flex","kind":"component","href":"/catalog/components/variable-font-flex","title":"Variable Font Flex","tagline":"A word lands while its variable-font weight and width axes flex from hairline-condensed to black-wide with per-character stagger; font-size eases inversely so the letterforms gain mass while the box holds.","description":"A word lands while its variable-font weight and width axes flex from hairline-condensed to black-wide with per-character stagger; font-size eases inversely so the letterforms gain mass while the box holds.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","experiment","type","variable-font","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/variable-font-flex.json","heavy":false,"width":1920,"height":1080}},{"id":"velocity-throw-snap","kind":"component","href":"/catalog/components/velocity-throw-snap","title":"Velocity Throw Snap","tagline":"A five-shot rail whips past on a fast decaying curve, then overshoots and snaps the selected hero shot exactly to center.","description":"A five-shot rail whips past on a fast decaying curve, then overshoots and snaps the selected hero shot exactly to center.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","feature-tour","rail","velocity","throw","snap","physics"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/velocity-throw-snap.json","heavy":false,"width":1920,"height":1080}},{"id":"whiteboard-ink","kind":"component","href":"/catalog/components/whiteboard-ink","title":"Whiteboard Ink","tagline":"A whiteboard sketch draws one measured stroke at a time while a pen nib follows the active tip. Preset sketches (bulb, flow, rocket) or your own multi-stroke SVG paths via the strokes slot; a path marked data-ink=accent rides the accent token.","description":"A whiteboard sketch draws one measured stroke at a time while a pen nib follows the active tip. Preset sketches (bulb, flow, rocket) or your own multi-stroke SVG paths via the strokes slot; a path marked data-ink=accent rides the accent token.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","svg","whiteboard","line-draw","slot"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/whiteboard-ink.json","heavy":false,"width":1920,"height":1080}},{"id":"arc-motion-path","kind":"component","href":"/catalog/components/arc-motion-path","title":"Arc Motion Path","tagline":"A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation.","description":"A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motionpath","gsap-plugin","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/arc-motion-path.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/arc-motion-path.json","heavy":false,"width":1920,"height":1080}},{"id":"avatar-group-hover","kind":"component","href":"/catalog/components/avatar-group-hover","title":"Avatar Group Hover","tagline":"A distance-falloff avatar group lift with bouncy hover return","description":"A distance-falloff avatar group lift with bouncy hover return","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","avatar","hover"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/avatar-group-hover.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/avatar-group-hover.json","heavy":false,"width":1920,"height":1080}},{"id":"badge-pop","kind":"component","href":"/catalog/components/badge-pop","title":"Badge Pop","tagline":"A transitions.dev-inspired notification badge pop with elastic scale and count reveal","description":"A transitions.dev-inspired notification badge pop with elastic scale and count reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","badge","microinteraction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/badge-pop.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/badge-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"blur-in","kind":"component","href":"/catalog/components/blur-in","title":"Blur In","tagline":"An Operator Black word-level content reveal that resolves its own text from controlled blur","description":"An Operator Black word-level content reveal that resolves its own text from controlled blur","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","blur-in","text-effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/blur-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/blur-in.json","heavy":false,"width":1920,"height":1080}},{"id":"card-resize","kind":"component","href":"/catalog/components/card-resize","title":"Card Resize","tagline":"A transitions.dev-inspired card resize primitive that expands a compact card into a detail panel","description":"A transitions.dev-inspired card resize primitive that expands a compact card into a detail panel","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","card","layout"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/card-resize.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/card-resize.json","heavy":false,"width":1920,"height":1080}},{"id":"chat-message","kind":"component","href":"/catalog/components/chat-message","title":"Chat Message","tagline":"One message arrives on the measured entry - scale 0.75, 0.12s, growing from its sender's corner. The type is an enum switched like marker-highlight's style: a received or sent bubble with a real tail, a large emoji row, an image, or a link card with title and domain. The atom that chat-thread builds conversations from","description":"One message arrives on the measured entry - scale 0.75, 0.12s, growing from its sender's corner. The type is an enum switched like marker-highlight's style: a received or sent bubble with a real tail, a large emoji row, an image, or a link card with title and domain. The atom that chat-thread builds conversations from","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","chat","mock-ui","message"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chat-message.json","heavy":false,"width":1920,"height":1080}},{"id":"chromatic-aberration-wipe","kind":"component","href":"/catalog/components/chromatic-aberration-wipe","title":"Chromatic Aberration Wipe","tagline":"A fast slide wipe with RGB channel split on peak frames.","description":"A fast slide wipe with RGB channel split on peak frames.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/chromatic-aberration-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/chromatic-aberration-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"dynamic-grid","kind":"component","href":"/catalog/components/dynamic-grid","title":"Dynamic Grid","tagline":"A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes","description":"A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","background","grid","ui"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/dynamic-grid.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/dynamic-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"icon-swap","kind":"component","href":"/catalog/components/icon-swap","title":"Icon Swap","tagline":"A scale-and-blur icon swap primitive for toolbar and action state changes","description":"A scale-and-blur icon swap primitive for toolbar and action state changes","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","icon","swap"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/icon-swap.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/icon-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-neon-border","kind":"block","href":"/catalog/blocks/lt-neon-border","title":"Neon Border","tagline":"Two arcs of light travel the edge of a rounded panel and snap corner to corner, trailing a soft three-layer bloom. A lower third for a name and role.","description":"Two arcs of light travel the edge of a rounded panel and snap corner to corner, trailing a soft three-layer bloom. A lower third for a name and role.","group":"motion-effects","section":"Motion Primitives","tags":["lower-third","glow","loop","video-primitive"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-neon-border.json","heavy":false,"width":1920,"height":1080}},{"id":"menu-morph","kind":"component","href":"/catalog/components/menu-morph","title":"Menu Morph","tagline":"A transitions.dev-inspired hamburger and plus-menu morph primitive for compact action menus","description":"A transitions.dev-inspired hamburger and plus-menu morph primitive for compact action menus","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","menu","morph"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/menu-morph.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/menu-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"number-pop-in","kind":"component","href":"/catalog/components/number-pop-in","title":"Number Pop In","tagline":"A transitions.dev-inspired digit pop-in with blur, lift, and staggered value reveal","description":"A transitions.dev-inspired digit pop-in with blur, lift, and staggered value reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","number","pop"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/number-pop-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/number-pop-in.json","heavy":false,"width":1920,"height":1080}},{"id":"number-wheel","kind":"component","href":"/catalog/components/number-wheel","title":"Number Wheel","tagline":"A rolling digit counter primitive for metrics, prices, counts, and scoreboards","description":"A rolling digit counter primitive for metrics, prices, counts, and scoreboards","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","number","counter","data"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/number-wheel.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/number-wheel.json","heavy":false,"width":1920,"height":1080}},{"id":"page-slide","kind":"component","href":"/catalog/components/page-slide","title":"Page Slide","tagline":"A transitions.dev-inspired page slide primitive with outgoing and incoming panels","description":"A transitions.dev-inspired page slide primitive with outgoing and incoming panels","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","page","slide"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/page-slide.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/page-slide.json","heavy":false,"width":1920,"height":1080}},{"id":"separator","kind":"component","href":"/catalog/components/separator","title":"Separator","tagline":"A one-pixel structural separator with horizontal and vertical variants plus a seek-safe progress reveal","description":"A one-pixel structural separator with horizontal and vertical variants plus a seek-safe progress reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","separator","layout"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/separator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/separator.json","heavy":false,"width":1920,"height":1080}},{"id":"sheet-spring-up","kind":"component","href":"/catalog/components/sheet-spring-up","title":"Sheet Spring-Up","tagline":"A bottom sheet rushes up from below the frame on a real spring sampled frame by frame from reference footage, overshooting its resting place and settling back without an approximated ease","description":"A bottom sheet rushes up from below the frame on a real spring sampled frame by frame from reference footage, overshooting its resting place and settling back without an approximated ease","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","sheet","spring","mock-ui","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/sheet-spring-up.json","heavy":false,"width":1920,"height":1080}},{"id":"simulated-cursor","kind":"component","href":"/catalog/components/simulated-cursor","title":"Simulated Cursor","tagline":"A lightweight cursor pointer and click pulse for product walkthroughs and agent UI demos","description":"A lightweight cursor pointer and click pulse for product walkthroughs and agent UI demos","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","cursor","ui","walkthrough"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/simulated-cursor.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/simulated-cursor.json","heavy":false,"width":1920,"height":1080}},{"id":"skeleton-reveal","kind":"component","href":"/catalog/components/skeleton-reveal","title":"Skeleton Reveal","tagline":"A skeleton loader transition that pulses, then cross-fades into content","description":"A skeleton loader transition that pulses, then cross-fades into content","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","skeleton","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/skeleton-reveal.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/skeleton-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"slot-machine-roll","kind":"component","href":"/catalog/components/slot-machine-roll","title":"Slot Machine Roll","tagline":"A vertical reel scrolls characters from one value to another.","description":"A vertical reel scrolls characters from one value to another.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/slot-machine-roll.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/slot-machine-roll.json","heavy":false,"width":1920,"height":1080}},{"id":"staggered-fade-up","kind":"component","href":"/catalog/components/staggered-fade-up","title":"Staggered Fade Up","tagline":"Words fade in and slide up one after another with configurable delay.","description":"Words fade in and slide up one after another with configurable delay.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/staggered-fade-up.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/staggered-fade-up.json","heavy":false,"width":1920,"height":1080}},{"id":"streaming-text","kind":"component","href":"/catalog/components/streaming-text","title":"Streaming Text","tagline":"Words arrive the way an AI answer streams - in uneven bursts on a measured token rhythm, each word landing grey and inking to full colour - rather than the even tick of a typewriter","description":"Words arrive the way an AI answer streams - in uneven bursts on a measured token rhythm, each word landing grey and inking to full colour - rather than the even tick of a typewriter","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","text-effect","ai","chat"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/streaming-text.json","heavy":false,"width":1920,"height":1080}},{"id":"success-check","kind":"component","href":"/catalog/components/success-check","title":"Success Check","tagline":"A success check primitive with ring pop, path draw, and subtle rotate blur","description":"A success check primitive with ring pop, path draw, and subtle rotate blur","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","success","check"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/success-check.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/success-check.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-line-draw-loader","kind":"component","href":"/catalog/components/svg-line-draw-loader","title":"SVG Line Draw Loader","tagline":"An Anime.js-style path drawing loader implemented as a seekable GSAP stroke timeline.","description":"An Anime.js-style path drawing loader implemented as a seekable GSAP stroke timeline.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/svg-line-draw-loader.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-line-draw-loader.json","heavy":false,"width":1920,"height":1080}},{"id":"text-stagger","kind":"component","href":"/catalog/components/text-stagger","title":"Text Stagger","tagline":"A transitions.dev-inspired text stagger primitive with enter, shimmer, and exit-ready words","description":"A transitions.dev-inspired text stagger primitive with enter, shimmer, and exit-ready words","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","text","stagger"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/text-stagger.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-stagger.json","heavy":false,"width":1920,"height":1080}},{"id":"text-state-swap","kind":"component","href":"/catalog/components/text-state-swap","title":"Text State Swap","tagline":"A text state swap primitive with outgoing blur and incoming lift","description":"A text state swap primitive with outgoing blur and incoming lift","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","text","swap"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/text-state-swap.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-state-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"three-orbiting-cards","kind":"component","href":"/catalog/components/three-orbiting-cards","title":"Three Orbiting Cards","tagline":"A Three.js-powered orbit scene driven by a paused GSAP timeline for deterministic renders.","description":"A Three.js-powered orbit scene driven by a paused GSAP timeline for deterministic renders.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","three-js","webgl","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/three-orbiting-cards.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/three-orbiting-cards.json","heavy":true,"width":1920,"height":1080}},{"id":"tilt-card","kind":"component","href":"/catalog/components/tilt-card","title":"Tilt Card","tagline":"A transitions.dev-inspired tilt card primitive with depth layers and hover-style parallax","description":"A transitions.dev-inspired tilt card primitive with depth layers and hover-style parallax","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","card","tilt"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tilt-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tilt-card.json","heavy":false,"width":1920,"height":1080}},{"id":"top-down-letters","kind":"component","href":"/catalog/components/top-down-letters","title":"Top-Down Letters","tagline":"Letters descend from above in a pronounced staircase with zero blur.","description":"Letters descend from above in a pronounced staircase with zero blur.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/top-down-letters.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/top-down-letters.json","heavy":false,"width":1920,"height":1080}},{"id":"typewriter","kind":"component","href":"/catalog/components/typewriter","title":"Typewriter","tagline":"Character-by-character text reveal with a deterministic blinking cursor.","description":"Character-by-character text reveal with a deterministic blinking cursor.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/typewriter.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/typewriter.json","heavy":false,"width":1920,"height":1080}},{"id":"typing-indicator","kind":"component","href":"/catalog/components/typing-indicator","title":"Typing Indicator","tagline":"The three-dot chat bubble that says someone is writing: it pops in at the thread's edge exactly as messaging apps do, holds while the reply is coming, and vanishes when the message lands","description":"The three-dot chat bubble that says someone is writing: it pops in at the thread's edge exactly as messaging apps do, holds while the reply is coming, and vanishes when the message lands","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","chat","mock-ui","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/typing-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"avatar-cloud","kind":"component","href":"/catalog/components/avatar-cloud","title":"Avatar Cloud","tagline":"Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label.","description":"Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label.","group":"motion-effects","section":"Effects","tags":["effects","avatars","community","network","social-proof","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/avatar-cloud.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-timeline","kind":"component","href":"/catalog/components/beat-timeline","title":"Beat Timeline","tagline":"A paused master-timeline orchestration spine that pins titled beat rows to evenly spaced named labels. Each row enters on its label, holds with the sequence, then exits with the group.","description":"A paused master-timeline orchestration spine that pins titled beat rows to evenly spaced named labels. Each row enters on its label, holds with the sequence, then exits with the group.","group":"motion-effects","section":"Effects","tags":["orchestration","transitions","sequencing","bridge","timeline"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-timeline.json","heavy":false,"width":1920,"height":1080}},{"id":"before-after-wipe","kind":"component","href":"/catalog/components/before-after-wipe","title":"Before After Wipe","tagline":"Two full-bleed content slots compare before and after states as a persistent divider wipes the after layer over the before layer and rests at a configurable split. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"Two full-bleed content slots compare before and after states as a persistent divider wipes the after layer over the before layer and rests at a configurable split. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","compare","holdable","before-after","wipe","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/before-after-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-rig-depth-stack","kind":"component","href":"/catalog/components/camera-rig-depth-stack","title":"Camera Rig Depth Stack","tagline":"A 3D camera-rig-style card stack with depth, parallax, and focus shift.","description":"A 3D camera-rig-style card stack with depth, parallax, and focus shift.","group":"motion-effects","section":"Effects","tags":["advanced-motion","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/camera-rig-depth-stack.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-rig-depth-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"comparison-split","kind":"component","href":"/catalog/components/comparison-split","title":"Comparison Split","tagline":"Two full-bleed panels compare before and after states as a persistent divider wipes the vivid after layer over the muted before layer and rests at a configurable split.","description":"Two full-bleed panels compare before and after states as a persistent divider wipes the vivid after layer over the muted before layer and rests at a configurable split.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","compare","holdable","before-after","wipe"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/comparison-split.json","heavy":false,"width":1920,"height":1080}},{"id":"confetti","kind":"component","href":"/catalog/components/confetti","title":"Confetti","tagline":"A deterministic celebration burst with seeded particles and gravity.","description":"A deterministic celebration burst with seeded particles and gravity.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/confetti.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/confetti.json","heavy":false,"width":1920,"height":1080}},{"id":"cut-the-curve","kind":"component","href":"/catalog/components/cut-the-curve","title":"Cut the Curve","tagline":"A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.","description":"A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.","group":"motion-effects","section":"Effects","tags":["transition","directional-cut","velocity-match","whip","bridge","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cut-the-curve.json","heavy":false,"width":1920,"height":1080}},{"id":"device-frame-stage","kind":"component","href":"/catalog/components/device-frame-stage","title":"Device Frame Stage","tagline":"A phone or tablet mockup staged as a physical scene prop with a screen slot for arbitrary reconstructed UI, rising onto the stage, settling, and holding an idle float","description":"A phone or tablet mockup staged as a physical scene prop with a screen slot for arbitrary reconstructed UI, rising onto the stage, settling, and holding an idle float","group":"motion-effects","section":"Effects","tags":["prop","device","mobile","tablet","ui-props","holdable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/device-frame-stage.json","heavy":false,"width":1920,"height":1080}},{"id":"directional-wipe","kind":"component","href":"/catalog/components/directional-wipe","title":"Directional Wipe","tagline":"A directional scene push that slides one panel over another.","description":"A directional scene push that slides one panel over another.","group":"motion-effects","section":"Effects","tags":["transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/directional-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/directional-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"fade-through","kind":"component","href":"/catalog/components/fade-through","title":"Fade Through","tagline":"A calm transition primitive that fades one layer out, passes through a wash, and reveals the next layer","description":"A calm transition primitive that fades one layer out, passes through a wash, and reveals the next layer","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","fade","scene"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/fade-through.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/fade-through.json","heavy":false,"width":1920,"height":1080}},{"id":"grid-pixelate-wipe","kind":"component","href":"/catalog/components/grid-pixelate-wipe","title":"Grid Pixelate Wipe","tagline":"Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing — use between scenes","description":"Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing — use between scenes","group":"motion-effects","section":"Effects","tags":["transition","wipe","grid","pixelate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/grid-pixelate-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/grid-pixelate-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"halftone-dissolve","kind":"component","href":"/catalog/components/halftone-dissolve","title":"Halftone Dissolve","tagline":"Scene A dissolves into scene B through a growing halftone dot field: accent ink dots pop onto a fixed grid smallest-first, each opens into a window onto B, until the windows merge and B fully replaces A.","description":"Scene A dissolves into scene B through a growing halftone dot field: accent ink dots pop onto a fixed grid smallest-first, each opens into a window onto B, until the windows merge and B fully replaces A.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","texture","halftone","dissolve"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/halftone-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-arrow","kind":"component","href":"/catalog/components/hw-arrow","title":"Hand-Drawn Arrow","tagline":"Wobbled draw-on arrow with straight, gentle, and swoop curve poses, a four-way stroke texture matrix (plain/soft/sharp/spray), and a travel-aligned head-arrival stretch pulse with spring recovery; boils while on screen","description":"Wobbled draw-on arrow with straight, gentle, and swoop curve poses, a four-way stroke texture matrix (plain/soft/sharp/spray), and a travel-aligned head-arrival stretch pulse with spring recovery; boils while on screen","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","arrow","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-arrow.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-boil","kind":"component","href":"/catalog/components/hw-boil","title":"Hand-Drawn Boil","tagline":"Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray — spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on","description":"Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray — spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on","group":"motion-effects","section":"Effects","tags":["handwritten","effect","annotation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-boil.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-box-label","kind":"component","href":"/catalog/components/hw-box-label","title":"Hand-Drawn Box Label","tagline":"Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils","description":"Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-box-label.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-callout-circle","kind":"component","href":"/catalog/components/hw-callout-circle","title":"Scribble Callout Circle","tagline":"Wobbled ellipse draws around a target with optional scribble fill and curved connector; the handwritten label pops in WITH momentum and the drawn shapes absorb the arrival with a volume-preserving contact squash; outline and connector take the family stroke matrix (plain/soft/sharp/spray); boils","description":"Wobbled ellipse draws around a target with optional scribble fill and curved connector; the handwritten label pops in WITH momentum and the drawn shapes absorb the arrival with a volume-preserving contact squash; outline and connector take the family stroke matrix (plain/soft/sharp/spray); boils","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","callout","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-callout-circle.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-underline","kind":"component","href":"/catalog/components/hw-underline","title":"Squiggle Marks","tagline":"Hand-drawn squiggle underline, double-pass strikethrough, and bracket marks that draw on","description":"Hand-drawn squiggle underline, double-pass strikethrough, and bracket marks that draw on","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","text-treatment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-underline.json","heavy":false,"width":1920,"height":1080}},{"id":"input-feedback","kind":"component","href":"/catalog/components/input-feedback","title":"Input Feedback","tagline":"A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state","description":"A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","input","feedback"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input-feedback.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/input-feedback.json","heavy":false,"width":1920,"height":1080}},{"id":"iris-reveal","kind":"component","href":"/catalog/components/iris-reveal","title":"Iris Reveal","tagline":"A circle clip-path opens from an authored origin revealing state B over state A in one confident pass, then holds on B. Classic register dims and desaturates the before state so the after state lands in full color; a thin accent rim rides the iris edge. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"A circle clip-path opens from an authored origin revealing state B over state A in one confident pass, then holds on B. Classic register dims and desaturates the before state so the after state lands in full color; a thin accent rim rides the iris edge. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","iris","circle-reveal","clip-path","bridge","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/iris-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"keyframe-scrub-stack","kind":"component","href":"/catalog/components/keyframe-scrub-stack","title":"Keyframe Scrub Stack","tagline":"A keyframe-sequenced stack of cards with offset timing and easing presets.","description":"A keyframe-sequenced stack of cards with offset timing and easing presets.","group":"motion-effects","section":"Effects","tags":["advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/keyframe-scrub-stack.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/keyframe-scrub-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"match-cut","kind":"component","href":"/catalog/components/match-cut","title":"Match Cut","tagline":"A circle accelerates into a hard single-frame scene swap, matches the incoming circle exactly, and continues into a smaller resting pose.","description":"A circle accelerates into a hard single-frame scene swap, matches the incoming circle exactly, and continues into a smaller resting pose.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","match-cut","hard-cut","continuity"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/match-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"mesh-gradient-bg","kind":"component","href":"/catalog/components/mesh-gradient-bg","title":"Mesh Gradient Background","tagline":"A render-safe mesh gradient using animated radial layers.","description":"A render-safe mesh gradient using animated radial layers.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/mesh-gradient-bg.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/mesh-gradient-bg.json","heavy":false,"width":1920,"height":1080}},{"id":"micro-transitions","kind":"component","href":"/catalog/components/micro-transitions","title":"Micro Transitions","tagline":"A transitions.dev-inspired pack of badge, dropdown, modal, tabs, tooltip, and success-check micro transitions","description":"A transitions.dev-inspired pack of badge, dropdown, modal, tabs, tooltip, and success-check micro transitions","group":"motion-effects","section":"Effects","tags":["transition-primitive","motion-primitive","transitions-dev-port","ui","transition","microinteraction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/micro-transitions.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/micro-transitions.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-usage-arc","kind":"component","href":"/catalog/components/mk-usage-arc","title":"Hairline Arc Gauge","tagline":"Thin circular gauge that draws on while its percentage counts up; one helper call drives both","description":"Thin circular gauge that draws on while its percentage counts up; one helper call drives both","group":"motion-effects","section":"Effects","tags":["data-viz","gauge","minimal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/mk-usage-arc.json","heavy":false,"width":1920,"height":1080}},{"id":"morph-swap","kind":"component","href":"/catalog/components/morph-swap","title":"Morph Swap","tagline":"Two slotted siblings stacked at one shared center: A holds, then condenses or reshapes into B on a shared 50% 50% transform origin. Condense shrink-fades A exactly as B scales up; reshape morphs the silhouette on scaleX/scaleY, never width or height tweens. Token card defaults render when a slot is left empty.","description":"Two slotted siblings stacked at one shared center: A holds, then condenses or reshapes into B on a shared 50% 50% transform origin. Condense shrink-fades A exactly as B scales up; reshape morphs the silhouette on scaleX/scaleY, never width or height tweens. Token card defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","morph","swap","condense","reshape","holdable","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/morph-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"motion-blur","kind":"component","href":"/catalog/components/motion-blur","title":"Motion Blur","tagline":"After Effects-style motion blur — integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear","description":"After Effects-style motion blur — integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear","group":"motion-effects","section":"Effects","tags":["effect","motion-blur","shutter","after-effects","velocity","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/motion-blur.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/motion-blur.json","heavy":false,"width":1920,"height":1080}},{"id":"multiplayer-cursors","kind":"component","href":"/catalog/components/multiplayer-cursors","title":"Multiplayer Cursors","tagline":"Labeled collaborator cursors with token-derived colors and soft glows drift from spread positions into a shared center zone, proving live multiplayer presence.","description":"Labeled collaborator cursors with token-derived colors and soft glows drift from spread positions into a shared center zone, proving live multiplayer presence.","group":"motion-effects","section":"Effects","tags":["cursor","pointer","multiplayer","collaboration","presence","loop","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/multiplayer-cursors.json","heavy":false,"width":1920,"height":1080}},{"id":"notification-pileup","kind":"component","href":"/catalog/components/notification-pileup","title":"Notification Pileup","tagline":"Mobile notification cards arrive faster and faster, each new alert pushing the existing stack downward into a dense, anxious tower.","description":"Mobile notification cards arrive faster and faster, each new alert pushing the existing stack downward into a dense, anxious tower.","group":"motion-effects","section":"Effects","tags":["notification","mobile","ui-props","overload","pileup","loop","agitate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notification-pileup.json","heavy":false,"width":1920,"height":1080}},{"id":"onboarding-stepper-flow","kind":"component","href":"/catalog/components/onboarding-stepper-flow","title":"Onboarding Stepper Flow","tagline":"A composed onboarding flow with milestone rail, active step card, and next-action button","description":"A composed onboarding flow with milestone rail, active step card, and next-action button","group":"motion-effects","section":"Effects","tags":["ui-flow","onboarding","stepper"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/onboarding-stepper-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/onboarding-stepper-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"ordered-dither-pass","kind":"component","href":"/catalog/components/ordered-dither-pass","title":"Ordered Dither Pass","tagline":"Bayer-matrix ordered dithering quantizes a slotted scene (rasterized once at mount): the image emerges from pure 2-tone noise to clean, or dissolves the reverse. Stateless per frame, never error diffusion.","description":"Bayer-matrix ordered dithering quantizes a slotted scene (rasterized once at mount): the image emerges from pure 2-tone noise to clean, or dissolves the reverse. Stateless per frame, never error diffusion.","group":"motion-effects","section":"Effects","tags":["motion-primitive","experiment","texture","dither","transition","quantize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ordered-dither-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"overwhelm-surround","kind":"component","href":"/catalog/components/overwhelm-surround","title":"Overwhelm Surround","tagline":"Tasks, tabs, pings, and notification bubbles accelerate inward around a calm central subject, turning overload into visible spatial pressure.","description":"Tasks, tabs, pings, and notification bubbles accelerate inward around a calm central subject, turning overload into visible spatial pressure.","group":"motion-effects","section":"Effects","tags":["effects","agitate","overwhelm","pressure","notifications"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/overwhelm-surround.json","heavy":false,"width":1920,"height":1080}},{"id":"panel-reveal","kind":"component","href":"/catalog/components/panel-reveal","title":"Panel Reveal","tagline":"A panel reveal primitive with height expansion and content fade","description":"A panel reveal primitive with height expansion and content fade","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","panel","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/panel-reveal.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/panel-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-device-dive","kind":"component","href":"/catalog/components/parallax-device-dive","title":"Parallax Device Dive","tagline":"A canonical phone rises into view before the camera pushes through its screen and layered app UI expands to fill the frame.","description":"A canonical phone rises into view before the camera pushes through its screen and layered app UI expands to fill the frame.","group":"motion-effects","section":"Effects","tags":["motion-primitive","camera","device","phone","parallax","transition"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-device-dive.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-unzoom","kind":"component","href":"/catalog/components/parallax-unzoom","title":"Parallax Unzoom","tagline":"Reveal transition — focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)","description":"Reveal transition — focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)","group":"motion-effects","section":"Effects","tags":["transition","reveal","unzoom","parallax","grid","hero"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/parallax-unzoom.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-unzoom.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-zoom","kind":"component","href":"/catalog/components/parallax-zoom","title":"Parallax Zoom","tagline":"Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition","description":"Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition","group":"motion-effects","section":"Effects","tags":["transition","zoom","parallax","grid","hero"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/parallax-zoom.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"rubber-band-bumper","kind":"component","href":"/catalog/components/rubber-band-bumper","title":"Rubber Band Bumper","tagline":"An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.","description":"An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","rubber-band","resistance","overshoot"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/rubber-band-bumper.json","heavy":false,"width":1920,"height":1080}},{"id":"settings-toggle-flow","kind":"component","href":"/catalog/components/settings-toggle-flow","title":"Settings Toggle Flow","tagline":"A composed settings flow with preference rows, toggle switches, and active-state feedback","description":"A composed settings flow with preference rows, toggle switches, and active-state feedback","group":"motion-effects","section":"Effects","tags":["ui-flow","settings","toggle"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/settings-toggle-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/settings-toggle-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"shutter-slam","kind":"component","href":"/catalog/components/shutter-slam","title":"Shutter Slam","tagline":"One word thrown through six single-property beats under integrated shutter blur — two translate slams, a scale punch, then a full turn about each axis — on the measured easing of the After Effects export the shutter model was fitted to","description":"One word thrown through six single-property beats under integrated shutter blur — two translate slams, a scale punch, then a full turn about each axis — on the measured easing of the After Effects export the shutter model was fitted to","group":"motion-effects","section":"Effects","tags":["effect","motion-blur","shutter","after-effects","slam","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shutter-slam.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shutter-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"signup-flow","kind":"component","href":"/catalog/components/signup-flow","title":"Signup Flow","tagline":"A composed signup flow with social action, email field, password field, and submit button","description":"A composed signup flow with social action, email field, password field, and submit button","group":"motion-effects","section":"Effects","tags":["ui-flow","signup","form"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/signup-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/signup-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"spotlight-card","kind":"component","href":"/catalog/components/spotlight-card","title":"Spotlight Card","tagline":"A card with a scripted cursor spotlight and lit border.","description":"A card with a scripted cursor spotlight and lit border.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/spotlight-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/spotlight-card.json","heavy":false,"width":1920,"height":1080}},{"id":"stagger-cascade","kind":"component","href":"/catalog/components/stagger-cascade","title":"Stagger Cascade","tagline":"A responsive grid of tile cards that fades and travels into place with an evenly spaced per-item GSAP stagger. The ordered cascade is the only visual mechanic.","description":"A responsive grid of tile cards that fades and travels into place with an evenly spaced per-item GSAP stagger. The ordered cascade is the only visual mechanic.","group":"motion-effects","section":"Effects","tags":["effects","grid","stagger","entrance","exhibit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stagger-cascade.json","heavy":false,"width":1920,"height":1080}},{"id":"stagger-lattice","kind":"component","href":"/catalog/components/stagger-lattice","title":"Stagger Lattice","tagline":"A staggered grid reveal inspired by Anime.js v4 stagger utilities, implemented with GSAP for HyperFrames.","description":"A staggered grid reveal inspired by Anime.js v4 stagger utilities, implemented with GSAP for HyperFrames.","group":"motion-effects","section":"Effects","tags":["advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/stagger-lattice.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/stagger-lattice.json","heavy":false,"width":1920,"height":1080}},{"id":"store-badge-lockup","kind":"component","href":"/catalog/components/store-badge-lockup","title":"Store Badge Lockup","tagline":"Settles a short headline above equal-size App Store and Google Play badges as a token-driven mobile end-card call to action.","description":"Settles a short headline above equal-size App Store and Google Play badges as a token-driven mobile end-card call to action.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","mobile","store-badges","cta","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/store-badge-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-mask-reveal","kind":"component","href":"/catalog/components/svg-mask-reveal","title":"SVG Mask Reveal","tagline":"A soft token-colored sweep reveals media only through an editable SVG wordmark mask.","description":"A soft token-colored sweep reveals media only through an editable SVG wordmark mask.","group":"motion-effects","section":"Effects","tags":["effect","svg","mask","wordmark","reveal","exhibit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-mask-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"tabs-slide-indicator","kind":"component","href":"/catalog/components/tabs-slide-indicator","title":"Tabs Slide Indicator","tagline":"A pill indicator transition that slides between active tabs","description":"A pill indicator transition that slides between active tabs","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","tabs","indicator"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tabs-slide-indicator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tabs-slide-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"testimonial-card","kind":"component","href":"/catalog/components/testimonial-card","title":"Testimonial Card","tagline":"Reveals a customer quote at reading pace, then settles its avatar, author name, and handle beneath as a clean proof beat.","description":"Reveals a customer quote at reading pace, then settles its avatar, author name, and handle beneath as a clean proof beat.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","testimonial","social-proof","quote","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/testimonial-card.json","heavy":false,"width":1920,"height":1080}},{"id":"type-match-cut","kind":"component","href":"/catalog/components/type-match-cut","title":"Type Match Cut","tagline":"A headline splits vertically around an incoming panel, which grows from the negative space and takes the frame as the words exit through opposite edges.","description":"A headline splits vertically around an incoming panel, which grows from the negative space and takes the frame as the words exit through opposite edges.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","typography","match-cut","continuity"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/type-match-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"vignette","kind":"component","href":"/catalog/components/vignette","title":"Vignette","tagline":"Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center","description":"Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center","group":"motion-effects","section":"Effects","tags":["vignette","overlay","cinematic","effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/vignette.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/vignette.json","heavy":false,"width":1920,"height":1080}},{"id":"whip-pan-cut","kind":"component","href":"/catalog/components/whip-pan-cut","title":"Whip Pan Cut","tagline":"A full-frame whip pan: scene A whips off laterally with capped directional motion blur while scene B enters in the same direction at matched velocity, on a speed-ramp profile with a decelerating catch. Both scenes ride one strip, so seam velocity is exact by construction. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"A full-frame whip pan: scene A whips off laterally with capped directional motion blur while scene B enters in the same direction at matched velocity, on a speed-ramp profile with a decelerating catch. Both scenes ride one strip, so seam velocity is exact by construction. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","whip-pan","motion-blur","velocity-match","speed-ramp","bridge","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/whip-pan-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"x-follow-card","kind":"component","href":"/catalog/components/x-follow-card","title":"X Follow Card","tagline":"A social follow card with avatar, handle, and follower motion.","description":"A social follow card with avatar, handle, and follower motion.","group":"motion-effects","section":"Effects","tags":["social-overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/x-follow-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/x-follow-card.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-circle-pointer","kind":"component","href":"/catalog/components/yt-circle-pointer","title":"Pointer Circle + Countdown","tagline":"Draw-on annotation ellipse around a target plus a countdown chip that pulses each tick","description":"Draw-on annotation ellipse around a target plus a countdown chip that pulses each tick","group":"motion-effects","section":"Effects","tags":["annotation","countdown","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-circle-pointer.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-feather-highlight","kind":"component","href":"/catalog/components/yt-feather-highlight","title":"Feathered Spotlight","tagline":"Dims the frame except a feathered ellipse; the hole's position and size are CSS variables, so helpers glide the spotlight between targets","description":"Dims the frame except a feathered ellipse; the hole's position and size are CSS variables, so helpers glide the spotlight between targets","group":"motion-effects","section":"Effects","tags":["highlight","spotlight","effect","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-feather-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"zoom-through-transition","kind":"component","href":"/catalog/components/zoom-through-transition","title":"Zoom Through Transition","tagline":"A transition that zooms through a focal card into the next scene.","description":"A transition that zooms through a focal card into the next scene.","group":"motion-effects","section":"Effects","tags":["transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/zoom-through-transition.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/zoom-through-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"camcorder-hud","kind":"block","href":"/catalog/blocks/camcorder-hud","title":"Camcorder HUD","tagline":"Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments","description":"Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments","group":"motion-effects","section":"Camera & 3D","tags":["camcorder","camera","recording","hud","overlay","creator","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/camcorder-hud.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/camcorder-hud.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/camcorder-hud.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-scan-gate","kind":"component","href":"/catalog/components/camera-scan-gate","title":"Camera Scan Gate","tagline":"A camera and QR recognition moment with a viewfinder sweep, bracket lock, confirmation pulse, and verified next beat.","description":"A camera and QR recognition moment with a viewfinder sweep, bracket lock, confirmation pulse, and verified next beat.","group":"motion-effects","section":"Camera & 3D","tags":["prop","ui-props","camera","qr","scan","recognition","interaction","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-scan-gate.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-shake","kind":"component","href":"/catalog/components/camera-shake","title":"Camera Shake","tagline":"Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-safe","description":"Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-safe","group":"motion-effects","section":"Camera & 3D","tags":["camera","shake","handheld","effect","cinematic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-shake.json","heavy":false,"width":1920,"height":1080}},{"id":"drift-hold","kind":"component","href":"/catalog/components/drift-hold","title":"Drift Hold","tagline":"A centered content card stays subtly alive through loop-exact rotation, scale breathing, and a slow light sweep.","description":"A centered content card stays subtly alive through loop-exact rotation, scale breathing, and a slow light sweep.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","ambient","drift","hold","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/drift-hold.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-rack","kind":"component","href":"/catalog/components/focus-rack","title":"Focus Rack","tagline":"Focus shifts once between two cards at different apparent depths through synchronized blur, dimming, scale, and parallax.","description":"Focus shifts once between two cards at different apparent depths through synchronized blur, dimming, scale, and parallax.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","focus","focus-rack","depth","parallax","emphasize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-rack.json","heavy":false,"width":1920,"height":1080}},{"id":"pan-stations","kind":"component","href":"/catalog/components/pan-stations","title":"Pan Stations","tagline":"A lateral camera move across a continuous row of labeled feature stations, with a steady dwell at each stop before the next pan.","description":"A lateral camera move across a continuous row of labeled feature stations, with a steady dwell at each stop before the next pan.","group":"motion-effects","section":"Camera & 3D","tags":["camera","pan","stations","features","exhibit","agitate","cross-shelved"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pan-stations.json","heavy":false,"width":1920,"height":1080}},{"id":"pull-back-reveal","kind":"component","href":"/catalog/components/pull-back-reveal","title":"Pull Back Reveal","tagline":"A tight stat detail holds, then one decelerating camera pull-back reveals the headline and supporting cards that recontextualize it.","description":"A tight stat detail holds, then one decelerating camera pull-back reveals the headline and supporting cards that recontextualize it.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","pull-back","reveal","recontextualize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pull-back-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"push-in","kind":"component","href":"/catalog/components/push-in","title":"Push In","tagline":"A centered headline gains focus through one slow, continuous camera push and a gentle fade out.","description":"A centered headline gains focus through one slow, continuous camera push and a gentle fade out.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","push-in","focus","emphasize","holdable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/push-in.json","heavy":false,"width":1920,"height":1080}},{"id":"scroll-camera-story","kind":"component","href":"/catalog/components/scroll-camera-story","title":"Scroll Camera Story","tagline":"A compressed forced-scroll cinematic pass: a tall scene of slotted sections travels past the camera top to bottom, depth layers parallax at different rates, each section rises as the camera reaches it, and the pass decelerates into a held final section.","description":"A compressed forced-scroll cinematic pass: a tall scene of slotted sections travels past the camera top to bottom, depth layers parallax at different rates, each section rises as the camera reaches it, and the pass decelerates into a held final section.","group":"motion-effects","section":"Camera & 3D","tags":["camera","scroll","parallax","story","sections","slot","servo"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scroll-camera-story.json","heavy":false,"width":1920,"height":1080}},{"id":"ui-focus-zoom","kind":"component","href":"/catalog/components/ui-focus-zoom","title":"UI Focus Zoom","tagline":"A full app surface establishes with one settle, then the camera zooms and pans to an anchored region on its cue and holds the zoomed state, with an optional soft focus halo at the anchor. The surface is a slot with a token-styled skeleton default.","description":"A full app surface establishes with one settle, then the camera zooms and pans to an anchored region on its cue and holds the zoomed state, with an optional soft focus halo at the anchor. The surface is a slot with a token-styled skeleton default.","group":"motion-effects","section":"Camera & 3D","tags":["camera","product-demo","zoom","focus","pan","slot","servo"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ui-focus-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-camera-move","kind":"component","href":"/catalog/components/yt-camera-move","title":"Camera Punch-In","tagline":"Dynamic zoom, slide, and 3D tilt-pan helpers for any wrapper (video, include, card) with cubic-easing defaults and an edge-defocus pulse overlay","description":"Dynamic zoom, slide, and 3D tilt-pan helpers for any wrapper (video, include, card) with cubic-easing defaults and an edge-defocus pulse overlay","group":"motion-effects","section":"Camera & 3D","tags":["camera","zoom","effect","creator"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-camera-move.json","heavy":false,"width":1920,"height":1080}},{"id":"grain-field","kind":"component","href":"/catalog/components/grain-field","title":"Grain Field","tagline":"A clearly visible accent-tinted dot field drifts over a subtle luminance gradient in an exact ambient loop.","description":"A clearly visible accent-tinted dot field drifts over a subtle luminance gradient in an exact ambient loop.","group":"surfaces","section":"Texture","tags":["motion-primitive","background","grain","dots","texture","ambient","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grain-field.json","heavy":false,"width":1920,"height":1080}},{"id":"grain-overlay","kind":"component","href":"/catalog/components/grain-overlay","title":"Grain Overlay","tagline":"Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition","description":"Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition","group":"surfaces","section":"Texture","tags":["texture","grain","overlay","film"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/grain-overlay.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/grain-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"halftone-field","kind":"block","href":"/catalog/blocks/halftone-field","title":"Halftone Field","tagline":"A full-bleed halftone light field: a grid of dots whose size and colour track a slow flowing simplex-noise field, so broad bands of light sweep across a mostly-black frame like a giant LED wall showing a plasma. Built to run under type.","description":"A full-bleed halftone light field: a grid of dots whose size and colour track a slow flowing simplex-noise field, so broad bands of light sweep across a mostly-black frame like a giant LED wall showing a plasma. Built to run under type.","group":"surfaces","section":"Texture","tags":["webgl","shader","background","texture","halftone"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/halftone-field.json","heavy":true,"width":1920,"height":1080}},{"id":"ink-bleed-reveal","kind":"component","href":"/catalog/components/ink-bleed-reveal","title":"Ink Bleed Reveal","tagline":"Liquid ink blooms through paper under a gooey blur-plus-threshold filter, merges, then contracts as a crisp slotted mark resolves beneath it, with static seeded paper grain riding the result.","description":"Liquid ink blooms through paper under a gooey blur-plus-threshold filter, merges, then contracts as a crisp slotted mark resolves beneath it, with static seeded paper grain riding the result.","group":"surfaces","section":"Texture","tags":["motion-primitive","texture","reveal","gooey","svg-filter","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ink-bleed-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"texture-mask-text","kind":"component","href":"/catalog/components/texture-mask-text","title":"Texture Mask Text","tagline":"CSS luminance masks that cut holes through letterforms - 66 pre-built texture masks from ambientCG PBR color maps","description":"CSS luminance masks that cut holes through letterforms - 66 pre-built texture masks from ambientCG PBR color maps","group":"surfaces","section":"Texture","tags":["text","text-effect","effect","texture","mask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/texture-mask-text.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/texture-mask-text.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-lcd-background","kind":"block","href":"/catalog/blocks/yt-lcd-background","title":"Scanline Board Background","tagline":"Textured paper board: scanlines with slow drift, optional pixel grid, static grain, and display text with a blur-focus entrance and chromatic-fringe title","description":"Textured paper board: scanlines with slow drift, optional pixel grid, static grain, and display text with a blur-focus entrance and chromatic-fringe title","group":"surfaces","section":"Texture","tags":["background","texture","creator"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-lcd-background.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-screen-warp","kind":"component","href":"/catalog/components/yt-screen-warp","title":"On-Screen Display Effect","tagline":"Grid, scanline, vignette, and sheen overlay plus a 3D-warp wrapper class that makes footage read as if playing on a physical display","description":"Grid, scanline, vignette, and sheen overlay plus a 3D-warp wrapper class that makes footage read as if playing on a physical display","group":"surfaces","section":"Texture","tags":["effect","overlay","texture"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-screen-warp.json","heavy":false,"width":1920,"height":1080}},{"id":"ios26-liquid-glass","kind":"block","href":"/catalog/blocks/ios26-liquid-glass","title":"iOS 26 Liquid Glass Home Screen","tagline":"3D iPhone with a normal iOS 26 home screen, liquid glass app icons, shader wallpaper, dock, and fluid glass notifications that drop from the status area onto a GLTF device model.","description":"3D iPhone with a normal iOS 26 home screen, liquid glass app icons, shader wallpaper, dock, and fluid glass notifications that drop from the status area onto a GLTF device model.","group":"surfaces","section":"HTML-in-Canvas","tags":["liquid-glass-html-in-canvas","webgpu","3d","iphone","ios26","notifications","gltf","html-in-canvas"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ios26-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ios26-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"liquid-glass-context-menu","kind":"block","href":"/catalog/blocks/liquid-glass-context-menu","title":"Liquid Glass Context Menu","tagline":"Frosted glass context menu panel drifting over an aurora shader background","description":"Frosted glass context menu panel drifting over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-context-menu.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-context-menu.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-context-menu.json","heavy":true,"width":1920,"height":1080}},{"id":"liquid-glass-media-controls","kind":"block","href":"/catalog/blocks/liquid-glass-media-controls","title":"Liquid Glass Media Controls","tagline":"Frosted glass media control panels spreading over an aurora shader background","description":"Frosted glass media control panels spreading over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-media-controls.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-media-controls.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-media-controls.json","heavy":true,"width":1920,"height":1080}},{"id":"liquid-glass-notification","kind":"block","href":"/catalog/blocks/liquid-glass-notification","title":"Liquid Glass Notification","tagline":"Frosted glass notification cards floating over an aurora shader background","description":"Frosted glass notification cards floating over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-notification.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-notification.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-notification.json","heavy":true,"width":1920,"height":1080}},{"id":"liquid-glass-widgets","kind":"block","href":"/catalog/blocks/liquid-glass-widgets","title":"Liquid Glass Widgets","tagline":"Frosted glass stat cards, showcase panel and pill chips over an aurora shader background","description":"Frosted glass stat cards, showcase panel and pill chips over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-widgets.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-widgets.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-widgets.json","heavy":true,"width":1920,"height":1080}},{"id":"macos-tahoe-liquid-glass","kind":"block","href":"/catalog/blocks/macos-tahoe-liquid-glass","title":"macOS Tahoe Liquid Glass Desktop","tagline":"3D MacBook with a macOS Tahoe-style desktop, glass menu bar, Finder window, dock, and cinematic device camera move.","description":"3D MacBook with a macOS Tahoe-style desktop, glass menu bar, Finder window, dock, and cinematic device camera move.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","3d","macos","tahoe","gltf"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-tahoe-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-tahoe-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"vfx-iphone-device","kind":"block","href":"/catalog/blocks/vfx-iphone-device","title":"iPhone & MacBook 3D Showcase","tagline":"Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable.","description":"Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","3d","device","iphone","macbook","gltf"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.mp4","preview":{"mode":"video"}},{"id":"vfx-liquid-background","kind":"block","href":"/catalog/blocks/vfx-liquid-background","title":"Liquid Background","tagline":"Organic liquid simulation with vertex displacement on a subdivided plane. HTML content floats above rippling fluid surface with real-time wave dynamics.","description":"Organic liquid simulation with vertex displacement on a subdivided plane. HTML content floats above rippling fluid surface with real-time wave dynamics.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid","webgl","displacement","background"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-background.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-background.mp4","preview":{"mode":"video"}},{"id":"vfx-liquid-glass","kind":"block","href":"/catalog/blocks/vfx-liquid-glass","title":"Liquid Glass","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"vfx-magnetic","kind":"block","href":"/catalog/blocks/vfx-magnetic","title":"Magnetic","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-magnetic.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-magnetic.mp4","preview":{"mode":"video"}},{"id":"vfx-portal","kind":"block","href":"/catalog/blocks/vfx-portal","title":"Portal","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-portal.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-portal.mp4","preview":{"mode":"video"}},{"id":"vfx-shatter","kind":"block","href":"/catalog/blocks/vfx-shatter","title":"Shatter","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-shatter.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-shatter.mp4","preview":{"mode":"video"}},{"id":"vfx-text-cursor","kind":"block","href":"/catalog/blocks/vfx-text-cursor","title":"VFX Text Cursor","tagline":"Dramatic text reveal with cursor glow, chromatic shadow rays, and directional lighting on a black stage. Canvas-based shader post-processing with spectral color edges.","description":"Dramatic text reveal with cursor glow, chromatic shadow rays, and directional lighting on a black stage. Canvas-based shader post-processing with spectral color edges.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","text","shader","cursor","chromatic"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-text-cursor.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-text-cursor.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/vfx-text-cursor.json","heavy":true,"width":1920,"height":1080}},{"id":"flowchart","kind":"block","href":"/catalog/blocks/flowchart","title":"Flowchart","tagline":"Animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","description":"Animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","group":"blocks","section":"Blocks","tags":["diagram","flowchart","interactive"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flowchart.json","heavy":false,"width":1920,"height":1080}},{"id":"flowchart-vertical","kind":"block","href":"/catalog/blocks/flowchart-vertical","title":"Flowchart Vertical","tagline":"Portrait animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","description":"Portrait animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","group":"blocks","section":"Blocks","tags":["diagram","flowchart","interactive","portrait"],"tech":[],"duration":12,"width":1440,"height":2560,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart-vertical.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart-vertical.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flowchart-vertical.json","heavy":false,"width":1440,"height":2560}},{"id":"hw-frame","kind":"block","href":"/catalog/blocks/hw-frame","title":"Sketched Frame","tagline":"Media in a hand-drawn border with corner doodles and a handwritten caption; the unit tilts slightly and boils (images inside the block; keep live footage in the host)","description":"Media in a hand-drawn border with corner doodles and a handwritten caption; the unit tilts slightly and boils (images inside the block; keep live footage in the host)","group":"blocks","section":"Blocks","tags":["handwritten","frame","media"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-frame.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-pipeline","kind":"block","href":"/catalog/blocks/hw-pipeline","title":"Hand-Drawn Flowchart","tagline":"Wobbled boxes with handwritten labels joined by curved connectors, drawing on in sequence from a node list","description":"Wobbled boxes with handwritten labels joined by curved connectors, drawing on in sequence from a node list","group":"blocks","section":"Blocks","tags":["handwritten","diagram","data-viz","overlay"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-pipeline.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-text-cloud","kind":"block","href":"/catalog/blocks/hw-text-cloud","title":"Speech Bubble","tagline":"Hand-drawn speech bubble with a positionable tail: outline draws on, paper fill fades in, handwritten text types per character; boils","description":"Hand-drawn speech bubble with a positionable tail: outline draws on, paper fill fades in, handwritten text types per character; boils","group":"blocks","section":"Blocks","tags":["handwritten","speech-bubble","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-text-cloud.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-outro","kind":"block","href":"/catalog/blocks/logo-outro","title":"Logo Outro","tagline":"Cinematic logo reveal with piece-by-piece assembly, glow bloom, tagline fade-in, and URL pill","description":"Cinematic logo reveal with piece-by-piece assembly, glow bloom, tagline fade-in, and URL pill","group":"blocks","section":"Blocks","tags":["branding","outro","logo"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/logo-outro.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/logo-outro.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/logo-outro.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-background","kind":"block","href":"/catalog/blocks/mk-background","title":"Minimal Gradient Background","tagline":"Procedural soft-blob gradient backdrop in a minimalist presentation style: two radial blobs drifting over a base color, with an animatable rounded-card bar mask and optional frosted-glass mode","description":"Procedural soft-blob gradient backdrop in a minimalist presentation style: two radial blobs drifting over a base color, with an animatable rounded-card bar mask and optional frosted-glass mode","group":"blocks","section":"Blocks","tags":["background","gradient","minimal","professional","presentation"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-background.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-placeholder-grid","kind":"block","href":"/catalog/blocks/mk-placeholder-grid","title":"Rounded Media Grid","tagline":"N-up rounded-corner media grid (2-up, 3-up, 4-up, 3x2, hero plus two): per-cell inside-scale framing, staggered box-in entrance, slow settle","description":"N-up rounded-corner media grid (2-up, 3-up, 4-up, 3x2, hero plus two): per-cell inside-scale framing, staggered box-in entrance, slow settle","group":"blocks","section":"Blocks","tags":["placeholder","media","grid","minimal"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-placeholder-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-progress-stat","kind":"block","href":"/catalog/blocks/mk-progress-stat","title":"Count-Up Stat Card","tagline":"Big-numeral statistic with count-up, label, thin progress track filling to value/max, and caption; light and dark schemes","description":"Big-numeral statistic with count-up, label, thin progress track filling to value/max, and caption; light and dark schemes","group":"blocks","section":"Blocks","tags":["data-viz","stat","minimal"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-progress-stat.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-specs-list","kind":"block","href":"/catalog/blocks/mk-specs-list","title":"Specs Checklist","tagline":"Left-aligned specs/traits checklist over footage or a board: rows slide in staggered with an accent underline sweep; light and dark schemes","description":"Left-aligned specs/traits checklist over footage or a board: rows slide in staggered with an accent underline sweep; light and dark schemes","group":"blocks","section":"Blocks","tags":["data-viz","list","minimal","professional"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-specs-list.json","heavy":false,"width":1920,"height":1080}},{"id":"spiral-galaxy","kind":"block","href":"/catalog/blocks/spiral-galaxy","title":"Spiral Galaxy","tagline":"A spiral galaxy seen from outside, turning with real differential rotation: inner stars orbit faster than outer ones, so the arms wind up over the shot instead of spinning rigidly. 20,000 additive GPU sprites, seeded once and solved directly from time, so any frame can be rendered on its own.","description":"A spiral galaxy seen from outside, turning with real differential rotation: inner stars orbit faster than outer ones, so the arms wind up over the shot instead of spinning rigidly. 20,000 additive GPU sprites, seeded once and solved directly from time, so any frame can be rendered on its own.","group":"blocks","section":"Blocks","tags":["hero","space","particles","webgl","background"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/spiral-galaxy.json","heavy":true,"width":1920,"height":1080}},{"id":"yt-logo-intro","kind":"block","href":"/catalog/blocks/yt-logo-intro","title":"Logo Intro Sequence","tagline":"Logo stamp pops on a lined board, a kicker line gives way to the title with an accent arrow chip; seeded line distortion","description":"Logo stamp pops on a lined board, a kicker line gives way to the title with an accent arrow chip; seeded line distortion","group":"blocks","section":"Blocks","tags":["logo","intro","creator"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-logo-intro.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-vertical-fill","kind":"block","href":"/catalog/blocks/yt-vertical-fill","title":"Vertical Media Filler","tagline":"Portrait media filling a widescreen frame via blurred-scale, mirror, or copy side fills; grid texture and foreground contrast lift (images inside the block; keep live footage in the host)","description":"Portrait media filling a widescreen frame via blurred-scale, mirror, or copy side fills; grid texture and foreground contrast lift (images inside the block; keep live footage in the host)","group":"blocks","section":"Blocks","tags":["placeholder","vertical","media"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-vertical-fill.json","heavy":false,"width":1920,"height":1080}}]};
+export const catalogGalleryData = {"source":"https://github.com/heygen-com/hyperframes","groups":[{"id":"3d-motion","label":"3D motion","pinned":true,"count":7},{"id":"carousels","label":"Carousels","pinned":false,"count":25},{"id":"text-captions","label":"Text & captions","pinned":false,"count":71},{"id":"code","label":"Code","pinned":false,"count":12},{"id":"transitions","label":"Transitions","pinned":false,"count":31},{"id":"data-charts","label":"Data & charts","pinned":false,"count":18},{"id":"scenes-demos","label":"Scenes & demos","pinned":false,"count":95},{"id":"motion-effects","label":"Motion & effects","pinned":false,"count":94},{"id":"surfaces","label":"Surfaces","pinned":false,"count":18},{"id":"blocks","label":"Blocks","pinned":false,"count":13}],"items":[{"id":"canopy-part-title","kind":"block","href":"/catalog/blocks/canopy-part-title","title":"Canopy Part Title","tagline":"Leaves sweep through the frame and part to reveal the headline.","description":"Leaves sweep through the frame and part to reveal the headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","leaves","organic","depth-of-field","two-headlines","sweep"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/canopy-part-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/canopy-part-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/canopy-part-title.json","heavy":true,"width":1920,"height":1080}},{"id":"code-slice-hero","kind":"block","href":"/catalog/blocks/code-slice-hero","title":"Code Slice Hero","tagline":"A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline.","description":"A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","transition","typography","tiles","flip","webgl2","shadows","two-headlines"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-slice-hero.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-slice-hero.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-slice-hero.json","heavy":false,"width":1920,"height":1080}},{"id":"cuboid-carousel","kind":"block","href":"/catalog/blocks/cuboid-carousel","title":"Cuboid Carousel","tagline":"A chain of bevelled cuboids rides a travelling wave as a content carousel.","description":"A chain of bevelled cuboids rides a travelling wave as a content carousel.","group":"3d-motion","section":"3D motion","tags":["3d-motion","carousel","cards","travelling-wave","pbr","shadows","room-environment"],"tech":[],"duration":6.67,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cuboid-carousel.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cuboid-carousel.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cuboid-carousel.json","heavy":true,"width":1920,"height":1080}},{"id":"frost-sequence-camera-orbit","kind":"block","href":"/catalog/blocks/frost-sequence-camera-orbit","title":"Frost Sequence Camera Orbit","tagline":"An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades.","description":"An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades.","group":"3d-motion","section":"3D motion","tags":["3d-motion","ice","frost","camera-orbit","logo","particles","webgpu","two-headlines"],"tech":[],"duration":22.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/frost-sequence-camera-orbit.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/frost-sequence-camera-orbit.mp4","preview":{"mode":"video"}},{"id":"glass-shard-title","kind":"block","href":"/catalog/blocks/glass-shard-title","title":"Glass Shard Title","tagline":"Glass shards fly in through fog and tile themselves into the headline.","description":"Glass shards fly in through fog and tile themselves into the headline.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","glass","voronoi","shards","fog","hdr"],"tech":[],"duration":12.16,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glass-shard-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glass-shard-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/glass-shard-title.json","heavy":true,"width":1920,"height":1080}},{"id":"orbit-card","kind":"block","href":"/catalog/blocks/orbit-card","title":"Orbit Card","tagline":"A single feature card orbits a dot sphere on approved Blender camera motion.","description":"A single feature card orbits a dot sphere on approved Blender camera motion.","group":"3d-motion","section":"3D motion","tags":["3d-motion","cards","feature-reveal","dots","orbit","blender-motion","sphere"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/orbit-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/orbit-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/orbit-card.json","heavy":true,"width":1920,"height":1080}},{"id":"wireframe-portal-title","kind":"block","href":"/catalog/blocks/wireframe-portal-title","title":"Wireframe Portal Title","tagline":"A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase.","description":"A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase.","group":"3d-motion","section":"3D motion","tags":["3d-motion","title-card","wireframe","portal","burst","typography","post-processing","phrase-swap"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/wireframe-portal-title.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/wireframe-portal-title.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/wireframe-portal-title.json","heavy":true,"width":1920,"height":1080}},{"id":"carousel-circle-1","kind":"block","href":"/catalog/blocks/carousel-circle-1","title":"Circle Carousel 1","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 1); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 1); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-2","kind":"block","href":"/catalog/blocks/carousel-circle-2","title":"Circle Carousel 2","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 2); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-3","kind":"block","href":"/catalog/blocks/carousel-circle-3","title":"Circle Carousel 3","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 3); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-4","kind":"block","href":"/catalog/blocks/carousel-circle-4","title":"Circle Carousel 4","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 4); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 4); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-circle-5","kind":"block","href":"/catalog/blocks/carousel-circle-5","title":"Circle Carousel 5","tagline":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 5); 12 image slots.","description":"Image cards ride a circle with a size gradient by depth angle, sweeping in fast-slow-fast swings (Circle style 5); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","circle"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-circle-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-1","kind":"block","href":"/catalog/blocks/carousel-orbit-1","title":"Orbit Carousel 1","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 1); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 1); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-2","kind":"block","href":"/catalog/blocks/carousel-orbit-2","title":"Orbit Carousel 2","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 2); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 2); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-3","kind":"block","href":"/catalog/blocks/carousel-orbit-3","title":"Orbit Carousel 3","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 3); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 3); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-4","kind":"block","href":"/catalog/blocks/carousel-orbit-4","title":"Orbit Carousel 4","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 4); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 4); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-orbit-5","kind":"block","href":"/catalog/blocks/carousel-orbit-5","title":"Orbit Carousel 5","tagline":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 5); 24 image slots.","description":"Image cards on a spinning 3D Fibonacci sphere, billboarded to the camera, sized by camera distance (Orbit style 5); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","orbit","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-orbit-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-1","kind":"block","href":"/catalog/blocks/carousel-path-1","title":"Path Carousel 1","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 1); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 1); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-2","kind":"block","href":"/catalog/blocks/carousel-path-2","title":"Path Carousel 2","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 2); 12 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-3","kind":"block","href":"/catalog/blocks/carousel-path-3","title":"Path Carousel 3","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 3); 12 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-4","kind":"block","href":"/catalog/blocks/carousel-path-4","title":"Path Carousel 4","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 4); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 4); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-path-5","kind":"block","href":"/catalog/blocks/carousel-path-5","title":"Path Carousel 5","tagline":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 5); 24 image slots.","description":"Image cards ride an open bezier path (arc, V, diagonal, wave, S-curve) with depth scaling and tangent rotation (Path style 5); 24 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","path"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-path-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-1","kind":"block","href":"/catalog/blocks/carousel-text-circle-1","title":"Text + Circle Carousel 1","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 1).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 1).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-2","kind":"block","href":"/catalog/blocks/carousel-text-circle-2","title":"Text + Circle Carousel 2","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 2).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 2).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-3","kind":"block","href":"/catalog/blocks/carousel-text-circle-3","title":"Text + Circle Carousel 3","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 3).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 3).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-4","kind":"block","href":"/catalog/blocks/carousel-text-circle-4","title":"Text + Circle Carousel 4","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 4).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 4).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-text-circle-5","kind":"block","href":"/catalog/blocks/carousel-text-circle-5","title":"Text + Circle Carousel 5","tagline":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 5).","description":"A headline mask-reveals word by word while a circle carousel converges from off-frame and threads the line, collapses to centre, hard-cuts to a second line that arrives at 1.4× (Circle style 5).","group":"carousels","section":"Carousels","tags":["carousel","title-card","kinetic-text","images","showcase","circle"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-text-circle-5.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-1","kind":"block","href":"/catalog/blocks/carousel-vision-1","title":"Vision Carousel 1","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 1); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 1); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-1.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-2","kind":"block","href":"/catalog/blocks/carousel-vision-2","title":"Vision Carousel 2","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 2); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 2); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-2.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-3","kind":"block","href":"/catalog/blocks/carousel-vision-3","title":"Vision Carousel 3","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 3); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 3); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-3.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-4","kind":"block","href":"/catalog/blocks/carousel-vision-4","title":"Vision Carousel 4","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 4); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 4); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-4.json","heavy":false,"width":1920,"height":1080}},{"id":"carousel-vision-5","kind":"block","href":"/catalog/blocks/carousel-vision-5","title":"Vision Carousel 5","tagline":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 5); 12 image slots.","description":"A ring of large image cards tilted into a row under a 3D camera, each card turning toward the centre (Vision style 5); 12 image slots.","group":"carousels","section":"Carousels","tags":["carousel","gallery","images","showcase","vision","3d"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/carousel-vision-5.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-camera-follow","kind":"component","href":"/catalog/components/caption-camera-follow","title":"Camera Follow Captions","tagline":"One sentence written across a world far larger than the frame. Each word is sized against everything already written, so the block grows geometrically and the camera pulls back at a steady rate to keep landing the new word at the same size. Old words stay lit and simply become small.","description":"One sentence written across a world far larger than the frame. Each word is sized against everything already written, so the block grows geometrically and the camera pulls back at a steady rate to keep landing the new word at the same size. Old words stay lit and simply become small.","group":"text-captions","section":"Captions","tags":["captions","caption-style","camera","typography","motion-primitive","portrait"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/caption-camera-follow.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-clip-wipe","kind":"component","href":"/catalog/components/caption-clip-wipe","title":"Clip Wipe","tagline":"Left-to-right clip-path wipe reveal per word","description":"Left-to-right clip-path wipe reveal per word","group":"text-captions","section":"Captions","tags":["captions","caption-style","wipe","clip-path","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-clip-wipe.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-clip-wipe/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-clip-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-editorial-emphasis","kind":"component","href":"/catalog/components/caption-editorial-emphasis","title":"Editorial Emphasis","tagline":"Dual-font system with dramatic size contrast for emphasis words","description":"Dual-font system with dramatic size contrast for emphasis words","group":"text-captions","section":"Captions","tags":["captions","caption-style","editorial","typography","emphasis"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-editorial-emphasis.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-editorial-emphasis/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-editorial-emphasis.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-emoji-pop","kind":"component","href":"/catalog/components/caption-emoji-pop","title":"Emoji Pop","tagline":"Emoji integration with stroked text and horizontal squeeze entrance","description":"Emoji integration with stroked text and horizontal squeeze entrance","group":"text-captions","section":"Captions","tags":["captions","caption-style","emoji","social"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-emoji-pop.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-emoji-pop/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-emoji-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-glitch-rgb","kind":"component","href":"/catalog/components/caption-glitch-rgb","title":"Glitch RGB","tagline":"RGB chromatic aberration with CRT scanline overlay","description":"RGB chromatic aberration with CRT scanline overlay","group":"text-captions","section":"Captions","tags":["captions","caption-style","glitch","cyber","tech"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-glitch-rgb.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-glitch-rgb/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-glitch-rgb.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-gradient-fill","kind":"component","href":"/catalog/components/caption-gradient-fill","title":"Gradient Fill","tagline":"Gradient-clipped text with elastic bounce entrance","description":"Gradient-clipped text with elastic bounce entrance","group":"text-captions","section":"Captions","tags":["captions","caption-style","gradient","colorful"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-gradient-fill.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-gradient-fill/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-gradient-fill.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-highlight","kind":"component","href":"/catalog/components/caption-highlight","title":"Highlight","tagline":"Red background sweep behind each active word, TikTok-style","description":"Red background sweep behind each active word, TikTok-style","group":"text-captions","section":"Captions","tags":["captions","caption-style","highlight","social","tiktok"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-highlight.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-highlight/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-kinetic-slam","kind":"component","href":"/catalog/components/caption-kinetic-slam","title":"Kinetic Slam","tagline":"Full-screen single-word display with alternating entrance directions","description":"Full-screen single-word display with alternating entrance directions","group":"text-captions","section":"Captions","tags":["captions","caption-style","kinetic","typography","slam"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-kinetic-slam.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-kinetic-slam/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-kinetic-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-matrix-decode","kind":"component","href":"/catalog/components/caption-matrix-decode","title":"Matrix Decode","tagline":"Character scramble animation before text reveal","description":"Character scramble animation before text reveal","group":"text-captions","section":"Captions","tags":["captions","caption-style","matrix","scramble","decode"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-matrix-decode.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-matrix-decode/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-matrix-decode.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-neon-accent","kind":"component","href":"/catalog/components/caption-neon-accent","title":"Neon Accent","tagline":"Multi-color neon glow accents with wiggle drift animation","description":"Multi-color neon glow accents with wiggle drift animation","group":"text-captions","section":"Captions","tags":["captions","caption-style","neon","glow","accent"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-neon-accent.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-neon-accent/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-neon-accent.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-neon-glow","kind":"component","href":"/catalog/components/caption-neon-glow","title":"Neon Glow","tagline":"Cyan and magenta neon glow with keyword accent colors","description":"Cyan and magenta neon glow with keyword accent colors","group":"text-captions","section":"Captions","tags":["captions","caption-style","neon","glow","gaming"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-neon-glow.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-neon-glow/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-neon-glow.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-parallax-layers","kind":"component","href":"/catalog/components/caption-parallax-layers","title":"Parallax Layers","tagline":"Behind-subject 3D text layering with vertical stretch effect","description":"Behind-subject 3D text layering with vertical stretch effect","group":"text-captions","section":"Captions","tags":["captions","caption-style","parallax","3d","depth"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-parallax-layers.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-parallax-layers/preview.mp4?v=1779051692","preview":{"mode":"player","source":"/public/catalog/components/caption-parallax-layers.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-particle-burst","kind":"component","href":"/catalog/components/caption-particle-burst","title":"Particle Burst","tagline":"Keyword words trigger colored particle explosions","description":"Keyword words trigger colored particle explosions","group":"text-captions","section":"Captions","tags":["captions","caption-style","particles","burst","effects"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-particle-burst.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-particle-burst/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-particle-burst.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-pill-karaoke","kind":"component","href":"/catalog/components/caption-pill-karaoke","title":"Pill Karaoke","tagline":"Pill-shaped container with per-word karaoke color highlight","description":"Pill-shaped container with per-word karaoke color highlight","group":"text-captions","section":"Captions","tags":["captions","caption-style","karaoke","pill"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-pill-karaoke.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-pill-karaoke/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-pill-karaoke.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-texture","kind":"component","href":"/catalog/components/caption-texture","title":"Texture","tagline":"Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable","description":"Flowing texture mask over large uppercase text — ships with 6 textures (lava, marble, metal, wood, concrete, rock), configurable via the texture variable","group":"text-captions","section":"Captions","tags":["captions","caption-style","texture","mask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-texture.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-texture-lava/preview.mp4?v=1779051416","preview":{"mode":"player","source":"/public/catalog/components/caption-texture.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-weight-shift","kind":"component","href":"/catalog/components/caption-weight-shift","title":"Weight Shift","tagline":"Elegant font-weight transition between caption lines","description":"Elegant font-weight transition between caption lines","group":"text-captions","section":"Captions","tags":["captions","caption-style","minimal","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-weight-shift.png","video":"https://static.heygen.ai/hyperframes-oss/registry/components/caption-weight-shift/preview-v2.mp4","preview":{"mode":"player","source":"/public/catalog/components/caption-weight-shift.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-callout-highlight","kind":"block","href":"/catalog/blocks/mk-callout-highlight","title":"Word-Sweep Highlight","tagline":"A sentence whose word-by-word emphasis is driven by a single scalar — tween it to sync the highlight with a voiceover","description":"A sentence whose word-by-word emphasis is driven by a single scalar — tween it to sync the highlight with a voiceover","group":"text-captions","section":"Captions","tags":["typography","karaoke","captions","minimal"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-callout-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"blur-out-up","kind":"component","href":"/catalog/components/blur-out-up","title":"Blur Out Up","tagline":"Words arrive clean and depart upward with increasing blur for airy exits.","description":"Words arrive clean and depart upward with increasing blur for airy exits.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/blur-out-up.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/blur-out-up.json","heavy":false,"width":1920,"height":1080}},{"id":"bottom-up-letters","kind":"component","href":"/catalog/components/bottom-up-letters","title":"Bottom Up Letters","tagline":"Splits text into letters and reveals each glyph from below with deterministic staggered timing","description":"Splits text into letters and reveals each glyph from below with deterministic staggered timing","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","letters","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/bottom-up-letters.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/bottom-up-letters.json","heavy":false,"width":1920,"height":1080}},{"id":"caption-blend-difference","kind":"component","href":"/catalog/components/caption-blend-difference","title":"Blend Difference","tagline":"Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background","description":"Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background","group":"text-captions","section":"Typography & Text","tags":["text","text-effect","effect","blend-mode","contrast","inversion"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/caption-blend-difference.json","heavy":false,"width":1920,"height":1080}},{"id":"char-slam-explode","kind":"component","href":"/catalog/components/char-slam-explode","title":"Char Slam Explode","tagline":"Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake.","description":"Headline glyphs hold in a deterministic scatter, then reassemble with an overshooting slam and a three-frame landing shake.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","text-treatment","scatter","slam","impact"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/char-slam-explode.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-blur-resolve","kind":"component","href":"/catalog/components/focus-blur-resolve","title":"Focus Blur Resolve","tagline":"A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.","description":"A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/focus-blur-resolve.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-blur-resolve.json","heavy":false,"width":1920,"height":1080}},{"id":"headline-slam","kind":"component","href":"/catalog/components/headline-slam","title":"Headline Slam","tagline":"A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.","description":"A heavyweight headline scales down into frame, lands with a deterministic three-frame shake, holds with subtle drift, and whips upward on exit.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","headline","slam","impact","exit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/headline-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-path-text","kind":"block","href":"/catalog/blocks/hw-path-text","title":"Text Along a Path","tagline":"Handwriting flowing along any SVG path with a per-character reveal; the path is the only geometry input","description":"Handwriting flowing along any SVG path with a per-character reveal; the path is the only geometry input","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","path","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-path-text.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-title","kind":"block","href":"/catalog/blocks/hw-title","title":"Handwritten Title","tagline":"Handwritten display text with a scalar-driven word-by-word highlight sweep and a seeded squiggle underline sized to the text; boils","description":"Handwritten display text with a scalar-driven word-by-word highlight sweep and a seeded squiggle underline sized to the text; boils","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","title-card","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-title.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-write-title","kind":"block","href":"/catalog/blocks/hw-write-title","title":"Handwritten Write-On Title","tagline":"True glyph write-on: filled Caveat letterforms revealed by baked per-glyph centerline strokes traced in real stroke order with a curvature-adaptive pen-velocity ease (fast on straights, slow into curves, inter-stroke pen lifts); optional squiggle underline; boils","description":"True glyph write-on: filled Caveat letterforms revealed by baked per-glyph centerline strokes traced in real stroke order with a curvature-adaptive pen-velocity ease (fast on straights, slow into curves, inter-stroke pen lifts); optional squiggle underline; boils","group":"text-captions","section":"Typography & Text","tags":["handwritten","typography","title-card","write-on","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-write-title.json","heavy":false,"width":1920,"height":1080}},{"id":"inline-highlight","kind":"component","href":"/catalog/components/inline-highlight","title":"Inline Highlight","tagline":"A clean marker-style inline highlight that animates behind text using a CSS scale variable","description":"A clean marker-style inline highlight that animates behind text using a CSS scale variable","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","highlight","caption"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/inline-highlight.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/inline-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"kinetic-center-build","kind":"component","href":"/catalog/components/kinetic-center-build","title":"Kinetic Center Build","tagline":"Words enter from the right and push the growing phrase left until the final line locks centered.","description":"Words enter from the right and push the growing phrase left until the final line locks centered.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","kinetic-type","reveal","remocn-port"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/kinetic-center-build.json","heavy":false,"width":1920,"height":1080}},{"id":"kinetic-type-swap","kind":"component","href":"/catalog/components/kinetic-type-swap","title":"Kinetic Type Swap","tagline":"A held sentence keeps its fixed text in place while one widest-word masked slot rolls through alternatives and settles on the final option.","description":"A held sentence keeps its fixed text in place while one widest-word masked slot rolls through alternatives and settles on the final option.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","kinetic-type","word-swap","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/kinetic-type-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"line-by-line-slide","kind":"component","href":"/catalog/components/line-by-line-slide","title":"Line-by-Line Slide","tagline":"Each line enters from the left with staggered slide and exits to the right.","description":"Each line enters from the left with staggered slide and exits to the right.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/line-by-line-slide.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/line-by-line-slide.json","heavy":false,"width":1920,"height":1080}},{"id":"line-swap","kind":"component","href":"/catalog/components/line-swap","title":"Line Swap","tagline":"A masked full-line beat replacement: line A holds center then exits up through an overflow-hidden mask as line B enters bottom-up on the same beat, with an optional accent underline drawing beneath one word of line B.","description":"A masked full-line beat replacement: line A holds center then exits up through an overflow-hidden mask as line B enters bottom-up on the same beat, with an optional accent underline drawing beneath one word of line B.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","swap","beat","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/line-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-brand-close","kind":"component","href":"/catalog/components/logo-brand-close","title":"Logo Brand Close","tagline":"A display-scale wordmark cascades letter by letter into a centered lockup, the accent brand period lands last, an optional tagline and wide-tracked mono URL settle beneath, and the finished identity holds dead still to the end of the film.","description":"A display-scale wordmark cascades letter by letter into a centered lockup, the accent brand period lands last, an optional tagline and wide-tracked mono URL settle beneath, and the finished identity holds dead still to the end of the film.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","brand","logo","end-card","close"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-brand-close.json","heavy":false,"width":1920,"height":1080}},{"id":"marker-highlight","kind":"component","href":"/catalog/components/marker-highlight","title":"Marker Highlight","tagline":"Display text settles in, then one hand-drawn marker stroke (highlight, circle, underline, or scribble) draws over the emphasized word on cue.","description":"Display text settles in, then one hand-drawn marker stroke (highlight, circle, underline, or scribble) draws over the emphasized word on cue.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","emphasis","marker","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/marker-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"matrix-decode","kind":"component","href":"/catalog/components/matrix-decode","title":"Matrix Decode","tagline":"Random scramble resolves left-to-right into the target text.","description":"Random scramble resolves left-to-right into the target text.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/matrix-decode.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/matrix-decode.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-emphasis-type","kind":"component","href":"/catalog/components/mk-emphasis-type","title":"Background Emphasis Type","tagline":"Oversized low-contrast background word drifting slowly behind the subject — typography as texture","description":"Oversized low-contrast background word drifting slowly behind the subject — typography as texture","group":"text-captions","section":"Typography & Text","tags":["typography","text-treatment","minimal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/mk-emphasis-type.json","heavy":false,"width":1920,"height":1080}},{"id":"morph-text","kind":"component","href":"/catalog/components/morph-text","title":"Morph Text","tagline":"Gooey text morph — cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect","description":"Gooey text morph — cycles through an editable word list using SVG threshold + GSAP-driven blur for a fluid, satisfying transition effect","group":"text-captions","section":"Typography & Text","tags":["text","text-effect","typography","morph","gooey","kinetic","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/morph-text.mp4","preview":{"mode":"player","source":"/public/catalog/components/morph-text.json","heavy":false,"width":1920,"height":1080}},{"id":"particle-text-dissolve","kind":"component","href":"/catalog/components/particle-text-dissolve","title":"Particle Text Dissolve","tagline":"Text assembles from a seeded particle cloud (or dissolves into it): per-particle targets sampled once from the rendered text bitmap at mount, table-driven particles, zero per-particle tweens, one onUpdate painter.","description":"Text assembles from a seeded particle cloud (or dissolves into it): per-particle targets sampled once from the rendered text bitmap at mount, table-driven particles, zero per-particle tweens, one onUpdate painter.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","particles","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/particle-text-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"per-word-crossfade","kind":"component","href":"/catalog/components/per-word-crossfade","title":"Per-Word Crossfade","tagline":"Words gently fade into place with a short vertical drift for calm keynote rhythm.","description":"Words gently fade into place with a short vertical drift for calm keynote rhythm.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/per-word-crossfade.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/per-word-crossfade.json","heavy":false,"width":1920,"height":1080}},{"id":"per-word-rise","kind":"component","href":"/catalog/components/per-word-rise","title":"Per Word Rise","tagline":"Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).","description":"Words or characters rise into place in a controlled blur-to-sharp cascade, settle softly on landing, and hold still until the cut (optional fade or up exit).","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","typography","stagger","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/per-word-rise.json","heavy":false,"width":1920,"height":1080}},{"id":"perspective-marquee","kind":"component","href":"/catalog/components/perspective-marquee","title":"Perspective Marquee","tagline":"A 3D tilted marquee with depth feel as items roll toward the horizon.","description":"A 3D tilted marquee with depth feel as items roll toward the horizon.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/perspective-marquee.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/perspective-marquee.json","heavy":false,"width":1920,"height":1080}},{"id":"rgb-glitch-text","kind":"component","href":"/catalog/components/rgb-glitch-text","title":"RGB Glitch Text","tagline":"RGB-offset text copies jitter briefly for a controlled glitch window.","description":"RGB-offset text copies jitter briefly for a controlled glitch window.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/rgb-glitch-text.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/rgb-glitch-text.json","heavy":false,"width":1920,"height":1080}},{"id":"scan-band","kind":"component","href":"/catalog/components/scan-band","title":"Scan Band","tagline":"A diagonal distortion band sweeps once across a clean wordmark, revealing clipped red and cyan offsets only inside the moving band.","description":"A diagonal distortion band sweeps once across a clean wordmark, revealing clipped red and cyan offsets only inside the moving band.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","scan","chromatic","distortion","wordmark"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scan-band.json","heavy":false,"width":1920,"height":1080}},{"id":"scramble-reveal","kind":"component","href":"/catalog/components/scramble-reveal","title":"Scramble Reveal","tagline":"A deterministic hacker-style text reveal that cycles fixed glyph rows and locks the target string from left to right.","description":"A deterministic hacker-style text reveal that cycles fixed glyph rows and locks the target string from left to right.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","scramble","reveal","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scramble-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"shared-axis-y","kind":"component","href":"/catalog/components/shared-axis-y","title":"Shared Axis Y","tagline":"Per-word vertical shared-axis transition for sharp editorial swaps.","description":"Per-word vertical shared-axis transition for sharp editorial swaps.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shared-axis-y.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shared-axis-y.json","heavy":false,"width":1920,"height":1080}},{"id":"shared-axis-z","kind":"component","href":"/catalog/components/shared-axis-z","title":"Shared Axis Z","tagline":"Scale-based shared-axis transition for focus shifts and context depth.","description":"Scale-based shared-axis transition for focus shifts and context depth.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shared-axis-z.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shared-axis-z.json","heavy":false,"width":1920,"height":1080}},{"id":"shimmer-sweep","kind":"component","href":"/catalog/components/shimmer-sweep","title":"Shimmer Sweep","tagline":"Animated light sweep across text or elements using a CSS gradient mask — ideal for AI accents and premium reveals","description":"Animated light sweep across text or elements using a CSS gradient mask — ideal for AI accents and premium reveals","group":"text-captions","section":"Typography & Text","tags":["text","shimmer","highlight","effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shimmer-sweep.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shimmer-sweep.json","heavy":false,"width":1920,"height":1080}},{"id":"soft-blur-in","kind":"component","href":"/catalog/components/soft-blur-in","title":"Soft Blur In","tagline":"A soft opacity, blur, and lift reveal for headlines, captions, and product UI callouts","description":"A soft opacity, blur, and lift reveal for headlines, captions, and product UI callouts","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","reveal","blur"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/soft-blur-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/soft-blur-in.json","heavy":false,"width":1920,"height":1080}},{"id":"split-flap-board","kind":"block","href":"/catalog/blocks/split-flap-board","title":"Split-Flap Board","tagline":"Solari-style departure board: every cell walks its drum forward through the intervening characters of a fixed alphabet until it lands on its target, so the text resolves as a mechanical cascade instead of a fade.","description":"Solari-style departure board: every cell walks its drum forward through the intervening characters of a fixed alphabet until it lands on its target, so the text resolves as a mechanical cascade instead of a fade.","group":"text-captions","section":"Typography & Text","tags":["text","kinetic","mechanical","split-flap","solari","departure-board","reveal"],"tech":[],"duration":3.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/split-flap-board.json","heavy":false,"width":1920,"height":1080}},{"id":"strikethrough-replace","kind":"component","href":"/catalog/components/strikethrough-replace","title":"Strikethrough Replace","tagline":"Draw a strike line across old text, then reveal the replacement.","description":"Draw a strike line across old text, then reveal the replacement.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/strikethrough-replace.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/strikethrough-replace.json","heavy":false,"width":1920,"height":1080}},{"id":"text-shimmer","kind":"component","href":"/catalog/components/text-shimmer","title":"Text Shimmer","tagline":"A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.","description":"A static headline receives one clean specular gradient sweep through its glyphs, then returns to its ordinary text color.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text-effects","shimmer","specular","emphasis"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-shimmer.json","heavy":false,"width":1920,"height":1080}},{"id":"ticker-takeover","kind":"component","href":"/catalog/components/ticker-takeover","title":"Ticker Takeover","tagline":"A mono ticker rolls through options, locks on a final word with an accent flash, and promotes it into a full-frame headline.","description":"A mono ticker rolls through options, locks on a final word with an accent flash, and promotes it into a full-frame headline.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","ticker","slot-machine","headline","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ticker-takeover.json","heavy":false,"width":1920,"height":1080}},{"id":"titlecard-calm","kind":"component","href":"/catalog/components/titlecard-calm","title":"Titlecard Calm","tagline":"A restrained title card where a mono kicker and generous grotesque headline fade upward, drift almost imperceptibly, and exit cleanly.","description":"A restrained title card where a mono kicker and generous grotesque headline fade upward, drift almost imperceptibly, and exit cleanly.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","title-card","calm","orient"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/titlecard-calm.json","heavy":false,"width":1920,"height":1080}},{"id":"titlecard-lockup","kind":"component","href":"/catalog/components/titlecard-lockup","title":"Titlecard Lockup","tagline":"The calm breather titlecard: an optional mono kicker fades up, the wordmark settles dead-center with one restrained move, a hairline rule draws left to right, a mono label fades beneath, and the lockup holds truly still.","description":"The calm breather titlecard: an optional mono kicker fades up, the wordmark settles dead-center with one restrained move, a hairline rule draws left to right, a mono label fades beneath, and the lockup holds truly still.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","title-card","lockup","breather","orient"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/titlecard-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"tracking-in","kind":"component","href":"/catalog/components/tracking-in","title":"Tracking In","tagline":"A precise letter-spacing reveal for premium headings and interface labels","description":"A precise letter-spacing reveal for premium headings and interface labels","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","text","reveal","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tracking-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tracking-in.json","heavy":false,"width":1920,"height":1080}},{"id":"variable-axis-type","kind":"component","href":"/catalog/components/variable-axis-type","title":"Variable Axis Type","tagline":"A locked one-line headline whose weight or width axis morphs into a decisive emphasis beat.","description":"A locked one-line headline whose weight or width axis morphs into a decisive emphasis beat.","group":"text-captions","section":"Typography & Text","tags":["typography","variable-font","kinetic-type","axis","emphasize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/variable-axis-type.json","heavy":false,"width":1920,"height":1080}},{"id":"vox-annotate","kind":"component","href":"/catalog/components/vox-annotate","title":"Vox Annotate","tagline":"The Vox-style annotate gesture: a keyword in a held sentence gets a hand-drawn marker while a thin connector draws up to a mono callout label, all as one choreographed beat on the cue.","description":"The Vox-style annotate gesture: a keyword in a held sentence gets a hand-drawn marker while a thin connector draws up to a mono callout label, all as one choreographed beat on the cue.","group":"text-captions","section":"Typography & Text","tags":["motion-primitive","typography","annotation","marker","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/vox-annotate.json","heavy":false,"width":1920,"height":1080}},{"id":"weight-wave","kind":"block","href":"/catalog/blocks/weight-wave","title":"Weight Wave","tagline":"A crest of thickness travels along a headline: each character swells from light to black and leans forward as the wave passes, driven by the wght and slnt variable-font axes rather than by transforms.","description":"A crest of thickness travels along a headline: each character swells from light to black and leans forward as the wave passes, driven by the wght and slnt variable-font axes rather than by transforms.","group":"text-captions","section":"Typography & Text","tags":["typography","kinetic-type","title","variable-font","text"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/weight-wave.json","heavy":false,"width":1920,"height":1080}},{"id":"wordmark-tiles","kind":"component","href":"/catalog/components/wordmark-tiles","title":"Wordmark Tiles","tagline":"A wordmark resolves from deterministic color noise into correctly cropped glyph tiles through a spatially modulated GSAP wave.","description":"A wordmark resolves from deterministic color noise into correctly cropped glyph tiles through a spatially modulated GSAP wave.","group":"text-captions","section":"Typography & Text","tags":["typography","wordmark","tiles","raster","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/wordmark-tiles.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-prism-title","kind":"block","href":"/catalog/blocks/yt-prism-title","title":"Chromatic Fringe Title","tagline":"Display title on a transparent root: blur-focus entrance, red/blue fringe that settles then breathes, perspective bow, slow scale drift","description":"Display title on a transparent root: blur-focus entrance, red/blue fringe that settles then breathes, perspective bow, slow scale drift","group":"text-captions","section":"Typography & Text","tags":["typography","title-card","creator"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-prism-title.json","heavy":false,"width":1920,"height":1080}},{"id":"lower-third-bild","kind":"block","href":"/catalog/blocks/lower-third-bild","title":"Lower Third — BILD Style","tagline":"News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow.","description":"News-style lower third with tight-fit text boxes: white headline bar with red drop-shadow, red sub-line with white drop-shadow.","group":"text-captions","section":"Lower Thirds","tags":["broadcast","lower-third","news","overlay"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lower-third-bild.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-accent-underline","kind":"block","href":"/catalog/blocks/lt-accent-underline","title":"Lower Third — Accent Underline","tagline":"Cardless lower third for footage overlay: name rises, an accent rule draws left-to-right, role fades in; text-shadowed for legibility","description":"Cardless lower third for footage overlay: name rises, an accent rule draws left-to-right, role fades in; text-shadowed for legibility","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-accent-underline.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-bold-block","kind":"block","href":"/catalog/blocks/lt-bold-block","title":"Lower Third — Bold Block","tagline":"High-energy podcast lower third: solid dark block wipes in, uppercase name slams up, accent tag pops","description":"High-energy podcast lower third: solid dark block wipes in, uppercase name slams up, accent tag pops","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-bold-block.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-clean-bar","kind":"block","href":"/catalog/blocks/lt-clean-bar","title":"Lower Third — Clean Bar","tagline":"Minimal white-card lower third for podcasts/interviews: accent tab, name + role, clip-wipe entrance","description":"Minimal white-card lower third for podcasts/interviews: accent tab, name + role, clip-wipe entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-clean-bar.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-color-block","kind":"block","href":"/catalog/blocks/lt-color-block","title":"Lower Third — Color Block","tagline":"High-energy lower third: bold accent-color block slides in with overshoot, condensed name + mono role","description":"High-energy lower third: bold accent-color block slides in with overshoot, condensed name + mono role","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-color-block.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-dark-card","kind":"block","href":"/catalog/blocks/lt-dark-card","title":"Lower Third — Dark Card","tagline":"Charcoal card lower third for bright footage: name, drawn accent underline, role; slide-up entrance","description":"Charcoal card lower third for bright footage: name, drawn accent underline, role; slide-up entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","dark"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-dark-card.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-kicker-name","kind":"block","href":"/catalog/blocks/lt-kicker-name","title":"Lower Third — Kicker Name","tagline":"Cardless lower third with an accent eyebrow/kicker tag, heavy name, and a drawn baseline; for footage","description":"Cardless lower third with an accent eyebrow/kicker tag, heavy name, and a drawn baseline; for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-kicker-name.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-mask-reveal","kind":"block","href":"/catalog/blocks/lt-mask-reveal","title":"Lower Third — Mask Reveal","tagline":"Cardless lower third: an accent sweep crosses and clip-path-reveals a heavy name, role fades up; for footage","description":"Cardless lower third: an accent sweep crosses and clip-path-reveals a heavy name, role fades up; for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-mask-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-side-rule","kind":"block","href":"/catalog/blocks/lt-side-rule","title":"Lower Third — Side Rule","tagline":"Cardless lower third with a vertical accent bar; condensed display name + mono role, text-shadowed for footage","description":"Cardless lower third with a vertical accent bar; condensed display name + mono role, text-shadowed for footage","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-side-rule.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-soft-pill","kind":"block","href":"/catalog/blocks/lt-soft-pill","title":"Lower Third — Soft Pill","tagline":"Rounded white pill lower third for podcasts/interviews: status dot, name + role, scale-pop entrance","description":"Rounded white pill lower third for podcasts/interviews: status dot, name + role, scale-pop entrance","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","minimal"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-soft-pill.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-stack-bars","kind":"block","href":"/catalog/blocks/lt-stack-bars","title":"Lower Third — Stack Bars","tagline":"Two stacked bars: a dark name bar wipes from the left, an accent role bar wipes from the right","description":"Two stacked bars: a dark name bar wipes from the left, an accent role bar wipes from the right","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","podcast","interview","bold"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-stack-bars.json","heavy":false,"width":1920,"height":1080}},{"id":"news-ticker","kind":"block","href":"/catalog/blocks/news-ticker","title":"News Ticker","tagline":"Premium broadcast-style lower-third ticker with live label, headline ribbon, and scrolling news crawl.","description":"Premium broadcast-style lower-third ticker with live label, headline ribbon, and scrolling news crawl.","group":"text-captions","section":"Lower Thirds","tags":["lower-third","overlay","news","ticker"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/news-ticker.json","heavy":false,"width":1920,"height":1080}},{"id":"code-3d-extrude","kind":"block","href":"/catalog/blocks/code-3d-extrude","title":"Code 3D Extrude","tagline":"Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and lighting, not a 2D transform.","description":"Syntax-highlighted code on a lit, beveled 3D slab that rotates through real space and settles to a readable rest — true WebGL depth and lighting, not a 2D transform.","group":"code","section":"Code Animations","tags":["code","code-animation","3d","webgl","developer"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-3d-extrude.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-3d-extrude.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-3d-extrude.json","heavy":true,"width":1920,"height":1080}},{"id":"code-diff","kind":"block","href":"/catalog/blocks/code-diff","title":"Code Diff","tagline":"An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.","description":"An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.","group":"code","section":"Code Animations","tags":["code","code-animation","diff","developer"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-diff.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-diff.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-diff.json","heavy":false,"width":1920,"height":1080}},{"id":"code-highlight","kind":"block","href":"/catalog/blocks/code-highlight","title":"Code Highlight Sweep","tagline":"A highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.","description":"A highlight band sweeps across a target line while the surrounding context dims — draws the eye to one line.","group":"code","section":"Code Animations","tags":["code","code-animation","highlight","developer"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-highlight.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-highlight.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"code-morph","kind":"block","href":"/catalog/blocks/code-morph","title":"Code Morph","tagline":"One snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.","description":"One snippet transforms into another — tokens glide between positions, leavers fade out, enterers fade in. Shiki Magic Move re-driven as a paused GSAP timeline.","group":"code","section":"Code Animations","tags":["code","code-animation","morph","refactor","developer"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-morph.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-morph.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"code-particle-assemble","kind":"block","href":"/catalog/blocks/code-particle-assemble","title":"Code Particle Assemble","tagline":"Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text — a particle system, not a token tween.","description":"Thousands of GPU points scatter through space and fly to the exact glyph pixels of the code, resolving into readable syntax-highlighted text — a particle system, not a token tween.","group":"code","section":"Code Animations","tags":["code","code-animation","particles","gpu","webgl","developer"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-particle-assemble.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-particle-assemble.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-particle-assemble.json","heavy":true,"width":1920,"height":1080}},{"id":"code-scroll","kind":"block","href":"/catalog/blocks/code-scroll","title":"Code Scroll To Line","tagline":"The camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.","description":"The camera scrolls a long file to bring a target line to center and spotlights it — for walking through real modules.","group":"code","section":"Code Animations","tags":["code","code-animation","scroll","developer"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-scroll.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-scroll.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-scroll.json","heavy":false,"width":1920,"height":1080}},{"id":"code-shader-dissolve","kind":"block","href":"/catalog/blocks/code-shader-dissolve","title":"Code Shader Dissolve","tagline":"The code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then holds crisp.","description":"The code compiles into existence: a GPU fragment shader resolves it out of seeded noise with a chromatic dissolve front and edge glow, then holds crisp.","group":"code","section":"Code Animations","tags":["code","code-animation","shader","webgl","developer"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-shader-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-shader-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-shader-dissolve.json","heavy":true,"width":1920,"height":1080}},{"id":"code-typing","kind":"block","href":"/catalog/blocks/code-typing","title":"Code Typing","tagline":"Token-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.","description":"Token-streamed typing reveal with a caret that tracks the frontier — deterministic, no CSS animation.","group":"code","section":"Code Animations","tags":["code","code-animation","typing","developer"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-typing.json","heavy":false,"width":1920,"height":1080}},{"id":"terminal-simulator","kind":"component","href":"/catalog/components/terminal-simulator","title":"Terminal Simulator","tagline":"A terminal window types commands and streams log output.","description":"A terminal window types commands and streams log output.","group":"code","section":"Code Animations","tags":["code-animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/terminal-simulator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/terminal-simulator.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-apple-terminal-pro","kind":"block","href":"/catalog/blocks/code-snippet-apple-terminal-pro","title":"Code Snippet - Apple Terminal Pro","tagline":"Apple Terminal Pro profile: black background with grey text and lime green cursor, per-character typing animation of a shell session.","description":"Apple Terminal Pro profile: black background with grey text and lime green cursor, per-character typing animation of a shell session.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","terminal","apple","apple-terminal"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-pro.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-pro.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-apple-terminal-pro.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-dark-2026","kind":"block","href":"/catalog/blocks/code-snippet-dark-2026","title":"Code Snippet - Dark 2026","tagline":"VS Code workbench with per-character typing animation in the Dark 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Dark 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-dark-2026.json","heavy":false,"width":1920,"height":1080}},{"id":"code-snippet-dark-modern","kind":"block","href":"/catalog/blocks/code-snippet-dark-modern","title":"Code Snippet - Dark Modern","tagline":"VS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","description":"VS Code workbench with per-character typing animation in the Dark Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.","group":"code","section":"Code Snippets","tags":["code","developer","showcase","vscode"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/code-snippet-dark-modern.json","heavy":false,"width":1920,"height":1080}},{"id":"chromatic-radial-split","kind":"block","href":"/catalog/blocks/chromatic-radial-split","title":"Chromatic Radial Split","tagline":"Shader transition with chromatic aberration radial split","description":"Shader transition with chromatic aberration radial split","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/chromatic-radial-split.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/chromatic-radial-split.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/chromatic-radial-split.json","heavy":true,"width":1920,"height":1080}},{"id":"cinematic-zoom","kind":"block","href":"/catalog/blocks/cinematic-zoom","title":"Cinematic Zoom","tagline":"Shader transition with dramatic zoom blur","description":"Shader transition with dramatic zoom blur","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cinematic-zoom.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cinematic-zoom.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cinematic-zoom.json","heavy":true,"width":1920,"height":1080}},{"id":"cross-warp-morph","kind":"block","href":"/catalog/blocks/cross-warp-morph","title":"Cross Warp Morph","tagline":"Shader transition with cross-warped morphing","description":"Shader transition with cross-warped morphing","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cross-warp-morph.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/cross-warp-morph.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/cross-warp-morph.json","heavy":true,"width":1920,"height":1080}},{"id":"domain-warp-dissolve","kind":"block","href":"/catalog/blocks/domain-warp-dissolve","title":"Domain Warp Dissolve","tagline":"Shader transition with fractal noise domain warping","description":"Shader transition with fractal noise domain warping","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/domain-warp-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/domain-warp-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/domain-warp-dissolve.json","heavy":true,"width":1920,"height":1080}},{"id":"flash-through-white","kind":"block","href":"/catalog/blocks/flash-through-white","title":"Flash Through White","tagline":"Shader transition with white flash crossfade","description":"Shader transition with white flash crossfade","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flash-through-white.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flash-through-white.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flash-through-white.json","heavy":true,"width":1920,"height":1080}},{"id":"glitch","kind":"block","href":"/catalog/blocks/glitch","title":"Glitch","tagline":"Shader transition with digital glitch artifacts","description":"Shader transition with digital glitch artifacts","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glitch.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/glitch.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/glitch.json","heavy":true,"width":1920,"height":1080}},{"id":"gravitational-lens","kind":"block","href":"/catalog/blocks/gravitational-lens","title":"Gravitational Lens","tagline":"Shader transition with gravitational lensing distortion","description":"Shader transition with gravitational lensing distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/gravitational-lens.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/gravitational-lens.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/gravitational-lens.json","heavy":true,"width":1920,"height":1080}},{"id":"light-leak","kind":"block","href":"/catalog/blocks/light-leak","title":"Light Leak","tagline":"Shader transition with cinematic light leak overlay","description":"Shader transition with cinematic light leak overlay","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/light-leak.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/light-leak.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/light-leak.json","heavy":true,"width":1920,"height":1080}},{"id":"ridged-burn","kind":"block","href":"/catalog/blocks/ridged-burn","title":"Ridged Burn","tagline":"Shader transition with ridged turbulence burn effect","description":"Shader transition with ridged turbulence burn effect","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ridged-burn.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ridged-burn.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ridged-burn.json","heavy":true,"width":1920,"height":1080}},{"id":"ripple-waves","kind":"block","href":"/catalog/blocks/ripple-waves","title":"Ripple Waves","tagline":"Shader transition with concentric ripple wave distortion","description":"Shader transition with concentric ripple wave distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ripple-waves.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ripple-waves.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ripple-waves.json","heavy":true,"width":1920,"height":1080}},{"id":"sdf-iris","kind":"block","href":"/catalog/blocks/sdf-iris","title":"SDF Iris","tagline":"Shader transition with signed distance field iris reveal","description":"Shader transition with signed distance field iris reveal","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/sdf-iris.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/sdf-iris.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/sdf-iris.json","heavy":true,"width":1920,"height":1080}},{"id":"swirl-vortex","kind":"block","href":"/catalog/blocks/swirl-vortex","title":"Swirl Vortex","tagline":"Shader transition with swirling vortex distortion","description":"Shader transition with swirling vortex distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/swirl-vortex.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/swirl-vortex.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/swirl-vortex.json","heavy":true,"width":1920,"height":1080}},{"id":"thermal-distortion","kind":"block","href":"/catalog/blocks/thermal-distortion","title":"Thermal Distortion","tagline":"Shader transition with heat haze thermal distortion","description":"Shader transition with heat haze thermal distortion","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/thermal-distortion.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/thermal-distortion.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/thermal-distortion.json","heavy":true,"width":1920,"height":1080}},{"id":"whip-pan","kind":"block","href":"/catalog/blocks/whip-pan","title":"Whip Pan","tagline":"Shader transition simulating a fast camera whip pan","description":"Shader transition simulating a fast camera whip pan","group":"transitions","section":"Shader Transitions","tags":["transition","shader"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/whip-pan.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/whip-pan.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/whip-pan.json","heavy":true,"width":1920,"height":1080}},{"id":"beat-freeze-cut","kind":"block","href":"/catalog/blocks/beat-freeze-cut","title":"Beat Freeze Cut","tagline":"A beat-driven speed ramp, freeze-frame hit, and hard-cut sequence for music-led promos and montages.","description":"A beat-driven speed ramp, freeze-frame hit, and hard-cut sequence for music-led promos and montages.","group":"transitions","section":"CSS Transitions","tags":["transition","music","beat-driven","freeze-frame"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/beat-freeze-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-scribble-transition","kind":"block","href":"/catalog/blocks/hw-scribble-transition","title":"Scribble Transition","tagline":"Overlay transition: scribble bands accumulate to cover the frame with a solid backstop, the host cuts beneath, and the scribble clears","description":"Overlay transition: scribble bands accumulate to cover the frame with a solid backstop, the host cuts beneath, and the scribble clears","group":"transitions","section":"CSS Transitions","tags":["handwritten","transition","wipe"],"tech":[],"duration":2.2,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-scribble-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-clone-wall-transition","kind":"block","href":"/catalog/blocks/mk-clone-wall-transition","title":"Text Clone Wall Transition","tagline":"Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears — hard-cut the content beneath while covered","description":"Overlay transition: a tiled word wall covers the frame, inverts via difference blending, and clears — hard-cut the content beneath while covered","group":"transitions","section":"CSS Transitions","tags":["transition","typography","wipe"],"tech":[],"duration":2.4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-clone-wall-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"organic-light-leak-overlay","kind":"block","href":"/catalog/blocks/organic-light-leak-overlay","title":"Organic Light Leak Overlay","tagline":"Finite CSS light-leak overlay for memory beats and motivated transitions","description":"Finite CSS light-leak overlay for memory beats and motivated transitions","group":"transitions","section":"CSS Transitions","tags":["light-leak","film","memory","transition","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/organic-light-leak-overlay.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/organic-light-leak-overlay.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/organic-light-leak-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-3d","kind":"block","href":"/catalog/blocks/transitions-3d","title":"3D Transitions","tagline":"Showcase of 3D perspective flip and rotate transitions","description":"Showcase of 3D perspective flip and rotate transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-3d.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-3d.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-3d.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-blur","kind":"block","href":"/catalog/blocks/transitions-blur","title":"Blur Transitions","tagline":"Showcase of blur-based transitions between scenes","description":"Showcase of blur-based transitions between scenes","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-blur.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-blur.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-blur.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-cover","kind":"block","href":"/catalog/blocks/transitions-cover","title":"Cover Transitions","tagline":"Showcase of cover/uncover slide transitions","description":"Showcase of cover/uncover slide transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-cover.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-cover.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-cover.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-destruction","kind":"block","href":"/catalog/blocks/transitions-destruction","title":"Destruction Transitions","tagline":"Showcase of destructive break-apart transitions","description":"Showcase of destructive break-apart transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":14,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-destruction.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-destruction.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-destruction.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-dissolve","kind":"block","href":"/catalog/blocks/transitions-dissolve","title":"Dissolve Transitions","tagline":"Showcase of dissolve and fade transitions","description":"Showcase of dissolve and fade transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":24,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-dissolve.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-dissolve.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-distortion","kind":"block","href":"/catalog/blocks/transitions-distortion","title":"Distortion Transitions","tagline":"Showcase of warp and distortion transitions","description":"Showcase of warp and distortion transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-distortion.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-distortion.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-distortion.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-grid","kind":"block","href":"/catalog/blocks/transitions-grid","title":"Grid Transitions","tagline":"Showcase of grid-based tile transitions","description":"Showcase of grid-based tile transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":11,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-grid.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-grid.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-light","kind":"block","href":"/catalog/blocks/transitions-light","title":"Light Transitions","tagline":"Showcase of light-based glow and flash transitions","description":"Showcase of light-based glow and flash transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":21,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-light.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-light.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-light.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-mechanical","kind":"block","href":"/catalog/blocks/transitions-mechanical","title":"Mechanical Transitions","tagline":"Showcase of mechanical shutter and iris transitions","description":"Showcase of mechanical shutter and iris transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-mechanical.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-mechanical.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-mechanical.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-other","kind":"block","href":"/catalog/blocks/transitions-other","title":"Other Transitions","tagline":"Showcase of miscellaneous creative transitions","description":"Showcase of miscellaneous creative transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-other.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-other.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-other.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-push","kind":"block","href":"/catalog/blocks/transitions-push","title":"Push Transitions","tagline":"Showcase of push and slide transitions","description":"Showcase of push and slide transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":24,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-push.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-push.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-push.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-radial","kind":"block","href":"/catalog/blocks/transitions-radial","title":"Radial Transitions","tagline":"Showcase of radial wipe and reveal transitions","description":"Showcase of radial wipe and reveal transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-radial.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-radial.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-radial.json","heavy":false,"width":1920,"height":1080}},{"id":"transitions-scale","kind":"block","href":"/catalog/blocks/transitions-scale","title":"Scale Transitions","tagline":"Showcase of scale and zoom transitions","description":"Showcase of scale and zoom transitions","group":"transitions","section":"CSS Transitions","tags":["transition","showcase"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-scale.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/transitions-scale.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/transitions-scale.json","heavy":false,"width":1920,"height":1080}},{"id":"animated-bar-chart","kind":"component","href":"/catalog/components/animated-bar-chart","title":"Animated Bar Chart","tagline":"A compact data card with deterministic bar growth and value callouts.","description":"A compact data card with deterministic bar growth and value callouts.","group":"data-charts","section":"Data","tags":["data"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/animated-bar-chart.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/animated-bar-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"ascii-render-pass","kind":"component","href":"/catalog/components/ascii-render-pass","title":"ASCII Render Pass","tagline":"A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a density ramp charset; resolution steps coarse to fine as the piece resolves, then holds legible-fine.","description":"A slotted scene renders as live ASCII: a canvas samples the source's luminance grid (rasterized once at mount) and draws glyphs from a density ramp charset; resolution steps coarse to fine as the piece resolves, then holds legible-fine.","group":"data-charts","section":"Data","tags":["motion-primitive","experiment","texture","ascii","quantize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ascii-render-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"ascii-trail-reveal","kind":"component","href":"/catalog/components/ascii-trail-reveal","title":"ASCII Trail Reveal","tagline":"An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel.","description":"An authored S-curve sweeps through a deterministic ASCII grid, flipping cells away to reveal a labeled panel.","group":"data-charts","section":"Data","tags":["motion-primitive","intro","reveal","ascii","trail","grid"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ascii-trail-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"bar-chart-race","kind":"block","href":"/catalog/blocks/bar-chart-race","title":"Bar Chart Race","tagline":"Ranked bars grow and overtake each other as a time series advances, with the axis rescaling as values climb and the accent handing over to whoever leads","description":"Ranked bars grow and overtake each other as a time series advances, with the axis rescaling as values climb and the accent handing over to whoever leads","group":"data-charts","section":"Data","tags":["data","chart","statistics","ranking"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/bar-chart-race.json","heavy":false,"width":1920,"height":1080}},{"id":"chart-story","kind":"component","href":"/catalog/components/chart-story","title":"Chart Story","tagline":"One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a sweeping donut, or filling progress bars, with an accented value callout on the emphasized datum.","description":"One chart builds from data in reading order and lands the exact supplied values: staggered bars, a left-to-right line with area fill, a sweeping donut, or filling progress bars, with an accented value callout on the emphasized datum.","group":"data-charts","section":"Data","tags":["motion-primitive","proof","stats","chart","bars","line","donut","progress","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chart-story.json","heavy":false,"width":1920,"height":1080}},{"id":"conic-progress-ring","kind":"component","href":"/catalog/components/conic-progress-ring","title":"Conic Progress Ring","tagline":"A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage.","description":"A token-driven conic progress ring whose angular fill and center count settle together from one registered percentage.","group":"data-charts","section":"Data","tags":["data","progress","ring","conic-gradient","prove","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/conic-progress-ring.json","heavy":false,"width":1920,"height":1080}},{"id":"data-chart","kind":"block","href":"/catalog/blocks/data-chart","title":"Data Chart","tagline":"Animated bar + line chart with staggered reveal, NYT-style typography, and value labels","description":"Animated bar + line chart with staggered reveal, NYT-style typography, and value labels","group":"data-charts","section":"Data","tags":["data","chart","statistics"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/data-chart.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/data-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"decline-chart","kind":"component","href":"/catalog/components/decline-chart","title":"Decline Chart","tagline":"A metric line draws downward as its value counts down and the ambient background darkens in lockstep.","description":"A metric line draws downward as its value counts down and the ambient background darkens in lockstep.","group":"data-charts","section":"Data","tags":["motion-primitive","data","chart","decline","metric","problem"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/decline-chart.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-wall","kind":"component","href":"/catalog/components/logo-wall","title":"Logo Wall","tagline":"A trusted-by wall of placeholder lettermark logos that fades and scales into place with a deterministic per-cell stagger.","description":"A trusted-by wall of placeholder lettermark logos that fades and scales into place with a deterministic per-cell stagger.","group":"data-charts","section":"Data","tags":["data","logos","social-proof","stagger","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-wall.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-line-graph","kind":"block","href":"/catalog/blocks/mk-line-graph","title":"Minimal Line Graph","tagline":"One or two SVG series draw on with dots popping and value labels riding the draw front; dim baseline axis, x-labels, color-dot legend","description":"One or two SVG series draw on with dots popping and value labels riding the draw front; dim baseline axis, x-labels, color-dot legend","group":"data-charts","section":"Data","tags":["data-viz","chart","graph","minimal"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-line-graph.json","heavy":false,"width":1920,"height":1080}},{"id":"spain-map","kind":"block","href":"/catalog/blocks/spain-map","title":"Spain Map","tagline":"Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection","description":"Animated Spain choropleth by autonomous community with staggered reveals and gradient legend — D3 conic conformal projection","group":"data-charts","section":"Data","tags":["data","map","geography","spain","europe","choropleth"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spain-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spain-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/spain-map.json","heavy":false,"width":1920,"height":1080}},{"id":"star-rating-fill","kind":"component","href":"/catalog/components/star-rating-fill","title":"Star Rating Fill","tagline":"A token-driven star row whose colored layer sweeps to a rating, preserves the fractional final star, and can count the value in sync.","description":"A token-driven star row whose colored layer sweeps to a rating, preserves the fractional final star, and can count the value in sync.","group":"data-charts","section":"Data","tags":["data","rating","stars","fractional","fill","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/star-rating-fill.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map","kind":"block","href":"/catalog/blocks/us-map","title":"US Map","tagline":"Animated US choropleth map with staggered state reveals, value labels, and gradient legend — pure inline SVG with GSAP","description":"Animated US choropleth map with staggered state reveals, value labels, and gradient legend — pure inline SVG with GSAP","group":"data-charts","section":"Data","tags":["data","map","geography","usa","choropleth"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-bubble","kind":"block","href":"/catalog/blocks/us-map-bubble","title":"US Bubble Map","tagline":"Animated US bubble map with proportional city markers, value callouts, and connection lines — composable with us-map","description":"Animated US bubble map with proportional city markers, value callouts, and connection lines — composable with us-map","group":"data-charts","section":"Data","tags":["data","map","geography","usa","bubble","cities"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-bubble.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-bubble.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-bubble.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-flow","kind":"block","href":"/catalog/blocks/us-map-flow","title":"US Flow Map","tagline":"Animated connection arcs between US cities over a base map — composable origin-destination flow visualization","description":"Animated connection arcs between US cities over a base map — composable origin-destination flow visualization","group":"data-charts","section":"Data","tags":["data","map","geography","usa","flow","connections","arcs"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-flow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-flow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"us-map-hex","kind":"block","href":"/catalog/blocks/us-map-hex","title":"US Hex Grid Map","tagline":"Animated hexagonal tile grid map — each state as an equal-weight hex with data fill and abbreviation label","description":"Animated hexagonal tile grid map — each state as an equal-weight hex with data fill and abbreviation label","group":"data-charts","section":"Data","tags":["data","map","geography","usa","hexgrid","tilegrid"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-hex.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/us-map-hex.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/us-map-hex.json","heavy":false,"width":1920,"height":1080}},{"id":"week-in-merges","kind":"block","href":"/catalog/blocks/week-in-merges","title":"Week in Merges","tagline":"Each author's avatar bounces across their row at a speed set by how many pull requests they merged","description":"Each author's avatar bounces across their row at a speed set by how many pull requests they merged","group":"data-charts","section":"Data","tags":["data","chart","ranking","leaderboard"],"tech":[],"duration":16,"width":1080,"height":1350,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/week-in-merges.json","heavy":false,"width":1080,"height":1350}},{"id":"world-map","kind":"block","href":"/catalog/blocks/world-map","title":"World Map","tagline":"Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset — D3 Natural Earth projection","description":"Animated world choropleth with country-by-country reveal, tooltip labels, and rotating globe inset — D3 Natural Earth projection","group":"data-charts","section":"Data","tags":["data","map","geography","world","choropleth"],"tech":[],"duration":14,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/world-map.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/world-map.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/world-map.json","heavy":false,"width":1920,"height":1080}},{"id":"ai-chat-reveal","kind":"block","href":"/catalog/blocks/ai-chat-reveal","title":"AI Chat Reveal","tagline":"A question is typed on a rising keyboard, sent, and answered by an AI that streams its reply word by word on a measured token rhythm - thinking dot, uneven bursts, bulleted list - before the app cuts to a branded closing card","description":"A question is typed on a rising keyboard, sent, and answered by an AI that streams its reply word by word on a measured token rhythm - thinking dot, uneven bursts, bulleted list - before the app cuts to a branded closing card","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":19.3333,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/ai-chat-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"app-showcase","kind":"block","href":"/catalog/blocks/app-showcase","title":"App Showcase","tagline":"Fitness app product showcase with three floating smartphone screens","description":"Fitness app product showcase with three floating smartphone screens","group":"scenes-demos","section":"Showcases","tags":["showcase","app","3d"],"tech":[],"duration":5.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/app-showcase.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/app-showcase.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/app-showcase.json","heavy":false,"width":1920,"height":1080}},{"id":"apple-money-count","kind":"block","href":"/catalog/blocks/apple-money-count","title":"Apple Money Count","tagline":"Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound.","description":"Apple-style finance counter that counts from $0 to $10,000, flashes green, and bursts money icons with sound.","group":"scenes-demos","section":"Showcases","tags":["showcase","finance","kinetic","youtube","sfx"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/apple-money-count.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/apple-money-count.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/apple-money-count.json","heavy":false,"width":1920,"height":1080}},{"id":"blue-sweater-intro-video","kind":"block","href":"/catalog/blocks/blue-sweater-intro-video","title":"Blue Sweater Intro Video","tagline":"Warm AI creator intro sequence that resolves into an X follow card for @_blue_sweater_.","description":"Warm AI creator intro sequence that resolves into an X follow card for @_blue_sweater_.","group":"scenes-demos","section":"Showcases","tags":["showcase","ai","creator","sfx"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/blue-sweater-intro-video.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/blue-sweater-intro-video.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/blue-sweater-intro-video.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-dolly-zoom","kind":"block","href":"/catalog/blocks/camera-dolly-zoom","title":"Dolly Zoom (Vertigo Shot)","tagline":"Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while the background collapses behind it or rushes in. Focal length is solved from dolly distance every frame against d * tan(FOV/2) = const, not keyframed beside it. Requires depth: the subject sits on the z = 0 plane and the content behind it must be layered or genuinely 3D (translateZ at two or more distinct depths) -- a flat element gains nothing from this move.","description":"Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while the background collapses behind it or rushes in. Focal length is solved from dolly distance every frame against d * tan(FOV/2) = const, not keyframed beside it. Requires depth: the subject sits on the z = 0 plane and the content behind it must be layered or genuinely 3D (translateZ at two or more distinct depths) -- a flat element gains nothing from this move.","group":"scenes-demos","section":"Showcases","tags":["camera","depth","3d","cinematic"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/camera-dolly-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"chatgpt-exchange","kind":"block","href":"/catalog/blocks/chatgpt-exchange","title":"ChatGPT Exchange","tagline":"A portrait ChatGPT-style exchange types and sends a prompt, streams an answer, assembles a comparison table, and scrolls back through the result","description":"A portrait ChatGPT-style exchange types and sends a prompt, streams an answer, assembles a comparison table, and scrolls back through the result","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":14.9,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/chatgpt-exchange.json","heavy":false,"width":1080,"height":1920}},{"id":"claude-exchange","kind":"block","href":"/catalog/blocks/claude-exchange","title":"Claude Exchange","tagline":"A portrait Claude-style exchange types a prompt, works through search and reasoning steps, then streams a detailed answer with citations and actions","description":"A portrait Claude-style exchange types a prompt, works through search and reasoning steps, then streams a detailed answer with citations and actions","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","ai","chat","vertical","ad-template"],"tech":[],"duration":21.4,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/claude-exchange.json","heavy":false,"width":1080,"height":1920}},{"id":"cosmic-orb","kind":"block","href":"/catalog/blocks/cosmic-orb","title":"Cosmic Orb","tagline":"An iridescent soap-bubble planet: a slowly spinning sphere of nebula bands, dust lanes and twinkling stars wrapped in a refracting glass limb with chromatic aberration at the edge.","description":"An iridescent soap-bubble planet: a slowly spinning sphere of nebula bands, dust lanes and twinkling stars wrapped in a refracting glass limb with chromatic aberration at the edge.","group":"scenes-demos","section":"Showcases","tags":["webgl","shader","background","showcase","3d"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/cosmic-orb.json","heavy":true,"width":1920,"height":1080}},{"id":"gallery-tunnel","kind":"block","href":"/catalog/blocks/gallery-tunnel","title":"Gallery Tunnel","tagline":"An infinite corridor of panels: a square tunnel receding to a vanishing point, its floor, ceiling and walls tiled with saturated colour slabs and caller-supplied images that swell toward camera and exit past you, the far end dissolving into fog.","description":"An infinite corridor of panels: a square tunnel receding to a vanishing point, its floor, ceiling and walls tiled with saturated colour slabs and caller-supplied images that swell toward camera and exit past you, the far end dissolving into fog.","group":"scenes-demos","section":"Showcases","tags":["webgl","3d","background","showcase","depth","loop"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/gallery-tunnel.json","heavy":false,"width":1920,"height":1080}},{"id":"heygen-avatar-promo-card","kind":"block","href":"/catalog/blocks/heygen-avatar-promo-card","title":"HeyGen Avatar Promo Card","tagline":"A portrait HeyGen offer card pairs a moving avatar mosaic with bold promotional typography and a branded callout","description":"A portrait HeyGen offer card pairs a moving avatar mosaic with bold promotional typography and a branded callout","group":"scenes-demos","section":"Showcases","tags":["showcase","avatar","promotion","vertical"],"tech":[],"duration":10,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/heygen-avatar-promo-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/heygen-avatar-promo-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/heygen-avatar-promo-card.json","heavy":false,"width":1080,"height":1920}},{"id":"message-thread-reveal","kind":"block","href":"/catalog/blocks/message-thread-reveal","title":"Message Thread Reveal","tagline":"A full text conversation plays out on a phone - bubbles popping in, typing indicators, a shared link card, emoji, delivered receipts - with the whole thread scrolling up beat by beat until a closing card lands. The complete chat ad-template, measured message by message","description":"A full text conversation plays out on a phone - bubbles popping in, typing indicators, a shared link card, emoji, delivered receipts - with the whole thread scrolling up beat by beat until a closing card lands. The complete chat ad-template, measured message by message","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","chat","vertical","ad-template"],"tech":[],"duration":25.7667,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/message-thread-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"north-korea-locked-down","kind":"block","href":"/catalog/blocks/north-korea-locked-down","title":"North Korea Locked Down","tagline":"Realistic map zoom into North Korea with a red scribble circle, locked-down pop-up label, and reddish editorial wash.","description":"Realistic map zoom into North Korea with a red scribble circle, locked-down pop-up label, and reddish editorial wash.","group":"scenes-demos","section":"Showcases","tags":["showcase","map","annotation","youtube","kinetic"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/north-korea-locked-down.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/north-korea-locked-down.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/north-korea-locked-down.json","heavy":false,"width":1920,"height":1080}},{"id":"notes-reveal","kind":"block","href":"/catalog/blocks/notes-reveal","title":"Notes Reveal","tagline":"A personal note is typed character by character in a notes app - caret riding every letter, the page scrolling up on measured settle curves as each line lands - then cuts to a hand-lettered paper card with a marker headline and a ticked checklist","description":"A personal note is typed character by character in a notes app - caret riding every letter, the page scrolling up on measured settle curves as each line lands - then cuts to a hand-lettered paper card with a marker headline and a ticked checklist","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notes","typing","vertical","ad-template"],"tech":[],"duration":24.85,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/notes-reveal.json","heavy":false,"width":1080,"height":1920}},{"id":"notification-cascade","kind":"block","href":"/catalog/blocks/notification-cascade","title":"Notification Cascade","tagline":"Phone notifications land one after another and stack up the screen, each banner pushing the pile down as it arrives, before the whole stack lifts away into a closing card","description":"Phone notifications land one after another and stack up the screen, each banner pushing the pile down as it arrives, before the whole stack lifts away into a closing card","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notification","vertical","ad-template"],"tech":[],"duration":14,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/notification-cascade.json","heavy":false,"width":1080,"height":1920}},{"id":"nyc-paris-flight","kind":"block","href":"/catalog/blocks/nyc-paris-flight","title":"NYC Paris Flight","tagline":"Apple-style realistic map animation with a plane flying from New York to Paris, marker circle, landing pop, and sound effects.","description":"Apple-style realistic map animation with a plane flying from New York to Paris, marker circle, landing pop, and sound effects.","group":"scenes-demos","section":"Showcases","tags":["showcase","travel","map","youtube","sfx"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/nyc-paris-flight.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/nyc-paris-flight.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/nyc-paris-flight.json","heavy":false,"width":1920,"height":1080}},{"id":"oscilloscope-trace","kind":"block","href":"/catalog/blocks/oscilloscope-trace","title":"Oscilloscope Trace","tagline":"CRT oscilloscope beam sweeping a waveform across a 10x8 graticule, with closed-form phosphor persistence: the tail decays as exp(-age/tau) and brightens where the beam slows","description":"CRT oscilloscope beam sweeping a waveform across a 10x8 graticule, with closed-form phosphor persistence: the tail decays as exp(-age/tau) and brightens where the beam slows","group":"scenes-demos","section":"Showcases","tags":["instrument","data","showcase","retro"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/oscilloscope-trace.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/oscilloscope-trace.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/oscilloscope-trace.json","heavy":false,"width":1920,"height":1080}},{"id":"rack-focus","kind":"block","href":"/catalog/blocks/rack-focus","title":"Rack Focus","tagline":"A focus pull with real aperture bokeh: the focal plane travels from a near subject to a far one, so one resolves as the other blows into hard-edged polygon discs that clip to a cat's eye toward the corners. A focus pull only reads against content at two clearly separated depths, so this block carries its own depth-layered night exterior and puts both subject depths on variables.","description":"A focus pull with real aperture bokeh: the focal plane travels from a near subject to a far one, so one resolves as the other blows into hard-edged polygon discs that clip to a cat's eye toward the corners. A focus pull only reads against content at two clearly separated depths, so this block carries its own depth-layered night exterior and puts both subject depths on variables.","group":"scenes-demos","section":"Showcases","tags":["webgl","shader","camera","depth","cinematic","showcase"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/rack-focus.json","heavy":true,"width":1920,"height":1080}},{"id":"share-sheet-carousel","kind":"block","href":"/catalog/blocks/share-sheet-carousel","title":"Share-Sheet Carousel","tagline":"A share sheet springs up from the bottom of the phone and cycles previews inside its card on a fast cut rhythm while the blurred ground swaps behind it, ending on an accept tap","description":"A share sheet springs up from the bottom of the phone and cycles previews inside its card on a fast cut rhythm while the blurred ground swaps behind it, ending on an accept tap","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","share-sheet","vertical","ad-template"],"tech":[],"duration":7.2333,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/share-sheet-carousel.json","heavy":false,"width":1080,"height":1920}},{"id":"slack-notification-ad","kind":"block","href":"/catalog/blocks/slack-notification-ad","title":"Slack Notification Ad","tagline":"A portrait lock screen fills with escalating Slack video requests before HeyGen delivers the payoff","description":"A portrait lock screen fills with escalating Slack video requests before HeyGen delivers the payoff","group":"scenes-demos","section":"Showcases","tags":["showcase","mock-ui","notification","vertical","ad-template"],"tech":[],"duration":12,"width":1080,"height":1920,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/slack-notification-ad.json","heavy":false,"width":1080,"height":1920}},{"id":"ui-3d-reveal","kind":"block","href":"/catalog/blocks/ui-3d-reveal","title":"3D UI Reveal","tagline":"Perspective 3D reveal animation for UI elements","description":"Perspective 3D reveal animation for UI elements","group":"scenes-demos","section":"Showcases","tags":["showcase","3d","reveal"],"tech":[],"duration":13,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ui-3d-reveal.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ui-3d-reveal.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/ui-3d-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"vfx-anamorphic-flare","kind":"block","href":"/catalog/blocks/vfx-anamorphic-flare","title":"Anamorphic Streak Flare","tagline":"A drifting field of bright points, each one throwing the long horizontal blue-violet streak a real anamorphic cinema lens produces. Built from the measured filter constants: a 0.3 high-pass, 80 horizontal taps at quarter resolution, a samples/3 gain and a 0x7a8aff tint.","description":"A drifting field of bright points, each one throwing the long horizontal blue-violet streak a real anamorphic cinema lens produces. Built from the measured filter constants: a 0.3 high-pass, 80 horizontal taps at quarter resolution, a samples/3 gain and a 0x7a8aff tint.","group":"scenes-demos","section":"Showcases","tags":["vfx","background","showcase","optical","canvas"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/vfx-anamorphic-flare.json","heavy":false,"width":1920,"height":1080}},{"id":"vpn-youtube-spot","kind":"block","href":"/catalog/blocks/vpn-youtube-spot","title":"VPN YouTube Spot","tagline":"Snappy Apple-style YouTube insert showing a phone finding and installing a friendly VPN app with sound effects.","description":"Snappy Apple-style YouTube insert showing a phone finding and installing a friendly VPN app with sound effects.","group":"scenes-demos","section":"Showcases","tags":["app","showcase","youtube","sfx"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vpn-youtube-spot.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vpn-youtube-spot.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/vpn-youtube-spot.json","heavy":false,"width":1920,"height":1080}},{"id":"browser-device-stage","kind":"component","href":"/catalog/components/browser-device-stage","title":"Browser Device Stage","tagline":"A generic app surface in token-native device chrome (browser, window, or phone). The screen is a slot for caller img/video/HTML with a token-styled skeleton default; one settle entrance, a readable hold, and an optional screen swap.","description":"A generic app surface in token-native device chrome (browser, window, or phone). The screen is a slot for caller img/video/HTML with a token-styled skeleton default; one settle entrance, a readable hold, and an optional screen swap.","group":"scenes-demos","section":"Product Demo","tags":["stage","product-demo","device","browser","phone","slot","chrome"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/browser-device-stage.json","heavy":false,"width":1920,"height":1080}},{"id":"code-terminal-run","kind":"component","href":"/catalog/components/code-terminal-run","title":"Code Terminal Run","tagline":"A token-chrome terminal panel runs one command: the prompt line types deterministically behind an integer-cycle caret, executes after a beat, and output lines print one per cue before a fresh prompt appears.","description":"A token-chrome terminal panel runs one command: the prompt line types deterministically behind an integer-cycle caret, executes after a beat, and output lines print one per cue before a fresh prompt appears.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","terminal","typing","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/code-terminal-run.json","heavy":false,"width":1920,"height":1080}},{"id":"cursor-glyph-trail","kind":"component","href":"/catalog/components/cursor-glyph-trail","title":"Cursor Glyph Trail","tagline":"An actor travels an authored path depositing small dithered glyphs at its past positions, each popping in and decaying in place, stamp rate scaling with the actor's velocity.","description":"An actor travels an authored path depositing small dithered glyphs at its past positions, each popping in and decaying in place, stamp rate scaling with the actor's velocity.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","demonstrate","trail","cursor","glyphs","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cursor-glyph-trail.json","heavy":false,"width":1920,"height":1080}},{"id":"echo-trail","kind":"component","href":"/catalog/components/echo-trail","title":"Echo Trail","tagline":"A moving element renders with N ghosted copies of itself at t minus i times delta, opacity stepped down per ghost; one traversal, echoes collapsing into the settled element at rest.","description":"A moving element renders with N ghosted copies of itself at t minus i times delta, opacity stepped down per ghost; one traversal, echoes collapsing into the settled element at rest.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","demonstrate","trail","onion-skin","ghosts","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/echo-trail.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-swap","kind":"component","href":"/catalog/components/focus-swap","title":"Focus Swap","tagline":"Moves attention between two side-by-side cards as one recedes with scale, blur, and dimming while the other advances to full focus.","description":"Moves attention between two side-by-side cards as one recedes with scale, blur, and dimming while the other advances to full focus.","group":"scenes-demos","section":"Product Demo","tags":["effect","ui-props","focus","blur","attention","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"icon-morph-beat","kind":"component","href":"/catalog/components/icon-morph-beat","title":"Icon Morph Beat","tagline":"An icon morphs between authored state silhouettes, shifts to an accent color, and marks completion with one restrained pulse.","description":"An icon morphs between authored state silhouettes, shifts to an accent color, and marks completion with one restrained pulse.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","icon","morph","state-change","completion"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/icon-morph-beat.json","heavy":false,"width":1920,"height":1080}},{"id":"native-notification-pop","kind":"component","href":"/catalog/components/native-notification-pop","title":"Native Notification Pop","tagline":"One system-faithful notification banner (iOS or macOS) drops in over any scene on an accurate interruptible spring: fast arrival, soft overshoot, settled mass, backdrop blur, app dot, title, one body line. Holds; tucks away only via exit.","description":"One system-faithful notification banner (iOS or macOS) drops in over any scene on an accurate interruptible spring: fast arrival, soft overshoot, settled mass, backdrop blur, app dot, title, one body line. Holds; tucks away only via exit.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","overlay","notification","spring"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/native-notification-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"notification-stack","kind":"component","href":"/catalog/components/notification-stack","title":"Notification Stack","tagline":"1 to 5 token notification cards slide-settle into a vertical stack on cues, newest on top; one card grows slightly and brightens as the focus while the rest dim by position.","description":"1 to 5 token notification cards slide-settle into a vertical stack on cues, newest on top; one card grows slightly and brightens as the focus while the rest dim by position.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","notification","stack","stagger"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notification-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"offset-path-traveler","kind":"component","href":"/catalog/components/offset-path-traveler","title":"Offset Path Traveler","tagline":"A slotted traveler follows an authored path with tangent rotation, curved entry, and curved exit.","description":"A slotted traveler follows an authored path with tangent rotation, curved entry, and curved exit.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","path","traveler","auto-rotate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/offset-path-traveler.json","heavy":false,"width":1920,"height":1080}},{"id":"press-ripple","kind":"component","href":"/catalog/components/press-ripple","title":"Press Ripple","tagline":"A cursor decel-arrives from off-stage, lands slightly off-center on a caller-positioned target, compresses with it in lockstep, releases with ink ripple rings, then exits off-stage while the pressed state holds.","description":"A cursor decel-arrives from off-stage, lands slightly off-center on a caller-positioned target, compresses with it in lockstep, releases with ink ripple rings, then exits off-stage while the pressed state holds.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","cursor","press","ripple","payoff"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/press-ripple.json","heavy":false,"width":1920,"height":1080}},{"id":"pull-to-refresh","kind":"component","href":"/catalog/components/pull-to-refresh","title":"Pull to Refresh","tagline":"A mobile list pulls through nonlinear rubber-band resistance, arms at a threshold, commits to a bounded loading indicator, then snaps exactly back to rest.","description":"A mobile list pulls through nonlinear rubber-band resistance, arms at a threshold, commits to a bounded loading indicator, then snaps exactly back to rest.","group":"scenes-demos","section":"Product Demo","tags":["pointer","pointers","mobile","gesture","interaction","refresh","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pull-to-refresh.json","heavy":false,"width":1920,"height":1080}},{"id":"screen-flow-carousel","kind":"component","href":"/catalog/components/screen-flow-carousel","title":"Screen Flow Carousel","tagline":"Two to five app screens ride a horizontal rail: one primary at center, neighbors receded, advancing on cues with a velocity-matched throw and a smooth long-tail catch while a mono caption swaps with each advance. Screens are slots with token skeleton defaults.","description":"Two to five app screens ride a horizontal rail: one primary at center, neighbors receded, advancing on cues with a velocity-matched throw and a smooth long-tail catch while a mono caption swaps with each advance. Screens are slots with token skeleton defaults.","group":"scenes-demos","section":"Product Demo","tags":["product-demo","feature-tour","carousel","rail","slot","screens"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/screen-flow-carousel.json","heavy":false,"width":1920,"height":1080}},{"id":"segmentation-flood","kind":"component","href":"/catalog/components/segmentation-flood","title":"Segmentation Flood","tagline":"Machine-vision read of a slotted subject: translucent accent segmentation masks flood on in quantized scanline steps, each region gets a thin bracket and mono label chip, a deterministic 2-frame HUD flicker rides the pass, then the labeled read settles clean.","description":"Machine-vision read of a slotted subject: translucent accent segmentation masks flood on in quantized scanline steps, each region gets a thin bracket and mono label chip, a deterministic 2-frame HUD flicker rides the pass, then the labeled read settles clean.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","ai","hud","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/segmentation-flood.json","heavy":false,"width":1920,"height":1080}},{"id":"soft-blob-touch","kind":"component","href":"/catalog/components/soft-blob-touch","title":"Soft Blob Touch","tagline":"A granular soft blob idles with slow internal drift; a scripted touch dot decel-arrives, the blob deforms toward it with an attraction bulge, then recovers with a velocity-preserving spring. No hard edges anywhere.","description":"A granular soft blob idles with slow internal drift; a scripted touch dot decel-arrives, the blob deforms toward it with an attraction bulge, then recovers with a velocity-preserving spring. No hard edges anywhere.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","material","blob","touch","grain"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/soft-blob-touch.json","heavy":false,"width":1920,"height":1080}},{"id":"spring-stack-shuffle","kind":"component","href":"/catalog/components/spring-stack-shuffle","title":"Spring Stack Shuffle","tagline":"A stack of 3 to 5 slotted cards reshuffles on cues: the back card throws over the top and lands at the front with real mass, the rest compress and resettle; cues that land mid-flight redirect the moving cards with velocity preserved.","description":"A stack of 3 to 5 slotted cards reshuffles on cues: the back card throws over the top and lands at the front with real mass, the rest compress and resettle; cues that land mid-flight redirect the moving cards with velocity preserved.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","physics","stack","interruptible-spring"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/spring-stack-shuffle.json","heavy":false,"width":1920,"height":1080}},{"id":"state-chip-rail","kind":"component","href":"/catalog/components/state-chip-rail","title":"State Chip Rail","tagline":"A rail of mono status chips advances a seek-safe data-state snap machine on a cue schedule: active chip ink on surface, done chips dim, pending chips hollow, optional badges pop beside one state.","description":"A rail of mono status chips advances a seek-safe data-state snap machine on a cue schedule: active chip ink on surface, done chips dim, pending chips hollow, optional badges pop beside one state.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","state-machine","status","chips","rail"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/state-chip-rail.json","heavy":false,"width":1920,"height":1080}},{"id":"sticky-mock-swap","kind":"component","href":"/catalog/components/sticky-mock-swap","title":"Sticky Mock Swap","tagline":"A pinned product mock cross-fades through accent-tinted feature states while matching captions rise, hold, and exit beside it.","description":"A pinned product mock cross-fades through accent-tinted feature states while matching captions rise, hold, and exit beside it.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","sticky","mock","crossfade","feature-tour"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/sticky-mock-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"telemetry-hud","kind":"component","href":"/catalog/components/telemetry-hud","title":"Telemetry HUD","tagline":"Quiet mono debug-HUD readouts frame a slotted subject: corner brackets draw on, label:value lines tick their values on cues, one readout emphasized in accent. The subject never moves; the HUD breathes zero.","description":"Quiet mono debug-HUD readouts frame a slotted subject: corner brackets draw on, label:value lines tick their values on cues, one readout emphasized in accent. The subject never moves; the HUD breathes zero.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","hud","telemetry","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/telemetry-hud.json","heavy":false,"width":1920,"height":1080}},{"id":"toggle-flip","kind":"component","href":"/catalog/components/toggle-flip","title":"Toggle Flip","tagline":"An oversized UI toggle switch that flips with real physicality: thumb overshoot, track color crossfade, and a soft press-compress before release. The reference prop of the ui-props family.","description":"An oversized UI toggle switch that flips with real physicality: thumb overshoot, track color crossfade, and a soft press-compress before release. The reference prop of the ui-props family.","group":"scenes-demos","section":"Product Demo","tags":["prop","ui-props","toggle","interaction","reference-prop","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/toggle-flip.json","heavy":false,"width":1920,"height":1080}},{"id":"tracing-beam","kind":"component","href":"/catalog/components/tracing-beam","title":"Tracing Beam","tagline":"A glowing dash follows one SVG path through three UI elements, lifting and brightening each element in sequence.","description":"A glowing dash follows one SVG path through three UI elements, lifting and brightening each element in sequence.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","attention","beam","path","spotlight"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/tracing-beam.json","heavy":false,"width":1920,"height":1080}},{"id":"typed-prompt","kind":"component","href":"/catalog/components/typed-prompt","title":"Typed Prompt","tagline":"A prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of the final word.","description":"A prompt line types itself in chunked human cadence behind a deterministic blinking caret, with optional backspace-and-retype correction of the final word.","group":"scenes-demos","section":"Product Demo","tags":["motion-primitive","product-demo","typing","prompt","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/typed-prompt.json","heavy":false,"width":1920,"height":1080}},{"id":"vector-editor-rig","kind":"component","href":"/catalog/components/vector-editor-rig","title":"Vector Editor Rig","tagline":"A dark design-tool app chrome with a live vector pen path, sequential anchor points, bezier handles, a selection frame, and theme-driven blue accents.","description":"A dark design-tool app chrome with a live vector pen path, sequential anchor points, bezier handles, a selection frame, and theme-driven blue accents.","group":"scenes-demos","section":"Product Demo","tags":["prop","ui-props","demonstrate","vector","design-tool","pen-tool","bezier","app-chrome"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/vector-editor-rig.json","heavy":false,"width":1920,"height":1080}},{"id":"editorial-flash-overlay","kind":"block","href":"/catalog/blocks/editorial-flash-overlay","title":"Editorial Flash Overlay","tagline":"Finite neutral-warm light layers for a seek-safe camera-flash cut or social reveal","description":"Finite neutral-warm light layers for a seek-safe camera-flash cut or social reveal","group":"scenes-demos","section":"Social Overlays","tags":["flash","editorial","social","light","transition","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/editorial-flash-overlay.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/editorial-flash-overlay.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/editorial-flash-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"freeze-frame-dressing","kind":"block","href":"/catalog/blocks/freeze-frame-dressing","title":"Freeze-Frame Dressing","tagline":"Timeline-driven paper, tape, and flash dressing for a freeze-frame or background-removed subject","description":"Timeline-driven paper, tape, and flash dressing for a freeze-frame or background-removed subject","group":"scenes-demos","section":"Social Overlays","tags":["freeze-frame","cutout","scrapbook","paper","social","overlay","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/freeze-frame-dressing.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/freeze-frame-dressing.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/freeze-frame-dressing.json","heavy":false,"width":1920,"height":1080}},{"id":"instagram-follow","kind":"block","href":"/catalog/blocks/instagram-follow","title":"Instagram Follow","tagline":"Animated Instagram follow overlay with profile card and follow button","description":"Animated Instagram follow overlay with profile card and follow button","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","instagram"],"tech":[],"duration":4.5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/instagram-follow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/instagram-follow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/instagram-follow.json","heavy":false,"width":1080,"height":1920}},{"id":"macos-notification","kind":"block","href":"/catalog/blocks/macos-notification","title":"macOS Notification","tagline":"Animated macOS-style notification banner with app icon and message","description":"Animated macOS-style notification banner with app icon and message","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","notification"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-notification.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-notification.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/macos-notification.json","heavy":false,"width":1920,"height":1080}},{"id":"reddit-post","kind":"block","href":"/catalog/blocks/reddit-post","title":"Reddit Post Card","tagline":"Animated Reddit post card overlay with upvotes and comments","description":"Animated Reddit post card overlay with upvotes and comments","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","reddit"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/reddit-post.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/reddit-post.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/reddit-post.json","heavy":false,"width":1920,"height":1080}},{"id":"spotify-card","kind":"block","href":"/catalog/blocks/spotify-card","title":"Spotify Now Playing","tagline":"Animated Spotify now-playing card with album art and progress bar","description":"Animated Spotify now-playing card with album art and progress bar","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","spotify"],"tech":[],"duration":5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spotify-card.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/spotify-card.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/spotify-card.json","heavy":false,"width":1080,"height":1920}},{"id":"thread-message-stack","kind":"block","href":"/catalog/blocks/thread-message-stack","title":"Thread Message Stack","tagline":"A source-owned editable conversation stack with arbitrary incoming and outgoing messages","description":"A source-owned editable conversation stack with arbitrary incoming and outgoing messages","group":"scenes-demos","section":"Social Overlays","tags":["social","conversation","messages"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/thread-message-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"tiktok-follow","kind":"block","href":"/catalog/blocks/tiktok-follow","title":"TikTok Follow","tagline":"Animated TikTok follow overlay with profile card and follow button","description":"Animated TikTok follow overlay with profile card and follow button","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","tiktok"],"tech":[],"duration":4.5,"width":1080,"height":1920,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/tiktok-follow.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/tiktok-follow.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/tiktok-follow.json","heavy":false,"width":1080,"height":1920}},{"id":"x-post","kind":"block","href":"/catalog/blocks/x-post","title":"X Post Card","tagline":"Animated X/Twitter post card overlay with engagement metrics","description":"Animated X/Twitter post card overlay with engagement metrics","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","twitter"],"tech":[],"duration":5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/x-post.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/x-post.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/x-post.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-comment-card","kind":"block","href":"/catalog/blocks/yt-comment-card","title":"Comment Cards","tagline":"Social comments typing on over footage: avatar pop, username and time, per-character typewriter, likes row; image avatars or initials chips","description":"Social comments typing on over footage: avatar pop, username and time, per-character typewriter, likes row; image avatars or initials chips","group":"scenes-demos","section":"Social Overlays","tags":["social","comments","creator","overlay"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-comment-card.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-lower-third","kind":"block","href":"/catalog/blocks/yt-lower-third","title":"YouTube Lower Third","tagline":"Animated YouTube subscribe lower third with avatar and channel info","description":"Animated YouTube subscribe lower third with avatar and channel info","group":"scenes-demos","section":"Social Overlays","tags":["social","overlay","youtube"],"tech":[],"duration":4.5,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/yt-lower-third.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/yt-lower-third.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/yt-lower-third.json","heavy":false,"width":1920,"height":1080}},{"id":"aurora-drift","kind":"component","href":"/catalog/components/aurora-drift","title":"Aurora Drift","tagline":"Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette.","description":"Three soft accent-derived aurora fields drift in an exact ambient loop over a deep base and faint vignette.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","background","aurora","gradient","ambient","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/aurora-drift.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-accent","kind":"component","href":"/catalog/components/beat-accent","title":"Beat Accent","tagline":"A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay.","description":"A single music-hit sting: impact flash, micro scale-pulse on the subject, immediate decay.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","burst","sting","emphasize","impact"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-accent.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-pulse-background","kind":"component","href":"/catalog/components/beat-pulse-background","title":"Beat Pulse Background","tagline":"An accent-derived backdrop pulses its glow intensity and saturation on a deterministic, supplied beat grid.","description":"An accent-derived backdrop pulses its glow intensity and saturation on a deterministic, supplied beat grid.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","background","beat","pulse","rhythmic","reactive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-pulse-background.json","heavy":false,"width":1920,"height":1080}},{"id":"chat-thread","kind":"component","href":"/catalog/components/chat-thread","title":"Chat Thread","tagline":"The measured conversation as one mountable scene at full fidelity: status bar, back badge, avatar and name pill, bubbles with real iMessage tails, a Delivered receipt, large emoji rows, a media placeholder, a link card, and typing dots holding the beat. Every message picks its type by prefix - recv:/sent: text, emoji: a large row, img media, card:Title~domain a link card - and heights are measured at mount so any thread fits","description":"The measured conversation as one mountable scene at full fidelity: status bar, back badge, avatar and name pill, bubbles with real iMessage tails, a Delivered receipt, large emoji rows, a media placeholder, a link card, and typing dots holding the beat. Every message picks its type by prefix - recv:/sent: text, emoji: a large row, img media, card:Title~domain a link card - and heights are measured at mount so any thread fits","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","chat","mock-ui","conversation","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chat-thread.json","heavy":false,"width":1920,"height":1080}},{"id":"constellation-hub","kind":"component","href":"/catalog/components/constellation-hub","title":"Constellation Hub","tagline":"Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup.","description":"Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","feature-tour","hub","nodes","connector","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/constellation-hub.json","heavy":false,"width":1920,"height":1080}},{"id":"count-up","kind":"component","href":"/catalog/components/count-up","title":"Count Up","tagline":"A token-native stat counter that eases between values and lands with a restrained scale pulse.","description":"A token-native stat counter that eases between values and lands with a restrained scale pulse.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","stats","counter","number","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/count-up.json","heavy":false,"width":1920,"height":1080}},{"id":"cta-close","kind":"component","href":"/catalog/components/cta-close","title":"CTA Close","tagline":"A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.","description":"A display-scale action line lands per word and fills the frame with air, one generous CTA capsule pops beneath it with a single overshoot, and the finished close holds completely still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","ui-props","cta","end-card","close","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cta-close.json","heavy":false,"width":1920,"height":1080}},{"id":"cta-lockup","kind":"component","href":"/catalog/components/cta-lockup","title":"CTA Lockup","tagline":"A canonical closing lockup that reveals an action line, pops in an accent CTA capsule, settles supporting microcopy, and holds with confidence.","description":"A canonical closing lockup that reveals an action line, pops in an accent CTA capsule, settles supporting microcopy, and holds with confidence.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","ui-props","cta","end-card","lockup","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cta-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"facet-morph","kind":"component","href":"/catalog/components/facet-morph","title":"Facet Morph","tagline":"A faceted low-poly mass of 36 triangles continuously reshapes between three authored silhouettes (blob, mark, badge) with per-facet flat shading that recomputes as the vertices move. Light reads from the upper left; lit facets lift toward a pale accent-tinted tone while turned-away facets fall toward near-black. One calm continuous morph, then a settled hold.","description":"A faceted low-poly mass of 36 triangles continuously reshapes between three authored silhouettes (blob, mark, badge) with per-facet flat shading that recomputes as the vertices move. Light reads from the upper left; lit facets lift toward a pale accent-tinted tone while turned-away facets fall toward near-black. One calm continuous morph, then a settled hold.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","morph","low-poly","svg","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/facet-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"gesture-tap","kind":"component","href":"/catalog/components/gesture-tap","title":"Gesture Tap","tagline":"A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.","description":"A contact circle taps a mobile pill button, releases it into a new labeled accent state, and lifts away.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","gesture","tap","interaction","ui-props"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/gesture-tap.json","heavy":false,"width":1920,"height":1080}},{"id":"gloss-sweep","kind":"component","href":"/catalog/components/gloss-sweep","title":"Gloss Sweep","tagline":"A card lands with a restrained slam, catches one diagonal specular gloss, and holds perfectly still.","description":"A card lands with a restrained slam, catches one diagonal specular gloss, and holds perfectly still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","celebration","gloss","card","badge","payoff"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/gloss-sweep.json","heavy":false,"width":1920,"height":1080}},{"id":"grade-split-reveal","kind":"component","href":"/catalog/components/grade-split-reveal","title":"Grade Split Reveal","tagline":"The same picture twice, one flat and one finished, with a hard edge sweeping between them. It stops in the middle long enough to compare, then commits and the graded look takes the frame. Both looks are real HyperFrames color grading run through the WebGL shader, so the preview and the render match.","description":"The same picture twice, one flat and one finished, with a hard edge sweeping between them. It stops in the middle long enough to compare, then commits and the graded look takes the frame. Both looks are real HyperFrames color grading run through the WebGL shader, so the preview and the render match.","group":"scenes-demos","section":"Motion Scenes","tags":["color-grading","media","compare","reveal","motion-primitive","grade"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grade-split-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"grid-card-assemble","kind":"component","href":"/catalog/components/grid-card-assemble","title":"Grid Card Assemble","tagline":"N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still.","description":"N capability cards (thin-line icon that draws on, mono label, optional muted body) stagger-assemble into a grid or vertical list with a fade plus short slide into slot, then hold perfectly still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","layout","grid","list","stagger","assemble","feature-tour"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grid-card-assemble.json","heavy":false,"width":1920,"height":1080}},{"id":"light-sweep-pass","kind":"component","href":"/catalog/components/light-sweep-pass","title":"Light Sweep Pass","tagline":"A traveling key light re-shades a slotted scene: a soft diagonal gradient band crosses the frame once while every per-element highlight and shadow shifts in lockstep (all driven by one --light-x property), then the light settles into a resting key. Quiet, expensive-feeling; the scene itself never moves. Callers fill the named scene slot; a token hero-and-cards default renders when it is left empty.","description":"A traveling key light re-shades a slotted scene: a soft diagonal gradient band crosses the frame once while every per-element highlight and shadow shifts in lockstep (all driven by one --light-x property), then the light settles into a resting key. Quiet, expensive-feeling; the scene itself never moves. Callers fill the named scene slot; a token hero-and-cards default renders when it is left empty.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","overlay","light","sweep","slots","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/light-sweep-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"locked-nucleus-orbit","kind":"component","href":"/catalog/components/locked-nucleus-orbit","title":"Locked Nucleus Orbit","tagline":"A fixed center nucleus anchors deterministic satellite orbits that settle into a composed lockup.","description":"A fixed center nucleus anchors deterministic satellite orbits that settle into a composed lockup.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","orbit","lockup","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/locked-nucleus-orbit.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-sting","kind":"component","href":"/catalog/components/logo-sting","title":"Logo Sting","tagline":"A wordmark slams into its final scale, fires one accent ring and one white impact frame, then holds completely still.","description":"A wordmark slams into its final scale, fires one accent ring and one white impact frame, then holds completely still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","brand","logo","sting","impact","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/logo-sting.json","heavy":false,"width":1920,"height":1080}},{"id":"marker-checklist-card","kind":"component","href":"/catalog/components/marker-checklist-card","title":"Marker Checklist Card","tagline":"A hand-lettered paper card: marker headline with an underline and a drawn ellipse around one word, then three checklist rows whose checks draw themselves on - typewriter labels, marker values. The paper-and-marker sibling of mk-specs-list's clean professional rows","description":"A hand-lettered paper card: marker headline with an underline and a drawn ellipse around one word, then three checklist rows whose checks draw themselves on - typewriter labels, marker values. The paper-and-marker sibling of mk-specs-list's clean professional rows","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","handwritten","checklist","paper","marker"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/marker-checklist-card.json","heavy":false,"width":1920,"height":1080}},{"id":"modal-morph","kind":"component","href":"/catalog/components/modal-morph","title":"Modal Morph","tagline":"A small card expands into a full panel, shared-element style: both layouts measured once at mount, the container morphs by transform only (never width/height tweens) while keyed children counter-scale and re-flow onto their own measured targets as pure functions of time.","description":"A small card expands into a full panel, shared-element style: both layouts measured once at mount, the container morphs by transform only (never width/height tweens) while keyed children counter-scale and re-flow onto their own measured targets as pure functions of time.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","structure","flip","shared-element","modal","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/modal-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"multi-device-splay","kind":"component","href":"/catalog/components/multi-device-splay","title":"Multi Device Splay","tagline":"Phone, tablet, and desktop product mockups fan from a centered stack into a proud splayed arrangement with a subtle idle float.","description":"Phone, tablet, and desktop product mockups fan from a centered stack into a proud splayed arrangement with a subtle idle float.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","device","phone","tablet","desktop","splay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/multi-device-splay.json","heavy":false,"width":1920,"height":1080}},{"id":"notes-typing","kind":"component","href":"/catalog/components/notes-typing","title":"Notes Typing","tagline":"The notes-app confession as a mountable scene: a bold title, then body lines typed character by character on the measured human keystroke rhythm, the caret riding every landed character and jumping down at each paragraph. For a bare prompt line use typed-prompt; for an even mechanical reveal use typewriter","description":"The notes-app confession as a mountable scene: a bold title, then body lines typed character by character on the measured human keystroke rhythm, the caret riding every landed character and jumping down at each paragraph. For a bare prompt line use typed-prompt; for an even mechanical reveal use typewriter","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","notes","typing","mock-ui","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notes-typing.json","heavy":false,"width":1920,"height":1080}},{"id":"outline-draw","kind":"component","href":"/catalog/components/outline-draw","title":"Outline Draw","tagline":"A rounded outline that proves a callout by drawing clockwise as a hollow conic-gradient border with a clean closure.","description":"A rounded outline that proves a callout by drawing clockwise as a hollow conic-gradient border with a clean closure.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","outline","border","mask","proof"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/outline-draw.json","heavy":false,"width":1920,"height":1080}},{"id":"oversized-cursor","kind":"component","href":"/catalog/components/oversized-cursor","title":"Oversized Cursor","tagline":"A deliberately oversized macOS-style pointer that enters off-screen, travels to a target, clicks to ignite a visible response, then exits","description":"A deliberately oversized macOS-style pointer that enters off-screen, travels to a target, clicks to ignite a visible response, then exits","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","actor","cursor","pointer","interaction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/oversized-cursor.json","heavy":false,"width":1920,"height":1080}},{"id":"particle-image-reveal","kind":"component","href":"/catalog/components/particle-image-reveal","title":"Particle Image Reveal","tagline":"A seeded deterministic particle field converges and settles while a slotted image reveals beneath it, the trail thinning until the image holds clean.","description":"A seeded deterministic particle field converges and settles while a slotted image reveals beneath it, the trail thinning until the image holds clean.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intros-reveals","particles","reveal","canvas","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/particle-image-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"physical-exit","kind":"component","href":"/catalog/components/physical-exit","title":"Physical Exit","tagline":"A card exits with physical momentum in toss, drop, or slide mode, carrying acceleration and rotation through the final offscreen pose without fading.","description":"A card exits with physical momentum in toss, drop, or slide mode, carrying acceleration and rotation through the final offscreen pose without fading.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","exit","momentum","toss","drop","slide"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/physical-exit.json","heavy":false,"width":1920,"height":1080}},{"id":"radial-surround","kind":"component","href":"/catalog/components/radial-surround","title":"Radial Surround","tagline":"Labeled hairline chips assemble around a centered subject on an elliptical ring, then optionally converge inward with a subtle edge dim. The center never moves: surrounded, not zoomed.","description":"Labeled hairline chips assemble around a centered subject on an elliptical ring, then optionally converge inward with a subtle edge dim. The center never moves: surrounded, not zoomed.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","problem-setup","radial","ring","surround","converge"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/radial-surround.json","heavy":false,"width":1920,"height":1080}},{"id":"scroll-feed","kind":"component","href":"/catalog/components/scroll-feed","title":"Scroll Feed","tagline":"A loop-friendly column of varied skeleton post cards scrolls upward with subtle motion trails and an agitated pace.","description":"A loop-friendly column of varied skeleton post cards scrolls upward with subtle motion trails and an agitated pace.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","scroll","feed","loop","agitation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scroll-feed.json","heavy":false,"width":1920,"height":1080}},{"id":"slit-scan-reveal","kind":"component","href":"/catalog/components/slit-scan-reveal","title":"Slit Scan Reveal","tagline":"The frame's rows sample an authored subject at offset times: a canvas painter draws row slices of one pure position function evaluated at t minus offset(row), smearing arrival through time until the offsets collapse to zero and the mark holds coherent.","description":"The frame's rows sample an authored subject at offset times: a canvas painter draws row slices of one pure position function evaluated at t minus offset(row), smearing arrival through time until the offsets collapse to zero and the mark holds coherent.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","time","slit-scan","canvas","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/slit-scan-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"social-proof-card","kind":"component","href":"/catalog/components/social-proof-card","title":"Social Proof Card","tagline":"The app-store close as one mountable scene: wordmark, five stars, a proof line, three feature icons and a CTA capsule build in a quiet stagger and hold - measured from reference ad footage. For an animated star sweep use star-rating-fill; for a quote card use testimonial-proof-card; for a bare lockup use cta-lockup","description":"The app-store close as one mountable scene: wordmark, five stars, a proof line, three feature icons and a CTA capsule build in a quiet stagger and hold - measured from reference ad footage. For an animated star sweep use star-rating-fill; for a quote card use testimonial-proof-card; for a bare lockup use cta-lockup","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","social-proof","end-card","cta","vertical"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/social-proof-card.json","heavy":false,"width":1920,"height":1080}},{"id":"split-tilt-cards","kind":"component","href":"/catalog/components/split-tilt-cards","title":"Split Tilt Cards","tagline":"Two equal-weight cards arrive from opposite wings with mirrored rotateY book-open tilts under one shared perspective, pill badges spring-pop at each inner edge, and the pair holds with a barely-there phase-opposed idle float. Card bodies are content slots with token skeleton defaults.","description":"Two equal-weight cards arrive from opposite wings with mirrored rotateY book-open tilts under one shared perspective, pill badges spring-pop at each inner edge, and the pair holds with a barely-there phase-opposed idle float. Card bodies are content slots with token skeleton defaults.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","layout","compare","holdable","book-open","tilt","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/split-tilt-cards.json","heavy":false,"width":1920,"height":1080}},{"id":"spring-pop","kind":"component","href":"/catalog/components/spring-pop","title":"Spring Pop","tagline":"A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.","description":"A badge pops in from a visible near-rest scale, overshoots full size once, and settles cleanly.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","effects","spring","overshoot","pop","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/spring-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"stitched-text-draw","kind":"component","href":"/catalog/components/stitched-text-draw","title":"Stitched Text Draw","tagline":"Text drawn as thread stitches: a single-stroke display alphabet draws via attribute-driven dashoffset with stitch-tuned dash patterns, seeded angle jitter, needle-hole dots, a leading needle, and a thread-tail overshoot per letter.","description":"Text drawn as thread stitches: a single-stroke display alphabet draws via attribute-driven dashoffset with stitch-tuned dash patterns, seeded angle jitter, needle-hole dots, a leading needle, and a thread-tail overshoot per letter.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","experiment","type","craft","stitch","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stitched-text-draw.json","heavy":false,"width":1920,"height":1080}},{"id":"stop-motion-cadence","kind":"component","href":"/catalog/components/stop-motion-cadence","title":"Stop Motion Cadence","tagline":"The stepped-time law as a demo primitive: one driver quantizes timeline time to floor(t * fps) / fps and feeds ALL motion; four token paper-cut shapes throw-and-land with squash on hits, 2-frame boil jitter seeded per step, and sparkle accents living exactly 2 to 3 frames.","description":"The stepped-time law as a demo primitive: one driver quantizes timeline time to floor(t * fps) / fps and feeds ALL motion; four token paper-cut shapes throw-and-land with squash on hits, 2-frame boil jitter seeded per step, and sparkle accents living exactly 2 to 3 frames.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","time-law","stop-motion","stepped","boil","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stop-motion-cadence.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-stroke-trace","kind":"component","href":"/catalog/components/svg-stroke-trace","title":"SVG Stroke Trace","tagline":"An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed.","description":"An authored SVG path draws from its measured length, holds with subtle drift, and optionally fills when the path is closed.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","svg","stroke","line-draw"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-stroke-trace.json","heavy":false,"width":1920,"height":1080}},{"id":"swipe-rail","kind":"component","href":"/catalog/components/swipe-rail","title":"Swipe Rail","tagline":"A contact circle leads a horizontal card rail through a fast drag, momentum carry, and settled snap to the next card.","description":"A contact circle leads a horizontal card rail through a fast drag, momentum carry, and settled snap to the next card.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","interaction","gesture","swipe","cards","rail"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/swipe-rail.json","heavy":false,"width":1920,"height":1080}},{"id":"testimonial-proof-card","kind":"component","href":"/catalog/components/testimonial-proof-card","title":"Testimonial Proof Card","tagline":"A quote card whose testimonial reveals per-line through a soft mask, with an avatar disc (initials default, image slot), mono name and role, an optional company text mark, and one emphasis substring underlined in accent ink after the quote lands.","description":"A quote card whose testimonial reveals per-line through a soft mask, with an avatar disc (initials default, image slot), mono name and role, an optional company text mark, and one emphasis substring underlined in accent ink after the quote lands.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","testimonial","quote","social-proof","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/testimonial-proof-card.json","heavy":false,"width":1920,"height":1080}},{"id":"touch-indicator","kind":"component","href":"/catalog/components/touch-indicator","title":"Touch Indicator","tagline":"A translucent contact-circle gesture actor for mobile UI scenes: it touches the glass, causes a same-frame response, and lifts. Tap or swipe, picked by variable.","description":"A translucent contact-circle gesture actor for mobile UI scenes: it touches the glass, causes a same-frame response, and lifts. Tap or swipe, picked by variable.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","mobile","gesture","touch","pointer"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/touch-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"trust-strip","kind":"component","href":"/catalog/components/trust-strip","title":"Trust Strip","tagline":"A monochrome trust row of wide-tracked mono wordmarks that fade in with an opacity-only left-to-right stagger, then hold dead still.","description":"A monochrome trust row of wide-tracked mono wordmarks that fade in with an opacity-only left-to-right stagger, then hold dead still.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","proof","trust","logo-strip","wordmarks"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/trust-strip.json","heavy":false,"width":1920,"height":1080}},{"id":"variable-font-flex","kind":"component","href":"/catalog/components/variable-font-flex","title":"Variable Font Flex","tagline":"A word lands while its variable-font weight and width axes flex from hairline-condensed to black-wide with per-character stagger; font-size eases inversely so the letterforms gain mass while the box holds.","description":"A word lands while its variable-font weight and width axes flex from hairline-condensed to black-wide with per-character stagger; font-size eases inversely so the letterforms gain mass while the box holds.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","experiment","type","variable-font","deterministic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/variable-font-flex.json","heavy":false,"width":1920,"height":1080}},{"id":"velocity-throw-snap","kind":"component","href":"/catalog/components/velocity-throw-snap","title":"Velocity Throw Snap","tagline":"A five-shot rail whips past on a fast decaying curve, then overshoots and snaps the selected hero shot exactly to center.","description":"A five-shot rail whips past on a fast decaying curve, then overshoots and snaps the selected hero shot exactly to center.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","feature-tour","rail","velocity","throw","snap","physics"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/velocity-throw-snap.json","heavy":false,"width":1920,"height":1080}},{"id":"whiteboard-ink","kind":"component","href":"/catalog/components/whiteboard-ink","title":"Whiteboard Ink","tagline":"A whiteboard sketch draws one measured stroke at a time while a pen nib follows the active tip. Preset sketches (bulb, flow, rocket) or your own multi-stroke SVG paths via the strokes slot; a path marked data-ink=accent rides the accent token.","description":"A whiteboard sketch draws one measured stroke at a time while a pen nib follows the active tip. Preset sketches (bulb, flow, rocket) or your own multi-stroke SVG paths via the strokes slot; a path marked data-ink=accent rides the accent token.","group":"scenes-demos","section":"Motion Scenes","tags":["motion-primitive","intro","reveal","svg","whiteboard","line-draw","slot"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/whiteboard-ink.json","heavy":false,"width":1920,"height":1080}},{"id":"arc-motion-path","kind":"component","href":"/catalog/components/arc-motion-path","title":"Arc Motion Path","tagline":"A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation.","description":"A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motionpath","gsap-plugin","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/arc-motion-path.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/arc-motion-path.json","heavy":false,"width":1920,"height":1080}},{"id":"avatar-group-hover","kind":"component","href":"/catalog/components/avatar-group-hover","title":"Avatar Group Hover","tagline":"A distance-falloff avatar group lift with bouncy hover return","description":"A distance-falloff avatar group lift with bouncy hover return","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","avatar","hover"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/avatar-group-hover.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/avatar-group-hover.json","heavy":false,"width":1920,"height":1080}},{"id":"badge-pop","kind":"component","href":"/catalog/components/badge-pop","title":"Badge Pop","tagline":"A transitions.dev-inspired notification badge pop with elastic scale and count reveal","description":"A transitions.dev-inspired notification badge pop with elastic scale and count reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","badge","microinteraction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/badge-pop.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/badge-pop.json","heavy":false,"width":1920,"height":1080}},{"id":"blur-in","kind":"component","href":"/catalog/components/blur-in","title":"Blur In","tagline":"An Operator Black word-level content reveal that resolves its own text from controlled blur","description":"An Operator Black word-level content reveal that resolves its own text from controlled blur","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","blur-in","text-effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/blur-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/blur-in.json","heavy":false,"width":1920,"height":1080}},{"id":"card-resize","kind":"component","href":"/catalog/components/card-resize","title":"Card Resize","tagline":"A transitions.dev-inspired card resize primitive that expands a compact card into a detail panel","description":"A transitions.dev-inspired card resize primitive that expands a compact card into a detail panel","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","card","layout"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/card-resize.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/card-resize.json","heavy":false,"width":1920,"height":1080}},{"id":"chat-message","kind":"component","href":"/catalog/components/chat-message","title":"Chat Message","tagline":"One message arrives on the measured entry - scale 0.75, 0.12s, growing from its sender's corner. The type is an enum switched like marker-highlight's style: a received or sent bubble with a real tail, a large emoji row, an image, or a link card with title and domain. The atom that chat-thread builds conversations from","description":"One message arrives on the measured entry - scale 0.75, 0.12s, growing from its sender's corner. The type is an enum switched like marker-highlight's style: a received or sent bubble with a real tail, a large emoji row, an image, or a link card with title and domain. The atom that chat-thread builds conversations from","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","chat","mock-ui","message"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/chat-message.json","heavy":false,"width":1920,"height":1080}},{"id":"chromatic-aberration-wipe","kind":"component","href":"/catalog/components/chromatic-aberration-wipe","title":"Chromatic Aberration Wipe","tagline":"A fast slide wipe with RGB channel split on peak frames.","description":"A fast slide wipe with RGB channel split on peak frames.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/chromatic-aberration-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/chromatic-aberration-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"dynamic-grid","kind":"component","href":"/catalog/components/dynamic-grid","title":"Dynamic Grid","tagline":"A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes","description":"A responsive animated grid background driven by CSS variables for SaaS, code, and data scenes","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","background","grid","ui"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/dynamic-grid.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/dynamic-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"icon-swap","kind":"component","href":"/catalog/components/icon-swap","title":"Icon Swap","tagline":"A scale-and-blur icon swap primitive for toolbar and action state changes","description":"A scale-and-blur icon swap primitive for toolbar and action state changes","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","icon","swap"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/icon-swap.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/icon-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"lt-neon-border","kind":"block","href":"/catalog/blocks/lt-neon-border","title":"Neon Border","tagline":"Two arcs of light travel the edge of a rounded panel and snap corner to corner, trailing a soft three-layer bloom. A lower third for a name and role.","description":"Two arcs of light travel the edge of a rounded panel and snap corner to corner, trailing a soft three-layer bloom. A lower third for a name and role.","group":"motion-effects","section":"Motion Primitives","tags":["lower-third","glow","loop","video-primitive"],"tech":[],"duration":4.8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/lt-neon-border.json","heavy":false,"width":1920,"height":1080}},{"id":"menu-morph","kind":"component","href":"/catalog/components/menu-morph","title":"Menu Morph","tagline":"A transitions.dev-inspired hamburger and plus-menu morph primitive for compact action menus","description":"A transitions.dev-inspired hamburger and plus-menu morph primitive for compact action menus","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","menu","morph"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/menu-morph.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/menu-morph.json","heavy":false,"width":1920,"height":1080}},{"id":"number-pop-in","kind":"component","href":"/catalog/components/number-pop-in","title":"Number Pop In","tagline":"A transitions.dev-inspired digit pop-in with blur, lift, and staggered value reveal","description":"A transitions.dev-inspired digit pop-in with blur, lift, and staggered value reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","number","pop"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/number-pop-in.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/number-pop-in.json","heavy":false,"width":1920,"height":1080}},{"id":"number-wheel","kind":"component","href":"/catalog/components/number-wheel","title":"Number Wheel","tagline":"A rolling digit counter primitive for metrics, prices, counts, and scoreboards","description":"A rolling digit counter primitive for metrics, prices, counts, and scoreboards","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","number","counter","data"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/number-wheel.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/number-wheel.json","heavy":false,"width":1920,"height":1080}},{"id":"page-slide","kind":"component","href":"/catalog/components/page-slide","title":"Page Slide","tagline":"A transitions.dev-inspired page slide primitive with outgoing and incoming panels","description":"A transitions.dev-inspired page slide primitive with outgoing and incoming panels","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","page","slide"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/page-slide.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/page-slide.json","heavy":false,"width":1920,"height":1080}},{"id":"separator","kind":"component","href":"/catalog/components/separator","title":"Separator","tagline":"A one-pixel structural separator with horizontal and vertical variants plus a seek-safe progress reveal","description":"A one-pixel structural separator with horizontal and vertical variants plus a seek-safe progress reveal","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","separator","layout"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/separator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/separator.json","heavy":false,"width":1920,"height":1080}},{"id":"sheet-spring-up","kind":"component","href":"/catalog/components/sheet-spring-up","title":"Sheet Spring-Up","tagline":"A bottom sheet rushes up from below the frame on a real spring sampled frame by frame from reference footage, overshooting its resting place and settling back without an approximated ease","description":"A bottom sheet rushes up from below the frame on a real spring sampled frame by frame from reference footage, overshooting its resting place and settling back without an approximated ease","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","sheet","spring","mock-ui","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/sheet-spring-up.json","heavy":false,"width":1920,"height":1080}},{"id":"simulated-cursor","kind":"component","href":"/catalog/components/simulated-cursor","title":"Simulated Cursor","tagline":"A lightweight cursor pointer and click pulse for product walkthroughs and agent UI demos","description":"A lightweight cursor pointer and click pulse for product walkthroughs and agent UI demos","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","cursor","ui","walkthrough"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/simulated-cursor.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/simulated-cursor.json","heavy":false,"width":1920,"height":1080}},{"id":"skeleton-reveal","kind":"component","href":"/catalog/components/skeleton-reveal","title":"Skeleton Reveal","tagline":"A skeleton loader transition that pulses, then cross-fades into content","description":"A skeleton loader transition that pulses, then cross-fades into content","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","skeleton","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/skeleton-reveal.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/skeleton-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"slot-machine-roll","kind":"component","href":"/catalog/components/slot-machine-roll","title":"Slot Machine Roll","tagline":"A vertical reel scrolls characters from one value to another.","description":"A vertical reel scrolls characters from one value to another.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/slot-machine-roll.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/slot-machine-roll.json","heavy":false,"width":1920,"height":1080}},{"id":"staggered-fade-up","kind":"component","href":"/catalog/components/staggered-fade-up","title":"Staggered Fade Up","tagline":"Words fade in and slide up one after another with configurable delay.","description":"Words fade in and slide up one after another with configurable delay.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/staggered-fade-up.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/staggered-fade-up.json","heavy":false,"width":1920,"height":1080}},{"id":"streaming-text","kind":"component","href":"/catalog/components/streaming-text","title":"Streaming Text","tagline":"Words arrive the way an AI answer streams - in uneven bursts on a measured token rhythm, each word landing grey and inking to full colour - rather than the even tick of a typewriter","description":"Words arrive the way an AI answer streams - in uneven bursts on a measured token rhythm, each word landing grey and inking to full colour - rather than the even tick of a typewriter","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","text-effect","ai","chat"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/streaming-text.json","heavy":false,"width":1920,"height":1080}},{"id":"success-check","kind":"component","href":"/catalog/components/success-check","title":"Success Check","tagline":"A success check primitive with ring pop, path draw, and subtle rotate blur","description":"A success check primitive with ring pop, path draw, and subtle rotate blur","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","success","check"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/success-check.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/success-check.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-line-draw-loader","kind":"component","href":"/catalog/components/svg-line-draw-loader","title":"SVG Line Draw Loader","tagline":"An Anime.js-style path drawing loader implemented as a seekable GSAP stroke timeline.","description":"An Anime.js-style path drawing loader implemented as a seekable GSAP stroke timeline.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/svg-line-draw-loader.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-line-draw-loader.json","heavy":false,"width":1920,"height":1080}},{"id":"text-stagger","kind":"component","href":"/catalog/components/text-stagger","title":"Text Stagger","tagline":"A transitions.dev-inspired text stagger primitive with enter, shimmer, and exit-ready words","description":"A transitions.dev-inspired text stagger primitive with enter, shimmer, and exit-ready words","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","text","stagger"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/text-stagger.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-stagger.json","heavy":false,"width":1920,"height":1080}},{"id":"text-state-swap","kind":"component","href":"/catalog/components/text-state-swap","title":"Text State Swap","tagline":"A text state swap primitive with outgoing blur and incoming lift","description":"A text state swap primitive with outgoing blur and incoming lift","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","text","swap"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/text-state-swap.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/text-state-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"three-orbiting-cards","kind":"component","href":"/catalog/components/three-orbiting-cards","title":"Three Orbiting Cards","tagline":"A Three.js-powered orbit scene driven by a paused GSAP timeline for deterministic renders.","description":"A Three.js-powered orbit scene driven by a paused GSAP timeline for deterministic renders.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","three-js","webgl","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/three-orbiting-cards.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/three-orbiting-cards.json","heavy":true,"width":1920,"height":1080}},{"id":"tilt-card","kind":"component","href":"/catalog/components/tilt-card","title":"Tilt Card","tagline":"A transitions.dev-inspired tilt card primitive with depth layers and hover-style parallax","description":"A transitions.dev-inspired tilt card primitive with depth layers and hover-style parallax","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","transition-primitive","transitions-dev-port","card","tilt"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tilt-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tilt-card.json","heavy":false,"width":1920,"height":1080}},{"id":"top-down-letters","kind":"component","href":"/catalog/components/top-down-letters","title":"Top-Down Letters","tagline":"Letters descend from above in a pronounced staircase with zero blur.","description":"Letters descend from above in a pronounced staircase with zero blur.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/top-down-letters.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/top-down-letters.json","heavy":false,"width":1920,"height":1080}},{"id":"typewriter","kind":"component","href":"/catalog/components/typewriter","title":"Typewriter","tagline":"Character-by-character text reveal with a deterministic blinking cursor.","description":"Character-by-character text reveal with a deterministic blinking cursor.","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","motion-primitive","typography"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/typewriter.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/typewriter.json","heavy":false,"width":1920,"height":1080}},{"id":"typing-indicator","kind":"component","href":"/catalog/components/typing-indicator","title":"Typing Indicator","tagline":"The three-dot chat bubble that says someone is writing: it pops in at the thread's edge exactly as messaging apps do, holds while the reply is coming, and vanishes when the message lands","description":"The three-dot chat bubble that says someone is writing: it pops in at the thread's edge exactly as messaging apps do, holds while the reply is coming, and vanishes when the message lands","group":"motion-effects","section":"Motion Primitives","tags":["video-primitive","chat","mock-ui","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/typing-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"avatar-cloud","kind":"component","href":"/catalog/components/avatar-cloud","title":"Avatar Cloud","tagline":"Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label.","description":"Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label.","group":"motion-effects","section":"Effects","tags":["effects","avatars","community","network","social-proof","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/avatar-cloud.json","heavy":false,"width":1920,"height":1080}},{"id":"beat-timeline","kind":"component","href":"/catalog/components/beat-timeline","title":"Beat Timeline","tagline":"A paused master-timeline orchestration spine that pins titled beat rows to evenly spaced named labels. Each row enters on its label, holds with the sequence, then exits with the group.","description":"A paused master-timeline orchestration spine that pins titled beat rows to evenly spaced named labels. Each row enters on its label, holds with the sequence, then exits with the group.","group":"motion-effects","section":"Effects","tags":["orchestration","transitions","sequencing","bridge","timeline"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/beat-timeline.json","heavy":false,"width":1920,"height":1080}},{"id":"before-after-wipe","kind":"component","href":"/catalog/components/before-after-wipe","title":"Before After Wipe","tagline":"Two full-bleed content slots compare before and after states as a persistent divider wipes the after layer over the before layer and rests at a configurable split. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"Two full-bleed content slots compare before and after states as a persistent divider wipes the after layer over the before layer and rests at a configurable split. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","compare","holdable","before-after","wipe","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/before-after-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-rig-depth-stack","kind":"component","href":"/catalog/components/camera-rig-depth-stack","title":"Camera Rig Depth Stack","tagline":"A 3D camera-rig-style card stack with depth, parallax, and focus shift.","description":"A 3D camera-rig-style card stack with depth, parallax, and focus shift.","group":"motion-effects","section":"Effects","tags":["advanced-motion","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/camera-rig-depth-stack.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-rig-depth-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"comparison-split","kind":"component","href":"/catalog/components/comparison-split","title":"Comparison Split","tagline":"Two full-bleed panels compare before and after states as a persistent divider wipes the vivid after layer over the muted before layer and rests at a configurable split.","description":"Two full-bleed panels compare before and after states as a persistent divider wipes the vivid after layer over the muted before layer and rests at a configurable split.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","compare","holdable","before-after","wipe"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/comparison-split.json","heavy":false,"width":1920,"height":1080}},{"id":"confetti","kind":"component","href":"/catalog/components/confetti","title":"Confetti","tagline":"A deterministic celebration burst with seeded particles and gravity.","description":"A deterministic celebration burst with seeded particles and gravity.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/confetti.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/confetti.json","heavy":false,"width":1920,"height":1080}},{"id":"cut-the-curve","kind":"component","href":"/catalog/components/cut-the-curve","title":"Cut the Curve","tagline":"A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.","description":"A velocity-matched directional hard cut: the outgoing subject accelerates with power4.in, swaps at peak velocity, and the incoming subject continues in the same direction with power4.out.","group":"motion-effects","section":"Effects","tags":["transition","directional-cut","velocity-match","whip","bridge","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/cut-the-curve.json","heavy":false,"width":1920,"height":1080}},{"id":"device-frame-stage","kind":"component","href":"/catalog/components/device-frame-stage","title":"Device Frame Stage","tagline":"A phone or tablet mockup staged as a physical scene prop with a screen slot for arbitrary reconstructed UI, rising onto the stage, settling, and holding an idle float","description":"A phone or tablet mockup staged as a physical scene prop with a screen slot for arbitrary reconstructed UI, rising onto the stage, settling, and holding an idle float","group":"motion-effects","section":"Effects","tags":["prop","device","mobile","tablet","ui-props","holdable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/device-frame-stage.json","heavy":false,"width":1920,"height":1080}},{"id":"directional-wipe","kind":"component","href":"/catalog/components/directional-wipe","title":"Directional Wipe","tagline":"A directional scene push that slides one panel over another.","description":"A directional scene push that slides one panel over another.","group":"motion-effects","section":"Effects","tags":["transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/directional-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/directional-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"fade-through","kind":"component","href":"/catalog/components/fade-through","title":"Fade Through","tagline":"A calm transition primitive that fades one layer out, passes through a wash, and reveals the next layer","description":"A calm transition primitive that fades one layer out, passes through a wash, and reveals the next layer","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","fade","scene"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/fade-through.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/fade-through.json","heavy":false,"width":1920,"height":1080}},{"id":"grid-pixelate-wipe","kind":"component","href":"/catalog/components/grid-pixelate-wipe","title":"Grid Pixelate Wipe","tagline":"Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing — use between scenes","description":"Transition effect where the screen dissolves into a grid of squares that fade out with staggered timing — use between scenes","group":"motion-effects","section":"Effects","tags":["transition","wipe","grid","pixelate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/grid-pixelate-wipe.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/grid-pixelate-wipe.json","heavy":false,"width":1920,"height":1080}},{"id":"halftone-dissolve","kind":"component","href":"/catalog/components/halftone-dissolve","title":"Halftone Dissolve","tagline":"Scene A dissolves into scene B through a growing halftone dot field: accent ink dots pop onto a fixed grid smallest-first, each opens into a window onto B, until the windows merge and B fully replaces A.","description":"Scene A dissolves into scene B through a growing halftone dot field: accent ink dots pop onto a fixed grid smallest-first, each opens into a window onto B, until the windows merge and B fully replaces A.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","texture","halftone","dissolve"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/halftone-dissolve.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-arrow","kind":"component","href":"/catalog/components/hw-arrow","title":"Hand-Drawn Arrow","tagline":"Wobbled draw-on arrow with straight, gentle, and swoop curve poses, a four-way stroke texture matrix (plain/soft/sharp/spray), and a travel-aligned head-arrival stretch pulse with spring recovery; boils while on screen","description":"Wobbled draw-on arrow with straight, gentle, and swoop curve poses, a four-way stroke texture matrix (plain/soft/sharp/spray), and a travel-aligned head-arrival stretch pulse with spring recovery; boils while on screen","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","arrow","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-arrow.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-boil","kind":"component","href":"/catalog/components/hw-boil","title":"Hand-Drawn Boil","tagline":"Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray — spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on","description":"Hand-drawn jitter that re-poses every N frames, as seek-safe helpers: pose derives from quantized timeline time through a seeded hash; includes the shared onUpdate dispatcher, a wobbled-ellipse path generator, the boil pose control (off/calm/lively over the family-locked frameDrop), a curvature-adaptive pen-velocity ease, and the completed stroke matrix (plain/soft/sharp/spray — spray is index-seeded deterministic dots, no turbulence) with texture-safe draw-on","group":"motion-effects","section":"Effects","tags":["handwritten","effect","annotation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-boil.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-box-label","kind":"component","href":"/catalog/components/hw-box-label","title":"Hand-Drawn Box Label","tagline":"Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils","description":"Wobbled rounded rectangle draws on — across the authored stroke matrix (plain/soft/sharp/spray) — or drops in and lands with a volume-true contact squash and bouncy spring recovery, with a handwritten label above or centered; boils","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-box-label.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-callout-circle","kind":"component","href":"/catalog/components/hw-callout-circle","title":"Scribble Callout Circle","tagline":"Wobbled ellipse draws around a target with optional scribble fill and curved connector; the handwritten label pops in WITH momentum and the drawn shapes absorb the arrival with a volume-preserving contact squash; outline and connector take the family stroke matrix (plain/soft/sharp/spray); boils","description":"Wobbled ellipse draws around a target with optional scribble fill and curved connector; the handwritten label pops in WITH momentum and the drawn shapes absorb the arrival with a volume-preserving contact squash; outline and connector take the family stroke matrix (plain/soft/sharp/spray); boils","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","callout","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-callout-circle.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-underline","kind":"component","href":"/catalog/components/hw-underline","title":"Squiggle Marks","tagline":"Hand-drawn squiggle underline, double-pass strikethrough, and bracket marks that draw on","description":"Hand-drawn squiggle underline, double-pass strikethrough, and bracket marks that draw on","group":"motion-effects","section":"Effects","tags":["handwritten","annotation","text-treatment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/hw-underline.json","heavy":false,"width":1920,"height":1080}},{"id":"input-feedback","kind":"component","href":"/catalog/components/input-feedback","title":"Input Feedback","tagline":"A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state","description":"A transitions.dev-inspired input feedback primitive with shake, clear affordance, and success state","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","input","feedback"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/input-feedback.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/input-feedback.json","heavy":false,"width":1920,"height":1080}},{"id":"iris-reveal","kind":"component","href":"/catalog/components/iris-reveal","title":"Iris Reveal","tagline":"A circle clip-path opens from an authored origin revealing state B over state A in one confident pass, then holds on B. Classic register dims and desaturates the before state so the after state lands in full color; a thin accent rim rides the iris edge. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"A circle clip-path opens from an authored origin revealing state B over state A in one confident pass, then holds on B. Classic register dims and desaturates the before state so the after state lands in full color; a thin accent rim rides the iris edge. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","iris","circle-reveal","clip-path","bridge","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/iris-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"keyframe-scrub-stack","kind":"component","href":"/catalog/components/keyframe-scrub-stack","title":"Keyframe Scrub Stack","tagline":"A keyframe-sequenced stack of cards with offset timing and easing presets.","description":"A keyframe-sequenced stack of cards with offset timing and easing presets.","group":"motion-effects","section":"Effects","tags":["advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/keyframe-scrub-stack.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/keyframe-scrub-stack.json","heavy":false,"width":1920,"height":1080}},{"id":"match-cut","kind":"component","href":"/catalog/components/match-cut","title":"Match Cut","tagline":"A circle accelerates into a hard single-frame scene swap, matches the incoming circle exactly, and continues into a smaller resting pose.","description":"A circle accelerates into a hard single-frame scene swap, matches the incoming circle exactly, and continues into a smaller resting pose.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","match-cut","hard-cut","continuity"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/match-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"mesh-gradient-bg","kind":"component","href":"/catalog/components/mesh-gradient-bg","title":"Mesh Gradient Background","tagline":"A render-safe mesh gradient using animated radial layers.","description":"A render-safe mesh gradient using animated radial layers.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/mesh-gradient-bg.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/mesh-gradient-bg.json","heavy":false,"width":1920,"height":1080}},{"id":"micro-transitions","kind":"component","href":"/catalog/components/micro-transitions","title":"Micro Transitions","tagline":"A transitions.dev-inspired pack of badge, dropdown, modal, tabs, tooltip, and success-check micro transitions","description":"A transitions.dev-inspired pack of badge, dropdown, modal, tabs, tooltip, and success-check micro transitions","group":"motion-effects","section":"Effects","tags":["transition-primitive","motion-primitive","transitions-dev-port","ui","transition","microinteraction"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/micro-transitions.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/micro-transitions.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-usage-arc","kind":"component","href":"/catalog/components/mk-usage-arc","title":"Hairline Arc Gauge","tagline":"Thin circular gauge that draws on while its percentage counts up; one helper call drives both","description":"Thin circular gauge that draws on while its percentage counts up; one helper call drives both","group":"motion-effects","section":"Effects","tags":["data-viz","gauge","minimal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/mk-usage-arc.json","heavy":false,"width":1920,"height":1080}},{"id":"morph-swap","kind":"component","href":"/catalog/components/morph-swap","title":"Morph Swap","tagline":"Two slotted siblings stacked at one shared center: A holds, then condenses or reshapes into B on a shared 50% 50% transform origin. Condense shrink-fades A exactly as B scales up; reshape morphs the silhouette on scaleX/scaleY, never width or height tweens. Token card defaults render when a slot is left empty.","description":"Two slotted siblings stacked at one shared center: A holds, then condenses or reshapes into B on a shared 50% 50% transform origin. Condense shrink-fades A exactly as B scales up; reshape morphs the silhouette on scaleX/scaleY, never width or height tweens. Token card defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","morph","swap","condense","reshape","holdable","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/morph-swap.json","heavy":false,"width":1920,"height":1080}},{"id":"motion-blur","kind":"component","href":"/catalog/components/motion-blur","title":"Motion Blur","tagline":"After Effects-style motion blur — integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear","description":"After Effects-style motion blur — integrates each element over a shutter window (shutter angle, phase, samples per frame) by sampling the GSAP timeline at sub-frame times and averaging equal-weight additive copies of the element along its real trajectory, so translation, scale, rotation, 3D rotation and skew all drive the smear","group":"motion-effects","section":"Effects","tags":["effect","motion-blur","shutter","after-effects","velocity","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/motion-blur.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/motion-blur.json","heavy":false,"width":1920,"height":1080}},{"id":"multiplayer-cursors","kind":"component","href":"/catalog/components/multiplayer-cursors","title":"Multiplayer Cursors","tagline":"Labeled collaborator cursors with token-derived colors and soft glows drift from spread positions into a shared center zone, proving live multiplayer presence.","description":"Labeled collaborator cursors with token-derived colors and soft glows drift from spread positions into a shared center zone, proving live multiplayer presence.","group":"motion-effects","section":"Effects","tags":["cursor","pointer","multiplayer","collaboration","presence","loop","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/multiplayer-cursors.json","heavy":false,"width":1920,"height":1080}},{"id":"notification-pileup","kind":"component","href":"/catalog/components/notification-pileup","title":"Notification Pileup","tagline":"Mobile notification cards arrive faster and faster, each new alert pushing the existing stack downward into a dense, anxious tower.","description":"Mobile notification cards arrive faster and faster, each new alert pushing the existing stack downward into a dense, anxious tower.","group":"motion-effects","section":"Effects","tags":["notification","mobile","ui-props","overload","pileup","loop","agitate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/notification-pileup.json","heavy":false,"width":1920,"height":1080}},{"id":"onboarding-stepper-flow","kind":"component","href":"/catalog/components/onboarding-stepper-flow","title":"Onboarding Stepper Flow","tagline":"A composed onboarding flow with milestone rail, active step card, and next-action button","description":"A composed onboarding flow with milestone rail, active step card, and next-action button","group":"motion-effects","section":"Effects","tags":["ui-flow","onboarding","stepper"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/onboarding-stepper-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/onboarding-stepper-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"ordered-dither-pass","kind":"component","href":"/catalog/components/ordered-dither-pass","title":"Ordered Dither Pass","tagline":"Bayer-matrix ordered dithering quantizes a slotted scene (rasterized once at mount): the image emerges from pure 2-tone noise to clean, or dissolves the reverse. Stateless per frame, never error diffusion.","description":"Bayer-matrix ordered dithering quantizes a slotted scene (rasterized once at mount): the image emerges from pure 2-tone noise to clean, or dissolves the reverse. Stateless per frame, never error diffusion.","group":"motion-effects","section":"Effects","tags":["motion-primitive","experiment","texture","dither","transition","quantize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ordered-dither-pass.json","heavy":false,"width":1920,"height":1080}},{"id":"overwhelm-surround","kind":"component","href":"/catalog/components/overwhelm-surround","title":"Overwhelm Surround","tagline":"Tasks, tabs, pings, and notification bubbles accelerate inward around a calm central subject, turning overload into visible spatial pressure.","description":"Tasks, tabs, pings, and notification bubbles accelerate inward around a calm central subject, turning overload into visible spatial pressure.","group":"motion-effects","section":"Effects","tags":["effects","agitate","overwhelm","pressure","notifications"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/overwhelm-surround.json","heavy":false,"width":1920,"height":1080}},{"id":"panel-reveal","kind":"component","href":"/catalog/components/panel-reveal","title":"Panel Reveal","tagline":"A panel reveal primitive with height expansion and content fade","description":"A panel reveal primitive with height expansion and content fade","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","panel","reveal"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/panel-reveal.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/panel-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-device-dive","kind":"component","href":"/catalog/components/parallax-device-dive","title":"Parallax Device Dive","tagline":"A canonical phone rises into view before the camera pushes through its screen and layered app UI expands to fill the frame.","description":"A canonical phone rises into view before the camera pushes through its screen and layered app UI expands to fill the frame.","group":"motion-effects","section":"Effects","tags":["motion-primitive","camera","device","phone","parallax","transition"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-device-dive.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-unzoom","kind":"component","href":"/catalog/components/parallax-unzoom","title":"Parallax Unzoom","tagline":"Reveal transition — focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)","description":"Reveal transition — focus card scales down from full frame as siblings parallax in to form a grid (reverse of parallax-zoom)","group":"motion-effects","section":"Effects","tags":["transition","reveal","unzoom","parallax","grid","hero"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/parallax-unzoom.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-unzoom.json","heavy":false,"width":1920,"height":1080}},{"id":"parallax-zoom","kind":"component","href":"/catalog/components/parallax-zoom","title":"Parallax Zoom","tagline":"Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition","description":"Center card scales up to fill the frame while siblings parallax outward — inspired by the eBay Playbook hero transition","group":"motion-effects","section":"Effects","tags":["transition","zoom","parallax","grid","hero"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/parallax-zoom.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/parallax-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"rubber-band-bumper","kind":"component","href":"/catalog/components/rubber-band-bumper","title":"Rubber Band Bumper","tagline":"An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.","description":"An outgoing panel pulls against increasing resistance, holds at tension, then snaps past an edge with overshoot as the incoming panel settles behind it.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","rubber-band","resistance","overshoot"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/rubber-band-bumper.json","heavy":false,"width":1920,"height":1080}},{"id":"settings-toggle-flow","kind":"component","href":"/catalog/components/settings-toggle-flow","title":"Settings Toggle Flow","tagline":"A composed settings flow with preference rows, toggle switches, and active-state feedback","description":"A composed settings flow with preference rows, toggle switches, and active-state feedback","group":"motion-effects","section":"Effects","tags":["ui-flow","settings","toggle"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/settings-toggle-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/settings-toggle-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"shutter-slam","kind":"component","href":"/catalog/components/shutter-slam","title":"Shutter Slam","tagline":"One word thrown through six single-property beats under integrated shutter blur — two translate slams, a scale punch, then a full turn about each axis — on the measured easing of the After Effects export the shutter model was fitted to","description":"One word thrown through six single-property beats under integrated shutter blur — two translate slams, a scale punch, then a full turn about each axis — on the measured easing of the After Effects export the shutter model was fitted to","group":"motion-effects","section":"Effects","tags":["effect","motion-blur","shutter","after-effects","slam","animation"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/shutter-slam.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/shutter-slam.json","heavy":false,"width":1920,"height":1080}},{"id":"signup-flow","kind":"component","href":"/catalog/components/signup-flow","title":"Signup Flow","tagline":"A composed signup flow with social action, email field, password field, and submit button","description":"A composed signup flow with social action, email field, password field, and submit button","group":"motion-effects","section":"Effects","tags":["ui-flow","signup","form"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/signup-flow.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/signup-flow.json","heavy":false,"width":1920,"height":1080}},{"id":"spotlight-card","kind":"component","href":"/catalog/components/spotlight-card","title":"Spotlight Card","tagline":"A card with a scripted cursor spotlight and lit border.","description":"A card with a scripted cursor spotlight and lit border.","group":"motion-effects","section":"Effects","tags":["effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/spotlight-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/spotlight-card.json","heavy":false,"width":1920,"height":1080}},{"id":"stagger-cascade","kind":"component","href":"/catalog/components/stagger-cascade","title":"Stagger Cascade","tagline":"A responsive grid of tile cards that fades and travels into place with an evenly spaced per-item GSAP stagger. The ordered cascade is the only visual mechanic.","description":"A responsive grid of tile cards that fades and travels into place with an evenly spaced per-item GSAP stagger. The ordered cascade is the only visual mechanic.","group":"motion-effects","section":"Effects","tags":["effects","grid","stagger","entrance","exhibit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/stagger-cascade.json","heavy":false,"width":1920,"height":1080}},{"id":"stagger-lattice","kind":"component","href":"/catalog/components/stagger-lattice","title":"Stagger Lattice","tagline":"A staggered grid reveal inspired by Anime.js v4 stagger utilities, implemented with GSAP for HyperFrames.","description":"A staggered grid reveal inspired by Anime.js v4 stagger utilities, implemented with GSAP for HyperFrames.","group":"motion-effects","section":"Effects","tags":["advanced-motion","anime-inspired","hyperframes-native"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/stagger-lattice.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/stagger-lattice.json","heavy":false,"width":1920,"height":1080}},{"id":"store-badge-lockup","kind":"component","href":"/catalog/components/store-badge-lockup","title":"Store Badge Lockup","tagline":"Settles a short headline above equal-size App Store and Google Play badges as a token-driven mobile end-card call to action.","description":"Settles a short headline above equal-size App Store and Google Play badges as a token-driven mobile end-card call to action.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","mobile","store-badges","cta","ask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/store-badge-lockup.json","heavy":false,"width":1920,"height":1080}},{"id":"svg-mask-reveal","kind":"component","href":"/catalog/components/svg-mask-reveal","title":"SVG Mask Reveal","tagline":"A soft token-colored sweep reveals media only through an editable SVG wordmark mask.","description":"A soft token-colored sweep reveals media only through an editable SVG wordmark mask.","group":"motion-effects","section":"Effects","tags":["effect","svg","mask","wordmark","reveal","exhibit"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/svg-mask-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"tabs-slide-indicator","kind":"component","href":"/catalog/components/tabs-slide-indicator","title":"Tabs Slide Indicator","tagline":"A pill indicator transition that slides between active tabs","description":"A pill indicator transition that slides between active tabs","group":"motion-effects","section":"Effects","tags":["transition-primitive","transitions-dev-port","tabs","indicator"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/tabs-slide-indicator.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/tabs-slide-indicator.json","heavy":false,"width":1920,"height":1080}},{"id":"testimonial-card","kind":"component","href":"/catalog/components/testimonial-card","title":"Testimonial Card","tagline":"Reveals a customer quote at reading pace, then settles its avatar, author name, and handle beneath as a clean proof beat.","description":"Reveals a customer quote at reading pace, then settles its avatar, author name, and handle beneath as a clean proof beat.","group":"motion-effects","section":"Effects","tags":["prop","ui-props","testimonial","social-proof","quote","prove"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/testimonial-card.json","heavy":false,"width":1920,"height":1080}},{"id":"type-match-cut","kind":"component","href":"/catalog/components/type-match-cut","title":"Type Match Cut","tagline":"A headline splits vertically around an incoming panel, which grows from the negative space and takes the frame as the words exit through opposite edges.","description":"A headline splits vertically around an incoming panel, which grows from the negative space and takes the frame as the words exit through opposite edges.","group":"motion-effects","section":"Effects","tags":["motion-primitive","transition","typography","match-cut","continuity"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/type-match-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"vignette","kind":"component","href":"/catalog/components/vignette","title":"Vignette","tagline":"Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center","description":"Cinematic radial vignette overlay using a pure-CSS gradient — darkens the edges to pull focus toward the center","group":"motion-effects","section":"Effects","tags":["vignette","overlay","cinematic","effect"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/vignette.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/vignette.json","heavy":false,"width":1920,"height":1080}},{"id":"whip-pan-cut","kind":"component","href":"/catalog/components/whip-pan-cut","title":"Whip Pan Cut","tagline":"A full-frame whip pan: scene A whips off laterally with capped directional motion blur while scene B enters in the same direction at matched velocity, on a speed-ramp profile with a decelerating catch. Both scenes ride one strip, so seam velocity is exact by construction. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","description":"A full-frame whip pan: scene A whips off laterally with capped directional motion blur while scene B enters in the same direction at matched velocity, on a speed-ramp profile with a decelerating catch. Both scenes ride one strip, so seam velocity is exact by construction. Callers fill the named before/after slot panels; token-styled defaults render when a slot is left empty.","group":"motion-effects","section":"Effects","tags":["transition","whip-pan","motion-blur","velocity-match","speed-ramp","bridge","slots"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/whip-pan-cut.json","heavy":false,"width":1920,"height":1080}},{"id":"x-follow-card","kind":"component","href":"/catalog/components/x-follow-card","title":"X Follow Card","tagline":"A social follow card with avatar, handle, and follower motion.","description":"A social follow card with avatar, handle, and follower motion.","group":"motion-effects","section":"Effects","tags":["social-overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/x-follow-card.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/x-follow-card.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-circle-pointer","kind":"component","href":"/catalog/components/yt-circle-pointer","title":"Pointer Circle + Countdown","tagline":"Draw-on annotation ellipse around a target plus a countdown chip that pulses each tick","description":"Draw-on annotation ellipse around a target plus a countdown chip that pulses each tick","group":"motion-effects","section":"Effects","tags":["annotation","countdown","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-circle-pointer.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-feather-highlight","kind":"component","href":"/catalog/components/yt-feather-highlight","title":"Feathered Spotlight","tagline":"Dims the frame except a feathered ellipse; the hole's position and size are CSS variables, so helpers glide the spotlight between targets","description":"Dims the frame except a feathered ellipse; the hole's position and size are CSS variables, so helpers glide the spotlight between targets","group":"motion-effects","section":"Effects","tags":["highlight","spotlight","effect","overlay"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-feather-highlight.json","heavy":false,"width":1920,"height":1080}},{"id":"zoom-through-transition","kind":"component","href":"/catalog/components/zoom-through-transition","title":"Zoom Through Transition","tagline":"A transition that zooms through a focal card into the next scene.","description":"A transition that zooms through a focal card into the next scene.","group":"motion-effects","section":"Effects","tags":["transition-primitive"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/zoom-through-transition.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/zoom-through-transition.json","heavy":false,"width":1920,"height":1080}},{"id":"camcorder-hud","kind":"block","href":"/catalog/blocks/camcorder-hud","title":"Camcorder HUD","tagline":"Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments","description":"Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments","group":"motion-effects","section":"Camera & 3D","tags":["camcorder","camera","recording","hud","overlay","creator","media-treatment-overlay"],"tech":[],"duration":4,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/camcorder-hud.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/camcorder-hud.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/camcorder-hud.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-scan-gate","kind":"component","href":"/catalog/components/camera-scan-gate","title":"Camera Scan Gate","tagline":"A camera and QR recognition moment with a viewfinder sweep, bracket lock, confirmation pulse, and verified next beat.","description":"A camera and QR recognition moment with a viewfinder sweep, bracket lock, confirmation pulse, and verified next beat.","group":"motion-effects","section":"Camera & 3D","tags":["prop","ui-props","camera","qr","scan","recognition","interaction","demonstrate"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-scan-gate.json","heavy":false,"width":1920,"height":1080}},{"id":"camera-shake","kind":"component","href":"/catalog/components/camera-shake","title":"Camera Shake","tagline":"Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-safe","description":"Procedural handheld, telephoto and rig camera shake for any wrapper: nine measured profiles with per-lens projection, closed-form and seek-safe","group":"motion-effects","section":"Camera & 3D","tags":["camera","shake","handheld","effect","cinematic"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/camera-shake.json","heavy":false,"width":1920,"height":1080}},{"id":"drift-hold","kind":"component","href":"/catalog/components/drift-hold","title":"Drift Hold","tagline":"A centered content card stays subtly alive through loop-exact rotation, scale breathing, and a slow light sweep.","description":"A centered content card stays subtly alive through loop-exact rotation, scale breathing, and a slow light sweep.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","ambient","drift","hold","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/drift-hold.json","heavy":false,"width":1920,"height":1080}},{"id":"focus-rack","kind":"component","href":"/catalog/components/focus-rack","title":"Focus Rack","tagline":"Focus shifts once between two cards at different apparent depths through synchronized blur, dimming, scale, and parallax.","description":"Focus shifts once between two cards at different apparent depths through synchronized blur, dimming, scale, and parallax.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","focus","focus-rack","depth","parallax","emphasize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/focus-rack.json","heavy":false,"width":1920,"height":1080}},{"id":"pan-stations","kind":"component","href":"/catalog/components/pan-stations","title":"Pan Stations","tagline":"A lateral camera move across a continuous row of labeled feature stations, with a steady dwell at each stop before the next pan.","description":"A lateral camera move across a continuous row of labeled feature stations, with a steady dwell at each stop before the next pan.","group":"motion-effects","section":"Camera & 3D","tags":["camera","pan","stations","features","exhibit","agitate","cross-shelved"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pan-stations.json","heavy":false,"width":1920,"height":1080}},{"id":"pull-back-reveal","kind":"component","href":"/catalog/components/pull-back-reveal","title":"Pull Back Reveal","tagline":"A tight stat detail holds, then one decelerating camera pull-back reveals the headline and supporting cards that recontextualize it.","description":"A tight stat detail holds, then one decelerating camera pull-back reveals the headline and supporting cards that recontextualize it.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","pull-back","reveal","recontextualize"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/pull-back-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"push-in","kind":"component","href":"/catalog/components/push-in","title":"Push In","tagline":"A centered headline gains focus through one slow, continuous camera push and a gentle fade out.","description":"A centered headline gains focus through one slow, continuous camera push and a gentle fade out.","group":"motion-effects","section":"Camera & 3D","tags":["motion-primitive","camera","push-in","focus","emphasize","holdable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/push-in.json","heavy":false,"width":1920,"height":1080}},{"id":"scroll-camera-story","kind":"component","href":"/catalog/components/scroll-camera-story","title":"Scroll Camera Story","tagline":"A compressed forced-scroll cinematic pass: a tall scene of slotted sections travels past the camera top to bottom, depth layers parallax at different rates, each section rises as the camera reaches it, and the pass decelerates into a held final section.","description":"A compressed forced-scroll cinematic pass: a tall scene of slotted sections travels past the camera top to bottom, depth layers parallax at different rates, each section rises as the camera reaches it, and the pass decelerates into a held final section.","group":"motion-effects","section":"Camera & 3D","tags":["camera","scroll","parallax","story","sections","slot","servo"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/scroll-camera-story.json","heavy":false,"width":1920,"height":1080}},{"id":"ui-focus-zoom","kind":"component","href":"/catalog/components/ui-focus-zoom","title":"UI Focus Zoom","tagline":"A full app surface establishes with one settle, then the camera zooms and pans to an anchored region on its cue and holds the zoomed state, with an optional soft focus halo at the anchor. The surface is a slot with a token-styled skeleton default.","description":"A full app surface establishes with one settle, then the camera zooms and pans to an anchored region on its cue and holds the zoomed state, with an optional soft focus halo at the anchor. The surface is a slot with a token-styled skeleton default.","group":"motion-effects","section":"Camera & 3D","tags":["camera","product-demo","zoom","focus","pan","slot","servo"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ui-focus-zoom.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-camera-move","kind":"component","href":"/catalog/components/yt-camera-move","title":"Camera Punch-In","tagline":"Dynamic zoom, slide, and 3D tilt-pan helpers for any wrapper (video, include, card) with cubic-easing defaults and an edge-defocus pulse overlay","description":"Dynamic zoom, slide, and 3D tilt-pan helpers for any wrapper (video, include, card) with cubic-easing defaults and an edge-defocus pulse overlay","group":"motion-effects","section":"Camera & 3D","tags":["camera","zoom","effect","creator"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-camera-move.json","heavy":false,"width":1920,"height":1080}},{"id":"grain-field","kind":"component","href":"/catalog/components/grain-field","title":"Grain Field","tagline":"A clearly visible accent-tinted dot field drifts over a subtle luminance gradient in an exact ambient loop.","description":"A clearly visible accent-tinted dot field drifts over a subtle luminance gradient in an exact ambient loop.","group":"surfaces","section":"Texture","tags":["motion-primitive","background","grain","dots","texture","ambient","loopable"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/grain-field.json","heavy":false,"width":1920,"height":1080}},{"id":"grain-overlay","kind":"component","href":"/catalog/components/grain-overlay","title":"Grain Overlay","tagline":"Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition","description":"Animated film grain texture overlay using CSS keyframes — adds warmth and analog character to any composition","group":"surfaces","section":"Texture","tags":["texture","grain","overlay","film"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/grain-overlay.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/grain-overlay.json","heavy":false,"width":1920,"height":1080}},{"id":"halftone-field","kind":"block","href":"/catalog/blocks/halftone-field","title":"Halftone Field","tagline":"A full-bleed halftone light field: a grid of dots whose size and colour track a slow flowing simplex-noise field, so broad bands of light sweep across a mostly-black frame like a giant LED wall showing a plasma. Built to run under type.","description":"A full-bleed halftone light field: a grid of dots whose size and colour track a slow flowing simplex-noise field, so broad bands of light sweep across a mostly-black frame like a giant LED wall showing a plasma. Built to run under type.","group":"surfaces","section":"Texture","tags":["webgl","shader","background","texture","halftone"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/halftone-field.json","heavy":true,"width":1920,"height":1080}},{"id":"ink-bleed-reveal","kind":"component","href":"/catalog/components/ink-bleed-reveal","title":"Ink Bleed Reveal","tagline":"Liquid ink blooms through paper under a gooey blur-plus-threshold filter, merges, then contracts as a crisp slotted mark resolves beneath it, with static seeded paper grain riding the result.","description":"Liquid ink blooms through paper under a gooey blur-plus-threshold filter, merges, then contracts as a crisp slotted mark resolves beneath it, with static seeded paper grain riding the result.","group":"surfaces","section":"Texture","tags":["motion-primitive","texture","reveal","gooey","svg-filter","deterministic","experiment"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/ink-bleed-reveal.json","heavy":false,"width":1920,"height":1080}},{"id":"texture-mask-text","kind":"component","href":"/catalog/components/texture-mask-text","title":"Texture Mask Text","tagline":"CSS luminance masks that cut holes through letterforms - 66 pre-built texture masks from ambientCG PBR color maps","description":"CSS luminance masks that cut holes through letterforms - 66 pre-built texture masks from ambientCG PBR color maps","group":"surfaces","section":"Texture","tags":["text","text-effect","effect","texture","mask"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/texture-mask-text.png","video":null,"preview":{"mode":"player","source":"/public/catalog/components/texture-mask-text.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-lcd-background","kind":"block","href":"/catalog/blocks/yt-lcd-background","title":"Scanline Board Background","tagline":"Textured paper board: scanlines with slow drift, optional pixel grid, static grain, and display text with a blur-focus entrance and chromatic-fringe title","description":"Textured paper board: scanlines with slow drift, optional pixel grid, static grain, and display text with a blur-focus entrance and chromatic-fringe title","group":"surfaces","section":"Texture","tags":["background","texture","creator"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-lcd-background.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-screen-warp","kind":"component","href":"/catalog/components/yt-screen-warp","title":"On-Screen Display Effect","tagline":"Grid, scanline, vignette, and sheen overlay plus a 3D-warp wrapper class that makes footage read as if playing on a physical display","description":"Grid, scanline, vignette, and sheen overlay plus a 3D-warp wrapper class that makes footage read as if playing on a physical display","group":"surfaces","section":"Texture","tags":["effect","overlay","texture"],"tech":[],"duration":null,"width":null,"height":null,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/components/yt-screen-warp.json","heavy":false,"width":1920,"height":1080}},{"id":"ios26-liquid-glass","kind":"block","href":"/catalog/blocks/ios26-liquid-glass","title":"iOS 26 Liquid Glass Home Screen","tagline":"3D iPhone with a normal iOS 26 home screen, liquid glass app icons, shader wallpaper, dock, and fluid glass notifications that drop from the status area onto a GLTF device model.","description":"3D iPhone with a normal iOS 26 home screen, liquid glass app icons, shader wallpaper, dock, and fluid glass notifications that drop from the status area onto a GLTF device model.","group":"surfaces","section":"HTML-in-Canvas","tags":["liquid-glass-html-in-canvas","webgpu","3d","iphone","ios26","notifications","gltf","html-in-canvas"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ios26-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/ios26-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"liquid-glass-notification","kind":"block","href":"/catalog/blocks/liquid-glass-notification","title":"Liquid Glass Notification","tagline":"Frosted glass notification cards floating over an aurora shader background","description":"Frosted glass notification cards floating over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-notification.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-notification.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-notification.json","heavy":true,"width":1920,"height":1080}},{"id":"liquid-glass-widgets","kind":"block","href":"/catalog/blocks/liquid-glass-widgets","title":"Liquid Glass Widgets","tagline":"Frosted glass stat cards, showcase panel and pill chips over an aurora shader background","description":"Frosted glass stat cards, showcase panel and pill chips over an aurora shader background","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid-glass-html-in-canvas","webgpu"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-widgets.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-widgets.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/liquid-glass-widgets.json","heavy":true,"width":1920,"height":1080}},{"id":"macos-tahoe-liquid-glass","kind":"block","href":"/catalog/blocks/macos-tahoe-liquid-glass","title":"macOS Tahoe Liquid Glass Desktop","tagline":"3D MacBook with a macOS Tahoe-style desktop, glass menu bar, Finder window, dock, and cinematic device camera move.","description":"3D MacBook with a macOS Tahoe-style desktop, glass menu bar, Finder window, dock, and cinematic device camera move.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","3d","macos","tahoe","gltf"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-tahoe-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/macos-tahoe-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"vfx-iphone-device","kind":"block","href":"/catalog/blocks/vfx-iphone-device","title":"iPhone & MacBook 3D Showcase","tagline":"Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable.","description":"Real GLTF iPhone 15 Pro Max and MacBook Pro models with live HTML-in-Canvas screen content, morphing glass lens, product review camera choreography, and 360° turntable.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","3d","device","iphone","macbook","gltf"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-iphone-device.mp4","preview":{"mode":"video"}},{"id":"vfx-liquid-background","kind":"block","href":"/catalog/blocks/vfx-liquid-background","title":"Liquid Background","tagline":"Organic liquid simulation with vertex displacement on a subdivided plane. HTML content floats above rippling fluid surface with real-time wave dynamics.","description":"Organic liquid simulation with vertex displacement on a subdivided plane. HTML content floats above rippling fluid surface with real-time wave dynamics.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","liquid","webgl","displacement","background"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-background.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-background.mp4","preview":{"mode":"video"}},{"id":"vfx-liquid-glass","kind":"block","href":"/catalog/blocks/vfx-liquid-glass","title":"Liquid Glass","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":20,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-glass.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-liquid-glass.mp4","preview":{"mode":"video"}},{"id":"vfx-magnetic","kind":"block","href":"/catalog/blocks/vfx-magnetic","title":"Magnetic","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":15,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-magnetic.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-magnetic.mp4","preview":{"mode":"video"}},{"id":"vfx-portal","kind":"block","href":"/catalog/blocks/vfx-portal","title":"Portal","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-portal.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-portal.mp4","preview":{"mode":"video"}},{"id":"vfx-shatter","kind":"block","href":"/catalog/blocks/vfx-shatter","title":"Shatter","tagline":"VFX composition block","description":"VFX composition block","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","webgl"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-shatter.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-shatter.mp4","preview":{"mode":"video"}},{"id":"vfx-text-cursor","kind":"block","href":"/catalog/blocks/vfx-text-cursor","title":"VFX Text Cursor","tagline":"Dramatic text reveal with cursor glow, chromatic shadow rays, and directional lighting on a black stage. Canvas-based shader post-processing with spectral color edges.","description":"Dramatic text reveal with cursor glow, chromatic shadow rays, and directional lighting on a black stage. Canvas-based shader post-processing with spectral color edges.","group":"surfaces","section":"HTML-in-Canvas","tags":["html-in-canvas","text","shader","cursor","chromatic"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-text-cursor.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/vfx-text-cursor.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/vfx-text-cursor.json","heavy":true,"width":1920,"height":1080}},{"id":"flowchart","kind":"block","href":"/catalog/blocks/flowchart","title":"Flowchart","tagline":"Animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","description":"Animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","group":"blocks","section":"Blocks","tags":["diagram","flowchart","interactive"],"tech":[],"duration":12,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flowchart.json","heavy":false,"width":1920,"height":1080}},{"id":"flowchart-vertical","kind":"block","href":"/catalog/blocks/flowchart-vertical","title":"Flowchart Vertical","tagline":"Portrait animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","description":"Portrait animated decision tree with SVG connectors, sticky-note nodes, cursor interaction, and typing correction","group":"blocks","section":"Blocks","tags":["diagram","flowchart","interactive","portrait"],"tech":[],"duration":12,"width":1440,"height":2560,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart-vertical.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/flowchart-vertical.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/flowchart-vertical.json","heavy":false,"width":1440,"height":2560}},{"id":"hw-frame","kind":"block","href":"/catalog/blocks/hw-frame","title":"Sketched Frame","tagline":"Media in a hand-drawn border with corner doodles and a handwritten caption; the unit tilts slightly and boils (images inside the block; keep live footage in the host)","description":"Media in a hand-drawn border with corner doodles and a handwritten caption; the unit tilts slightly and boils (images inside the block; keep live footage in the host)","group":"blocks","section":"Blocks","tags":["handwritten","frame","media"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-frame.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-pipeline","kind":"block","href":"/catalog/blocks/hw-pipeline","title":"Hand-Drawn Flowchart","tagline":"Wobbled boxes with handwritten labels joined by curved connectors, drawing on in sequence from a node list","description":"Wobbled boxes with handwritten labels joined by curved connectors, drawing on in sequence from a node list","group":"blocks","section":"Blocks","tags":["handwritten","diagram","data-viz","overlay"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-pipeline.json","heavy":false,"width":1920,"height":1080}},{"id":"hw-text-cloud","kind":"block","href":"/catalog/blocks/hw-text-cloud","title":"Speech Bubble","tagline":"Hand-drawn speech bubble with a positionable tail: outline draws on, paper fill fades in, handwritten text types per character; boils","description":"Hand-drawn speech bubble with a positionable tail: outline draws on, paper fill fades in, handwritten text types per character; boils","group":"blocks","section":"Blocks","tags":["handwritten","speech-bubble","overlay"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/hw-text-cloud.json","heavy":false,"width":1920,"height":1080}},{"id":"logo-outro","kind":"block","href":"/catalog/blocks/logo-outro","title":"Logo Outro","tagline":"Cinematic logo reveal with piece-by-piece assembly, glow bloom, tagline fade-in, and URL pill","description":"Cinematic logo reveal with piece-by-piece assembly, glow bloom, tagline fade-in, and URL pill","group":"blocks","section":"Blocks","tags":["branding","outro","logo"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/logo-outro.png","video":"https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/logo-outro.mp4","preview":{"mode":"player","source":"/public/catalog/blocks/logo-outro.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-background","kind":"block","href":"/catalog/blocks/mk-background","title":"Minimal Gradient Background","tagline":"Procedural soft-blob gradient backdrop in a minimalist presentation style: two radial blobs drifting over a base color, with an animatable rounded-card bar mask and optional frosted-glass mode","description":"Procedural soft-blob gradient backdrop in a minimalist presentation style: two radial blobs drifting over a base color, with an animatable rounded-card bar mask and optional frosted-glass mode","group":"blocks","section":"Blocks","tags":["background","gradient","minimal","professional","presentation"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-background.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-placeholder-grid","kind":"block","href":"/catalog/blocks/mk-placeholder-grid","title":"Rounded Media Grid","tagline":"N-up rounded-corner media grid (2-up, 3-up, 4-up, 3x2, hero plus two): per-cell inside-scale framing, staggered box-in entrance, slow settle","description":"N-up rounded-corner media grid (2-up, 3-up, 4-up, 3x2, hero plus two): per-cell inside-scale framing, staggered box-in entrance, slow settle","group":"blocks","section":"Blocks","tags":["placeholder","media","grid","minimal"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-placeholder-grid.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-progress-stat","kind":"block","href":"/catalog/blocks/mk-progress-stat","title":"Count-Up Stat Card","tagline":"Big-numeral statistic with count-up, label, thin progress track filling to value/max, and caption; light and dark schemes","description":"Big-numeral statistic with count-up, label, thin progress track filling to value/max, and caption; light and dark schemes","group":"blocks","section":"Blocks","tags":["data-viz","stat","minimal"],"tech":[],"duration":7,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-progress-stat.json","heavy":false,"width":1920,"height":1080}},{"id":"mk-specs-list","kind":"block","href":"/catalog/blocks/mk-specs-list","title":"Specs Checklist","tagline":"Left-aligned specs/traits checklist over footage or a board: rows slide in staggered with an accent underline sweep; light and dark schemes","description":"Left-aligned specs/traits checklist over footage or a board: rows slide in staggered with an accent underline sweep; light and dark schemes","group":"blocks","section":"Blocks","tags":["data-viz","list","minimal","professional"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/mk-specs-list.json","heavy":false,"width":1920,"height":1080}},{"id":"spiral-galaxy","kind":"block","href":"/catalog/blocks/spiral-galaxy","title":"Spiral Galaxy","tagline":"A spiral galaxy seen from outside, turning with real differential rotation: inner stars orbit faster than outer ones, so the arms wind up over the shot instead of spinning rigidly. 20,000 additive GPU sprites, seeded once and solved directly from time, so any frame can be rendered on its own.","description":"A spiral galaxy seen from outside, turning with real differential rotation: inner stars orbit faster than outer ones, so the arms wind up over the shot instead of spinning rigidly. 20,000 additive GPU sprites, seeded once and solved directly from time, so any frame can be rendered on its own.","group":"blocks","section":"Blocks","tags":["hero","space","particles","webgl","background"],"tech":[],"duration":10,"width":1920,"height":1080,"status":"experimental","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/spiral-galaxy.json","heavy":true,"width":1920,"height":1080}},{"id":"yt-logo-intro","kind":"block","href":"/catalog/blocks/yt-logo-intro","title":"Logo Intro Sequence","tagline":"Logo stamp pops on a lined board, a kicker line gives way to the title with an accent arrow chip; seeded line distortion","description":"Logo stamp pops on a lined board, a kicker line gives way to the title with an accent arrow chip; seeded line distortion","group":"blocks","section":"Blocks","tags":["logo","intro","creator"],"tech":[],"duration":6,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-logo-intro.json","heavy":false,"width":1920,"height":1080}},{"id":"yt-vertical-fill","kind":"block","href":"/catalog/blocks/yt-vertical-fill","title":"Vertical Media Filler","tagline":"Portrait media filling a widescreen frame via blurred-scale, mirror, or copy side fills; grid texture and foreground contrast lift (images inside the block; keep live footage in the host)","description":"Portrait media filling a widescreen frame via blurred-scale, mirror, or copy side fills; grid texture and foreground contrast lift (images inside the block; keep live footage in the host)","group":"blocks","section":"Blocks","tags":["placeholder","vertical","media"],"tech":[],"duration":8,"width":1920,"height":1080,"status":"published","featured":1000,"poster":null,"video":null,"preview":{"mode":"player","source":"/public/catalog/blocks/yt-vertical-fill.json","heavy":false,"width":1920,"height":1080}}]};
diff --git a/package.json b/package.json
index f3fda9a608..a281205b0f 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
"check:tracked-artifacts": "node scripts/check-tracked-artifacts.mjs",
"check:docs-snippet-motion": "node scripts/check-docs-snippet-motion.mjs",
"check:docs-catalog": "node scripts/check-docs-catalog.mjs",
- "check:catalog-drift": "tsx scripts/catalog-drift.ts",
+ "check:catalog-drift": "node scripts/check-registry-set-delta.mjs origin/main && tsx scripts/catalog-drift.ts",
"verify:catalog-payloads": "tsx scripts/verify-catalog-payloads.ts",
"check:workspace-contracts": "node scripts/check-workspace-contracts.mjs",
"check:package-cycles": "node scripts/check-package-cycles.mjs",
diff --git a/packages/cli/src/registry/motionBlurShutter.browser.test.ts b/packages/cli/src/registry/motionBlurShutter.browser.test.ts
index 5bfc106efd..fef71d3558 100644
--- a/packages/cli/src/registry/motionBlurShutter.browser.test.ts
+++ b/packages/cli/src/registry/motionBlurShutter.browser.test.ts
@@ -261,7 +261,6 @@ describe("motion-blur snippet copies", () => {
"registry/components/motion-blur/demo.html",
"registry/components/shutter-slam/shutter-slam.html",
"registry/components/shutter-slam/demo.html",
- "registry/examples/motion-blur/index.html",
])("%s inlines the installable snippet verbatim", (relativePath) => {
expect(snippetBody(readRepoFile(relativePath))).toBe(snippetBody(snippetHtml));
});
diff --git a/packages/core/src/runtime/deckAudio.test.ts b/packages/core/src/runtime/deckAudio.test.ts
index 8d37250877..408096f2f9 100644
--- a/packages/core/src/runtime/deckAudio.test.ts
+++ b/packages/core/src/runtime/deckAudio.test.ts
@@ -2,10 +2,7 @@ import { JSDOM } from "jsdom";
import { expect, it, vi } from "vitest";
import { readFileSync } from "node:fs";
import { resolve } from "node:path";
-const demoHtml = readFileSync(
- resolve(__dirname, "../../../../registry/examples/airbnb-deck/demo.html"),
- "utf8",
-);
+const demoHtml = readFileSync(resolve(__dirname, "./fixtures/deck-audio-demo.html"), "utf8");
it("accepts only current-player sound names while preserving unlock and mute behavior", async () => {
const clips: Array<{
diff --git a/registry/examples/airbnb-deck/demo.html b/packages/core/src/runtime/fixtures/deck-audio-demo.html
similarity index 95%
rename from registry/examples/airbnb-deck/demo.html
rename to packages/core/src/runtime/fixtures/deck-audio-demo.html
index b01a46b3f8..a83c8de581 100644
--- a/registry/examples/airbnb-deck/demo.html
+++ b/packages/core/src/runtime/fixtures/deck-audio-demo.html
@@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Airbnb 2009 Seed Deck — Slideshow Demo</title>
- <script src="../../../packages/player/dist/hyperframes-player.global.js"></script>
- <script src="../../../packages/player/dist/slideshow/hyperframes-slideshow.global.js"></script>
+ <script src="../../../../packages/player/dist/hyperframes-player.global.js"></script>
+ <script src="../../../../packages/player/dist/slideshow/hyperframes-slideshow.global.js"></script>
<style>
*,
*::before,
@@ -31,7 +31,11 @@
<hyperframes-player>). Keep this copy in sync with the island in index.html whenever
slides, fragments, hotspots, or sequences change.
-->
- <hyperframes-slideshow tabindex="0" sound style="display: block; position: relative; width: 100vw; height: 100vh">
+ <hyperframes-slideshow
+ tabindex="0"
+ sound
+ style="display: block; position: relative; width: 100vw; height: 100vh"
+ >
<hyperframes-player
style="position: absolute; inset: 0"
src="index.html"
diff --git a/registry/blocks/code-snippet-apple-terminal-basic/code-snippet-apple-terminal-basic.html b/registry/blocks/code-snippet-apple-terminal-basic/code-snippet-apple-terminal-basic.html
deleted file mode 100644
index 3d7290423c..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-basic/code-snippet-apple-terminal-basic.html
+++ /dev/null
@@ -1,249 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Basic</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #ececec;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.25),
- 0 10px 30px rgba(0, 0, 0, 0.15);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #ececec;
- display: flex;
- align-items: center;
- padding: 0 14px;
- gap: 0;
- flex-shrink: 0;
- border-bottom: 1px solid #d0d0d0;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #ffffff;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #000000;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #000000;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #000000;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-basic"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line">Last login: Mon Jun 2 09:14:22 on ttys001</span>
- <span class="output-line">total 48</span>
- <span class="output-line bold">drwxr-xr-x 8 user staff 256 Jun 2 09:10 .</span>
- <span class="output-line">drwxr-xr-x 42 user staff 1344 Jun 1 18:22 ..</span>
- <span class="output-line">-rw-r--r-- 1 user staff 872 May 30 14:05 README.md</span>
- <span class="output-line bold">drwxr-xr-x 5 user staff 160 Jun 2 09:10 dist</span>
- <span class="output-line bold"
- >drwxr-xr-x 12 user staff 384 Jun 2 09:10 node_modules</span
- >
- <span class="output-line">-rw-r--r-- 1 user staff 1204 Jun 2 09:08 package.json</span>
- <span class="output-line bold">drwxr-xr-x 6 user staff 192 Jun 2 09:10 src</span>
- <span class="output-line">-rw-r--r-- 1 user staff 348 May 29 11:42 tsconfig.json</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "ls -la";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- // Phase 1 (0–0.5s): hold on empty prompt
- tl.set(typedEl, { text: "" }, 0);
-
- // Phase 2 (0.5–2s): type command char by char
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- // Phase 3 (2.2s): hide cursor, show first output line (login message)
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- // Phase 4 (2.5s): clear command, show ls output line by line
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return; // already shown
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.08);
- });
-
- // Phase 5 (4s): new prompt with blinking cursor
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- // Phase 6 (4.2–10s): blink cursor 3 times then stop
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-basic"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-basic/registry-item.json b/registry/blocks/code-snippet-apple-terminal-basic/registry-item.json
deleted file mode 100644
index f8b623ee6a..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-basic/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-basic",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Basic",
- "description": "Apple Terminal Basic profile: white background, black text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-basic.html",
- "target": "compositions/code-snippet-apple-terminal-basic.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-basic.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-basic.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-clear-dark/code-snippet-apple-terminal-clear-dark.html b/registry/blocks/code-snippet-apple-terminal-clear-dark/code-snippet-apple-terminal-clear-dark.html
deleted file mode 100644
index cb909740f0..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-clear-dark/code-snippet-apple-terminal-clear-dark.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Clear Dark</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #1a1a1a;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #1a1a1a 0%, #111111 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(0, 0, 0, 0.5);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: rgba(0, 0, 0, 0.4);
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: rgba(0, 0, 0, 0.7);
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.6);
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #888888;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #888888;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-clear-dark"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys002</span>
- <span class="output-line">Scanning dependencies...</span>
- <span class="output-line">Found 3 vulnerabilities (1 moderate, 2 low)</span>
- <span class="output-line dim"> package: [email protected]</span>
- <span class="output-line dim"> severity: moderate</span>
- <span class="output-line dim"> fix: [email protected]</span>
- <span class="output-line dim"> package: [email protected]</span>
- <span class="output-line dim"> severity: low</span>
- <span class="output-line dim"> fix: [email protected]</span>
- <span class="output-line bold">Run `npm audit fix` to fix them.</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npm audit";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-clear-dark"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-clear-dark/registry-item.json b/registry/blocks/code-snippet-apple-terminal-clear-dark/registry-item.json
deleted file mode 100644
index 5f5e66377e..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-clear-dark/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-clear-dark",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Clear Dark",
- "description": "Apple Terminal Clear Dark profile: semi-transparent dark background, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-clear-dark.html",
- "target": "compositions/code-snippet-apple-terminal-clear-dark.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-dark.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-dark.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-clear-light/code-snippet-apple-terminal-clear-light.html b/registry/blocks/code-snippet-apple-terminal-clear-light/code-snippet-apple-terminal-clear-light.html
deleted file mode 100644
index 7f3f7769bc..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-clear-light/code-snippet-apple-terminal-clear-light.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Clear Light</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.18),
- 0 10px 30px rgba(0, 0, 0, 0.1);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: rgba(255, 255, 255, 0.4);
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(0, 0, 0, 0.08);
- position: relative;
- backdrop-filter: blur(10px);
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: rgba(255, 255, 255, 0.7);
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- backdrop-filter: blur(8px);
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- }
-
- .output-line.muted {
- color: #666666;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #888888;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #888888;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-clear-light"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line muted">Last login: Mon Jun 2 09:14:22 on ttys003</span>
- <span class="output-line bold">git log --oneline -8</span>
- <span class="output-line">a3f2c19 fix: correct off-by-one in pagination</span>
- <span class="output-line">b7e8d04 feat: add dark mode toggle</span>
- <span class="output-line">c1a9f55 refactor: extract auth helpers</span>
- <span class="output-line">d4e2b31 test: add unit tests for parser</span>
- <span class="output-line">e6c8a72 docs: update API reference</span>
- <span class="output-line">f9b1d44 chore: bump dependencies</span>
- <span class="output-line">2a7e890 feat: implement search endpoint</span>
- <span class="output-line">3c5f012 init: project bootstrap</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac myproject % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "git log --oneline -8";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.09);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac myproject % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-clear-light"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-clear-light/registry-item.json b/registry/blocks/code-snippet-apple-terminal-clear-light/registry-item.json
deleted file mode 100644
index 0605c1adb3..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-clear-light/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-clear-light",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Clear Light",
- "description": "Apple Terminal Clear Light profile: semi-transparent light background, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-clear-light.html",
- "target": "compositions/code-snippet-apple-terminal-clear-light.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-light.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-clear-light.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-grass/code-snippet-apple-terminal-grass.html b/registry/blocks/code-snippet-apple-terminal-grass/code-snippet-apple-terminal-grass.html
deleted file mode 100644
index 4556df094a..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-grass/code-snippet-apple-terminal-grass.html
+++ /dev/null
@@ -1,243 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Grass</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #0a1a0a 0%, #000000 70%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 193, 0, 0.15),
- 0 10px 30px rgba(0, 0, 0, 0.8);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1c1c1c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #00c100;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #00c100;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #000000;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #00c100;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #00c100;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #00c100;
- }
-
- .output-line.dim {
- color: #006600;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #00c100;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #00c100;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #00c100;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-grass"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys004</span>
- <span class="output-line">Running test suite...</span>
- <span class="output-line dim"> ✓ should initialize with defaults (2ms)</span>
- <span class="output-line dim"> ✓ should parse config correctly (4ms)</span>
- <span class="output-line dim"> ✓ should handle empty input (1ms)</span>
- <span class="output-line dim"> ✓ should reject invalid tokens (3ms)</span>
- <span class="output-line dim"> ✓ should emit events on change (5ms)</span>
- <span class="output-line dim"> ✓ should clean up on destroy (2ms)</span>
- <span class="output-line bold"> 6 passing (18ms)</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npm test";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.12);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-grass"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-grass/registry-item.json b/registry/blocks/code-snippet-apple-terminal-grass/registry-item.json
deleted file mode 100644
index 646d956fe0..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-grass/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-grass",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Grass",
- "description": "Apple Terminal Grass profile: black background with green text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-grass.html",
- "target": "compositions/code-snippet-apple-terminal-grass.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-grass.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-grass.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-homebrew/code-snippet-apple-terminal-homebrew.html b/registry/blocks/code-snippet-apple-terminal-homebrew/code-snippet-apple-terminal-homebrew.html
deleted file mode 100644
index b7169c1b8f..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-homebrew/code-snippet-apple-terminal-homebrew.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Homebrew</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #0d1a0d 0%, #000000 70%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 207, 0, 0.18),
- 0 10px 30px rgba(0, 0, 0, 0.85);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1c1c1c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #006900;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #00cf00;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #000000;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #00cf00;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #00cf00;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #00de00;
- }
-
- .output-line.dim {
- color: #006600;
- }
-
- .output-line.bright {
- color: #48f800;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #48f800;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #00cf00;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #48f800;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-homebrew"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys005</span>
- <span class="output-line">==> Updating Homebrew...</span>
- <span class="output-line dim">Already up-to-date.</span>
- <span class="output-line">==> Outdated formulae</span>
- <span class="output-line">node 20.11.0 -> 22.3.0</span>
- <span class="output-line">python 3.11.6 -> 3.12.4</span>
- <span class="output-line">git 2.43.0 -> 2.45.2</span>
- <span class="output-line">ffmpeg 6.1.1 -> 7.0.0</span>
- <span class="output-line bright">==> Run `brew upgrade` to update 4 formulae.</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "brew outdated";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-homebrew"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-homebrew/registry-item.json b/registry/blocks/code-snippet-apple-terminal-homebrew/registry-item.json
deleted file mode 100644
index baa4f3576b..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-homebrew/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-homebrew",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Homebrew",
- "description": "Apple Terminal Homebrew profile: black background with bright green text and lime cursor, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-homebrew.html",
- "target": "compositions/code-snippet-apple-terminal-homebrew.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-homebrew.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-homebrew.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-man-page/code-snippet-apple-terminal-man-page.html b/registry/blocks/code-snippet-apple-terminal-man-page/code-snippet-apple-terminal-man-page.html
deleted file mode 100644
index 16935d5389..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-man-page/code-snippet-apple-terminal-man-page.html
+++ /dev/null
@@ -1,248 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Man Page</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #ede87a 0%, #ddd566 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.2),
- 0 10px 30px rgba(0, 0, 0, 0.12);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #f0e680;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #c8be40;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #333333;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #fef49c;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #000000;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #000000;
- }
-
- .output-line.bold {
- font-weight: bold;
- }
-
- .output-line.indent {
- padding-left: 24px;
- color: #222222;
- }
-
- .output-line.section {
- font-weight: bold;
- margin-top: 2px;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #000000;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #000000;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #000000;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-man-page"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">man — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line section">CURL(1) General Commands Manual CURL(1)</span>
- <span class="output-line"></span>
- <span class="output-line section">NAME</span>
- <span class="output-line indent">curl -- transfer a URL</span>
- <span class="output-line"></span>
- <span class="output-line section">SYNOPSIS</span>
- <span class="output-line indent">curl [options / URLs]</span>
- <span class="output-line"></span>
- <span class="output-line section">DESCRIPTION</span>
- <span class="output-line indent"
- >curl is a tool for transferring data from or to a server using URLs.</span
- >
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "man curl";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.4);
-
- outputLines.forEach((line, i) => {
- tl.set(line, { opacity: 1 }, 2.5 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.0);
-
- const blinkTimes = [4.2, 4.6, 5.0, 5.4, 5.8, 6.2];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.6);
-
- window.__timelines["code-snippet-apple-terminal-man-page"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-man-page/registry-item.json b/registry/blocks/code-snippet-apple-terminal-man-page/registry-item.json
deleted file mode 100644
index 2eb8a610ed..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-man-page/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-man-page",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Man Page",
- "description": "Apple Terminal Man Page profile: pale yellow background with black text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-man-page.html",
- "target": "compositions/code-snippet-apple-terminal-man-page.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-man-page.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-man-page.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-novel/code-snippet-apple-terminal-novel.html b/registry/blocks/code-snippet-apple-terminal-novel/code-snippet-apple-terminal-novel.html
deleted file mode 100644
index 0478047adf..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-novel/code-snippet-apple-terminal-novel.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Novel</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #c9a86c 0%, #b8955a 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(62, 41, 0, 0.3),
- 0 10px 30px rgba(0, 0, 0, 0.15);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #c9a86c;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #a88040;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #3e2900;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 600;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #dfc18a;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #3e2900;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #3e2900;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #3e2900;
- }
-
- .output-line.muted {
- color: #7a5a20;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #3e2900;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #3e2900;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #3e2900;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-novel"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line muted">Last login: Mon Jun 2 09:14:22 on ttys006</span>
- <span class="output-line muted">Python 3.12.4 (main, Jun 6 2024, 18:26:44)</span>
- <span class="output-line muted"
- >Type "help", "copyright", "credits" or "license" for more information.</span
- >
- <span class="output-line bold">>>> import hyperframes</span>
- <span class="output-line bold">>>> hf = hyperframes.Composition("intro.html")</span>
- <span class="output-line">>>> hf.duration</span>
- <span class="output-line">12.0</span>
- <span class="output-line">>>> hf.dimensions</span>
- <span class="output-line">Dimensions(width=1920, height=1080)</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "python3";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-novel"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-novel/registry-item.json b/registry/blocks/code-snippet-apple-terminal-novel/registry-item.json
deleted file mode 100644
index bd423554b3..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-novel/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-novel",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Novel",
- "description": "Apple Terminal Novel profile: warm parchment background with dark brown text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-novel.html",
- "target": "compositions/code-snippet-apple-terminal-novel.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-novel.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-novel.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-ocean/code-snippet-apple-terminal-ocean.html b/registry/blocks/code-snippet-apple-terminal-ocean/code-snippet-apple-terminal-ocean.html
deleted file mode 100644
index d165071494..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-ocean/code-snippet-apple-terminal-ocean.html
+++ /dev/null
@@ -1,253 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Ocean</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #1a3f9e;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #224fbe 0%, #0e2878 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.6),
- 0 10px 30px rgba(34, 79, 190, 0.3);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #1a3f9e;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid rgba(255, 255, 255, 0.15);
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #224fbe;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.65);
- }
-
- .output-line.success {
- color: #7fffb3;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: rgba(255, 255, 255, 0.8);
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-ocean"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys007</span>
- <span class="output-line bold">docker ps</span>
- <span class="output-line dim">CONTAINER ID IMAGE COMMAND CREATED</span>
- <span class="output-line"
- >a1b2c3d4e5f6 nginx:latest "/docker-entrypoint.…" 2 hours ago</span
- >
- <span class="output-line"
- >b2c3d4e5f6a7 postgres:15 "docker-entrypoint.s…" 2 hours ago</span
- >
- <span class="output-line"
- >c3d4e5f6a7b8 redis:alpine "docker-entrypoint.s…" 2 hours ago</span
- >
- <span class="output-line success">3 containers running</span>
- <span class="output-line dim">Use 'docker logs CONTAINER' to view output</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "docker ps";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-ocean"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-ocean/registry-item.json b/registry/blocks/code-snippet-apple-terminal-ocean/registry-item.json
deleted file mode 100644
index d10791a32f..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-ocean/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-ocean",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Ocean",
- "description": "Apple Terminal Ocean profile: deep blue background with white text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-ocean.html",
- "target": "compositions/code-snippet-apple-terminal-ocean.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-ocean.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-ocean.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-red-sands/code-snippet-apple-terminal-red-sands.html b/registry/blocks/code-snippet-apple-terminal-red-sands/code-snippet-apple-terminal-red-sands.html
deleted file mode 100644
index fc7240eb9c..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-red-sands/code-snippet-apple-terminal-red-sands.html
+++ /dev/null
@@ -1,244 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Red Sands</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #7b140e;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #8a1a12 0%, #4a0a06 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(123, 20, 14, 0.4);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #5e0f0a;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #8b2018;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffe1b9;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #7b140e;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffe1b9;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffe1b9;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: #c4916a;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #ffe1b9;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffe1b9;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-red-sands"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys009</span>
- <span class="output-line">Fetching https://api.example.com/status</span>
- <span class="output-line dim"> HTTP/2 200</span>
- <span class="output-line dim"> content-type: application/json</span>
- <span class="output-line dim"> x-request-id: a3f9c21e-04b2-4d78</span>
- <span class="output-line">{</span>
- <span class="output-line"> "status": "healthy",</span>
- <span class="output-line"> "version": "2.4.1",</span>
- <span class="output-line bold"> "uptime": "14d 6h 32m"</span>
- <span class="output-line">}</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "curl -s api.example.com/status | jq";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.4);
-
- const blinkTimes = [4.6, 5.0, 5.4, 5.8, 6.2, 6.6];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 7.0);
-
- window.__timelines["code-snippet-apple-terminal-red-sands"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-red-sands/registry-item.json b/registry/blocks/code-snippet-apple-terminal-red-sands/registry-item.json
deleted file mode 100644
index d3f08fb270..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-red-sands/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-red-sands",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Red Sands",
- "description": "Apple Terminal Red Sands profile: deep red background with sandy text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-red-sands.html",
- "target": "compositions/code-snippet-apple-terminal-red-sands.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-red-sands.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-red-sands.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-silver-aerogel/code-snippet-apple-terminal-silver-aerogel.html b/registry/blocks/code-snippet-apple-terminal-silver-aerogel/code-snippet-apple-terminal-silver-aerogel.html
deleted file mode 100644
index 7c56fbd4d7..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-silver-aerogel/code-snippet-apple-terminal-silver-aerogel.html
+++ /dev/null
@@ -1,250 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Silver Aerogel</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #2a2a2a;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #3a3a3a 0%, #1c1c1c 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.6),
- 0 10px 30px rgba(232, 232, 232, 0.05);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #2a2a2a;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #444444;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #3d3d3d;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: #aaaaaa;
- }
-
- .output-line.success {
- color: #7fffb3;
- }
-
- .output-line.warn {
- color: #ffd700;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #e8e8e8;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #e8e8e8;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-silver-aerogel"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys010</span>
- <span class="output-line">Checking system resources...</span>
- <span class="output-line">Filesystem Size Used Avail Use%</span>
- <span class="output-line">/dev/disk3s1s1 460G 142G 302G 32%</span>
- <span class="output-line dim">/dev/disk3s6 460G 5.0G 302G 2%</span>
- <span class="output-line">/dev/disk3s2 460G 11G 302G 4%</span>
- <span class="output-line warn">Memory: 14.2 GB / 16.0 GB used (89%)</span>
- <span class="output-line success">CPU: 8-core, 12% load average</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "df -h && vm_stat";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-silver-aerogel"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-silver-aerogel/registry-item.json b/registry/blocks/code-snippet-apple-terminal-silver-aerogel/registry-item.json
deleted file mode 100644
index c42a2797e3..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-silver-aerogel/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-silver-aerogel",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Silver Aerogel",
- "description": "Apple Terminal Silver Aerogel profile: dark grey background with white text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-silver-aerogel.html",
- "target": "compositions/code-snippet-apple-terminal-silver-aerogel.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.png"
- }
-}
diff --git a/registry/blocks/code-snippet-apple-terminal-solid-colors/code-snippet-apple-terminal-solid-colors.html b/registry/blocks/code-snippet-apple-terminal-solid-colors/code-snippet-apple-terminal-solid-colors.html
deleted file mode 100644
index f8164fb0cf..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-solid-colors/code-snippet-apple-terminal-solid-colors.html
+++ /dev/null
@@ -1,247 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Apple Terminal Solid Colors</title>
- <style>
- html,
- body {
- margin: 0;
- padding: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #4c0099;
- font-family: "SF Mono", Menlo, Monaco, Consolas, "Courier New", monospace;
- }
-
- #scene {
- width: 1920px;
- height: 1080px;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- background: radial-gradient(ellipse at center, #5a00b3 0%, #2e0060 100%);
- }
-
- .terminal-window {
- width: 1400px;
- height: 700px;
- border-radius: 10px;
- overflow: hidden;
- box-shadow:
- 0 30px 80px rgba(0, 0, 0, 0.7),
- 0 10px 30px rgba(76, 0, 153, 0.4);
- display: flex;
- flex-direction: column;
- }
-
- .titlebar {
- height: 38px;
- background: #3a0077;
- display: flex;
- align-items: center;
- padding: 0 14px;
- flex-shrink: 0;
- border-bottom: 1px solid #6600bb;
- position: relative;
- }
-
- .traffic-lights {
- display: flex;
- gap: 8px;
- align-items: center;
- }
-
- .traffic-lights span {
- width: 13px;
- height: 13px;
- border-radius: 50%;
- display: inline-block;
- }
-
- .traffic-lights .close {
- background: #ff5f57;
- border: 1px solid #e0443e;
- }
-
- .traffic-lights .minimize {
- background: #ffbd2e;
- border: 1px solid #dfa123;
- }
-
- .traffic-lights .fullscreen {
- background: #28c840;
- border: 1px solid #1aab29;
- }
-
- .window-title {
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- font-size: 13px;
- color: #ffffff;
- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
- font-weight: 500;
- letter-spacing: -0.1px;
- }
-
- .terminal-canvas {
- flex: 1;
- background: #4c0099;
- padding: 18px 20px;
- overflow: hidden;
- font-size: 14px;
- line-height: 1.6;
- color: #ffffff;
- }
-
- .output-lines {
- margin-bottom: 4px;
- }
-
- .output-line {
- display: block;
- white-space: pre;
- opacity: 0;
- color: #ffffff;
- }
-
- .output-line.bold {
- font-weight: bold;
- color: #ffffff;
- }
-
- .output-line.dim {
- color: rgba(255, 255, 255, 0.55);
- }
-
- .output-line.accent {
- color: #cc99ff;
- font-weight: bold;
- }
-
- .input-line {
- display: flex;
- align-items: center;
- white-space: pre;
- }
-
- .prompt {
- color: #cc99ff;
- font-weight: bold;
- user-select: none;
- }
-
- .typed-command {
- color: #ffffff;
- }
-
- .cursor-block {
- display: inline-block;
- width: 9px;
- height: 16px;
- background: #ffffff;
- vertical-align: text-bottom;
- margin-left: 1px;
- }
- </style>
- </head>
- <body>
- <div
- id="scene"
- data-composition-id="code-snippet-apple-terminal-solid-colors"
- data-width="1920"
- data-height="1080"
- >
- <div class="terminal-window">
- <div class="titlebar">
- <div class="traffic-lights">
- <span class="close"></span>
- <span class="minimize"></span>
- <span class="fullscreen"></span>
- </div>
- <span class="window-title">bash — 80×24</span>
- </div>
- <div class="terminal-canvas">
- <div class="output-lines">
- <span class="output-line dim">Last login: Mon Jun 2 09:14:22 on ttys011</span>
- <span class="output-line">Initializing HyperFrames project...</span>
- <span class="output-line dim"> Creating project structure</span>
- <span class="output-line dim"> Copying template files</span>
- <span class="output-line dim"> Installing dependencies</span>
- <span class="output-line"> added 142 packages in 3.4s</span>
- <span class="output-line accent"> ✓ Project ready at ./my-video</span>
- <span class="output-line bold"> Run: cd my-video && npx hyperframes preview</span>
- </div>
- <div class="input-line">
- <span class="prompt">user@Mac ~ % </span><span class="typed-command"></span
- ><span class="cursor-block"></span>
- </div>
- </div>
- </div>
- </div>
-
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- window.__timelines = window.__timelines || {};
-
- const command = "npx hyperframes init my-video";
- const typedEl = document.querySelector(".typed-command");
- const cursorEl = document.querySelector(".cursor-block");
- const outputLines = document.querySelectorAll(".output-line");
-
- const tl = gsap.timeline({ paused: true });
-
- tl.set(typedEl, { text: "" }, 0);
-
- const charDuration = 1.5 / command.length;
- command.split("").forEach((char, i) => {
- tl.add(
- () => {
- typedEl.textContent = command.slice(0, i + 1);
- },
- 0.5 + i * charDuration,
- );
- });
-
- tl.set(cursorEl, { opacity: 0 }, 2.2);
- tl.set(outputLines[0], { opacity: 1 }, 2.3);
-
- tl.add(() => {
- typedEl.textContent = "";
- }, 2.5);
-
- outputLines.forEach((line, i) => {
- if (i === 0) return;
- tl.set(line, { opacity: 1 }, 2.8 + i * 0.1);
- });
-
- tl.add(() => {
- const inputLine = document.querySelector(".input-line");
- const newPrompt = document.createElement("div");
- newPrompt.className = "input-line";
- newPrompt.innerHTML =
- '<span class="prompt">user@Mac ~ % </span><span class="typed-command"></span><span class="cursor-block" id="final-cursor"></span>';
- inputLine.style.display = "none";
- inputLine.parentNode.appendChild(newPrompt);
- }, 4.2);
-
- const blinkTimes = [4.4, 4.8, 5.2, 5.6, 6.0, 6.4];
- blinkTimes.forEach((t, i) => {
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = i % 2 === 0 ? "0" : "1";
- }, t);
- });
- tl.add(() => {
- const fc = document.getElementById("final-cursor");
- if (fc) fc.style.opacity = "1";
- }, 6.8);
-
- window.__timelines["code-snippet-apple-terminal-solid-colors"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-apple-terminal-solid-colors/registry-item.json b/registry/blocks/code-snippet-apple-terminal-solid-colors/registry-item.json
deleted file mode 100644
index b9c41e2f89..0000000000
--- a/registry/blocks/code-snippet-apple-terminal-solid-colors/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-apple-terminal-solid-colors",
- "type": "hyperframes:block",
- "title": "Code Snippet - Apple Terminal Solid Colors",
- "description": "Apple Terminal Solid Colors profile: deep purple background with white text, per-character typing animation of a shell session.",
- "tags": ["code", "developer", "showcase", "terminal", "apple", "apple-terminal"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 12,
- "files": [
- {
- "path": "code-snippet-apple-terminal-solid-colors.html",
- "target": "compositions/code-snippet-apple-terminal-solid-colors.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-solid-colors.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-apple-terminal-solid-colors.png"
- }
-}
diff --git a/registry/blocks/code-snippet-dark-plus/background.jpeg b/registry/blocks/code-snippet-dark-plus/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-dark-plus/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-dark-plus/code-snippet-dark-plus.html b/registry/blocks/code-snippet-dark-plus/code-snippet-dark-plus.html
deleted file mode 100644
index 0798646b19..0000000000
--- a/registry/blocks/code-snippet-dark-plus/code-snippet-dark-plus.html
+++ /dev/null
@@ -1,1056 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Dark+ VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-dark-plus-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-dark-plus"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Dark+</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">dark_plus.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-dark-plus"] =
- window.__timelines["vscode-dark-plus"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-dark-plus", {
- id: "dark-plus",
- label: "Dark+",
- sourceFile: "dark_plus.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d7ba7d",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#4FC1FF",
- parameter: "#9CDCFE",
- operator: "#d7ba7d",
- punctuation: "#CE9178",
- className: "#4EC9B0",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-dark-plus/registry-item.json b/registry/blocks/code-snippet-dark-plus/registry-item.json
deleted file mode 100644
index bcce17f108..0000000000
--- a/registry/blocks/code-snippet-dark-plus/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-dark-plus",
- "type": "hyperframes:block",
- "title": "Code Snippet - Dark+",
- "description": "VS Code workbench with per-character typing animation in the Dark+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-dark-plus.html",
- "target": "compositions/code-snippet-dark-plus.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-flight/code-snippet-flight.html b/registry/blocks/code-snippet-flight/code-snippet-flight.html
deleted file mode 100644
index f850637c69..0000000000
--- a/registry/blocks/code-snippet-flight/code-snippet-flight.html
+++ /dev/null
@@ -1,668 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Code Snippet Flight</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body {
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #05070b;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- font-family: "JetBrains Mono", monospace;
- color: #e6edf3;
- }
- .bg-field {
- position: absolute;
- inset: 0;
- background: radial-gradient(1200px 700px at 50% 18%, #0e1726 0%, #070b12 55%, #05070b 100%);
- }
- .bg-grid {
- position: absolute;
- inset: 0;
- background-image:
- linear-gradient(rgba(88, 166, 255, 0.05) 1px, transparent 1px),
- linear-gradient(90deg, rgba(88, 166, 255, 0.05) 1px, transparent 1px);
- background-size: 64px 64px;
- mask-image: radial-gradient(1100px 620px at 50% 42%, #000 0%, transparent 78%);
- }
- .bg-glow {
- position: absolute;
- width: 900px;
- height: 900px;
- border-radius: 50%;
- filter: blur(120px);
- opacity: 0.5;
- }
- .bg-glow.a {
- background: #1f6feb55;
- left: -180px;
- top: -200px;
- }
- .bg-glow.b {
- background: #2ea04355;
- right: -200px;
- bottom: -260px;
- }
- .editor {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 1380px;
- height: 800px;
- background: #0b0f17;
- border: 1px solid #1d2733;
- border-radius: 16px;
- box-shadow:
- 0 40px 120px rgba(0, 0, 0, 0.6),
- 0 2px 0 rgba(255, 255, 255, 0.03) inset;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- }
- .titlebar {
- height: 56px;
- flex: 0 0 56px;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 0 22px;
- background: linear-gradient(#11161f, #0c111a);
- border-bottom: 1px solid #1b2430;
- }
- .dots {
- display: flex;
- gap: 10px;
- }
- .dot {
- width: 14px;
- height: 14px;
- border-radius: 50%;
- }
- .dot.r {
- background: #ff5f57;
- }
- .dot.y {
- background: #febc2e;
- }
- .dot.g {
- background: #28c840;
- }
- .filename {
- font-size: 19px;
- color: #8b98a9;
- letter-spacing: 0.2px;
- }
- .filename .accent {
- color: #d6e2f0;
- }
- .code-surface {
- position: relative;
- flex: 1 1 auto;
- overflow: hidden;
- }
- .scene {
- position: absolute;
- inset: 0;
- opacity: 0;
- will-change: opacity;
- }
- .code {
- position: absolute;
- top: 38px;
- left: 0;
- right: 0;
- padding: 0 44px 0 104px;
- font-size: 30px;
- line-height: 46px;
- font-variant-ligatures: none;
- tab-size: 2;
- }
- .gutter {
- position: absolute;
- top: 38px;
- left: 0;
- width: 84px;
- padding-right: 18px;
- font-size: 30px;
- line-height: 46px;
- text-align: right;
- color: #828c9b;
- user-select: none;
- }
- .ln {
- display: block;
- height: 46px;
- }
- .line {
- display: block;
- min-height: 46px;
- white-space: pre;
- position: relative;
- z-index: 1;
- }
- .tok {
- display: inline-block;
- white-space: pre;
- will-change: transform, opacity;
- }
- .caret {
- position: absolute;
- top: 0;
- left: 0;
- width: 3px;
- height: 32px;
- margin-top: 6px;
- background: #58a6ff;
- border-radius: 1px;
- z-index: 3;
- }
- .hl-box {
- position: absolute;
- background: rgba(88, 166, 255, 0.16);
- border-left: 3px solid #58a6ff;
- border-radius: 6px;
- z-index: 0;
- overflow: hidden;
- }
- .diff-line {
- display: block;
- min-height: 0;
- line-height: 46px;
- white-space: pre;
- position: relative;
- overflow: hidden;
- padding-left: 14px;
- }
- .diff-sign {
- display: inline-block;
- width: 22px;
- color: #41506220;
- }
- .diff-del {
- background: rgba(248, 81, 73, 0.12);
- box-shadow: inset 3px 0 #f85149;
- }
- .diff-add {
- background: rgba(63, 185, 80, 0.12);
- box-shadow: inset 3px 0 #3fb950;
- }
- .diff-del .diff-sign {
- color: #f85149;
- }
- .diff-add .diff-sign {
- color: #3fb950;
- }
- .flight-block {
- position: absolute;
- white-space: pre;
- font-size: 27px;
- line-height: 40px;
- padding: 11px 22px;
- border-radius: 11px;
- background: #0f1722;
- border: 1px solid #233044;
- box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
- will-change: transform, opacity;
- }
- .flight-target {
- position: absolute;
- border: 1.5px dashed #2a3a4f;
- border-radius: 14px;
- opacity: 0;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="code-snippet-flight"
- data-start="0"
- data-duration="6"
- data-width="1920"
- data-height="1080"
- >
- <div class="bg-field" data-layout-ignore></div>
- <div class="bg-grid" data-layout-ignore></div>
- <div class="bg-glow a" data-layout-ignore></div>
- <div class="bg-glow b" data-layout-ignore></div>
- <div class="editor" id="editor" data-layout-ignore>
- <div class="titlebar">
- <div class="dots">
- <span class="dot r"></span><span class="dot y"></span><span class="dot g"></span>
- </div>
- <span class="filename"
- ><span class="accent">pipeline.js</span> — Code Snippet Flight</span
- >
- </div>
- <div class="code-surface" id="surface"></div>
- </div>
- </div>
- <script>
- window.__TOKENS = {
- flight: {
- lang: "js",
- theme: "github-dark",
- bg: "#24292e",
- fg: "#e1e4e8",
- states: [
- {
- code: "const x = parse(input)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-2",
- content: "x",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-6",
- content: "parse",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-7",
- content: "(input)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- {
- code: "const y = transform(x)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-2",
- content: "y",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-6",
- content: "transform",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-7",
- content: "(x)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "ulDeJnFQa2Vy-61y5zTTA7sNfq7d4aUawNMAxQ6sVgg-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- {
- code: "const z = render(y)",
- tokens: [
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-0",
- content: "const",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-1",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-2",
- content: "z",
- color: "#79B8FF",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-3",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-4",
- content: "=",
- color: "#F97583",
- fontStyle: 0,
- },
- {
- key: "qABRRXThYBzvlFJqemsh1aauYJqWMIPHhxkj-uoxex4-5",
- content: " ",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-6",
- content: "render",
- color: "#B392F0",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-7",
- content: "(y)",
- color: "#E1E4E8",
- fontStyle: 0,
- },
- {
- key: "wFuhzZNydG-3inU2s1h1gU8Kivya8CAP9gl9S4MBQj4-8",
- content: "\n",
- color: "#e1e4e8",
- fontStyle: 0,
- },
- ],
- },
- ],
- },
- };
- window.__BLOCK = { id: "code-snippet-flight", effect: "flight", seq: "flight", duration: 6 };
- </script>
- <script>
- // hf-code-anim.js — self-contained code-animation engine for HyperFrames registry blocks.
- //
- // Reuses Shiki Magic Move's baked output (window.__TOKENS, baked at author time) and
- // drives the animation as a PAUSED GSAP timeline the HyperFrames engine seeks per frame —
- // NOT CSS transitions (those break under non-sequential frame seeking). FLIP measurement
- // runs once inside document.fonts.ready (glyph metrics must be final). Each block sets
- // window.__BLOCK = { id, effect, seq, line?, duration } and includes this engine; the
- // engine builds one scene that fills the composition and registers window.__timelines[id].
- (function () {
- "use strict";
- var T = window.__TOKENS || {};
-
- function lineDiv() {
- var d = document.createElement("div");
- d.className = "line";
- return d;
- }
-
- // Render a code state's keyed tokens into codeEl as lines of inline-block .tok spans.
- function renderState(codeEl, state) {
- codeEl.textContent = "";
- var keyToEl = new Map();
- var line = lineDiv();
- codeEl.appendChild(line);
- for (var i = 0; i < state.tokens.length; i++) {
- var t = state.tokens[i];
- if (t.content === "\n") {
- line = lineDiv();
- codeEl.appendChild(line);
- continue;
- }
- var span = document.createElement("span");
- span.className = "tok";
- span.textContent = t.content;
- span.style.color = t.color;
- if (t.fontStyle & 1) span.style.fontStyle = "italic";
- if (t.fontStyle & 2) span.style.fontWeight = "700";
- line.appendChild(span);
- keyToEl.set(t.key, span);
- }
- var last = codeEl.lastChild;
- if (last && last.className === "line" && last.children.length === 0)
- codeEl.removeChild(last);
- return keyToEl;
- }
-
- function rectsOf(keyToEl) {
- var m = new Map();
- keyToEl.forEach(function (el, k) {
- var r = el.getBoundingClientRect();
- m.set(k, { left: r.left, top: r.top });
- });
- return m;
- }
-
- function makeScene(surface, withGutter) {
- var scene = document.createElement("div");
- scene.className = "scene";
- if (withGutter) {
- var g = document.createElement("div");
- g.className = "gutter";
- scene.appendChild(g);
- }
- var code = document.createElement("div");
- code.className = "code";
- scene.appendChild(code);
- surface.appendChild(scene);
- return { scene: scene, code: code, gutter: scene.querySelector(".gutter") };
- }
-
- function fillGutter(g, n) {
- var html = "";
- for (var i = 1; i <= n; i++) html += '<span class="ln">' + i + "</span>";
- g.innerHTML = html;
- }
-
- function splitLines(state) {
- var lines = [{ text: "", tokens: [] }];
- for (var i = 0; i < state.tokens.length; i++) {
- var t = state.tokens[i];
- if (t.content === "\n") {
- lines.push({ text: "", tokens: [] });
- continue;
- }
- var cur = lines[lines.length - 1];
- cur.tokens.push(t);
- cur.text += t.content;
- }
- if (lines.length && lines[lines.length - 1].tokens.length === 0) lines.pop();
- return lines;
- }
-
- function lineDiff(a, b) {
- var n = a.length;
- var m = b.length;
- var dp = [];
- for (var i = 0; i <= n; i++) dp.push(new Array(m + 1).fill(0));
- for (var i = n - 1; i >= 0; i--) {
- for (var j = m - 1; j >= 0; j--) {
- dp[i][j] =
- a[i].text === b[j].text
- ? dp[i + 1][j + 1] + 1
- : Math.max(dp[i + 1][j], dp[i][j + 1]);
- }
- }
- var ops = [];
- var i = 0;
- var j = 0;
- while (i < n && j < m) {
- if (a[i].text === b[j].text) {
- ops.push({ type: "same", line: b[j] });
- i++;
- j++;
- } else if (dp[i + 1][j] >= dp[i][j + 1]) {
- ops.push({ type: "del", line: a[i] });
- i++;
- } else {
- ops.push({ type: "add", line: b[j] });
- j++;
- }
- }
- while (i < n) ops.push({ type: "del", line: a[i++] });
- while (j < m) ops.push({ type: "add", line: b[j++] });
- return ops;
- }
-
- // ---- single-scene effect builders (fade in, play, hold to end) -------------
- var FADE = 0.45;
-
- function flight(tl, surface, states, start) {
- var FLY = 0.95;
- var STAGGER = 0.26;
- var GAP = 20;
- var parts = makeScene(surface, false);
- parts.code.remove();
- var scene = parts.scene;
- var target = document.createElement("div");
- target.className = "flight-target";
- scene.appendChild(target);
- var W = surface.clientWidth;
- var H = surface.clientHeight;
-
- var blocks = states.map(function (st) {
- var blk = document.createElement("div");
- blk.className = "flight-block";
- renderState(blk, st);
- scene.appendChild(blk);
- return blk;
- });
- var n = blocks.length;
-
- // Pass 1: measure natural size, then make every chip the SAME width (symmetry).
- var maxW = 0;
- var chipH = 0;
- blocks.forEach(function (blk) {
- var r = blk.getBoundingClientRect();
- if (r.width > maxW) maxW = r.width;
- if (r.height > chipH) chipH = r.height;
- });
- blocks.forEach(function (blk) {
- blk.style.width = maxW + "px";
- });
-
- // Pass 2: evenly-stacked, left-aligned, group centered in the surface.
- var stackH = n * chipH + (n - 1) * GAP;
- var destLeft = Math.round((W - maxW) / 2);
- var topY = Math.round((H - stackH) / 2);
- blocks.forEach(function (blk, i) {
- var destY = topY + i * (chipH + GAP);
- blk.style.left = destLeft + "px";
- blk.style.top = destY + "px";
- // fly straight in from the left to the shared left edge — clean, no skew
- var srcX = destLeft - W * 0.32;
- tl.fromTo(
- blk,
- { x: srcX - destLeft, opacity: 0, scale: 0.96 },
- { x: 0, opacity: 1, scale: 1, duration: FLY, ease: "power3.out" },
- start + FADE + i * STAGGER,
- );
- });
-
- // Even-padded panel tightly wrapping the uniform stack.
- var padX = 30;
- var padY = 24;
- target.style.left = destLeft - padX + "px";
- target.style.top = topY - padY + "px";
- target.style.width = maxW + padX * 2 + "px";
- target.style.height = stackH + padY * 2 + "px";
- var landAt = start + FADE + (n - 1) * STAGGER + FLY;
- tl.set(scene, { opacity: 1 }, 0);
- tl.to(target, { opacity: 1, duration: 0.5, ease: "power1.out" }, landAt - 0.5);
- }
-
- function buildEffect(tl, surface, spec) {
- var start = 0.45;
- var seq = T[spec.seq];
- if (spec.effect === "flight") flight(tl, surface, seq.states, start);
- }
-
- function go() {
- var spec = window.__BLOCK;
- var surface = document.getElementById("surface");
- var root = document.getElementById("root");
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- document.fonts.ready.then(function () {
- tl.from("#editor", { opacity: 0, scale: 0.985, duration: 0.5, ease: "power2.out" }, 0);
- buildEffect(tl, surface, spec);
- var dur = parseFloat(root.dataset.duration) || tl.duration();
- tl.to({}, { duration: dur }, 0); // pad to full composition length
- window.__timelines["code-snippet-flight"] = tl; // register AFTER setup completes
- if (typeof window.__hfForceTimelineRebind === "function") {
- window.__hfForceTimelineRebind(); // re-nest now that we are populated
- }
- });
- }
-
- if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", go);
- else go();
- })();
- </script>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-flight/registry-item.json b/registry/blocks/code-snippet-flight/registry-item.json
deleted file mode 100644
index bea133568f..0000000000
--- a/registry/blocks/code-snippet-flight/registry-item.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-flight",
- "type": "hyperframes:block",
- "title": "Code Snippet Flight",
- "description": "Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP.",
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 6,
- "tags": ["code", "code-animation", "flight", "developer"],
- "files": [
- {
- "path": "code-snippet-flight.html",
- "target": "compositions/code-snippet-flight.html",
- "type": "hyperframes:composition"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-flight.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-snippet-flight.png"
- }
-}
diff --git a/registry/blocks/code-snippet-high-contrast-light/background.jpeg b/registry/blocks/code-snippet-high-contrast-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-high-contrast-light/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-high-contrast-light/code-snippet-high-contrast-light.html b/registry/blocks/code-snippet-high-contrast-light/code-snippet-high-contrast-light.html
deleted file mode 100644
index 458449b63e..0000000000
--- a/registry/blocks/code-snippet-high-contrast-light/code-snippet-high-contrast-light.html
+++ /dev/null
@@ -1,1051 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-high-contrast-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-high-contrast-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Default High Contrast Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">hc_light.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-high-contrast-light"] =
- window.__timelines["vscode-high-contrast-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-high-contrast-light", {
- id: "high-contrast-light",
- label: "Default High Contrast Light",
- sourceFile: "hc_light.json",
- uiTheme: "vs",
- colors: {
- "statusBarItem.remoteBackground": "#FFFFFF",
- "statusBarItem.remoteForeground": "#000000",
- },
- tokens: {
- comment: "#515151",
- keyword: "#EE0000",
- function: "#5e2cbc",
- string: "#811F3F",
- number: "#096d48",
- variable: "#02715D",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#D16969",
- className: "#185E73",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-high-contrast-light/registry-item.json b/registry/blocks/code-snippet-high-contrast-light/registry-item.json
deleted file mode 100644
index 13fc5ef729..0000000000
--- a/registry/blocks/code-snippet-high-contrast-light/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-high-contrast-light",
- "type": "hyperframes:block",
- "title": "Code Snippet - High Contrast Light",
- "description": "VS Code workbench with per-character typing animation in the High Contrast Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-high-contrast-light.html",
- "target": "compositions/code-snippet-high-contrast-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-high-contrast/background.jpeg b/registry/blocks/code-snippet-high-contrast/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-high-contrast/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-high-contrast/code-snippet-high-contrast.html b/registry/blocks/code-snippet-high-contrast/code-snippet-high-contrast.html
deleted file mode 100644
index b4a562dcea..0000000000
--- a/registry/blocks/code-snippet-high-contrast/code-snippet-high-contrast.html
+++ /dev/null
@@ -1,1054 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-high-contrast-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-high-contrast"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Default High Contrast</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">hc_black.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-high-contrast"] =
- window.__timelines["vscode-high-contrast"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-high-contrast", {
- id: "high-contrast",
- label: "Default High Contrast",
- sourceFile: "hc_black.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#000000",
- "editor.foreground": "#FFFFFF",
- "editor.selectionBackground": "#FFFFFF",
- "sideBarTitle.foreground": "#FFFFFF",
- "statusBarItem.remoteBackground": "#00000000",
- },
- tokens: {
- comment: "#7ca668",
- keyword: "#C586C0",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#9CDCFE",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#4EC9B0",
- className: "#4EC9B0",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-high-contrast/registry-item.json b/registry/blocks/code-snippet-high-contrast/registry-item.json
deleted file mode 100644
index b37c01bec3..0000000000
--- a/registry/blocks/code-snippet-high-contrast/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-high-contrast",
- "type": "hyperframes:block",
- "title": "Code Snippet - High Contrast",
- "description": "VS Code workbench with per-character typing animation in the High Contrast theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-high-contrast.html",
- "target": "compositions/code-snippet-high-contrast.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-light-2026/background.jpeg b/registry/blocks/code-snippet-light-2026/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-light-2026/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-light-2026/code-snippet-light-2026.html b/registry/blocks/code-snippet-light-2026/code-snippet-light-2026.html
deleted file mode 100644
index dcd8e0b09e..0000000000
--- a/registry/blocks/code-snippet-light-2026/code-snippet-light-2026.html
+++ /dev/null
@@ -1,1090 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light 2026 VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-2026-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-2026"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light 2026</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">2026-light.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-2026"] =
- window.__timelines["vscode-light-2026"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-2026", {
- id: "light-2026",
- label: "Light 2026",
- sourceFile: "2026-light.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#000000",
- "activityBar.background": "#FAFAFD",
- "activityBar.border": "#F0F1F2FF",
- "activityBar.foreground": "#202020",
- "activityBar.inactiveForeground": "#606060",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#202020",
- "editor.lineHighlightBackground": "#EAEAEA40",
- "editor.selectionBackground": "#0069CC40",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#FAFAFD",
- "editorGroupHeader.tabsBorder": "#F0F1F2FF",
- "editorLineNumber.activeForeground": "#202020",
- "editorLineNumber.foreground": "#606060",
- foreground: "#202020",
- "icon.foreground": "#606060",
- "panel.background": "#FAFAFD",
- "panel.border": "#F0F1F2FF",
- "sideBar.background": "#FAFAFD",
- "sideBar.border": "#F0F1F2FF",
- "sideBar.foreground": "#202020",
- "sideBarSectionHeader.background": "#FAFAFD",
- "sideBarSectionHeader.border": "#F0F1F2FF",
- "sideBarSectionHeader.foreground": "#202020",
- "sideBarTitle.foreground": "#202020",
- "statusBar.background": "#FAFAFD",
- "statusBar.border": "#F0F1F2FF",
- "statusBar.foreground": "#606060",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#FFFFFF",
- "tab.activeBorderTop": "#000000",
- "tab.activeForeground": "#202020",
- "tab.border": "#F0F1F2FF",
- "tab.inactiveBackground": "#FAFAFD",
- "tab.inactiveForeground": "#606060",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#202020",
- "titleBar.activeBackground": "#FAFAFD",
- "titleBar.activeForeground": "#606060",
- },
- tokens: {
- comment: "#6e7781",
- keyword: "#1f2328",
- function: "#0550ae",
- string: "#0a3069",
- number: "#0550ae",
- variable: "#1f2328",
- parameter: "#953800",
- operator: "#cf222e",
- punctuation: "#953800",
- className: "#116329",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-light-2026/registry-item.json b/registry/blocks/code-snippet-light-2026/registry-item.json
deleted file mode 100644
index 1da980e1af..0000000000
--- a/registry/blocks/code-snippet-light-2026/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-light-2026",
- "type": "hyperframes:block",
- "title": "Code Snippet - Light 2026",
- "description": "VS Code workbench with per-character typing animation in the Light 2026 theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-light-2026.html",
- "target": "compositions/code-snippet-light-2026.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-light-modern/background.jpeg b/registry/blocks/code-snippet-light-modern/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-light-modern/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-light-modern/code-snippet-light-modern.html b/registry/blocks/code-snippet-light-modern/code-snippet-light-modern.html
deleted file mode 100644
index b42746122e..0000000000
--- a/registry/blocks/code-snippet-light-modern/code-snippet-light-modern.html
+++ /dev/null
@@ -1,1088 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light Modern VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-modern-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-modern"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light Modern</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_modern.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-modern"] =
- window.__timelines["vscode-light-modern"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-modern", {
- id: "light-modern",
- label: "Light Modern",
- sourceFile: "light_modern.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#005FB8",
- "activityBar.background": "#F8F8F8",
- "activityBar.border": "#E5E5E5",
- "activityBar.foreground": "#1F1F1F",
- "activityBar.inactiveForeground": "#616161",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#3B3B3B",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#F8F8F8",
- "editorGroupHeader.tabsBorder": "#E5E5E5",
- "editorLineNumber.activeForeground": "#171184",
- "editorLineNumber.foreground": "#6E7681",
- foreground: "#3B3B3B",
- "icon.foreground": "#3B3B3B",
- "panel.background": "#F8F8F8",
- "panel.border": "#E5E5E5",
- "sideBar.background": "#F8F8F8",
- "sideBar.border": "#E5E5E5",
- "sideBar.foreground": "#3B3B3B",
- "sideBarSectionHeader.background": "#F8F8F8",
- "sideBarSectionHeader.border": "#E5E5E5",
- "sideBarSectionHeader.foreground": "#3B3B3B",
- "sideBarTitle.foreground": "#3B3B3B",
- "statusBar.background": "#F8F8F8",
- "statusBar.border": "#E5E5E5",
- "statusBar.foreground": "#3B3B3B",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#F8F8F8",
- "tab.activeBorderTop": "#005FB8",
- "tab.activeForeground": "#3B3B3B",
- "tab.border": "#E5E5E5",
- "tab.inactiveBackground": "#F8F8F8",
- "tab.inactiveForeground": "#868686",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#005FB8",
- "titleBar.activeBackground": "#F8F8F8",
- "titleBar.activeForeground": "#1E1E1E",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-light-modern/registry-item.json b/registry/blocks/code-snippet-light-modern/registry-item.json
deleted file mode 100644
index 7f2476abe4..0000000000
--- a/registry/blocks/code-snippet-light-modern/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-light-modern",
- "type": "hyperframes:block",
- "title": "Code Snippet - Light Modern",
- "description": "VS Code workbench with per-character typing animation in the Light Modern theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-light-modern.html",
- "target": "compositions/code-snippet-light-modern.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-light-plus/background.jpeg b/registry/blocks/code-snippet-light-plus/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-light-plus/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-light-plus/code-snippet-light-plus.html b/registry/blocks/code-snippet-light-plus/code-snippet-light-plus.html
deleted file mode 100644
index c2c870c51f..0000000000
--- a/registry/blocks/code-snippet-light-plus/code-snippet-light-plus.html
+++ /dev/null
@@ -1,1056 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light+ VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-light-plus-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-light-plus"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Light+</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_plus.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-light-plus"] =
- window.__timelines["vscode-light-plus"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-light-plus", {
- id: "light-plus",
- label: "Light+",
- sourceFile: "light_plus.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-light-plus/registry-item.json b/registry/blocks/code-snippet-light-plus/registry-item.json
deleted file mode 100644
index 09b5e88485..0000000000
--- a/registry/blocks/code-snippet-light-plus/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-light-plus",
- "type": "hyperframes:block",
- "title": "Code Snippet - Light+",
- "description": "VS Code workbench with per-character typing animation in the Light+ theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-light-plus.html",
- "target": "compositions/code-snippet-light-plus.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-monokai/background.jpeg b/registry/blocks/code-snippet-monokai/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-monokai/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-monokai/code-snippet-monokai.html b/registry/blocks/code-snippet-monokai/code-snippet-monokai.html
deleted file mode 100644
index c6a60cb6b6..0000000000
--- a/registry/blocks/code-snippet-monokai/code-snippet-monokai.html
+++ /dev/null
@@ -1,1068 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Monokai VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-monokai-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-monokai"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Monokai</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">monokai-color-theme.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-monokai"] =
- window.__timelines["vscode-monokai"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-monokai", {
- id: "monokai",
- label: "Monokai",
- sourceFile: "monokai-color-theme.json",
- uiTheme: "vs-dark",
- colors: {
- "activityBar.background": "#272822",
- "activityBar.foreground": "#f8f8f2",
- "editor.background": "#272822",
- "editor.foreground": "#f8f8f2",
- "editor.lineHighlightBackground": "#3e3d32",
- "editor.selectionBackground": "#878b9180",
- "editorGroup.border": "#34352f",
- "editorGroupHeader.tabsBackground": "#1e1f1c",
- "editorLineNumber.activeForeground": "#c2c2bf",
- "editorLineNumber.foreground": "#90908a",
- "panel.border": "#414339",
- "sideBar.background": "#1e1f1c",
- "sideBarSectionHeader.background": "#272822",
- "statusBar.background": "#414339",
- "statusBarItem.remoteBackground": "#AC6218",
- "tab.border": "#1e1f1c",
- "tab.inactiveBackground": "#34352f",
- "tab.inactiveForeground": "#ccccc7",
- "titleBar.activeBackground": "#1e1f1c",
- },
- tokens: {
- comment: "#88846f",
- keyword: "#66D9EF",
- function: "#66D9EF",
- string: "#AE81FF",
- number: "#AE81FFA0",
- variable: "#FD971F",
- parameter: "#FD971F",
- operator: "#F92672",
- punctuation: "#A6E22E",
- className: "#66D9EF",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-monokai/registry-item.json b/registry/blocks/code-snippet-monokai/registry-item.json
deleted file mode 100644
index f8acb0bcb1..0000000000
--- a/registry/blocks/code-snippet-monokai/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-monokai",
- "type": "hyperframes:block",
- "title": "Code Snippet - Monokai",
- "description": "VS Code workbench with per-character typing animation in the Monokai theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-monokai.html",
- "target": "compositions/code-snippet-monokai.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-solarized-light/background.jpeg b/registry/blocks/code-snippet-solarized-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-solarized-light/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-solarized-light/code-snippet-solarized-light.html b/registry/blocks/code-snippet-solarized-light/code-snippet-solarized-light.html
deleted file mode 100644
index 9b67f06be6..0000000000
--- a/registry/blocks/code-snippet-solarized-light/code-snippet-solarized-light.html
+++ /dev/null
@@ -1,1070 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Solarized Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-solarized-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-solarized-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Solarized Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">solarized-light-color-theme.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-solarized-light"] =
- window.__timelines["vscode-solarized-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-solarized-light", {
- id: "solarized-light",
- label: "Solarized Light",
- sourceFile: "solarized-light-color-theme.json",
- uiTheme: "vs",
- colors: {
- "activityBar.background": "#DDD6C1",
- "activityBar.foreground": "#584c27",
- "editor.background": "#FDF6E3",
- "editor.foreground": "#657B83",
- "editor.lineHighlightBackground": "#EEE8D5",
- "editor.selectionBackground": "#EEE8D5",
- "editorGroup.border": "#DDD6C1",
- "editorGroupHeader.tabsBackground": "#D9D2C2",
- "editorLineNumber.activeForeground": "#567983",
- "panel.border": "#DDD6C1",
- "sideBar.background": "#EEE8D5",
- "sideBarTitle.foreground": "#586E75",
- "statusBar.background": "#EEE8D5",
- "statusBar.foreground": "#586E75",
- "statusBarItem.remoteBackground": "#AC9D57",
- "tab.activeBackground": "#FDF6E3",
- "tab.border": "#DDD6C1",
- "tab.inactiveBackground": "#D3CBB7",
- "tab.inactiveForeground": "#586E75",
- "terminal.background": "#FDF6E3",
- "titleBar.activeBackground": "#EEE8D5",
- },
- tokens: {
- comment: "#93A1A1",
- keyword: "#CB4B16",
- function: "#268BD2",
- string: "#DC322F",
- number: "#D33682",
- variable: "#268BD2",
- parameter: "#9CDCFE",
- operator: "#859900",
- punctuation: "#DC322F",
- className: "#CB4B16",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-solarized-light/registry-item.json b/registry/blocks/code-snippet-solarized-light/registry-item.json
deleted file mode 100644
index cf953c6457..0000000000
--- a/registry/blocks/code-snippet-solarized-light/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-solarized-light",
- "type": "hyperframes:block",
- "title": "Code Snippet - Solarized Light",
- "description": "VS Code workbench with per-character typing animation in the Solarized Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-solarized-light.html",
- "target": "compositions/code-snippet-solarized-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-visual-studio-dark/background.jpeg b/registry/blocks/code-snippet-visual-studio-dark/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-visual-studio-dark/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-visual-studio-dark/code-snippet-visual-studio-dark.html b/registry/blocks/code-snippet-visual-studio-dark/code-snippet-visual-studio-dark.html
deleted file mode 100644
index 0e539663e0..0000000000
--- a/registry/blocks/code-snippet-visual-studio-dark/code-snippet-visual-studio-dark.html
+++ /dev/null
@@ -1,1056 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Dark VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-visual-studio-dark-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-visual-studio-dark"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Visual Studio Dark</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">dark_vs.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-visual-studio-dark"] =
- window.__timelines["vscode-visual-studio-dark"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-visual-studio-dark", {
- id: "visual-studio-dark",
- label: "Visual Studio Dark",
- sourceFile: "dark_vs.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d4d4d4",
- function: "#9cdcfe",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#569cd6",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#569cd6",
- className: "#9cdcfe",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-visual-studio-dark/registry-item.json b/registry/blocks/code-snippet-visual-studio-dark/registry-item.json
deleted file mode 100644
index 4c2208d519..0000000000
--- a/registry/blocks/code-snippet-visual-studio-dark/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-visual-studio-dark",
- "type": "hyperframes:block",
- "title": "Code Snippet - Visual Studio Dark",
- "description": "VS Code workbench with per-character typing animation in the Visual Studio Dark theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-visual-studio-dark.html",
- "target": "compositions/code-snippet-visual-studio-dark.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/code-snippet-visual-studio-light/background.jpeg b/registry/blocks/code-snippet-visual-studio-light/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/blocks/code-snippet-visual-studio-light/background.jpeg and /dev/null differ
diff --git a/registry/blocks/code-snippet-visual-studio-light/code-snippet-visual-studio-light.html b/registry/blocks/code-snippet-visual-studio-light/code-snippet-visual-studio-light.html
deleted file mode 100644
index 1dd4c30d01..0000000000
--- a/registry/blocks/code-snippet-visual-studio-light/code-snippet-visual-studio-light.html
+++ /dev/null
@@ -1,1056 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Light VS Code Theme Composition</title>
- </head>
- <body>
- <template id="vscode-visual-studio-light-template">
- <div
- id="root"
- class="vscode-theme-scene"
- data-composition-id="vscode-visual-studio-light"
- data-width="1920"
- data-height="1080"
- >
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">Visual Studio Light</span></h1>
- </div>
- <p class="source-note">
- Typing `functional_toolkit.py` with workbench colors from
- <span class="theme-source">light_vs.json</span>.
- </p>
- </section>
-
- <section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="currentColor"
- d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M8 18 3 12l5-6m8 12 5-6-5-6"
- />
- </svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true">
- <path
- fill="none"
- stroke="currentColor"
- stroke-width="2"
- d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6"
- />
- </svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs">
- <span class="active">Terminal</span><span>Problems</span><span>Output</span>
- </div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
- </section>
- </main>
- <style>
- * {
- box-sizing: border-box;
- letter-spacing: 0;
- }
-
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- }
-
- #root {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
- }
-
- .scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
- }
-
- .header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
- }
-
- .kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
- }
-
- .title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
- }
-
- .source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
- }
-
- .workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
- }
-
- .titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
- }
-
- .traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
- }
-
- .traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
- }
-
- .traffic span:nth-child(1) {
- background: #ff5f57;
- }
- .traffic span:nth-child(2) {
- background: #ffbd2e;
- }
- .traffic span:nth-child(3) {
- background: #28c840;
- }
-
- .window-title {
- justify-self: center;
- opacity: 0.84;
- }
-
- .command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
- }
-
- .activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
- }
-
- .activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
- }
-
- .activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
- }
-
- .sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
- }
-
- .sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
- }
-
- .section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
- }
-
- .tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
- }
-
- .tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
- }
-
- .tree-row.child {
- padding-left: 34px;
- }
-
- .tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
- }
-
- .editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
- }
-
- .tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
- }
-
- .tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
- }
-
- .tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
- }
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
- }
-
- .editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
- }
-
- .active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
- }
-
- .code {
- position: relative;
- padding: 20px 36px 18px 0;
- }
-
- .line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
- }
-
- .line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
- }
-
- .line.is-active .line-number {
- color: var(--gutter-active-fg);
- }
-
- .line-code {
- white-space: pre;
- }
-
- .char {
- opacity: 0;
- }
-
- .tok-comment {
- color: var(--token-comment);
- }
- .tok-keyword {
- color: var(--token-keyword);
- }
- .tok-function {
- color: var(--token-function);
- }
- .tok-string {
- color: var(--token-string);
- }
- .tok-number {
- color: var(--token-number);
- }
- .tok-variable {
- color: var(--token-variable);
- }
- .tok-parameter {
- color: var(--token-parameter);
- }
- .tok-operator {
- color: var(--token-operator);
- }
- .tok-punctuation {
- color: var(--token-punctuation);
- }
- .tok-class-name {
- color: var(--token-class-name);
- }
-
- .caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
- }
-
- .terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
- }
-
- .panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
- }
-
- .panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
- }
-
- .terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
- }
-
- .prompt {
- color: var(--token-function);
- }
-
- .statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
- }
-
- .status-left,
- .status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
- }
-
- .remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
- }
-
- svg {
- display: block;
- }
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
- (() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return (
- theme.colors["tab.inactiveForeground"] ||
- theme.colors["editor.foreground"] ||
- "#586E75"
- );
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(
- root,
- "--activity-fg",
- solarizedUiGrey || color(theme, "activityBar.foreground"),
- );
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(
- root,
- "--tab-active-fg",
- solarizedUiGrey || color(theme, "tab.activeForeground"),
- );
- setVar(
- root,
- "--tab-inactive-fg",
- solarizedUiGrey || color(theme, "tab.inactiveForeground"),
- );
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(
- root,
- "--title-fg",
- solarizedUiGrey || color(theme, "titleBar.activeForeground"),
- );
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" +
- segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector(
- '[data-composition-id="' + compositionId + '"] .vscode-theme-scene',
- ) ||
- document.querySelector(
- '.vscode-theme-scene[data-composition-id="' + compositionId + '"]',
- ) ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
- })();
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-visual-studio-light"] =
- window.__timelines["vscode-visual-studio-light"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("vscode-visual-studio-light", {
- id: "visual-studio-light",
- label: "Visual Studio Light",
- sourceFile: "light_vs.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#000000",
- function: "#0451a5",
- string: "#811f3f",
- number: "#098658",
- variable: "#0000ff",
- parameter: "#9CDCFE",
- operator: "#0000ff",
- punctuation: "#800000",
- className: "#0451a5",
- },
- });
- </script>
- </div>
- </template>
- </body>
-</html>
diff --git a/registry/blocks/code-snippet-visual-studio-light/registry-item.json b/registry/blocks/code-snippet-visual-studio-light/registry-item.json
deleted file mode 100644
index e859df2970..0000000000
--- a/registry/blocks/code-snippet-visual-studio-light/registry-item.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "code-snippet-visual-studio-light",
- "type": "hyperframes:block",
- "title": "Code Snippet - Visual Studio Light",
- "description": "VS Code workbench with per-character typing animation in the Visual Studio Light theme. Full editor chrome with activity bar, sidebar, tabs, terminal, and status bar.",
- "tags": ["code", "developer", "showcase", "vscode"],
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "code-snippet-visual-studio-light.html",
- "target": "compositions/code-snippet-visual-studio-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/blocks/liquid-glass-context-menu/lib/liquid-glass.iife.js b/registry/blocks/liquid-glass-context-menu/lib/liquid-glass.iife.js
deleted file mode 100644
index ae5210629b..0000000000
--- a/registry/blocks/liquid-glass-context-menu/lib/liquid-glass.iife.js
+++ /dev/null
@@ -1,1048 +0,0 @@
-var LiquidGlass = (() => {
- var E = Object.defineProperty;
- var D = Object.getOwnPropertyDescriptor;
- var z = Object.getOwnPropertyNames;
- var N = Object.prototype.hasOwnProperty;
- var O = (m, e) => {
- for (var t in e) E(m, t, { get: e[t], enumerable: !0 });
- },
- H = (m, e, t, r) => {
- if ((e && typeof e == "object") || typeof e == "function")
- for (let n of z(e))
- !N.call(m, n) &&
- n !== t &&
- E(m, n, { get: () => e[n], enumerable: !(r = D(e, n)) || r.enumerable });
- return m;
- };
- var I = (m) => H(E({}, "__esModule", { value: !0 }), m);
- var Y = {};
- O(Y, {
- CSS_PROPERTY_MAP: () => _,
- DEFAULTS: () => w,
- GlassRendererGPU: () => y,
- LiquidGlassCanvas: () => R,
- });
- var w = {
- blurAmount: 0,
- refraction: 0.69,
- chromAberration: 0.05,
- edgeHighlight: 0.05,
- specular: 0,
- fresnel: 1,
- distortion: 0,
- cornerRadius: 65,
- zRadius: 40,
- opacity: 1,
- saturation: 0,
- tintStrength: 0,
- brightness: 0,
- shadowOpacity: 0.3,
- shadowSpread: 10,
- shadowOffsetY: 1,
- bevelMode: 0,
- },
- _ = {
- "--lg-blur": "blurAmount",
- "--lg-refraction": "refraction",
- "--lg-chrom-aberration": "chromAberration",
- "--lg-edge-highlight": "edgeHighlight",
- "--lg-specular": "specular",
- "--lg-fresnel": "fresnel",
- "--lg-distortion": "distortion",
- "--lg-corner-radius": "cornerRadius",
- "--lg-z-radius": "zRadius",
- "--lg-opacity": "opacity",
- "--lg-saturation": "saturation",
- "--lg-tint": "tintStrength",
- "--lg-brightness": "brightness",
- "--lg-shadow-opacity": "shadowOpacity",
- "--lg-shadow-spread": "shadowSpread",
- "--lg-shadow-offset-y": "shadowOffsetY",
- "--lg-bevel-mode": "bevelMode",
- },
- L = 6,
- T = 20;
- var q = `// Blit shader - copy texture with UV transform
-
-struct BlitUniforms {
- scale: vec2f,
- offset: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: BlitUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var tex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) uv: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- out.uv = pos * 0.5 + 0.5;
- out.position = vec4f(pos, 0.0, 1.0);
- return out;
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- return textureSample(tex, texSampler, in.uv * u.scale + u.offset);
-}
-`,
- k = `// Blur shader - 9-tap Gaussian blur (single direction)
-
-struct BlurUniforms {
- dir: vec2f,
- _pad: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: BlurUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var tex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) uv: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- out.uv = pos * 0.5 + 0.5;
- out.position = vec4f(pos, 0.0, 1.0);
- return out;
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- var s = textureSample(tex, texSampler, in.uv) * 0.227027;
- s += textureSample(tex, texSampler, in.uv + u.dir * 1.0) * 0.194594;
- s += textureSample(tex, texSampler, in.uv - u.dir * 1.0) * 0.194594;
- s += textureSample(tex, texSampler, in.uv + u.dir * 2.0) * 0.121622;
- s += textureSample(tex, texSampler, in.uv - u.dir * 2.0) * 0.121622;
- s += textureSample(tex, texSampler, in.uv + u.dir * 3.0) * 0.054054;
- s += textureSample(tex, texSampler, in.uv - u.dir * 3.0) * 0.054054;
- s += textureSample(tex, texSampler, in.uv + u.dir * 4.0) * 0.016216;
- s += textureSample(tex, texSampler, in.uv - u.dir * 4.0) * 0.016216;
- return s;
-}
-`,
- W = `// Glass shader - the core liquid glass effect
-
-struct GlassUniforms {
- center: vec2f,
- size: vec2f,
- res: vec2f,
- radius: f32,
- pad: f32,
- refract: f32,
- chroma: f32,
- edgeHL: f32,
- spec: f32,
- fresnel: f32,
- distort: f32,
- alpha: f32,
- sat: f32,
- tint: f32,
- zRadius: f32,
- brightness: f32,
- shadowAlpha: f32,
- shadowSpread: f32,
- shadowOffY: f32,
- bevelMode: f32,
- _pad: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: GlassUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var bgTex: texture_2d<f32>;
-@group(0) @binding(3) var blurTex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) localPx: vec2f,
- @location(1) screenUV: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- let total = u.size + vec2f(u.pad * 2.0);
- out.localPx = pos * total;
- let px = u.center + pos * total;
- out.screenUV = vec2f(px.x / u.res.x, 1.0 - px.y / u.res.y);
- var ndc = (px / u.res) * 2.0 - 1.0;
- ndc.y = -ndc.y;
- out.position = vec4f(ndc, 0.0, 1.0);
- return out;
-}
-
-// Rounded-rect signed distance
-fn rrSDF(p: vec2f, b: vec2f, r: f32) -> f32 {
- let q = abs(p) - b + vec2f(r);
- return min(max(q.x, q.y), 0.0) + length(max(q, vec2f(0.0))) - r;
-}
-
-// Bevel height field
-fn bevelHeight(d: f32, zR: f32) -> f32 {
- if (d <= 0.0) { return 0.0; }
- if (d >= zR) { return zR; }
- return sqrt(d * (2.0 * zR - d));
-}
-
-fn hash(p: vec2f) -> f32 {
- return fract(sin(dot(p, vec2f(127.1, 311.7))) * 43758.5453);
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- let half_ = u.size * 0.5;
- let r = min(u.radius, min(half_.x, half_.y));
- let sdf = rrSDF(in.localPx, half_, r);
-
- // Anti-aliased mask
- let mask = 1.0 - smoothstep(-1.5, 0.5, sdf);
-
- let maxD = min(half_.x, half_.y);
- let inside = -sdf;
- let edge = smoothstep(maxD * 0.35, 0.0, inside);
-
- // Surface normal via bevel height field
- let zR = u.zRadius;
- let e = 2.0;
- let dC = inside;
- let dR = -rrSDF(in.localPx + vec2f(e, 0.0), half_, r);
- let dL = -rrSDF(in.localPx - vec2f(e, 0.0), half_, r);
- let dU = -rrSDF(in.localPx + vec2f(0.0, e), half_, r);
- let dD = -rrSDF(in.localPx - vec2f(0.0, e), half_, r);
- let hC = bevelHeight(dC, zR);
- let hR = bevelHeight(dR, zR);
- let hL = bevelHeight(dL, zR);
- let hU = bevelHeight(dU, zR);
- let hD = bevelHeight(dD, zR);
- let hGrad = vec2f(hR - hL, hU - hD) / (2.0 * e);
- let N = normalize(vec3f(-hGrad, 1.0));
-
- let depth = smoothstep(0.0, zR, inside);
-
- // Refraction - compute both modes and select
- let pxToUV = vec2f(1.0, -1.0) / u.res;
- let ior = 1.5;
- let refrPow = 1.0 - 1.0 / ior;
- let thickness = hC * 2.0;
- let thickNorm = thickness / max(zR * 2.0, 1.0);
-
- // Biconvex mode
- let exitRefr = hGrad * refrPow;
- let entryRefr = hGrad * refrPow;
- let throughRefr = entryRefr * thickNorm * 0.5;
- var refrPxBiconvex = (exitRefr + entryRefr + throughRefr) * u.refract * 30.0;
- let centerDir = -in.localPx / max(half_, vec2f(1.0));
- refrPxBiconvex += centerDir * u.refract * 4.0 * depth;
-
- // Dome mode
- let refrPxDome = -in.localPx * u.refract * depth * 0.35;
-
- // Select based on bevel mode
- let refrPx = select(refrPxBiconvex, refrPxDome, u.bevelMode >= 0.5);
- let refr = refrPx * pxToUV;
-
- // Micro-distortion noise
- let ns = in.localPx * 0.08;
- let absPxToUV = vec2f(1.0) / u.res;
- let micro = (vec2f(hash(ns), hash(ns + vec2f(37.0))) - 0.5) * u.distort * 4.0 * absPxToUV;
-
- // Chromatic aberration
- let caS = u.chroma * 18.0 * (edge * 0.7 + 0.3) * 2.0;
- let caD = N.xy * caS * pxToUV;
- let base = in.screenUV + refr + micro;
-
- // Sample textures (must be in uniform control flow)
- let sharpR = textureSample(bgTex, texSampler, base + caD).r;
- let sharpG = textureSample(bgTex, texSampler, base).g;
- let sharpB = textureSample(bgTex, texSampler, base - caD).b;
- let sharp = vec3f(sharpR, sharpG, sharpB);
-
- let blurR = textureSample(blurTex, texSampler, base + caD).r;
- let blurG = textureSample(blurTex, texSampler, base).g;
- let blurB = textureSample(blurTex, texSampler, base - caD).b;
- let blur = vec3f(blurR, blurG, blurB);
-
- // Edge-weighted blur mix
- let edgeMix = 1.0 - edge * 0.15;
- var col = mix(sharp, blur, edgeMix);
-
- // Brightness
- col *= 1.0 + u.brightness;
-
- // Saturation
- let lum = dot(col, vec3f(0.299, 0.587, 0.114));
- col = mix(vec3f(lum), col, 1.0 + u.sat);
-
- // Cool glass tint
- col = mix(col, col * vec3f(0.92, 0.95, 1.05), u.tint);
- col *= 1.0 + 0.06 * depth;
-
- // Fresnel
- let fres = pow(1.0 - abs(N.z), 4.0) * u.fresnel;
-
- // Specular highlights (multi-light Blinn-Phong)
- let V = vec3f(0.0, 0.0, 1.0);
- let L1 = normalize(vec3f(0.4, 0.7, 1.0));
- let H1 = normalize(L1 + V);
- let sp1 = pow(max(dot(N, H1), 0.0), 90.0);
- let L2 = normalize(vec3f(-0.3, -0.5, 1.0));
- let H2 = normalize(L2 + V);
- let sp2 = pow(max(dot(N, H2), 0.0), 50.0) * 0.3;
- let L3 = normalize(vec3f(0.1, 0.3, 1.0));
- let spB = pow(max(dot(N, L3), 0.0), 6.0) * 0.1;
- let L4 = normalize(vec3f(0.0, 0.9, 0.4));
- let H4 = normalize(L4 + V);
- let sp4 = pow(max(dot(N, H4), 0.0), 120.0) * 0.6;
- let totalSpec = (sp1 + sp2 + spB + sp4) * u.spec;
-
- // Inner border / stroke highlight
- let borderWidth = 1.5;
- let innerStroke = smoothstep(-borderWidth - 1.0, -borderWidth, sdf)
- * (1.0 - smoothstep(-1.0, 0.0, sdf));
- let topBias = 0.5 + 0.5 * (-in.localPx.y / half_.y);
- let innerStrokeFinal = innerStroke * (0.4 + 0.6 * topBias);
-
- // Edge highlight & inner glow
- let rim = edge * u.edgeHL * 0.22;
- let innerGlow = smoothstep(5.0, 0.0, -sdf) * u.edgeHL * 0.15;
-
- // Environment-like reflection (fake)
- let envRefl = (N.y * 0.5 + 0.5) * fres * 0.08;
-
- // Composite glass effect
- var fin = col;
- fin += vec3f(totalSpec);
- fin += vec3f(rim + innerGlow);
- fin += vec3f(innerStrokeFinal * u.edgeHL * 0.55);
- fin += vec3f(envRefl);
- fin = mix(fin, vec3f(1.0), fres * 0.2);
-
- // Shadow calculation (outside panel)
- let sdfShadow = rrSDF(in.localPx - vec2f(0.0, u.shadowOffY), half_, r);
- let shadowD = max(sdfShadow - 1.0, 0.0);
- let spread = max(u.shadowSpread, 1.0);
- let falloff = 1.0 / (spread * spread);
- let outerShadow = exp(-shadowD * shadowD * falloff) * 0.65;
- let contactShadow = exp(-shadowD * 0.08 / max(spread * 0.04, 0.01)) * 0.35;
- let shadow = (outerShadow + contactShadow) * u.shadowAlpha;
-
- // Select between shadow (outside) and glass (inside)
- let isOutside = sdf > 0.0;
- let finalColor = select(fin, vec3f(0.0), isOutside);
- let finalAlpha = select(mask * u.alpha, shadow, isOutside);
-
- return vec4f(finalColor, finalAlpha);
-}
-`,
- y = class {
- canvas;
- device = null;
- context = null;
- format = "bgra8unorm";
- blitPipeline = null;
- blurPipeline = null;
- glassPipeline = null;
- quadBuffer = null;
- panelBuffer = null;
- blitUniformBuffer = null;
- blurUniformBuffer = null;
- glassUniformBuffer = null;
- sampler = null;
- targetCache = new Map();
- activeTargets = null;
- bgTexture = null;
- bgTextureView = null;
- width = 0;
- height = 0;
- _initPromise = null;
- _initialized = !1;
- constructor() {
- ((this.canvas = document.createElement("canvas")),
- (this.canvas.style.display = "none"),
- document.body.appendChild(this.canvas));
- }
- async init() {
- return this._initPromise
- ? this._initPromise
- : ((this._initPromise = this._doInit()), this._initPromise);
- }
- async _doInit() {
- if (!navigator.gpu) return (console.warn("WebGPU not supported"), !1);
- let e = await navigator.gpu.requestAdapter();
- return e
- ? ((this.device = await e.requestDevice()),
- this.device
- ? ((this.context = this.canvas.getContext("webgpu")),
- this.context
- ? ((this.format = navigator.gpu.getPreferredCanvasFormat()),
- this.context.configure({
- device: this.device,
- format: this.format,
- alphaMode: "premultiplied",
- }),
- this._initPipelines(),
- this._initBuffers(),
- (this._initialized = !0),
- !0)
- : (console.warn("Failed to get WebGPU context"), !1))
- : (console.warn("Failed to get WebGPU device"), !1))
- : (console.warn("No WebGPU adapter found"), !1);
- }
- get initialized() {
- return this._initialized;
- }
- _initPipelines() {
- let e = this.device;
- this.sampler = e.createSampler({
- magFilter: "linear",
- minFilter: "linear",
- addressModeU: "clamp-to-edge",
- addressModeV: "clamp-to-edge",
- });
- let t = e.createShaderModule({ code: q }),
- r = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.blitPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [r] }),
- vertex: {
- module: t,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: { module: t, entryPoint: "fragmentMain", targets: [{ format: "rgba8unorm" }] },
- primitive: { topology: "triangle-strip" },
- });
- let n = e.createShaderModule({ code: k }),
- i = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.blurPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [i] }),
- vertex: {
- module: n,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: { module: n, entryPoint: "fragmentMain", targets: [{ format: "rgba8unorm" }] },
- primitive: { topology: "triangle-strip" },
- });
- let s = e.createShaderModule({ code: W }),
- l = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- { binding: 3, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.glassPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [l] }),
- vertex: {
- module: s,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: {
- module: s,
- entryPoint: "fragmentMain",
- targets: [
- {
- format: this.format,
- blend: {
- color: {
- srcFactor: "src-alpha",
- dstFactor: "one-minus-src-alpha",
- operation: "add",
- },
- alpha: { srcFactor: "one", dstFactor: "one-minus-src-alpha", operation: "add" },
- },
- },
- ],
- },
- primitive: { topology: "triangle-strip" },
- });
- }
- _initBuffers() {
- let e = this.device;
- ((this.quadBuffer = e.createBuffer({
- size: 32,
- usage: GPUBufferUsage.VERTEX,
- mappedAtCreation: !0,
- })),
- new Float32Array(this.quadBuffer.getMappedRange()).set([-1, -1, 1, -1, -1, 1, 1, 1]),
- this.quadBuffer.unmap(),
- (this.panelBuffer = e.createBuffer({
- size: 32,
- usage: GPUBufferUsage.VERTEX,
- mappedAtCreation: !0,
- })),
- new Float32Array(this.panelBuffer.getMappedRange()).set([
- -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5,
- ]),
- this.panelBuffer.unmap(),
- (this.blitUniformBuffer = e.createBuffer({
- size: 16,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })),
- (this.blurUniformBuffer = e.createBuffer({
- size: 16,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })),
- (this.glassUniformBuffer = e.createBuffer({
- size: 112,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })));
- }
- resize(e, t) {
- if (!(this.width === e && this.height === t)) {
- ((this.width = e), (this.height = t));
- for (let r of this.targetCache.values()) this._freeTargetSet(r);
- (this.targetCache.clear(), (this.activeTargets = null));
- }
- }
- uploadAndBlur(e, t, r, n, i, s) {
- if (!this._initialized || !this.device || !this._setActiveSize(n, i)) return;
- let l = this.device,
- a = this.width,
- u = this.height,
- o = this.activeTargets,
- d = document.createElement("canvas");
- ((d.width = a),
- (d.height = u),
- d.getContext("2d").drawImage(e, -t, -r),
- (!this.bgTexture || this.bgTexture.width !== a || this.bgTexture.height !== u) &&
- (this.bgTexture && this.bgTexture.destroy(),
- (this.bgTexture = l.createTexture({
- size: [a, u],
- format: "rgba8unorm",
- usage:
- GPUTextureUsage.TEXTURE_BINDING |
- GPUTextureUsage.COPY_DST |
- GPUTextureUsage.RENDER_ATTACHMENT,
- })),
- (this.bgTextureView = this.bgTexture.createView())),
- l.queue.copyExternalImageToTexture(
- { source: d, flipY: !0 },
- { texture: this.bgTexture },
- [a, u],
- ));
- let f = l.createCommandEncoder();
- this._blitPass(f, this.bgTextureView, o.bg.view, a, u, 1, 1, 0, 0);
- let h = o.blurA.w,
- b = o.blurA.h;
- if ((this._blitPass(f, o.bg.view, o.blurA.view, h, b, 1, 1, 0, 0), s > 0)) {
- let g = s * 2.5;
- for (let p = 0; p < L; p++)
- (this._blurPass(f, o.blurA.view, o.blurB.view, h, b, g / h, 0),
- this._blurPass(f, o.blurB.view, o.blurA.view, h, b, 0, g / b));
- }
- l.queue.submit([f.finish()]);
- }
- _blitPass(e, t, r, n, i, s, l, a, u) {
- let o = this.device;
- o.queue.writeBuffer(this.blitUniformBuffer, 0, new Float32Array([s, l, a, u]));
- let d = o.createBindGroup({
- layout: this.blitPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.blitUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: t },
- ],
- }),
- c = e.beginRenderPass({
- colorAttachments: [
- {
- view: r,
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (c.setPipeline(this.blitPipeline),
- c.setBindGroup(0, d),
- c.setVertexBuffer(0, this.quadBuffer),
- c.setViewport(0, 0, n, i, 0, 1),
- c.draw(4),
- c.end());
- }
- _blurPass(e, t, r, n, i, s, l) {
- let a = this.device;
- a.queue.writeBuffer(this.blurUniformBuffer, 0, new Float32Array([s, l, 0, 0]));
- let u = a.createBindGroup({
- layout: this.blurPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.blurUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: t },
- ],
- }),
- o = e.beginRenderPass({
- colorAttachments: [
- {
- view: r,
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (o.setPipeline(this.blurPipeline),
- o.setBindGroup(0, u),
- o.setVertexBuffer(0, this.quadBuffer),
- o.setViewport(0, 0, n, i, 0, 1),
- o.draw(4),
- o.end());
- }
- renderGlassPanel(e, t, r, n) {
- if (!this._initialized || !this.device || !this.context) return;
- let i = this.device,
- s = this.width,
- l = this.height,
- a = this.activeTargets,
- u = new Float32Array([
- s * 0.5,
- l * 0.5,
- t * n,
- r * n,
- s,
- l,
- e.cornerRadius * n,
- T * n,
- e.refraction,
- e.chromAberration,
- e.edgeHighlight,
- e.specular,
- e.fresnel,
- e.distortion,
- e.opacity,
- e.saturation,
- e.tintStrength,
- e.zRadius * n,
- e.brightness,
- e.shadowOpacity,
- e.shadowSpread * n,
- e.shadowOffsetY * n,
- e.bevelMode,
- 0,
- 0,
- 0,
- 0,
- 0,
- ]);
- i.queue.writeBuffer(this.glassUniformBuffer, 0, u);
- let o = i.createBindGroup({
- layout: this.glassPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.glassUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: a.bg.view },
- { binding: 3, resource: a.blurA.view },
- ],
- }),
- d = i.createCommandEncoder(),
- c = d.beginRenderPass({
- colorAttachments: [
- {
- view: this.context.getCurrentTexture().createView(),
- loadOp: "load",
- storeOp: "store",
- },
- ],
- });
- (c.setPipeline(this.glassPipeline),
- c.setBindGroup(0, o),
- c.setVertexBuffer(0, this.panelBuffer),
- c.setViewport(0, 0, s, l, 0, 1),
- c.draw(4),
- c.end(),
- i.queue.submit([d.finish()]));
- }
- clear() {
- if (!this._initialized || !this.device || !this.context) return;
- let e = this.device.createCommandEncoder(),
- t = e.beginRenderPass({
- colorAttachments: [
- {
- view: this.context.getCurrentTexture().createView(),
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (t.setViewport(0, 0, this.width, this.height, 0, 1),
- t.end(),
- this.device.queue.submit([e.finish()]));
- }
- destroy() {
- for (let e of this.targetCache.values()) this._freeTargetSet(e);
- (this.targetCache.clear(),
- this.bgTexture && this.bgTexture.destroy(),
- this.quadBuffer && this.quadBuffer.destroy(),
- this.panelBuffer && this.panelBuffer.destroy(),
- this.blitUniformBuffer && this.blitUniformBuffer.destroy(),
- this.blurUniformBuffer && this.blurUniformBuffer.destroy(),
- this.glassUniformBuffer && this.glassUniformBuffer.destroy(),
- this.device?.destroy(),
- this.canvas.remove());
- }
- _setActiveSize(e, t) {
- if (e <= 0 || t <= 0) return !1;
- ((this.width = e),
- (this.height = t),
- (this.canvas.width < e || this.canvas.height < t) &&
- ((this.canvas.width = Math.max(this.canvas.width, e)),
- (this.canvas.height = Math.max(this.canvas.height, t)),
- this.context?.configure({
- device: this.device,
- format: this.format,
- alphaMode: "premultiplied",
- })));
- let r = `${e}x${t}`,
- n = this.targetCache.get(r);
- return (
- n ||
- ((n = {
- bg: this._makeTarget(e, t),
- blurA: this._makeTarget(e, t),
- blurB: this._makeTarget(e, t),
- }),
- this.targetCache.set(r, n)),
- (this.activeTargets = n),
- !0
- );
- }
- _makeTarget(e, t) {
- let r = this.device.createTexture({
- size: [e, t],
- format: "rgba8unorm",
- usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.RENDER_ATTACHMENT,
- });
- return { texture: r, view: r.createView(), w: e, h: t };
- }
- _freeTarget(e) {
- e && e.texture.destroy();
- }
- _freeTargetSet(e) {
- (this._freeTarget(e.bg), this._freeTarget(e.blurA), this._freeTarget(e.blurB));
- }
- };
- var R = class {
- canvas;
- ctx;
- renderer;
- sceneCanvas;
- sceneCtx;
- drawElementImage;
- _initPromise;
- _initialized = !1;
- constructor(e) {
- ((this.canvas = e),
- (this.ctx = e.getContext("2d")),
- (this.renderer = new y()),
- (this.sceneCanvas = document.createElement("canvas")),
- (this.sceneCtx = this.sceneCanvas.getContext("2d")));
- let t = this.ctx;
- ((this.drawElementImage = t.drawElementImage?.bind(t) ?? t.drawElement?.bind(t) ?? null),
- (this._initPromise = this._initWebGPU()));
- }
- async _initWebGPU() {
- try {
- return (await this.renderer.init())
- ? ((this._initialized = !0), console.log("LiquidGlass: WebGPU renderer initialized"), !0)
- : (console.error("LiquidGlass: WebGPU not available"), !1);
- } catch (e) {
- return (console.error("LiquidGlass: WebGPU init failed", e), !1);
- }
- }
- get isReady() {
- return this._initialized;
- }
- async waitForInit() {
- return this._initPromise;
- }
- render() {
- let e = this.canvas.width,
- t = this.canvas.height;
- if (e === 0 || t === 0 || !this.drawElementImage || !this._initialized) return;
- this.ctx.clearRect(0, 0, e, t);
- let r = window.devicePixelRatio || 1,
- n = this.canvas.getBoundingClientRect(),
- i = Array.from(this.canvas.children),
- s = Array.from(this.canvas.querySelectorAll(".liquid-glass")),
- l = new Set(s);
- i.length === 0 &&
- !this.__lg_warn_empty &&
- (console.warn("LiquidGlass: No children found inside the canvas to render."),
- (this.__lg_warn_empty = !0));
- for (let a of i)
- if (!l.has(a)) {
- let u = a,
- o = this._getElementPosition(u, n);
- if (o.w <= 0 || o.h <= 0) continue;
- let d = o.x * r,
- c = o.y * r;
- try {
- let f = this.drawElementImage(a, d, c);
- f && (u.style.transform = f.toString());
- } catch (f) {
- a.__lg_error_logged ||
- (console.warn(
- `LiquidGlass: Failed to draw background element ${a.tagName}.${a.className}:`,
- f.message || f,
- ),
- (a.__lg_error_logged = !0));
- }
- }
- for (let a of s)
- try {
- this._renderGlassElement(a, n, r);
- } catch (u) {
- a.__lg_error_logged_glass ||
- (console.error(
- `LiquidGlass: Failed to render glass effect for ${a.tagName}.${a.className}:`,
- u.message || u,
- ),
- (a.__lg_error_logged_glass = !0));
- }
- }
- renderGlassElements() {
- let e = this.canvas.width,
- t = this.canvas.height;
- if (e === 0 || t === 0 || !this.drawElementImage || !this._initialized) return;
- let r = window.devicePixelRatio || 1,
- n = this.canvas.getBoundingClientRect(),
- i = this.canvas.querySelectorAll(".liquid-glass");
- for (let s of i) this._renderGlassElement(s, n, r);
- }
- _parseCSSLength(e, t) {
- return !e || e === "auto"
- ? NaN
- : ((e = e.trim()),
- e.startsWith("calc(")
- ? this._parseCalc(e, t)
- : e.endsWith("%")
- ? (parseFloat(e) / 100) * t
- : parseFloat(e) || 0);
- }
- _parseCalc(e, t) {
- let r = e.match(/calc\((.+)\)/);
- if (!r) return 0;
- let n = r[1].trim(),
- i = n.match(/(.+)\s*\+\s*(.+)/),
- s = n.match(/(.+)\s*-\s*(.+)/);
- if (s) {
- let l = this._parseCSSLength(s[1].trim(), t),
- a = this._parseCSSLength(s[2].trim(), t);
- return l - a;
- }
- if (i) {
- let l = this._parseCSSLength(i[1].trim(), t),
- a = this._parseCSSLength(i[2].trim(), t);
- return l + a;
- }
- return this._parseCSSLength(n, t);
- }
- _parseTransform(e, t, r) {
- let n = 0,
- i = 0;
- if (!e || e === "none") return { tx: n, ty: i };
- let s = e.match(/translate\(\s*([^,)]+)(?:\s*,\s*([^)]+))?\s*\)/);
- s &&
- ((n = this._parseTranslateValue(s[1], t)),
- (i = s[2] ? this._parseTranslateValue(s[2], r) : 0));
- let l = e.match(/translateX\(\s*([^)]+)\s*\)/);
- l && (n = this._parseTranslateValue(l[1], t));
- let a = e.match(/translateY\(\s*([^)]+)\s*\)/);
- a && (i = this._parseTranslateValue(a[1], r));
- let u = e.match(/translate3d\(\s*([^,]+)\s*,\s*([^,]+)\s*,\s*[^)]+\s*\)/);
- return (
- u && ((n = this._parseTranslateValue(u[1], t)), (i = this._parseTranslateValue(u[2], r))),
- { tx: n, ty: i }
- );
- }
- _parseTranslateValue(e, t) {
- return ((e = e.trim()), e.endsWith("%") ? (parseFloat(e) / 100) * t : parseFloat(e) || 0);
- }
- _getElementPosition(e, t) {
- let r = getComputedStyle(e),
- n = parseFloat(getComputedStyle(this.canvas).width) || this.canvas.width || 1536,
- i = parseFloat(getComputedStyle(this.canvas).height) || this.canvas.height || 1024,
- s = e.getBoundingClientRect(),
- l = s.width || parseFloat(r.width) || 0,
- a = s.height || parseFloat(r.height) || 0,
- u = 0,
- o = 0,
- d = e.style,
- c = d.left || r.left,
- f = d.right || r.right,
- h = d.top || r.top,
- b = d.bottom || r.bottom,
- g = this._parseCSSLength(c, n),
- p = this._parseCSSLength(f, n),
- v = this._parseCSSLength(h, i),
- S = this._parseCSSLength(b, i),
- P = parseFloat(r.marginLeft) || 0,
- x = parseFloat(r.marginRight) || 0,
- M = parseFloat(r.marginTop) || 0,
- A = parseFloat(r.marginBottom) || 0,
- G = !isNaN(g),
- U = !isNaN(p);
- G && U && g === 0 && p === 0
- ? (u = (n - l) / 2)
- : (G && U) || G
- ? (u = g + P)
- : U && (u = n - l - p - x);
- let B = !isNaN(v),
- C = !isNaN(S);
- B && C && v === 0 && S === 0
- ? (o = (i - a) / 2)
- : (B && C) || B
- ? (o = v + M)
- : C && (o = i - a - S - A);
- let { tx: V, ty: F } = this._parseTransform(r.transform, l, a);
- return ((u += V), (o += F), { x: u, y: o, w: l, h: a });
- }
- _renderGlassElement(e, t, r) {
- if (!this.drawElementImage) return;
- let n = this._getConfigFromCSS(e),
- i = this._getElementPosition(e, t),
- s = i.x,
- l = i.y,
- a = i.w,
- u = i.h,
- o = s * r,
- d = l * r,
- c = a * r,
- f = u * r,
- h = T * r,
- b = o - h,
- g = d - h,
- p = c + h * 2,
- v = f + h * 2;
- this._captureRegion(b, g, p, v);
- let S = Math.round(p),
- P = Math.round(v);
- (this.renderer.clear(),
- this.renderer.uploadAndBlur(this.sceneCanvas, 0, 0, S, P, n.blurAmount),
- this.renderer.renderGlassPanel(n, a, u, r),
- this.ctx.drawImage(this.renderer.canvas, 0, 0, p, v, b, g, p, v));
- try {
- let x = this._drawGlassElementContent(e, o, d);
- x && (e.style.transform = x.toString());
- } catch (x) {
- e.__lg_error_logged ||
- (console.warn(
- `LiquidGlass: Failed to draw glass element ${e.tagName}.${e.className}:`,
- x,
- ),
- (e.__lg_error_logged = !0));
- }
- }
- _drawGlassElementContent(e, t, r) {
- if (!this.drawElementImage) return;
- let n = this._suppressGlassChrome(e);
- try {
- return this.drawElementImage(e, t, r);
- } finally {
- this._restoreInlineStyles(e, n);
- }
- }
- _suppressGlassChrome(e) {
- let t = new Map(),
- r = [
- "background",
- "backgroundColor",
- "backgroundImage",
- "borderColor",
- "boxShadow",
- "filter",
- "outlineColor",
- ];
- for (let n of r) t.set(n, e.style[n]);
- return (
- (e.style.background = "transparent"),
- (e.style.backgroundColor = "transparent"),
- (e.style.backgroundImage = "none"),
- (e.style.borderColor = "transparent"),
- (e.style.boxShadow = "none"),
- (e.style.filter = "none"),
- (e.style.outlineColor = "transparent"),
- t
- );
- }
- _restoreInlineStyles(e, t) {
- for (let [r, n] of t) e.style[r] = n;
- }
- _captureRegion(e, t, r, n) {
- let i = Math.round(r),
- s = Math.round(n);
- ((this.sceneCanvas.width !== i || this.sceneCanvas.height !== s) &&
- ((this.sceneCanvas.width = i), (this.sceneCanvas.height = s)),
- (this.sceneCtx.fillStyle = "#ffffff"),
- this.sceneCtx.fillRect(0, 0, i, s),
- this.sceneCtx.drawImage(this.canvas, e, t, r, n, 0, 0, i, s));
- }
- _getConfigFromCSS(e) {
- let t = getComputedStyle(e),
- r = { ...w };
- for (let [n, i] of Object.entries(_)) {
- let s = t.getPropertyValue(n).trim();
- if (s) {
- let l = parseFloat(s);
- isNaN(l) || (r[i] = l);
- }
- }
- return r;
- }
- destroy() {
- this.renderer.destroy();
- }
- };
- return I(Y);
-})();
diff --git a/registry/blocks/liquid-glass-context-menu/liquid-glass-context-menu.html b/registry/blocks/liquid-glass-context-menu/liquid-glass-context-menu.html
deleted file mode 100644
index 441e9f1b16..0000000000
--- a/registry/blocks/liquid-glass-context-menu/liquid-glass-context-menu.html
+++ /dev/null
@@ -1,627 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Liquid Glass Context Menu</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script
- src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"
- integrity="sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu"
- crossorigin="anonymous"
- ></script>
- <script src="lib/liquid-glass.iife.js"></script>
- <style>
- *,
- *::before,
- *::after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- background: #0a0218;
- overflow: hidden;
- font-family: "Inter", system-ui, sans-serif;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- }
- #three-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 0;
- }
- #glass-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 1;
- }
-
- /* ── Glass Panel ── */
- .menu-panel {
- position: absolute;
- width: 390px;
- height: 506px;
- background: rgba(255, 255, 255, 0.15);
- --lg-blur: 0.56;
- --lg-refraction: 0.52;
- --lg-corner-radius: 30;
- --lg-z-radius: 48;
- --lg-specular: 0.26;
- --lg-fresnel: 1;
- --lg-edge-highlight: 0.2;
- --lg-chrom-aberration: 0.035;
- --lg-tint: 0.88;
- --lg-brightness: 0.54;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.24;
- }
- #glass-menu {
- top: 270px;
- left: 1980px;
- }
- .file-panel {
- position: absolute;
- top: 372px;
- left: 500px;
- width: 360px;
- height: 104px;
- background: rgba(255, 255, 255, 0.11);
- --lg-blur: 0.52;
- --lg-refraction: 0.48;
- --lg-corner-radius: 28;
- --lg-z-radius: 36;
- --lg-specular: 0.28;
- --lg-fresnel: 0.94;
- --lg-edge-highlight: 0.18;
- --lg-chrom-aberration: 0.03;
- --lg-tint: 0.74;
- --lg-brightness: 0.34;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.18;
- }
- .submenu-panel {
- position: absolute;
- top: 456px;
- left: 1980px;
- width: 230px;
- height: 58px;
- background: rgba(255, 255, 255, 0.11);
- --lg-blur: 0.52;
- --lg-refraction: 0.5;
- --lg-corner-radius: 20;
- --lg-z-radius: 28;
- --lg-specular: 0.3;
- --lg-fresnel: 0.96;
- --lg-edge-highlight: 0.18;
- --lg-chrom-aberration: 0.03;
- --lg-tint: 0.74;
- --lg-brightness: 0.36;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: -0.2;
- }
-
- /* ── Text Overlay ── */
- .text-overlay {
- position: absolute;
- z-index: 2;
- pointer-events: none;
- }
- .context-file {
- position: absolute;
- top: 340px;
- left: 500px;
- z-index: 2;
- width: 360px;
- height: 104px;
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 18px 22px;
- border-radius: 26px;
- background: linear-gradient(
- 180deg,
- rgba(255, 255, 255, 0.095) 0%,
- rgba(255, 255, 255, 0.036) 38%,
- rgba(255, 255, 255, 0.006) 100%
- );
- box-shadow: none;
- }
- .file-icon {
- width: 58px;
- height: 68px;
- flex-shrink: 0;
- border-radius: 16px;
- background:
- linear-gradient(135deg, rgba(6, 227, 250, 0.92), rgba(79, 219, 94, 0.85)),
- rgba(255, 255, 255, 0.12);
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
- }
- .file-meta {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
- .file-title {
- color: rgba(5, 17, 28, 0.9);
- font-size: 21px;
- font-weight: 780;
- letter-spacing: 0;
- text-shadow:
- 0 1px 0 rgba(255, 255, 255, 0.24),
- 0 10px 20px rgba(255, 255, 255, 0.14);
- }
- .file-subtitle {
- color: rgba(5, 17, 28, 0.72);
- font-size: 15px;
- font-weight: 650;
- text-shadow:
- 0 1px 0 rgba(255, 255, 255, 0.2),
- 0 8px 18px rgba(255, 255, 255, 0.12);
- }
- .pointer {
- position: absolute;
- top: 395px;
- left: 778px;
- z-index: 4;
- width: 34px;
- height: 44px;
- border-radius: 2px;
- background: #fff;
- clip-path: polygon(0 0, 0 100%, 31% 73%, 47% 100%, 62% 93%, 46% 67%, 82% 67%);
- filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
- }
- .click-ring {
- position: absolute;
- top: 390px;
- left: 770px;
- z-index: 3;
- width: 46px;
- height: 46px;
- border: 2px solid rgba(255, 255, 255, 0.75);
- border-radius: 50%;
- opacity: 0;
- }
- .menu-text {
- width: 390px;
- height: 506px;
- display: flex;
- flex-direction: column;
- padding: 18px 0;
- background: transparent;
- border-radius: 30px;
- box-shadow: none;
- overflow: hidden;
- }
- #text-menu {
- top: 270px;
- left: 1980px;
- }
-
- .menu-highlight {
- position: absolute;
- top: 17px;
- left: 14px;
- z-index: 0;
- width: 362px;
- height: 52px;
- border-radius: 17px;
- background:
- radial-gradient(circle at 24% 22%, rgba(255, 255, 255, 0.48), transparent 42%),
- linear-gradient(90deg, rgba(255, 255, 255, 0.29), rgba(255, 255, 255, 0.12));
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.38),
- inset 0 -1px 0 rgba(255, 255, 255, 0.1);
- opacity: 0;
- }
- .menu-item {
- position: relative;
- z-index: 1;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 14px 28px;
- font-size: 18px;
- font-weight: 650;
- color: rgb(0, 7, 14);
- cursor: default;
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.26);
- }
- .menu-item svg {
- width: 22px;
- height: 22px;
- flex-shrink: 0;
- stroke: rgb(0, 7, 14);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- }
- .menu-sep {
- height: 1px;
- margin: 10px 28px;
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
- }
- .menu-footer {
- position: relative;
- z-index: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 14px 26px;
- margin-top: auto;
- }
- .menu-footer-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 4px;
- font-size: 13px;
- font-weight: 650;
- color: rgba(0, 7, 14, 0.9);
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
- }
- .menu-footer-item svg {
- width: 24px;
- height: 24px;
- stroke: rgba(0, 7, 14, 0.84);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- }
- .menu-kbd {
- margin-left: auto;
- font-size: 14px;
- font-weight: 650;
- color: rgba(0, 7, 14, 0.82);
- font-variant-numeric: tabular-nums;
- }
- .submenu-preview {
- position: absolute;
- top: 456px;
- left: 1980px;
- z-index: 2;
- width: 230px;
- height: 58px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 20px;
- background: transparent;
- box-shadow: none;
- color: rgba(0, 7, 14, 0.92);
- font-size: 15px;
- font-weight: 760;
- opacity: 0;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="liquid-glass-context-menu"
- data-width="1920"
- data-height="1080"
- data-start="0"
- data-duration="8"
- data-root="true"
- >
- <canvas id="three-canvas" width="1920" height="1080"></canvas>
-
- <canvas id="glass-canvas" layoutsubtree width="1920" height="1080">
- <div id="glass-file" class="file-panel liquid-glass"></div>
- <div id="glass-menu" class="menu-panel liquid-glass"></div>
- <div id="glass-submenu" class="submenu-panel liquid-glass"></div>
- </canvas>
-
- <div id="context-file" class="context-file">
- <div class="file-icon"></div>
- <div class="file-meta">
- <div class="file-title">liquid-glass.mov</div>
- <div class="file-subtitle">Preview render - 08s</div>
- </div>
- </div>
- <div id="click-ring" class="click-ring"></div>
- <div id="pointer" class="pointer"></div>
-
- <div id="text-menu" class="text-overlay menu-text">
- <div id="menu-highlight" class="menu-highlight"></div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" />
- <polyline points="16 6 12 2 8 6" />
- <line x1="12" y1="2" x2="12" y2="15" />
- </svg>
- <span>Share</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" />
- </svg>
- <span>Add to Bookmarks</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" /></svg>
- <span>Add Bookmark to...</span>
- </div>
- <div class="menu-sep"></div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
- <line x1="9" y1="3" x2="9" y2="21" />
- </svg>
- <span>New Tab</span>
- <span class="menu-kbd">&#8984;T</span>
- </div>
- <div class="menu-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
- <path d="M9 3v18" />
- <path d="M14 9l3 3-3 3" />
- </svg>
- <span>New Private Tab</span>
- <span class="menu-kbd">&#8679;&#8984;N</span>
- </div>
- <div class="menu-sep"></div>
- <div class="menu-footer">
- <div class="menu-footer-item">
- <svg viewBox="0 0 24 24">
- <path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" />
- </svg>
- <span>Bookmarks</span>
- </div>
- <div class="menu-footer-item">
- <svg viewBox="0 0 24 24">
- <rect x="3" y="3" width="7" height="7" />
- <rect x="14" y="3" width="7" height="7" />
- <rect x="3" y="14" width="7" height="7" />
- <rect x="14" y="14" width="7" height="7" />
- </svg>
- <span>All Tabs</span>
- </div>
- </div>
- </div>
- <div id="submenu-preview" class="submenu-preview">Open in New Tab</div>
-
- <div
- id="driver"
- class="clip"
- data-start="0"
- data-duration="8"
- data-track-index="0"
- style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
- ></div>
- </div>
-
- <script>
- var W = 1920,
- H = 1080,
- DURATION = 8;
-
- /* ── Three.js Aurora Shader ─────────────────────────────────────── */
- var vs = "varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }";
- var fs = [
- "precision highp float;",
- "varying vec2 vUv;",
- "uniform float uTime;",
- "vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}",
- "vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}",
- "float snoise(vec3 v){",
- " const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);",
- " vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);",
- " vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;",
- " vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);",
- " vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;",
- " i=mod289(i);",
- " vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));",
- " float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;",
- " vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);",
- " vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);",
- " vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);",
- " vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;",
- " vec4 sh=-step(h,vec4(0.0));",
- " vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;",
- " vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);",
- " vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));",
- " p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;",
- " vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;",
- " return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));",
- "}",
- "void main(){",
- " vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;",
- " float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;",
- " vec2 wp=p+vec2(wx,wy);",
- " vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));",
- " float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));",
- " float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);",
- " float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);",
- " float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);",
- " float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;",
- " float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;",
- " float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;",
- " vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);",
- " float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);",
- " vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);",
- " float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);",
- " vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);",
- " float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);",
- " vec3 col=base;",
- " col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));",
- " col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));",
- " col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));",
- " float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;",
- " col+=edgeGlow*mix(warm,cool,uv.x)*0.8;",
- " col*=1.0-pow(abs(ridge1),4.0)*0.15;",
- " float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));",
- " col*=0.65+vig*0.5;",
- " float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);",
- " col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));",
- " gl_FragColor=vec4(col,1.0);",
- "}",
- ].join("\n");
-
- /* ── Three.js Setup ─────────────────────────────────────────────── */
- var threeCanvas = document.getElementById("three-canvas");
- var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });
- renderer.setSize(W, H, false);
- renderer.setPixelRatio(1);
-
- var scene = new THREE.Scene();
- var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);
- var uniforms = { uTime: { value: 0 } };
- var mat = new THREE.ShaderMaterial({
- vertexShader: vs,
- fragmentShader: fs,
- uniforms: uniforms,
- });
- var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), mat);
- scene.add(quad);
-
- /* ── Glass Canvas ───────────────────────────────────────────────── */
- var glassCanvas = document.getElementById("glass-canvas");
- var ctx = glassCanvas.getContext("2d");
- var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);
- var lgReady = false;
-
- function renderGlass(time) {
- if (!lgReady) return;
- uniforms.uTime.value = time;
- renderer.render(scene, camera);
- ctx.clearRect(0, 0, W, H);
- ctx.drawImage(threeCanvas, 0, 0, W, H);
- lg.renderGlassElements();
- }
-
- function requestGlassRender(time) {
- if (glassCanvas.requestPaint) {
- glassCanvas.onpaint = function () {
- renderGlass(time);
- };
- glassCanvas.requestPaint();
- return;
- }
- renderGlass(time);
- }
-
- lg.waitForInit().then(function (ok) {
- if (!ok) return;
- lgReady = true;
- requestGlassRender(0);
- });
-
- /* ── GSAP Timeline ──────────────────────────────────────────────── */
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
-
- var gm = document.getElementById("glass-menu");
- var gf = document.getElementById("glass-file");
- var gsm = document.getElementById("glass-submenu");
- var tm = document.getElementById("text-menu");
- var pointer = document.getElementById("pointer");
- var fileCard = document.getElementById("context-file");
-
- gsap.set([gm, tm], {
- left: 860,
- top: 270,
- opacity: 0,
- scale: 0.82,
- y: -8,
- transformOrigin: "0% 18%",
- });
- // glass (#glass-file) is html-in-canvas — stays on left/top (exempt, no stutter)
- gsap.set(gf, { top: 372, opacity: 1, scale: 1, transformOrigin: "78% 54%" });
- // plain DOM (#context-file) — CSS resting top is 340px, so top:372 becomes y:32
- gsap.set(fileCard, { y: 32, opacity: 1, scale: 1, transformOrigin: "78% 54%" });
- gsap.set([gsm, "#submenu-preview"], {
- left: 1980,
- opacity: 0,
- scale: 0.86,
- x: -12,
- transformOrigin: "0% 50%",
- });
- gsap.set(".menu-item", { y: -4, opacity: 0 });
- // #menu-highlight plain DOM — CSS resting top:17; top:17 seed is y:0, tweens use y
- gsap.set("#menu-highlight", { y: 0, opacity: 0 });
-
- tl.to(gf, { top: 340, duration: 0.38, ease: "power3.out" }, 0.1);
- tl.to(fileCard, { y: 0, duration: 0.38, ease: "power3.out" }, 0.1);
- // #pointer plain DOM — CSS resting left:778 top:395; convert left/top → x/y offsets
- tl.fromTo(
- pointer,
- { x: -158, y: 125 },
- { x: 0, y: 0, duration: 0.55, ease: "power3.out" },
- 0.35,
- );
- tl.set("#click-ring", { left: 756, top: 372, scale: 0.72 }, 0.84);
- tl.to("#click-ring", { opacity: 0.7, scale: 1.18, duration: 0.16, ease: "power2.out" }, 0.86);
- tl.to("#click-ring", { opacity: 0, scale: 1.8, duration: 0.28, ease: "power2.out" }, 1.02);
- tl.to(
- [gf, fileCard],
- { scale: 0.985, duration: 0.08, ease: "power2.out", yoyo: true, repeat: 1 },
- 0.86,
- );
-
- tl.to([gm, tm], { opacity: 1, scale: 1, y: 0, duration: 0.36, ease: "back.out(1.08)" }, 0.98);
- tl.to(
- ".menu-item",
- { y: 0, opacity: 1, duration: 0.24, ease: "power3.out", stagger: 0.026 },
- 1.07,
- );
-
- tl.to("#menu-highlight", { opacity: 1, duration: 0.12, ease: "none" }, 1.35);
- tl.to("#menu-highlight", { y: 52, duration: 0.22, ease: "power2.out" }, 2.0);
- tl.to(pointer, { x: 350, y: 73, duration: 0.46, ease: "power3.inOut" }, 2.48);
- tl.to("#menu-highlight", { y: 170, duration: 0.22, ease: "power2.out" }, 2.58);
- tl.set([gsm, "#submenu-preview"], { left: 1236 }, 3.04);
- tl.fromTo(
- [gsm, "#submenu-preview"],
- { scale: 0.86, opacity: 0, x: -12 },
- { scale: 1, opacity: 1, x: 0, duration: 0.24, ease: "back.out(1.04)" },
- 3.08,
- );
- tl.to(pointer, { x: 540, y: 89, duration: 0.5, ease: "power3.inOut" }, 3.32);
- tl.set("#click-ring", { left: 1295, top: 461, scale: 0.72 }, 3.86);
- tl.to(
- "#click-ring",
- { opacity: 0.72, scale: 1.08, duration: 0.12, ease: "power2.out" },
- 3.88,
- );
- tl.to("#click-ring", { opacity: 0, scale: 1.58, duration: 0.24, ease: "power2.out" }, 4.0);
- tl.to(
- [gsm, "#submenu-preview"],
- { scale: 0.965, duration: 0.09, ease: "power2.out", yoyo: true, repeat: 1 },
- 3.92,
- );
-
- tl.to(pointer, { opacity: 0, duration: 0.35, ease: "power2.out" }, 5.85);
-
- /* Duration driver */
- tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: "none" }, 0);
-
- tl.eventCallback("onUpdate", function () {
- requestGlassRender(tl.time());
- });
-
- window.__timelines["liquid-glass-context-menu"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/liquid-glass-context-menu/registry-item.json b/registry/blocks/liquid-glass-context-menu/registry-item.json
deleted file mode 100644
index 9e42bb5b5b..0000000000
--- a/registry/blocks/liquid-glass-context-menu/registry-item.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "liquid-glass-context-menu",
- "type": "hyperframes:block",
- "title": "Liquid Glass Context Menu",
- "description": "Frosted glass context menu panel drifting over an aurora shader background",
- "stability": "experimental",
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 8,
- "tags": ["html-in-canvas", "liquid-glass-html-in-canvas", "webgpu"],
- "files": [
- {
- "path": "liquid-glass-context-menu.html",
- "target": "compositions/liquid-glass-context-menu.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "lib/liquid-glass.iife.js",
- "target": "compositions/lib/liquid-glass.iife.js",
- "type": "registry:asset"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-context-menu.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-context-menu.png"
- }
-}
diff --git a/registry/blocks/liquid-glass-media-controls/lib/liquid-glass.iife.js b/registry/blocks/liquid-glass-media-controls/lib/liquid-glass.iife.js
deleted file mode 100644
index ae5210629b..0000000000
--- a/registry/blocks/liquid-glass-media-controls/lib/liquid-glass.iife.js
+++ /dev/null
@@ -1,1048 +0,0 @@
-var LiquidGlass = (() => {
- var E = Object.defineProperty;
- var D = Object.getOwnPropertyDescriptor;
- var z = Object.getOwnPropertyNames;
- var N = Object.prototype.hasOwnProperty;
- var O = (m, e) => {
- for (var t in e) E(m, t, { get: e[t], enumerable: !0 });
- },
- H = (m, e, t, r) => {
- if ((e && typeof e == "object") || typeof e == "function")
- for (let n of z(e))
- !N.call(m, n) &&
- n !== t &&
- E(m, n, { get: () => e[n], enumerable: !(r = D(e, n)) || r.enumerable });
- return m;
- };
- var I = (m) => H(E({}, "__esModule", { value: !0 }), m);
- var Y = {};
- O(Y, {
- CSS_PROPERTY_MAP: () => _,
- DEFAULTS: () => w,
- GlassRendererGPU: () => y,
- LiquidGlassCanvas: () => R,
- });
- var w = {
- blurAmount: 0,
- refraction: 0.69,
- chromAberration: 0.05,
- edgeHighlight: 0.05,
- specular: 0,
- fresnel: 1,
- distortion: 0,
- cornerRadius: 65,
- zRadius: 40,
- opacity: 1,
- saturation: 0,
- tintStrength: 0,
- brightness: 0,
- shadowOpacity: 0.3,
- shadowSpread: 10,
- shadowOffsetY: 1,
- bevelMode: 0,
- },
- _ = {
- "--lg-blur": "blurAmount",
- "--lg-refraction": "refraction",
- "--lg-chrom-aberration": "chromAberration",
- "--lg-edge-highlight": "edgeHighlight",
- "--lg-specular": "specular",
- "--lg-fresnel": "fresnel",
- "--lg-distortion": "distortion",
- "--lg-corner-radius": "cornerRadius",
- "--lg-z-radius": "zRadius",
- "--lg-opacity": "opacity",
- "--lg-saturation": "saturation",
- "--lg-tint": "tintStrength",
- "--lg-brightness": "brightness",
- "--lg-shadow-opacity": "shadowOpacity",
- "--lg-shadow-spread": "shadowSpread",
- "--lg-shadow-offset-y": "shadowOffsetY",
- "--lg-bevel-mode": "bevelMode",
- },
- L = 6,
- T = 20;
- var q = `// Blit shader - copy texture with UV transform
-
-struct BlitUniforms {
- scale: vec2f,
- offset: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: BlitUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var tex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) uv: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- out.uv = pos * 0.5 + 0.5;
- out.position = vec4f(pos, 0.0, 1.0);
- return out;
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- return textureSample(tex, texSampler, in.uv * u.scale + u.offset);
-}
-`,
- k = `// Blur shader - 9-tap Gaussian blur (single direction)
-
-struct BlurUniforms {
- dir: vec2f,
- _pad: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: BlurUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var tex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) uv: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- out.uv = pos * 0.5 + 0.5;
- out.position = vec4f(pos, 0.0, 1.0);
- return out;
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- var s = textureSample(tex, texSampler, in.uv) * 0.227027;
- s += textureSample(tex, texSampler, in.uv + u.dir * 1.0) * 0.194594;
- s += textureSample(tex, texSampler, in.uv - u.dir * 1.0) * 0.194594;
- s += textureSample(tex, texSampler, in.uv + u.dir * 2.0) * 0.121622;
- s += textureSample(tex, texSampler, in.uv - u.dir * 2.0) * 0.121622;
- s += textureSample(tex, texSampler, in.uv + u.dir * 3.0) * 0.054054;
- s += textureSample(tex, texSampler, in.uv - u.dir * 3.0) * 0.054054;
- s += textureSample(tex, texSampler, in.uv + u.dir * 4.0) * 0.016216;
- s += textureSample(tex, texSampler, in.uv - u.dir * 4.0) * 0.016216;
- return s;
-}
-`,
- W = `// Glass shader - the core liquid glass effect
-
-struct GlassUniforms {
- center: vec2f,
- size: vec2f,
- res: vec2f,
- radius: f32,
- pad: f32,
- refract: f32,
- chroma: f32,
- edgeHL: f32,
- spec: f32,
- fresnel: f32,
- distort: f32,
- alpha: f32,
- sat: f32,
- tint: f32,
- zRadius: f32,
- brightness: f32,
- shadowAlpha: f32,
- shadowSpread: f32,
- shadowOffY: f32,
- bevelMode: f32,
- _pad: vec2f,
-}
-
-@group(0) @binding(0) var<uniform> u: GlassUniforms;
-@group(0) @binding(1) var texSampler: sampler;
-@group(0) @binding(2) var bgTex: texture_2d<f32>;
-@group(0) @binding(3) var blurTex: texture_2d<f32>;
-
-struct VertexOutput {
- @builtin(position) position: vec4f,
- @location(0) localPx: vec2f,
- @location(1) screenUV: vec2f,
-}
-
-@vertex
-fn vertexMain(@location(0) pos: vec2f) -> VertexOutput {
- var out: VertexOutput;
- let total = u.size + vec2f(u.pad * 2.0);
- out.localPx = pos * total;
- let px = u.center + pos * total;
- out.screenUV = vec2f(px.x / u.res.x, 1.0 - px.y / u.res.y);
- var ndc = (px / u.res) * 2.0 - 1.0;
- ndc.y = -ndc.y;
- out.position = vec4f(ndc, 0.0, 1.0);
- return out;
-}
-
-// Rounded-rect signed distance
-fn rrSDF(p: vec2f, b: vec2f, r: f32) -> f32 {
- let q = abs(p) - b + vec2f(r);
- return min(max(q.x, q.y), 0.0) + length(max(q, vec2f(0.0))) - r;
-}
-
-// Bevel height field
-fn bevelHeight(d: f32, zR: f32) -> f32 {
- if (d <= 0.0) { return 0.0; }
- if (d >= zR) { return zR; }
- return sqrt(d * (2.0 * zR - d));
-}
-
-fn hash(p: vec2f) -> f32 {
- return fract(sin(dot(p, vec2f(127.1, 311.7))) * 43758.5453);
-}
-
-@fragment
-fn fragmentMain(in: VertexOutput) -> @location(0) vec4f {
- let half_ = u.size * 0.5;
- let r = min(u.radius, min(half_.x, half_.y));
- let sdf = rrSDF(in.localPx, half_, r);
-
- // Anti-aliased mask
- let mask = 1.0 - smoothstep(-1.5, 0.5, sdf);
-
- let maxD = min(half_.x, half_.y);
- let inside = -sdf;
- let edge = smoothstep(maxD * 0.35, 0.0, inside);
-
- // Surface normal via bevel height field
- let zR = u.zRadius;
- let e = 2.0;
- let dC = inside;
- let dR = -rrSDF(in.localPx + vec2f(e, 0.0), half_, r);
- let dL = -rrSDF(in.localPx - vec2f(e, 0.0), half_, r);
- let dU = -rrSDF(in.localPx + vec2f(0.0, e), half_, r);
- let dD = -rrSDF(in.localPx - vec2f(0.0, e), half_, r);
- let hC = bevelHeight(dC, zR);
- let hR = bevelHeight(dR, zR);
- let hL = bevelHeight(dL, zR);
- let hU = bevelHeight(dU, zR);
- let hD = bevelHeight(dD, zR);
- let hGrad = vec2f(hR - hL, hU - hD) / (2.0 * e);
- let N = normalize(vec3f(-hGrad, 1.0));
-
- let depth = smoothstep(0.0, zR, inside);
-
- // Refraction - compute both modes and select
- let pxToUV = vec2f(1.0, -1.0) / u.res;
- let ior = 1.5;
- let refrPow = 1.0 - 1.0 / ior;
- let thickness = hC * 2.0;
- let thickNorm = thickness / max(zR * 2.0, 1.0);
-
- // Biconvex mode
- let exitRefr = hGrad * refrPow;
- let entryRefr = hGrad * refrPow;
- let throughRefr = entryRefr * thickNorm * 0.5;
- var refrPxBiconvex = (exitRefr + entryRefr + throughRefr) * u.refract * 30.0;
- let centerDir = -in.localPx / max(half_, vec2f(1.0));
- refrPxBiconvex += centerDir * u.refract * 4.0 * depth;
-
- // Dome mode
- let refrPxDome = -in.localPx * u.refract * depth * 0.35;
-
- // Select based on bevel mode
- let refrPx = select(refrPxBiconvex, refrPxDome, u.bevelMode >= 0.5);
- let refr = refrPx * pxToUV;
-
- // Micro-distortion noise
- let ns = in.localPx * 0.08;
- let absPxToUV = vec2f(1.0) / u.res;
- let micro = (vec2f(hash(ns), hash(ns + vec2f(37.0))) - 0.5) * u.distort * 4.0 * absPxToUV;
-
- // Chromatic aberration
- let caS = u.chroma * 18.0 * (edge * 0.7 + 0.3) * 2.0;
- let caD = N.xy * caS * pxToUV;
- let base = in.screenUV + refr + micro;
-
- // Sample textures (must be in uniform control flow)
- let sharpR = textureSample(bgTex, texSampler, base + caD).r;
- let sharpG = textureSample(bgTex, texSampler, base).g;
- let sharpB = textureSample(bgTex, texSampler, base - caD).b;
- let sharp = vec3f(sharpR, sharpG, sharpB);
-
- let blurR = textureSample(blurTex, texSampler, base + caD).r;
- let blurG = textureSample(blurTex, texSampler, base).g;
- let blurB = textureSample(blurTex, texSampler, base - caD).b;
- let blur = vec3f(blurR, blurG, blurB);
-
- // Edge-weighted blur mix
- let edgeMix = 1.0 - edge * 0.15;
- var col = mix(sharp, blur, edgeMix);
-
- // Brightness
- col *= 1.0 + u.brightness;
-
- // Saturation
- let lum = dot(col, vec3f(0.299, 0.587, 0.114));
- col = mix(vec3f(lum), col, 1.0 + u.sat);
-
- // Cool glass tint
- col = mix(col, col * vec3f(0.92, 0.95, 1.05), u.tint);
- col *= 1.0 + 0.06 * depth;
-
- // Fresnel
- let fres = pow(1.0 - abs(N.z), 4.0) * u.fresnel;
-
- // Specular highlights (multi-light Blinn-Phong)
- let V = vec3f(0.0, 0.0, 1.0);
- let L1 = normalize(vec3f(0.4, 0.7, 1.0));
- let H1 = normalize(L1 + V);
- let sp1 = pow(max(dot(N, H1), 0.0), 90.0);
- let L2 = normalize(vec3f(-0.3, -0.5, 1.0));
- let H2 = normalize(L2 + V);
- let sp2 = pow(max(dot(N, H2), 0.0), 50.0) * 0.3;
- let L3 = normalize(vec3f(0.1, 0.3, 1.0));
- let spB = pow(max(dot(N, L3), 0.0), 6.0) * 0.1;
- let L4 = normalize(vec3f(0.0, 0.9, 0.4));
- let H4 = normalize(L4 + V);
- let sp4 = pow(max(dot(N, H4), 0.0), 120.0) * 0.6;
- let totalSpec = (sp1 + sp2 + spB + sp4) * u.spec;
-
- // Inner border / stroke highlight
- let borderWidth = 1.5;
- let innerStroke = smoothstep(-borderWidth - 1.0, -borderWidth, sdf)
- * (1.0 - smoothstep(-1.0, 0.0, sdf));
- let topBias = 0.5 + 0.5 * (-in.localPx.y / half_.y);
- let innerStrokeFinal = innerStroke * (0.4 + 0.6 * topBias);
-
- // Edge highlight & inner glow
- let rim = edge * u.edgeHL * 0.22;
- let innerGlow = smoothstep(5.0, 0.0, -sdf) * u.edgeHL * 0.15;
-
- // Environment-like reflection (fake)
- let envRefl = (N.y * 0.5 + 0.5) * fres * 0.08;
-
- // Composite glass effect
- var fin = col;
- fin += vec3f(totalSpec);
- fin += vec3f(rim + innerGlow);
- fin += vec3f(innerStrokeFinal * u.edgeHL * 0.55);
- fin += vec3f(envRefl);
- fin = mix(fin, vec3f(1.0), fres * 0.2);
-
- // Shadow calculation (outside panel)
- let sdfShadow = rrSDF(in.localPx - vec2f(0.0, u.shadowOffY), half_, r);
- let shadowD = max(sdfShadow - 1.0, 0.0);
- let spread = max(u.shadowSpread, 1.0);
- let falloff = 1.0 / (spread * spread);
- let outerShadow = exp(-shadowD * shadowD * falloff) * 0.65;
- let contactShadow = exp(-shadowD * 0.08 / max(spread * 0.04, 0.01)) * 0.35;
- let shadow = (outerShadow + contactShadow) * u.shadowAlpha;
-
- // Select between shadow (outside) and glass (inside)
- let isOutside = sdf > 0.0;
- let finalColor = select(fin, vec3f(0.0), isOutside);
- let finalAlpha = select(mask * u.alpha, shadow, isOutside);
-
- return vec4f(finalColor, finalAlpha);
-}
-`,
- y = class {
- canvas;
- device = null;
- context = null;
- format = "bgra8unorm";
- blitPipeline = null;
- blurPipeline = null;
- glassPipeline = null;
- quadBuffer = null;
- panelBuffer = null;
- blitUniformBuffer = null;
- blurUniformBuffer = null;
- glassUniformBuffer = null;
- sampler = null;
- targetCache = new Map();
- activeTargets = null;
- bgTexture = null;
- bgTextureView = null;
- width = 0;
- height = 0;
- _initPromise = null;
- _initialized = !1;
- constructor() {
- ((this.canvas = document.createElement("canvas")),
- (this.canvas.style.display = "none"),
- document.body.appendChild(this.canvas));
- }
- async init() {
- return this._initPromise
- ? this._initPromise
- : ((this._initPromise = this._doInit()), this._initPromise);
- }
- async _doInit() {
- if (!navigator.gpu) return (console.warn("WebGPU not supported"), !1);
- let e = await navigator.gpu.requestAdapter();
- return e
- ? ((this.device = await e.requestDevice()),
- this.device
- ? ((this.context = this.canvas.getContext("webgpu")),
- this.context
- ? ((this.format = navigator.gpu.getPreferredCanvasFormat()),
- this.context.configure({
- device: this.device,
- format: this.format,
- alphaMode: "premultiplied",
- }),
- this._initPipelines(),
- this._initBuffers(),
- (this._initialized = !0),
- !0)
- : (console.warn("Failed to get WebGPU context"), !1))
- : (console.warn("Failed to get WebGPU device"), !1))
- : (console.warn("No WebGPU adapter found"), !1);
- }
- get initialized() {
- return this._initialized;
- }
- _initPipelines() {
- let e = this.device;
- this.sampler = e.createSampler({
- magFilter: "linear",
- minFilter: "linear",
- addressModeU: "clamp-to-edge",
- addressModeV: "clamp-to-edge",
- });
- let t = e.createShaderModule({ code: q }),
- r = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.blitPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [r] }),
- vertex: {
- module: t,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: { module: t, entryPoint: "fragmentMain", targets: [{ format: "rgba8unorm" }] },
- primitive: { topology: "triangle-strip" },
- });
- let n = e.createShaderModule({ code: k }),
- i = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.blurPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [i] }),
- vertex: {
- module: n,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: { module: n, entryPoint: "fragmentMain", targets: [{ format: "rgba8unorm" }] },
- primitive: { topology: "triangle-strip" },
- });
- let s = e.createShaderModule({ code: W }),
- l = e.createBindGroupLayout({
- entries: [
- {
- binding: 0,
- visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT,
- buffer: { type: "uniform" },
- },
- { binding: 1, visibility: GPUShaderStage.FRAGMENT, sampler: { type: "filtering" } },
- { binding: 2, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- { binding: 3, visibility: GPUShaderStage.FRAGMENT, texture: { sampleType: "float" } },
- ],
- });
- this.glassPipeline = e.createRenderPipeline({
- layout: e.createPipelineLayout({ bindGroupLayouts: [l] }),
- vertex: {
- module: s,
- entryPoint: "vertexMain",
- buffers: [
- {
- arrayStride: 8,
- attributes: [{ shaderLocation: 0, offset: 0, format: "float32x2" }],
- },
- ],
- },
- fragment: {
- module: s,
- entryPoint: "fragmentMain",
- targets: [
- {
- format: this.format,
- blend: {
- color: {
- srcFactor: "src-alpha",
- dstFactor: "one-minus-src-alpha",
- operation: "add",
- },
- alpha: { srcFactor: "one", dstFactor: "one-minus-src-alpha", operation: "add" },
- },
- },
- ],
- },
- primitive: { topology: "triangle-strip" },
- });
- }
- _initBuffers() {
- let e = this.device;
- ((this.quadBuffer = e.createBuffer({
- size: 32,
- usage: GPUBufferUsage.VERTEX,
- mappedAtCreation: !0,
- })),
- new Float32Array(this.quadBuffer.getMappedRange()).set([-1, -1, 1, -1, -1, 1, 1, 1]),
- this.quadBuffer.unmap(),
- (this.panelBuffer = e.createBuffer({
- size: 32,
- usage: GPUBufferUsage.VERTEX,
- mappedAtCreation: !0,
- })),
- new Float32Array(this.panelBuffer.getMappedRange()).set([
- -0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5,
- ]),
- this.panelBuffer.unmap(),
- (this.blitUniformBuffer = e.createBuffer({
- size: 16,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })),
- (this.blurUniformBuffer = e.createBuffer({
- size: 16,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })),
- (this.glassUniformBuffer = e.createBuffer({
- size: 112,
- usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
- })));
- }
- resize(e, t) {
- if (!(this.width === e && this.height === t)) {
- ((this.width = e), (this.height = t));
- for (let r of this.targetCache.values()) this._freeTargetSet(r);
- (this.targetCache.clear(), (this.activeTargets = null));
- }
- }
- uploadAndBlur(e, t, r, n, i, s) {
- if (!this._initialized || !this.device || !this._setActiveSize(n, i)) return;
- let l = this.device,
- a = this.width,
- u = this.height,
- o = this.activeTargets,
- d = document.createElement("canvas");
- ((d.width = a),
- (d.height = u),
- d.getContext("2d").drawImage(e, -t, -r),
- (!this.bgTexture || this.bgTexture.width !== a || this.bgTexture.height !== u) &&
- (this.bgTexture && this.bgTexture.destroy(),
- (this.bgTexture = l.createTexture({
- size: [a, u],
- format: "rgba8unorm",
- usage:
- GPUTextureUsage.TEXTURE_BINDING |
- GPUTextureUsage.COPY_DST |
- GPUTextureUsage.RENDER_ATTACHMENT,
- })),
- (this.bgTextureView = this.bgTexture.createView())),
- l.queue.copyExternalImageToTexture(
- { source: d, flipY: !0 },
- { texture: this.bgTexture },
- [a, u],
- ));
- let f = l.createCommandEncoder();
- this._blitPass(f, this.bgTextureView, o.bg.view, a, u, 1, 1, 0, 0);
- let h = o.blurA.w,
- b = o.blurA.h;
- if ((this._blitPass(f, o.bg.view, o.blurA.view, h, b, 1, 1, 0, 0), s > 0)) {
- let g = s * 2.5;
- for (let p = 0; p < L; p++)
- (this._blurPass(f, o.blurA.view, o.blurB.view, h, b, g / h, 0),
- this._blurPass(f, o.blurB.view, o.blurA.view, h, b, 0, g / b));
- }
- l.queue.submit([f.finish()]);
- }
- _blitPass(e, t, r, n, i, s, l, a, u) {
- let o = this.device;
- o.queue.writeBuffer(this.blitUniformBuffer, 0, new Float32Array([s, l, a, u]));
- let d = o.createBindGroup({
- layout: this.blitPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.blitUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: t },
- ],
- }),
- c = e.beginRenderPass({
- colorAttachments: [
- {
- view: r,
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (c.setPipeline(this.blitPipeline),
- c.setBindGroup(0, d),
- c.setVertexBuffer(0, this.quadBuffer),
- c.setViewport(0, 0, n, i, 0, 1),
- c.draw(4),
- c.end());
- }
- _blurPass(e, t, r, n, i, s, l) {
- let a = this.device;
- a.queue.writeBuffer(this.blurUniformBuffer, 0, new Float32Array([s, l, 0, 0]));
- let u = a.createBindGroup({
- layout: this.blurPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.blurUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: t },
- ],
- }),
- o = e.beginRenderPass({
- colorAttachments: [
- {
- view: r,
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (o.setPipeline(this.blurPipeline),
- o.setBindGroup(0, u),
- o.setVertexBuffer(0, this.quadBuffer),
- o.setViewport(0, 0, n, i, 0, 1),
- o.draw(4),
- o.end());
- }
- renderGlassPanel(e, t, r, n) {
- if (!this._initialized || !this.device || !this.context) return;
- let i = this.device,
- s = this.width,
- l = this.height,
- a = this.activeTargets,
- u = new Float32Array([
- s * 0.5,
- l * 0.5,
- t * n,
- r * n,
- s,
- l,
- e.cornerRadius * n,
- T * n,
- e.refraction,
- e.chromAberration,
- e.edgeHighlight,
- e.specular,
- e.fresnel,
- e.distortion,
- e.opacity,
- e.saturation,
- e.tintStrength,
- e.zRadius * n,
- e.brightness,
- e.shadowOpacity,
- e.shadowSpread * n,
- e.shadowOffsetY * n,
- e.bevelMode,
- 0,
- 0,
- 0,
- 0,
- 0,
- ]);
- i.queue.writeBuffer(this.glassUniformBuffer, 0, u);
- let o = i.createBindGroup({
- layout: this.glassPipeline.getBindGroupLayout(0),
- entries: [
- { binding: 0, resource: { buffer: this.glassUniformBuffer } },
- { binding: 1, resource: this.sampler },
- { binding: 2, resource: a.bg.view },
- { binding: 3, resource: a.blurA.view },
- ],
- }),
- d = i.createCommandEncoder(),
- c = d.beginRenderPass({
- colorAttachments: [
- {
- view: this.context.getCurrentTexture().createView(),
- loadOp: "load",
- storeOp: "store",
- },
- ],
- });
- (c.setPipeline(this.glassPipeline),
- c.setBindGroup(0, o),
- c.setVertexBuffer(0, this.panelBuffer),
- c.setViewport(0, 0, s, l, 0, 1),
- c.draw(4),
- c.end(),
- i.queue.submit([d.finish()]));
- }
- clear() {
- if (!this._initialized || !this.device || !this.context) return;
- let e = this.device.createCommandEncoder(),
- t = e.beginRenderPass({
- colorAttachments: [
- {
- view: this.context.getCurrentTexture().createView(),
- loadOp: "clear",
- storeOp: "store",
- clearValue: { r: 0, g: 0, b: 0, a: 0 },
- },
- ],
- });
- (t.setViewport(0, 0, this.width, this.height, 0, 1),
- t.end(),
- this.device.queue.submit([e.finish()]));
- }
- destroy() {
- for (let e of this.targetCache.values()) this._freeTargetSet(e);
- (this.targetCache.clear(),
- this.bgTexture && this.bgTexture.destroy(),
- this.quadBuffer && this.quadBuffer.destroy(),
- this.panelBuffer && this.panelBuffer.destroy(),
- this.blitUniformBuffer && this.blitUniformBuffer.destroy(),
- this.blurUniformBuffer && this.blurUniformBuffer.destroy(),
- this.glassUniformBuffer && this.glassUniformBuffer.destroy(),
- this.device?.destroy(),
- this.canvas.remove());
- }
- _setActiveSize(e, t) {
- if (e <= 0 || t <= 0) return !1;
- ((this.width = e),
- (this.height = t),
- (this.canvas.width < e || this.canvas.height < t) &&
- ((this.canvas.width = Math.max(this.canvas.width, e)),
- (this.canvas.height = Math.max(this.canvas.height, t)),
- this.context?.configure({
- device: this.device,
- format: this.format,
- alphaMode: "premultiplied",
- })));
- let r = `${e}x${t}`,
- n = this.targetCache.get(r);
- return (
- n ||
- ((n = {
- bg: this._makeTarget(e, t),
- blurA: this._makeTarget(e, t),
- blurB: this._makeTarget(e, t),
- }),
- this.targetCache.set(r, n)),
- (this.activeTargets = n),
- !0
- );
- }
- _makeTarget(e, t) {
- let r = this.device.createTexture({
- size: [e, t],
- format: "rgba8unorm",
- usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.RENDER_ATTACHMENT,
- });
- return { texture: r, view: r.createView(), w: e, h: t };
- }
- _freeTarget(e) {
- e && e.texture.destroy();
- }
- _freeTargetSet(e) {
- (this._freeTarget(e.bg), this._freeTarget(e.blurA), this._freeTarget(e.blurB));
- }
- };
- var R = class {
- canvas;
- ctx;
- renderer;
- sceneCanvas;
- sceneCtx;
- drawElementImage;
- _initPromise;
- _initialized = !1;
- constructor(e) {
- ((this.canvas = e),
- (this.ctx = e.getContext("2d")),
- (this.renderer = new y()),
- (this.sceneCanvas = document.createElement("canvas")),
- (this.sceneCtx = this.sceneCanvas.getContext("2d")));
- let t = this.ctx;
- ((this.drawElementImage = t.drawElementImage?.bind(t) ?? t.drawElement?.bind(t) ?? null),
- (this._initPromise = this._initWebGPU()));
- }
- async _initWebGPU() {
- try {
- return (await this.renderer.init())
- ? ((this._initialized = !0), console.log("LiquidGlass: WebGPU renderer initialized"), !0)
- : (console.error("LiquidGlass: WebGPU not available"), !1);
- } catch (e) {
- return (console.error("LiquidGlass: WebGPU init failed", e), !1);
- }
- }
- get isReady() {
- return this._initialized;
- }
- async waitForInit() {
- return this._initPromise;
- }
- render() {
- let e = this.canvas.width,
- t = this.canvas.height;
- if (e === 0 || t === 0 || !this.drawElementImage || !this._initialized) return;
- this.ctx.clearRect(0, 0, e, t);
- let r = window.devicePixelRatio || 1,
- n = this.canvas.getBoundingClientRect(),
- i = Array.from(this.canvas.children),
- s = Array.from(this.canvas.querySelectorAll(".liquid-glass")),
- l = new Set(s);
- i.length === 0 &&
- !this.__lg_warn_empty &&
- (console.warn("LiquidGlass: No children found inside the canvas to render."),
- (this.__lg_warn_empty = !0));
- for (let a of i)
- if (!l.has(a)) {
- let u = a,
- o = this._getElementPosition(u, n);
- if (o.w <= 0 || o.h <= 0) continue;
- let d = o.x * r,
- c = o.y * r;
- try {
- let f = this.drawElementImage(a, d, c);
- f && (u.style.transform = f.toString());
- } catch (f) {
- a.__lg_error_logged ||
- (console.warn(
- `LiquidGlass: Failed to draw background element ${a.tagName}.${a.className}:`,
- f.message || f,
- ),
- (a.__lg_error_logged = !0));
- }
- }
- for (let a of s)
- try {
- this._renderGlassElement(a, n, r);
- } catch (u) {
- a.__lg_error_logged_glass ||
- (console.error(
- `LiquidGlass: Failed to render glass effect for ${a.tagName}.${a.className}:`,
- u.message || u,
- ),
- (a.__lg_error_logged_glass = !0));
- }
- }
- renderGlassElements() {
- let e = this.canvas.width,
- t = this.canvas.height;
- if (e === 0 || t === 0 || !this.drawElementImage || !this._initialized) return;
- let r = window.devicePixelRatio || 1,
- n = this.canvas.getBoundingClientRect(),
- i = this.canvas.querySelectorAll(".liquid-glass");
- for (let s of i) this._renderGlassElement(s, n, r);
- }
- _parseCSSLength(e, t) {
- return !e || e === "auto"
- ? NaN
- : ((e = e.trim()),
- e.startsWith("calc(")
- ? this._parseCalc(e, t)
- : e.endsWith("%")
- ? (parseFloat(e) / 100) * t
- : parseFloat(e) || 0);
- }
- _parseCalc(e, t) {
- let r = e.match(/calc\((.+)\)/);
- if (!r) return 0;
- let n = r[1].trim(),
- i = n.match(/(.+)\s*\+\s*(.+)/),
- s = n.match(/(.+)\s*-\s*(.+)/);
- if (s) {
- let l = this._parseCSSLength(s[1].trim(), t),
- a = this._parseCSSLength(s[2].trim(), t);
- return l - a;
- }
- if (i) {
- let l = this._parseCSSLength(i[1].trim(), t),
- a = this._parseCSSLength(i[2].trim(), t);
- return l + a;
- }
- return this._parseCSSLength(n, t);
- }
- _parseTransform(e, t, r) {
- let n = 0,
- i = 0;
- if (!e || e === "none") return { tx: n, ty: i };
- let s = e.match(/translate\(\s*([^,)]+)(?:\s*,\s*([^)]+))?\s*\)/);
- s &&
- ((n = this._parseTranslateValue(s[1], t)),
- (i = s[2] ? this._parseTranslateValue(s[2], r) : 0));
- let l = e.match(/translateX\(\s*([^)]+)\s*\)/);
- l && (n = this._parseTranslateValue(l[1], t));
- let a = e.match(/translateY\(\s*([^)]+)\s*\)/);
- a && (i = this._parseTranslateValue(a[1], r));
- let u = e.match(/translate3d\(\s*([^,]+)\s*,\s*([^,]+)\s*,\s*[^)]+\s*\)/);
- return (
- u && ((n = this._parseTranslateValue(u[1], t)), (i = this._parseTranslateValue(u[2], r))),
- { tx: n, ty: i }
- );
- }
- _parseTranslateValue(e, t) {
- return ((e = e.trim()), e.endsWith("%") ? (parseFloat(e) / 100) * t : parseFloat(e) || 0);
- }
- _getElementPosition(e, t) {
- let r = getComputedStyle(e),
- n = parseFloat(getComputedStyle(this.canvas).width) || this.canvas.width || 1536,
- i = parseFloat(getComputedStyle(this.canvas).height) || this.canvas.height || 1024,
- s = e.getBoundingClientRect(),
- l = s.width || parseFloat(r.width) || 0,
- a = s.height || parseFloat(r.height) || 0,
- u = 0,
- o = 0,
- d = e.style,
- c = d.left || r.left,
- f = d.right || r.right,
- h = d.top || r.top,
- b = d.bottom || r.bottom,
- g = this._parseCSSLength(c, n),
- p = this._parseCSSLength(f, n),
- v = this._parseCSSLength(h, i),
- S = this._parseCSSLength(b, i),
- P = parseFloat(r.marginLeft) || 0,
- x = parseFloat(r.marginRight) || 0,
- M = parseFloat(r.marginTop) || 0,
- A = parseFloat(r.marginBottom) || 0,
- G = !isNaN(g),
- U = !isNaN(p);
- G && U && g === 0 && p === 0
- ? (u = (n - l) / 2)
- : (G && U) || G
- ? (u = g + P)
- : U && (u = n - l - p - x);
- let B = !isNaN(v),
- C = !isNaN(S);
- B && C && v === 0 && S === 0
- ? (o = (i - a) / 2)
- : (B && C) || B
- ? (o = v + M)
- : C && (o = i - a - S - A);
- let { tx: V, ty: F } = this._parseTransform(r.transform, l, a);
- return ((u += V), (o += F), { x: u, y: o, w: l, h: a });
- }
- _renderGlassElement(e, t, r) {
- if (!this.drawElementImage) return;
- let n = this._getConfigFromCSS(e),
- i = this._getElementPosition(e, t),
- s = i.x,
- l = i.y,
- a = i.w,
- u = i.h,
- o = s * r,
- d = l * r,
- c = a * r,
- f = u * r,
- h = T * r,
- b = o - h,
- g = d - h,
- p = c + h * 2,
- v = f + h * 2;
- this._captureRegion(b, g, p, v);
- let S = Math.round(p),
- P = Math.round(v);
- (this.renderer.clear(),
- this.renderer.uploadAndBlur(this.sceneCanvas, 0, 0, S, P, n.blurAmount),
- this.renderer.renderGlassPanel(n, a, u, r),
- this.ctx.drawImage(this.renderer.canvas, 0, 0, p, v, b, g, p, v));
- try {
- let x = this._drawGlassElementContent(e, o, d);
- x && (e.style.transform = x.toString());
- } catch (x) {
- e.__lg_error_logged ||
- (console.warn(
- `LiquidGlass: Failed to draw glass element ${e.tagName}.${e.className}:`,
- x,
- ),
- (e.__lg_error_logged = !0));
- }
- }
- _drawGlassElementContent(e, t, r) {
- if (!this.drawElementImage) return;
- let n = this._suppressGlassChrome(e);
- try {
- return this.drawElementImage(e, t, r);
- } finally {
- this._restoreInlineStyles(e, n);
- }
- }
- _suppressGlassChrome(e) {
- let t = new Map(),
- r = [
- "background",
- "backgroundColor",
- "backgroundImage",
- "borderColor",
- "boxShadow",
- "filter",
- "outlineColor",
- ];
- for (let n of r) t.set(n, e.style[n]);
- return (
- (e.style.background = "transparent"),
- (e.style.backgroundColor = "transparent"),
- (e.style.backgroundImage = "none"),
- (e.style.borderColor = "transparent"),
- (e.style.boxShadow = "none"),
- (e.style.filter = "none"),
- (e.style.outlineColor = "transparent"),
- t
- );
- }
- _restoreInlineStyles(e, t) {
- for (let [r, n] of t) e.style[r] = n;
- }
- _captureRegion(e, t, r, n) {
- let i = Math.round(r),
- s = Math.round(n);
- ((this.sceneCanvas.width !== i || this.sceneCanvas.height !== s) &&
- ((this.sceneCanvas.width = i), (this.sceneCanvas.height = s)),
- (this.sceneCtx.fillStyle = "#ffffff"),
- this.sceneCtx.fillRect(0, 0, i, s),
- this.sceneCtx.drawImage(this.canvas, e, t, r, n, 0, 0, i, s));
- }
- _getConfigFromCSS(e) {
- let t = getComputedStyle(e),
- r = { ...w };
- for (let [n, i] of Object.entries(_)) {
- let s = t.getPropertyValue(n).trim();
- if (s) {
- let l = parseFloat(s);
- isNaN(l) || (r[i] = l);
- }
- }
- return r;
- }
- destroy() {
- this.renderer.destroy();
- }
- };
- return I(Y);
-})();
diff --git a/registry/blocks/liquid-glass-media-controls/liquid-glass-media-controls.html b/registry/blocks/liquid-glass-media-controls/liquid-glass-media-controls.html
deleted file mode 100644
index 673516bb3a..0000000000
--- a/registry/blocks/liquid-glass-media-controls/liquid-glass-media-controls.html
+++ /dev/null
@@ -1,688 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Liquid Glass Media Controls</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script
- src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"
- integrity="sha384-CI3ELBVUz9XQO+97x6nwMDPosPR5XvsxW2ua7N1Xeygeh1IxtgqtCkGfQY9WWdHu"
- crossorigin="anonymous"
- ></script>
- <script src="lib/liquid-glass.iife.js"></script>
- <style>
- *,
- *::before,
- *::after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- background: #0a0218;
- overflow: hidden;
- font-family: "Inter", system-ui, sans-serif;
- }
- #root {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- }
- #three-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 0;
- }
- #glass-canvas {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 1;
- }
-
- /* ── Glass Panels ── */
- .glass-panel {
- position: absolute;
- background: rgba(255, 255, 255, 0.055);
- --lg-blur: 0.42;
- --lg-refraction: 0.92;
- --lg-corner-radius: 36;
- --lg-z-radius: 58;
- --lg-specular: 0.46;
- --lg-fresnel: 1.15;
- --lg-edge-highlight: 0.34;
- --lg-chrom-aberration: 0.08;
- --lg-shadow-opacity: 0;
- --lg-shadow-spread: 0;
- --lg-shadow-offset-y: 0;
- --lg-saturation: 1.1;
- }
- .search-panel {
- width: 640px;
- height: 72px;
- --lg-corner-radius: 24;
- }
- .toggle-panel {
- width: 640px;
- height: 64px;
- --lg-corner-radius: 44;
- }
- .media-panel {
- width: 640px;
- height: 116px;
- --lg-corner-radius: 44;
- }
- .slider-panel {
- width: 640px;
- height: 76px;
- --lg-corner-radius: 28;
- }
-
- #glass-search {
- top: 300px;
- left: 640px;
- }
- #glass-toggle {
- top: 390px;
- left: 640px;
- }
- #glass-media {
- top: 476px;
- left: 640px;
- }
- #glass-slider {
- top: 616px;
- left: 640px;
- }
-
- /* ── Text Overlays ── */
- .text-overlay {
- position: absolute;
- z-index: 2;
- pointer-events: none;
- }
-
- /* Search bar */
- .search-text {
- width: 640px;
- height: 72px;
- display: flex;
- align-items: center;
- gap: 16px;
- padding: 0 28px;
- background: transparent;
- border-radius: 24px;
- box-shadow: none;
- }
- .search-text svg {
- width: 22px;
- height: 22px;
- stroke: rgba(255, 255, 255, 0.86);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- flex-shrink: 0;
- }
- .search-label {
- font-size: 19px;
- font-weight: 650;
- color: #fff;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .search-caret {
- width: 2px;
- height: 25px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.82);
- opacity: 0;
- }
- #text-search {
- top: 300px;
- left: 640px;
- }
-
- /* Toggle row */
- .toggle-text {
- width: 640px;
- height: 64px;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 0;
- position: relative;
- padding: 6px;
- background: transparent;
- border-radius: 44px;
- box-shadow: none;
- }
- .toggle-active-pill {
- position: absolute;
- top: 6px;
- left: 6px;
- z-index: 0;
- width: 209px;
- height: 52px;
- border-radius: 999px;
- background:
- radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
- rgba(255, 255, 255, 0.14);
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.32),
- inset 0 -1px 0 rgba(255, 255, 255, 0.09);
- }
- .toggle-item {
- flex: 1;
- position: relative;
- z-index: 1;
- text-align: center;
- font-size: 16px;
- font-weight: 700;
- color: rgba(255, 255, 255, 0.96);
- line-height: 52px;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .toggle-item.active {
- color: #fff;
- }
- #text-toggle {
- top: 390px;
- left: 640px;
- }
-
- /* Media pill */
- .media-text {
- width: 640px;
- height: 116px;
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 24px;
- background: transparent;
- border-radius: 44px;
- box-shadow: none;
- }
- .album-art {
- position: relative;
- overflow: hidden;
- width: 78px;
- height: 78px;
- border-radius: 20px;
- background:
- radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.78), transparent 16%),
- conic-gradient(from 210deg, #06e3fa, #4fdb5e, #f59e0b, #ec4899, #06e3fa);
- flex-shrink: 0;
- box-shadow:
- inset 0 1px 0 rgba(255, 255, 255, 0.28),
- 0 12px 26px rgba(0, 0, 0, 0.24);
- }
- .album-sheen {
- position: absolute;
- top: -10px;
- left: -70px;
- width: 38px;
- height: 110px;
- background: rgba(255, 255, 255, 0.34);
- filter: blur(8px);
- transform: rotate(24deg);
- }
- .media-info {
- display: flex;
- flex-direction: column;
- gap: 7px;
- flex: 1;
- min-width: 0;
- }
- .media-title {
- font-size: 22px;
- font-weight: 700;
- color: #fff;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .media-artist {
- font-size: 16px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.84);
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- .media-meta-row {
- display: flex;
- align-items: center;
- gap: 9px;
- }
- .live-dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: #4ade80;
- box-shadow: 0 0 14px rgba(74, 222, 128, 0.76);
- }
- .sound-wave {
- display: flex;
- align-items: end;
- gap: 3px;
- height: 16px;
- }
- .sound-wave span {
- width: 3px;
- height: 7px;
- border-radius: 999px;
- background: rgba(255, 255, 255, 0.74);
- }
- .transport {
- display: flex;
- align-items: center;
- gap: 24px;
- margin-left: auto;
- padding-right: 4px;
- }
- .transport svg {
- width: 28px;
- height: 28px;
- fill: #fff;
- stroke: none;
- }
- .transport .play-btn svg {
- width: 38px;
- height: 38px;
- }
- #text-media {
- top: 476px;
- left: 640px;
- }
-
- /* Brightness slider */
- .slider-text {
- width: 640px;
- height: 76px;
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 28px;
- background: transparent;
- border-radius: 28px;
- box-shadow: none;
- }
- .slider-text svg {
- width: 26px;
- height: 26px;
- stroke: rgba(255, 255, 255, 0.88);
- fill: none;
- stroke-width: 2;
- stroke-linecap: round;
- stroke-linejoin: round;
- flex-shrink: 0;
- }
- .slider-track {
- flex: 1;
- height: 8px;
- background: rgba(255, 255, 255, 0.24);
- border-radius: 4px;
- position: relative;
- }
- .slider-fill {
- position: absolute;
- top: 0;
- left: 0;
- width: 34%;
- height: 100%;
- background: #fff;
- border-radius: 3px;
- box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
- }
- .slider-pct {
- font-size: 17px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.9);
- font-variant-numeric: tabular-nums;
- width: 42px;
- text-align: right;
- text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
- }
- #text-slider {
- top: 616px;
- left: 640px;
- }
- </style>
- </head>
- <body>
- <div
- id="root"
- data-composition-id="liquid-glass-media-controls"
- data-width="1920"
- data-height="1080"
- data-start="0"
- data-duration="8"
- data-root="true"
- >
- <canvas id="three-canvas" width="1920" height="1080"></canvas>
-
- <canvas id="glass-canvas" layoutsubtree width="1920" height="1080">
- <div id="glass-search" class="glass-panel search-panel liquid-glass"></div>
- <div id="glass-toggle" class="glass-panel toggle-panel liquid-glass"></div>
- <div id="glass-media" class="glass-panel media-panel liquid-glass"></div>
- <div id="glass-slider" class="glass-panel slider-panel liquid-glass"></div>
- </canvas>
-
- <!-- Search bar -->
- <div id="text-search" class="text-overlay search-text">
- <svg viewBox="0 0 24 24">
- <circle cx="11" cy="11" r="8" />
- <line x1="21" y1="21" x2="16.65" y2="16.65" />
- </svg>
- <span id="search-label" class="search-label">Search</span>
- <span id="search-caret" class="search-caret"></span>
- </div>
-
- <!-- Toggle row -->
- <div id="text-toggle" class="text-overlay toggle-text">
- <div id="toggle-pill" class="toggle-active-pill"></div>
- <div class="toggle-item active">All</div>
- <div class="toggle-item">Favorites</div>
- <div class="toggle-item">Recent</div>
- </div>
-
- <!-- Media pill -->
- <div id="text-media" class="text-overlay media-text">
- <div class="album-art"><span id="album-sheen" class="album-sheen"></span></div>
- <div class="media-info">
- <div class="media-title">Midnight Drive</div>
- <div class="media-meta-row">
- <span id="live-dot" class="live-dot"></span>
- <div class="media-artist">Glass Resonance</div>
- <div id="sound-wave" class="sound-wave">
- <span></span><span></span><span></span><span></span>
- </div>
- </div>
- </div>
- <div class="transport">
- <span>
- <svg viewBox="0 0 24 24">
- <polygon points="19 20 9 12 19 4" />
- <line x1="5" y1="4" x2="5" y2="20" stroke="#fff" stroke-width="2" />
- </svg>
- </span>
- <span class="play-btn">
- <svg viewBox="0 0 24 24"><polygon points="5 3 19 12 5 21" /></svg>
- </span>
- <span>
- <svg viewBox="0 0 24 24">
- <polygon points="5 4 15 12 5 20" />
- <line x1="19" y1="4" x2="19" y2="20" stroke="#fff" stroke-width="2" />
- </svg>
- </span>
- </div>
- </div>
-
- <!-- Brightness slider -->
- <div id="text-slider" class="text-overlay slider-text">
- <svg viewBox="0 0 24 24">
- <circle cx="12" cy="12" r="5" />
- <line x1="12" y1="1" x2="12" y2="3" />
- <line x1="12" y1="21" x2="12" y2="23" />
- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
- <line x1="1" y1="12" x2="3" y2="12" />
- <line x1="21" y1="12" x2="23" y2="12" />
- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
- </svg>
- <div class="slider-track"><div id="slider-fill" class="slider-fill"></div></div>
- <span id="slider-pct" class="slider-pct">34%</span>
- </div>
-
- <div
- id="driver"
- class="clip"
- data-start="0"
- data-duration="8"
- data-track-index="0"
- style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
- ></div>
- </div>
-
- <script>
- var W = 1920,
- H = 1080,
- DURATION = 8;
-
- /* ── Three.js Aurora Shader ─────────────────────────────────────── */
- var vs = "varying vec2 vUv; void main() { vUv = uv; gl_Position = vec4(position, 1.0); }";
- var fs = [
- "precision highp float;",
- "varying vec2 vUv;",
- "uniform float uTime;",
- "vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}",
- "vec4 permute(vec4 x){return mod289(((x*34.0)+1.0)*x);}",
- "vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;}",
- "float snoise(vec3 v){",
- " const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);",
- " vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);",
- " vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;",
- " vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);",
- " vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;",
- " i=mod289(i);",
- " vec4 p=permute(permute(permute(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));",
- " float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;",
- " vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);",
- " vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);",
- " vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);",
- " vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;",
- " vec4 sh=-step(h,vec4(0.0));",
- " vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;",
- " vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);",
- " vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));",
- " p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w;",
- " vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;",
- " return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));",
- "}",
- "void main(){",
- " vec2 uv=vUv;float ar=1920.0/1080.0;vec2 p=vec2(uv.x*ar,uv.y);float t=uTime*0.06;",
- " float wx=snoise(vec3(p*1.4,t*0.5))*0.2;float wy=snoise(vec3(p*1.4+100.0,t*0.5))*0.2;",
- " vec2 wp=p+vec2(wx,wy);",
- " vec3 base=mix(vec3(0.10,0.02,0.22),vec3(0.04,0.10,0.25),smoothstep(0.0,1.0,uv.x*0.6+uv.y*0.4));",
- " float angle=0.65;float ridgeUv=dot(wp,vec2(cos(angle),sin(angle)));",
- " float ridge1=sin(ridgeUv*8.0+t*2.0+snoise(vec3(wp*0.8,t))*1.5);",
- " float ridge2=sin(ridgeUv*5.5-t*1.4+snoise(vec3(wp*1.2+50.0,t*0.7))*2.0);",
- " float ridge3=sin(ridgeUv*12.0+t*3.0+snoise(vec3(wp*0.6+80.0,t*0.4))*1.0);",
- " float crease1=pow(abs(ridge1),0.35)*sign(ridge1)*0.5+0.5;",
- " float crease2=pow(abs(ridge2),0.4)*sign(ridge2)*0.5+0.5;",
- " float crease3=pow(abs(ridge3),0.5)*sign(ridge3)*0.5+0.5;",
- " vec3 warm=mix(vec3(0.9,0.4,0.08),vec3(0.95,0.65,0.15),crease1);",
- " float warmZone=smoothstep(0.15,0.75,uv.x+uv.y*0.4+snoise(vec3(uv*2.0,t))*0.3);",
- " vec3 cool=mix(vec3(0.02,0.4,0.55),vec3(0.25,0.7,0.82),crease2);",
- " float coolZone=smoothstep(0.25,0.85,1.2-uv.x+uv.y*0.5+snoise(vec3(uv*2.0+40.0,t*0.8))*0.25);",
- " vec3 hot=mix(vec3(0.8,0.1,0.4),vec3(0.6,0.08,0.65),crease3);",
- " float hotZone=smoothstep(0.5,0.9,snoise(vec3(uv*2.5+20.0,t*0.6))*0.5+0.5);",
- " vec3 col=base;",
- " col=mix(col,warm,warmZone*0.75*smoothstep(0.3,0.7,crease1));",
- " col=mix(col,cool,coolZone*0.65*smoothstep(0.2,0.65,crease2));",
- " col=mix(col,hot,hotZone*0.5*smoothstep(0.35,0.8,crease3));",
- " float edgeGlow=pow(1.0-abs(ridge1),6.0)*0.4+pow(1.0-abs(ridge2),5.0)*0.25;",
- " col+=edgeGlow*mix(warm,cool,uv.x)*0.8;",
- " col*=1.0-pow(abs(ridge1),4.0)*0.15;",
- " float vig=1.0-smoothstep(0.5,1.5,length((uv-0.5)*vec2(1.3,1.0)));",
- " col*=0.65+vig*0.5;",
- " float luma=dot(col,vec3(0.299,0.587,0.114));col=mix(vec3(luma),col,1.5);",
- " col=clamp(col,0.0,1.0);col=pow(col,vec3(0.9));",
- " gl_FragColor=vec4(col,1.0);",
- "}",
- ].join("\n");
-
- /* ── Three.js Setup ─────────────────────────────────────────────── */
- var threeCanvas = document.getElementById("three-canvas");
- var renderer = new THREE.WebGLRenderer({ canvas: threeCanvas, alpha: false });
- renderer.setSize(W, H, false);
- renderer.setPixelRatio(1);
-
- var scene = new THREE.Scene();
- var camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1);
- var uniforms = { uTime: { value: 0 } };
- var shaderMat = new THREE.ShaderMaterial({
- vertexShader: vs,
- fragmentShader: fs,
- uniforms: uniforms,
- });
- var quad = new THREE.Mesh(new THREE.PlaneGeometry(2, 2), shaderMat);
- scene.add(quad);
-
- /* ── Glass Canvas ───────────────────────────────────────────────── */
- var glassCanvas = document.getElementById("glass-canvas");
- var ctx = glassCanvas.getContext("2d");
- var lg = new LiquidGlass.LiquidGlassCanvas(glassCanvas);
- var lgReady = false;
-
- function renderGlass(time) {
- if (!lgReady) return;
- uniforms.uTime.value = time;
- renderer.render(scene, camera);
- ctx.clearRect(0, 0, W, H);
- ctx.drawImage(threeCanvas, 0, 0, W, H);
- lg.renderGlassElements();
- }
-
- function requestGlassRender(time) {
- if (glassCanvas.requestPaint) {
- glassCanvas.onpaint = function () {
- renderGlass(time);
- };
- glassCanvas.requestPaint();
- return;
- }
- renderGlass(time);
- }
-
- lg.waitForInit().then(function (ok) {
- if (!ok) return;
- lgReady = true;
- requestGlassRender(0);
- });
-
- /* ── GSAP Timeline ──────────────────────────────────────────────── */
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
-
- var gs = document.getElementById("glass-search");
- var gt = document.getElementById("glass-toggle");
- var gm = document.getElementById("glass-media");
- var gsl = document.getElementById("glass-slider");
- var ts = document.getElementById("text-search");
- var tt = document.getElementById("text-toggle");
- var tm = document.getElementById("text-media");
- var tsl = document.getElementById("text-slider");
- var searchLabel = document.getElementById("search-label");
- var sliderPct = document.getElementById("slider-pct");
- var sliderValue = { value: 34 };
-
- // Glass panels live inside <canvas layoutsubtree> (html-in-canvas): the canvas lib
- // reads their sub-pixel computed top/left, so animating layout props on them does
- // NOT stutter and is exempt from gsap_non_transform_motion. They keep top/left.
- // Plain-DOM text overlays DO stutter on layout props, so they use transforms (x/y).
- // CSS resting tops — search 300, toggle 390, media 476, slider 616 — are the
- // transform base; the original set seeded top:1160, i.e. y = 1160 - restingTop.
- gsap.set([gs, gt, gm, gsl], { top: 1160, opacity: 1 });
- gsap.set(ts, { y: 860, opacity: 1 });
- gsap.set(tt, { y: 770, opacity: 1 });
- gsap.set(tm, { y: 684, opacity: 1 });
- gsap.set(tsl, { y: 544, opacity: 1 });
- gsap.set("#sound-wave span", { height: 7 });
-
- tl.to(gs, { top: 300, duration: 0.48, ease: "power3.out" }, 0.12);
- tl.to(ts, { y: 0, duration: 0.48, ease: "power3.out" }, 0.12);
- tl.to(gt, { top: 390, duration: 0.44, ease: "power3.out" }, 0.22);
- tl.to(tt, { y: 0, duration: 0.44, ease: "power3.out" }, 0.22);
- tl.to(gm, { top: 476, duration: 0.44, ease: "power3.out" }, 0.32);
- tl.to(tm, { y: 0, duration: 0.44, ease: "power3.out" }, 0.32);
- tl.to(gsl, { top: 616, duration: 0.46, ease: "power3.out" }, 0.42);
- tl.to(tsl, { y: 0, duration: 0.46, ease: "power3.out" }, 0.42);
-
- tl.call(
- function () {
- searchLabel.textContent = "Search Music";
- },
- null,
- 0.9,
- );
- tl.to(
- "#search-caret",
- { opacity: 1, duration: 0.1, yoyo: true, repeat: 5, ease: "none" },
- 0.94,
- );
- tl.call(
- function () {
- searchLabel.textContent = "Midnight Drive";
- },
- null,
- 1.55,
- );
- tl.to("#toggle-pill", { x: 209, duration: 0.24, ease: "power2.out" }, 1.82);
- tl.to(
- ".play-btn",
- { scale: 0.86, duration: 0.12, ease: "power2.out", yoyo: true, repeat: 1 },
- 2.18,
- );
- tl.to("#album-sheen", { x: 182, duration: 0.75, ease: "power2.out" }, 2.2);
- tl.to(
- "#sound-wave span",
- { height: 15, duration: 0.22, ease: "power2.inOut", stagger: 0.05, yoyo: true, repeat: 12 },
- 2.2,
- );
- tl.to(
- sliderValue,
- {
- value: 82,
- duration: 4.4,
- ease: "none",
- onUpdate: function () {
- sliderPct.textContent = Math.round(sliderValue.value) + "%";
- },
- },
- 1.2,
- );
- tl.to("#slider-fill", { width: "82%", duration: 4.4, ease: "none" }, 1.2);
- tl.to(
- "#live-dot",
- { scale: 1.45, duration: 0.24, ease: "power2.out", yoyo: true, repeat: 4 },
- 2.6,
- );
- tl.to("#toggle-pill", { x: 419, duration: 0.24, ease: "power2.out" }, 4.15);
-
- // Settle + exit. Split so glass panels keep relative top (exempt, html-in-canvas)
- // and plain-DOM text overlays use the relative transform equivalent (y). Inline
- // array literals so the linter can resolve each group's targets; a pre-declared
- // array variable resolves to __unresolved__ and would lose the canvas exemption.
- tl.to(
- [gs, gt, gm, gsl],
- { top: "-=8", duration: 0.22, ease: "power2.out", yoyo: true, repeat: 1 },
- 5.55,
- );
- tl.to(
- [ts, tt, tm, tsl],
- { y: "-=8", duration: 0.22, ease: "power2.out", yoyo: true, repeat: 1 },
- 5.55,
- );
- tl.to([gs, gt, gm, gsl], { top: "+=760", duration: 0.42, ease: "power2.in" }, 6.72);
- tl.to([ts, tt, tm, tsl], { y: "+=760", duration: 0.42, ease: "power2.in" }, 6.72);
-
- /* Duration driver */
- tl.to({ v: 0 }, { v: 1, duration: DURATION, ease: "none" }, 0);
-
- tl.eventCallback("onUpdate", function () {
- requestGlassRender(tl.time());
- });
-
- window.__timelines["liquid-glass-media-controls"] = tl;
- </script>
- </body>
-</html>
diff --git a/registry/blocks/liquid-glass-media-controls/registry-item.json b/registry/blocks/liquid-glass-media-controls/registry-item.json
deleted file mode 100644
index 855cfbcc63..0000000000
--- a/registry/blocks/liquid-glass-media-controls/registry-item.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "liquid-glass-media-controls",
- "type": "hyperframes:block",
- "title": "Liquid Glass Media Controls",
- "description": "Frosted glass media control panels spreading over an aurora shader background",
- "stability": "experimental",
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 8,
- "tags": ["html-in-canvas", "liquid-glass-html-in-canvas", "webgpu"],
- "files": [
- {
- "path": "liquid-glass-media-controls.html",
- "target": "compositions/liquid-glass-media-controls.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "lib/liquid-glass.iife.js",
- "target": "compositions/lib/liquid-glass.iife.js",
- "type": "registry:asset"
- }
- ],
- "preview": {
- "video": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-media-controls.mp4",
- "poster": "https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/liquid-glass-media-controls.png"
- }
-}
diff --git a/registry/catalog-artifact/local-vectors.bin b/registry/catalog-artifact/local-vectors.bin
index fc1ac45c35..cd6085845d 100644
Binary files a/registry/catalog-artifact/local-vectors.bin and b/registry/catalog-artifact/local-vectors.bin differ
diff --git a/registry/catalog-artifact/local-vectors.json b/registry/catalog-artifact/local-vectors.json
index 410878edb0..2f56588d16 100644
--- a/registry/catalog-artifact/local-vectors.json
+++ b/registry/catalog-artifact/local-vectors.json
@@ -2,7 +2,7 @@
"model": "bge-small-en-v1.5",
"modelRevision": "ea104dacec62c0de699686887e3f920caeb4f3e3",
"dimensions": 384,
- "revision": "656d5d91e8e44f809baa80031dac6af45afdadec7784cffa47ab1b7940c1a137",
+ "revision": "3d38de550c0a0422c5c743eaf29839956ccc62f9810fe69942844a249228072e",
"names": [
"ai-chat-reveal",
"animated-bar-chart",
@@ -92,31 +92,9 @@
"code-scroll",
"code-shader-dissolve",
"code-slice-hero",
- "code-snippet-apple-terminal-basic",
- "code-snippet-apple-terminal-clear-dark",
- "code-snippet-apple-terminal-clear-light",
- "code-snippet-apple-terminal-grass",
- "code-snippet-apple-terminal-homebrew",
- "code-snippet-apple-terminal-man-page",
- "code-snippet-apple-terminal-novel",
- "code-snippet-apple-terminal-ocean",
"code-snippet-apple-terminal-pro",
- "code-snippet-apple-terminal-red-sands",
- "code-snippet-apple-terminal-silver-aerogel",
- "code-snippet-apple-terminal-solid-colors",
"code-snippet-dark-2026",
"code-snippet-dark-modern",
- "code-snippet-dark-plus",
- "code-snippet-flight",
- "code-snippet-high-contrast",
- "code-snippet-high-contrast-light",
- "code-snippet-light-2026",
- "code-snippet-light-modern",
- "code-snippet-light-plus",
- "code-snippet-monokai",
- "code-snippet-solarized-light",
- "code-snippet-visual-studio-dark",
- "code-snippet-visual-studio-light",
"code-terminal-run",
"code-typing",
"colorama-wipe",
@@ -193,8 +171,6 @@
"light-sweep-pass",
"line-by-line-slide",
"line-swap",
- "liquid-glass-context-menu",
- "liquid-glass-media-controls",
"liquid-glass-notification",
"liquid-glass-widgets",
"locked-nucleus-orbit",
diff --git a/registry/examples/airbnb-deck/DESIGN.md b/registry/examples/airbnb-deck/DESIGN.md
deleted file mode 100644
index 4850844354..0000000000
--- a/registry/examples/airbnb-deck/DESIGN.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# Airbnb Seed Deck — Design Notes
-
-## Intent
-
-A premium remake of Airbnb's 2009 seed pitch deck using current Airbnb brand language.
-The composition should feel warm, human, and tasteful — the opposite of a tech startup
-dark-mode deck. White canvas, generous space, soft coral accents. Three.js backgrounds
-are elegant mood-setters, never distracting.
-
-## Color Palette
-
-| Token | Value | Use |
-| ---------------- | --------- | ------------------------------------ |
-| Rausch (primary) | `#FF385C` | CTAs, logo, accent bars, highlights |
-| Coral warm | `#FF5A5F` | Gradient partner to Rausch |
-| Babu dark | `#E61E4D` | Hover / emphasis gradient endpoint |
-| Off-white | `#FFFFFF` | Slide background on light slides |
-| Hof dark | `#222222` | Primary text; dramatic dark slide bg |
-| Foggy gray | `#717171` | Body copy, captions, secondary text |
-| Arches light | `#F7F7F7` | Card backgrounds, subtle panel fills |
-| Arches pink | `#FFF1F1` | Soft pink tint for card areas |
-
-Do not introduce blue, purple, or green accents. The palette is warm coral + neutral.
-
-## Typography
-
-**Font**: "Nunito Sans" from Google Fonts — geometric, rounded, friendly.
-Fallback stack: `"Nunito Sans", "Montserrat", system-ui, sans-serif`.
-
-| Role | Size (1920×1080) | Weight |
-| -------- | ---------------- | ----------------- |
-| Headline | 80–96px | 800 |
-| Subhead | 48px | 400 |
-| Body | 40–44px | 400–600 |
-| Eyebrow | 28–32px | 700, letterspaced |
-| Numbers | 96–120px | 900 |
-
-Minimum readable size: 40px. Never go below that for audience-facing text.
-
-## The Bélo Logo
-
-The Bélo is Airbnb's universal belonging mark — a rounded loop that is simultaneously
-a heart, a location pin, and a letter A. Reproduce it as inline SVG in Rausch `#FF385C`.
-
-Use on: cover slide (large, centered), corner mark on every slide (48×48px, top-left).
-Do NOT stretch or recolor the Bélo. Pair with lowercase "airbnb" wordmark in `#222222`.
-
-## Layout Language
-
-- **Generous whitespace**: 120px top/bottom padding, 160px left/right on 1920px canvas.
-- **Rounded corners**: 16–24px on all cards and stat blocks.
-- **Soft shadows**: `box-shadow: 0 4px 24px rgba(0,0,0,0.08)` for cards.
-- White or very light slide backgrounds for most slides (readable and clean).
-- Dark background (`#222222`) for: Cover (optional dramatic variant), Team, Ask.
-- Keep layouts left-aligned or centered — never right-heavy.
-
-## Three.js Background Moods (per-slide)
-
-Backgrounds run on a persistent WebGL canvas behind all slide content.
-All animations use a fixed seed (no `Math.random()`); seeded using a deterministic LCG.
-Particle counts, positions, and velocities are computed from seeded values.
-
-| Slide | Mood |
-| ------------- | ------------------------------------------------------------------- |
-| cover | Soft floating coral particles, slow upward drift, warm pink fog |
-| problem | Desaturated gray particles, slower/heavier motion, cooler hue |
-| solution | Coral bloom: particles converge inward, warm pulse |
-| market | Low-poly globe outline with soft arc routes in coral, gentle rotate |
-| product | Clean minimal — very subtle grid of pale dots, nearly static |
-| business | Same as product — minimal |
-| adoption | Sparse warm nodes with thin connecting lines (network graph feel) |
-| competition | Cool gray minimal — positioning matrix backdrop |
-| team | Soft bokeh: large blurred coral orbs, slow parallax |
-| ask | Coral gradient swell — warm radial from center, slow pulse |
-| market-sizing | Same globe as market, camera zoomed in, arcs highlighted |
-
-## Do's
-
-- Large, single-stat slides for numbers ($2.1B, $500K) — let the number breathe.
-- Bottom-up math shown explicitly: trips × take-rate = revenue.
-- Complete-sentence headlines that make a claim, not a label.
-- SVG Bélo mark consistent across slides.
-
-## Don'ts
-
-- No dark purple, electric blue, neon green.
-- No hero imagery or stock photos (pure typography + Three.js + SVG).
-- No glassmorphism, frosted panels, or gamer-aesthetic effects.
-- No unseeded random values — all Three.js positions must be deterministic.
-- No font below 40px for any audience-visible text.
diff --git a/registry/examples/airbnb-deck/index.html b/registry/examples/airbnb-deck/index.html
deleted file mode 100644
index 44e2f9046a..0000000000
--- a/registry/examples/airbnb-deck/index.html
+++ /dev/null
@@ -1,1577 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Airbnb — 2009 Seed Pitch Deck</title>
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&display=swap" rel="stylesheet" />
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- *,
- *::before,
- *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "Nunito Sans", "Montserrat", system-ui, sans-serif;
- background: #ffffff;
- }
-
- /* Three.js background canvas — always behind everything */
- #three-canvas {
- position: fixed;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- z-index: 0;
- pointer-events: none;
- -webkit-mask-image: radial-gradient(circle 220px at calc(100% - 30px) calc(100% - 30px), transparent 0, transparent 90px, black 220px);
- mask-image: radial-gradient(circle 220px at calc(100% - 30px) calc(100% - 30px), transparent 0, transparent 90px, black 220px);
- }
-
- /* Scene frames — positioned above canvas */
- .scene-frame {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- opacity: 0;
- z-index: 1;
- pointer-events: none;
- }
-
- /* Content containers — include a subtle glass scrim so text stays legible over 3D */
- .slide-inner {
- position: absolute;
- inset: 0;
- padding: 100px 160px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- gap: 32px;
- }
- .slide-center {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 32px;
- padding: 80px 200px;
- text-align: center;
- }
-
- /* Glass scrim behind text — light slides.
- Center is solid enough to read; edges fade to transparent so 3D shows in margins. */
- .slide-inner.scrim-light,
- .slide-center.scrim-light {
- background: radial-gradient(ellipse 75% 80% at 50% 50%, rgba(255,255,255,0.88) 30%, rgba(255,255,255,0.60) 65%, rgba(255,255,255,0.0) 100%);
- }
-
- /* Glass scrim behind text — dark slides */
- .slide-inner.scrim-dark,
- .slide-center.scrim-dark {
- background: radial-gradient(ellipse 80% 85% at 50% 50%, rgba(25,25,25,0.92) 30%, rgba(20,20,20,0.70) 65%, rgba(15,15,15,0.0) 100%);
- }
-
- /* Corner Bélo mark — shown on every slide except cover */
- .belo-corner {
- position: absolute;
- top: 40px;
- left: 60px;
- display: flex;
- align-items: center;
- gap: 12px;
- z-index: 10;
- }
- .belo-corner-wordmark {
- font-size: 28px;
- font-weight: 800;
- color: #FF385C;
- letter-spacing: -0.02em;
- }
-
- /* Typography */
- .eyebrow {
- font-size: 28px;
- font-weight: 700;
- letter-spacing: 0.14em;
- text-transform: uppercase;
- color: #FF385C;
- }
- .headline {
- font-size: 80px;
- font-weight: 800;
- line-height: 1.05;
- letter-spacing: -0.025em;
- color: #222222;
- }
- .headline-lg {
- font-size: 88px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.03em;
- color: #222222;
- }
- .headline-xl {
- font-size: 120px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.04em;
- }
- .subhead {
- font-size: 44px;
- font-weight: 400;
- line-height: 1.4;
- color: #717171;
- max-width: 1300px;
- }
- .subhead-center {
- font-size: 44px;
- font-weight: 400;
- line-height: 1.4;
- color: #717171;
- max-width: 1100px;
- text-align: center;
- }
- .stat-number {
- font-size: 96px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.04em;
- color: #FF385C;
- }
- .stat-label {
- font-size: 36px;
- font-weight: 600;
- color: #717171;
- margin-top: 8px;
- }
- .accent-bar {
- width: 80px;
- height: 6px;
- border-radius: 3px;
- background: #FF385C;
- }
-
- /* Cards */
- .card-grid-3 {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 40px;
- width: 100%;
- max-width: 1560px;
- }
- .card {
- padding: 48px;
- background: #FFF1F1;
- border-radius: 20px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .card-title {
- font-size: 44px;
- font-weight: 800;
- color: #FF385C;
- }
- .card-body {
- font-size: 36px;
- font-weight: 400;
- color: #222222;
- line-height: 1.45;
- }
-
- /* Problem items — start hidden, revealed imperatively */
- .problem-item {
- display: flex;
- align-items: flex-start;
- gap: 32px;
- opacity: 0;
- }
- .problem-num {
- font-size: 56px;
- font-weight: 900;
- color: #FF385C;
- line-height: 1;
- min-width: 64px;
- flex-shrink: 0;
- }
- .problem-text {
- font-size: 52px;
- font-weight: 600;
- color: #222222;
- line-height: 1.2;
- }
- .problem-sub {
- font-size: 36px;
- font-weight: 400;
- color: #717171;
- line-height: 1.35;
- margin-top: 6px;
- }
-
- /* Market math */
- .math-equation {
- display: flex;
- align-items: center;
- gap: 24px;
- flex-wrap: wrap;
- margin-top: 8px;
- }
- .math-val {
- font-size: 64px;
- font-weight: 800;
- color: #FF385C;
- }
- .math-op {
- font-size: 52px;
- font-weight: 400;
- color: #717171;
- }
- .math-result {
- font-size: 80px;
- font-weight: 900;
- color: #E61E4D;
- }
-
- /* Steps / flow */
- .step-row {
- display: flex;
- align-items: center;
- gap: 40px;
- }
- .step-num {
- font-size: 48px;
- font-weight: 900;
- color: #FF385C;
- min-width: 64px;
- }
- .step-text {
- font-size: 44px;
- font-weight: 600;
- color: #222222;
- }
-
- /* Positioning matrix */
- .matrix-table {
- border-collapse: collapse;
- width: 100%;
- max-width: 1400px;
- }
- .matrix-table th {
- font-size: 36px;
- font-weight: 700;
- color: #717171;
- padding: 16px 24px;
- text-align: left;
- border-bottom: 2px solid #E0E0E0;
- }
- .matrix-table td {
- font-size: 40px;
- padding: 20px 24px;
- border-bottom: 1px solid #F0F0F0;
- color: #222222;
- }
- .matrix-table tr.airbnb-row td {
- color: #FF385C;
- font-weight: 800;
- background: #FFF1F1;
- }
- .check { color: #FF385C; font-size: 40px; }
- .cross { color: #717171; font-size: 40px; }
-
- /* Team cards */
- .team-grid {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 48px;
- width: 100%;
- max-width: 1560px;
- }
- .team-card {
- padding: 52px 48px;
- background: rgba(255,255,255,0.08);
- border-radius: 20px;
- border: 1px solid rgba(255,56,92,0.25);
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .team-name {
- font-size: 44px;
- font-weight: 800;
- color: #FF385C;
- }
- .team-role {
- font-size: 32px;
- font-weight: 600;
- color: rgba(255,255,255,0.75);
- }
- .team-bio {
- font-size: 30px;
- font-weight: 400;
- color: rgba(255,255,255,0.65);
- line-height: 1.45;
- margin-top: 4px;
- }
-
- /* Use of proceeds */
- .use-list {
- display: flex;
- flex-direction: column;
- gap: 28px;
- margin-top: 8px;
- }
- .use-item {
- display: flex;
- align-items: baseline;
- gap: 32px;
- }
- .use-pct {
- font-size: 56px;
- font-weight: 900;
- color: #FF385C;
- min-width: 140px;
- }
- .use-text {
- font-size: 44px;
- font-weight: 600;
- color: rgba(255,255,255,0.9);
- line-height: 1.3;
- }
- </style>
- </head>
- <body style="margin: 0; background: #ffffff">
-
- <!--
- Airbnb 2009 Seed Deck Remake
- Timeline layout (contiguous, non-overlapping):
- 00–09s cover (main slide 1)
- 09–18s problem (main slide 2, fragments at 9.3, 9.6 — bunched near start)
- 18–27s solution (main slide 3)
- 27–36s validation (main slide 4)
- 36–45s market (main slide 5, hotspot → market-sizing branch)
- 45–54s product (main slide 6)
- 54–63s business (main slide 7)
- 63–72s adoption (main slide 8)
- 72–81s competition (main slide 9)
- 81–90s team (main slide 10)
- 90–99s ask (main slide 11)
- 99–108s market-sizing (branch slide — market-math-detail sequence)
- -->
-
- <!-- JSON island -->
- <script type="application/hyperframes-slideshow+json">
- {
- "slides": [
- {
- "sceneId": "cover",
- "notes": "Open with the tagline. Let the Bélo breathe. This is the belonging company."
- },
- {
- "sceneId": "problem",
- "notes": "Two problems, one at a time. Price first — hotels are expensive. Then connection.",
- "fragments": [9.3, 9.6]
- },
- {
- "sceneId": "solution",
- "notes": "Platform connects hosts and travelers. Belong anywhere. Three value props."
- },
- {
- "sceneId": "validation",
- "notes": "Couchsurfing proves demand: 660k members want this. Craigslist shows supply side."
- },
- {
- "sceneId": "market",
- "notes": "Bottom-up: trips × take-rate = $2.1B. Use the hotspot for the drill-down math.",
- "hotspots": [
- {
- "id": "mkt-hotspot",
- "label": "Show me the math",
- "target": "market-math-detail",
- "region": { "x": 70, "y": 80, "w": 25, "h": 12 }
- }
- ]
- },
- {
- "sceneId": "product",
- "notes": "Three clicks: Search, Book, Travel. Show the booking flow simplicity."
- },
- {
- "sceneId": "business",
- "notes": "10% commission. At 80k transactions × $26 avg nightly take = $2.1M revenue."
- },
- {
- "sceneId": "adoption",
- "notes": "Events, conferences, Craigslist cross-posting, partnerships. Grass-roots growth."
- },
- {
- "sceneId": "competition",
- "notes": "Matrix: cheapest + online + transaction. Airbnb is the only one that hits all three."
- },
- {
- "sceneId": "team",
- "notes": "Brian (CEO/design), Joe (design), Nate (engineering). Domain depth: housing + tech."
- },
- {
- "sceneId": "ask",
- "notes": "Raising $500K. 12 months runway. Target: 80K transactions ≈ $2M revenue."
- }
- ],
- "slideSequences": [
- {
- "id": "market-math-detail",
- "label": "Market sizing methodology",
- "slides": [
- {
- "sceneId": "market-sizing",
- "notes": "Bottom-up drill: global trips × budget share × online booking rate × take-rate = $2.1B."
- }
- ]
- }
- ]
- }
- </script>
-
- <!-- Three.js background canvas -->
- <canvas id="three-canvas" data-composition-id="three-canvas" data-start="0" data-width="1920" data-height="1080"></canvas>
-
- <!-- Root composition container -->
- <div
- id="root"
- data-composition-id="root"
- data-start="0"
- data-duration="108"
- data-width="1920"
- data-height="1080"
- style="position: relative; width: 1920px; height: 1080px; overflow: hidden"
- >
-
- <!-- ════════════════════════════════════════════════
- SLIDE 1 — COVER
- "Book rooms with locals, rather than hotels."
- Start: 0 Duration: 9 End: 9
- Background: white with soft coral particles (Three.js)
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-cover"
- class="scene-frame clip"
- data-composition-id="cover"
- data-start="0"
- data-duration="9"
- data-label="Cover"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="slide-center scrim-light">
- <!-- Large Bélo SVG -->
- <svg id="cover-belo" width="120" height="120" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg" data-anim>
- <!-- Bélo: rounded A/heart/pin outline -->
- <path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="5" fill="none"/>
- <circle cx="50" cy="40" r="12" fill="#FF385C"/>
- </svg>
- <div id="cover-wordmark" style="font-size: 52px; font-weight: 800; color: #222222; letter-spacing: -0.02em" data-anim>airbnb</div>
- <div id="cover-bar" class="accent-bar" style="width: 120px; margin: 8px auto" data-anim></div>
- <h1 id="cover-headline" class="headline-lg" style="color: #222222; max-width: 1300px" data-anim>
- Book rooms with locals, rather than hotels.
- </h1>
- <p id="cover-sub" class="subhead-center" data-anim>
- Belong anywhere — a web platform connecting travelers with local hosts worldwide.
- </p>
- <div id="cover-year" style="font-size: 28px; font-weight: 700; color: #FF385C; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 16px" data-anim>Seed Round · 2009</div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 2 — PROBLEM
- "Travelers overpay for sterile hotels while millions of empty rooms sit unused."
- Start: 9 Duration: 9 End: 18
- Fragments at 9.3, 9.6 (bunched near start — snappy reveals)
- Background: light warm gray
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-problem"
- class="scene-frame clip"
- data-composition-id="problem"
- data-start="9"
- data-duration="9"
- data-label="The problem"
- data-track-index="1"
- style="background: transparent"
- >
- <!-- Corner Bélo -->
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="prob-eyebrow" class="eyebrow" data-anim>The problem</div>
- <h2 id="prob-headline" class="headline" style="max-width: 1400px" data-anim>
- Travelers overpay for sterile hotels while millions of empty rooms sit unused.
- </h2>
- <div id="prob-item1" class="problem-item">
- <span class="problem-num">01</span>
- <div>
- <div class="problem-text">Price: Hotels are expensive</div>
- <div class="problem-sub">Budget travelers overpay — no affordable, human alternative exists online.</div>
- </div>
- </div>
- <div id="prob-item2" class="problem-item">
- <span class="problem-num">02</span>
- <div>
- <div class="problem-text">Disconnect: Hotels feel transactional</div>
- <div class="problem-sub">Travelers are isolated from the city, the culture, and the locals who live there.</div>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 3 — SOLUTION
- "Airbnb is the web platform where anyone can rent space and belong anywhere."
- Start: 18 Duration: 9 End: 27
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-solution"
- class="scene-frame clip"
- data-composition-id="solution"
- data-start="18"
- data-duration="9"
- data-label="Solution"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="sol-eyebrow" class="eyebrow" data-anim>Solution</div>
- <h2 id="sol-headline" class="headline" style="max-width: 1400px" data-anim>
- A web platform where users can rent space to host travelers — belong anywhere.
- </h2>
- <div id="sol-cards" class="card-grid-3" data-anim>
- <div class="card">
- <div class="card-title">Save Money</div>
- <div class="card-body">Travelers book rooms at 50–80% below hotel rates.</div>
- </div>
- <div class="card">
- <div class="card-title">Make Money</div>
- <div class="card-body">Hosts monetize spare space — avg $600–$900 / month.</div>
- </div>
- <div class="card">
- <div class="card-title">Share Culture</div>
- <div class="card-body">Real local experience — no hotel lobby, no checkout desk.</div>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 4 — MARKET VALIDATION
- "660,000 people on Couchsurfing prove demand for local, affordable stays."
- Start: 27 Duration: 9 End: 36
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-validation"
- class="scene-frame clip"
- data-composition-id="validation"
- data-start="27"
- data-duration="9"
- data-label="Market validation"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="val-eyebrow" class="eyebrow" data-anim>Market validation</div>
- <h2 id="val-headline" class="headline" style="max-width: 1400px" data-anim>
- 660,000 people on Couchsurfing prove demand — travelers want local, not hotels.
- </h2>
- <div id="val-stats" style="display: flex; gap: 80px; margin-top: 8px" data-anim>
- <div>
- <div class="stat-number">660K</div>
- <div class="stat-label">Couchsurfing members — free, unmonetized demand</div>
- </div>
- <div style="width: 2px; background: #E0E0E0; border-radius: 2px; align-self: stretch"></div>
- <div>
- <div class="stat-number" style="font-size: 72px">Craigslist</div>
- <div class="stat-label">Millions of temporary housing listings show host supply</div>
- </div>
- </div>
- <p id="val-note" class="subhead" style="margin-top: 8px" data-anim>
- Neither platform charges for the transaction. Airbnb adds trust, payments, and discovery.
- </p>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 5 — MARKET SIZE
- "15% of budget travel online = 84M trips → $2.1B revenue opportunity."
- Start: 36 Duration: 9 End: 45
- Hotspot → market-math-detail branch
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-market"
- class="scene-frame clip"
- data-composition-id="market"
- data-start="36"
- data-duration="9"
- data-label="Market size"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="mkt-eyebrow" class="eyebrow" data-anim>Market size</div>
- <h2 id="mkt-headline" class="headline" style="max-width: 1400px" data-anim>
- 15% of budget travel online = 84M trips — a $2.1B annual revenue opportunity.
- </h2>
- <div id="mkt-math" class="math-equation" data-anim>
- <span class="math-val">560M</span>
- <span class="math-op">budget trips/yr</span>
- <span class="math-op">×</span>
- <span class="math-val">15%</span>
- <span class="math-op">online share</span>
- <span class="math-op">=</span>
- <span class="math-val">84M trips</span>
- <span class="math-op">×</span>
- <span class="math-val">$25</span>
- <span class="math-op">take</span>
- <span class="math-op">=</span>
- <span class="math-result">$2.1B</span>
- </div>
- <p id="mkt-note" class="subhead" style="margin-top: 4px" data-anim>
- SAM: US + EU budget+online bookings. At 10% commission on avg $250 nightly rate.
- </p>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 6 — PRODUCT
- "Three clicks to book: Search, Book, Travel."
- Start: 45 Duration: 9 End: 54
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-product"
- class="scene-frame clip"
- data-composition-id="product"
- data-start="45"
- data-duration="9"
- data-label="Product"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="prod-eyebrow" class="eyebrow" data-anim>Product</div>
- <h2 id="prod-headline" class="headline" style="max-width: 1400px" data-anim>
- Three clicks to book — Search, Book, Travel.
- </h2>
- <div id="prod-steps" style="display: flex; flex-direction: column; gap: 36px; margin-top: 16px" data-anim>
- <div class="step-row">
- <span style="font-size: 56px; font-weight: 900; color: #FF385C; min-width: 80px">1</span>
- <div>
- <div class="step-text">Search — enter city, dates, guests</div>
- <div style="font-size: 36px; color: #717171; margin-top: 6px">Listings with photos, reviews, and verified hosts appear instantly.</div>
- </div>
- </div>
- <div class="step-row">
- <span style="font-size: 56px; font-weight: 900; color: #FF385C; min-width: 80px">2</span>
- <div>
- <div class="step-text">Book — secure payment, instant confirmation</div>
- <div style="font-size: 36px; color: #717171; margin-top: 6px">Funds held in escrow; released to host 24h after check-in.</div>
- </div>
- </div>
- <div class="step-row">
- <span style="font-size: 56px; font-weight: 900; color: #FF385C; min-width: 80px">3</span>
- <div>
- <div class="step-text">Travel — arrive, belong, review</div>
- <div style="font-size: 36px; color: #717171; margin-top: 6px">Two-way reviews build a trust graph that improves every stay.</div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 7 — BUSINESS MODEL
- "10% commission per transaction — 80K bookings = $2.1M revenue."
- Start: 54 Duration: 9 End: 63
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-business"
- class="scene-frame clip"
- data-composition-id="business"
- data-start="54"
- data-duration="9"
- data-label="Business model"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-center scrim-light">
- <div id="biz-eyebrow" class="eyebrow" data-anim>Business model</div>
- <h2 id="biz-headline" class="headline-lg" style="max-width: 1300px" data-anim>
- 10% commission on every transaction.
- </h2>
- <div id="biz-math" class="math-equation" style="justify-content: center" data-anim>
- <span class="math-val">80K</span>
- <span class="math-op">transactions/yr</span>
- <span class="math-op">×</span>
- <span class="math-val">$26</span>
- <span class="math-op">avg take</span>
- <span class="math-op">=</span>
- <span class="math-result">$2.1M</span>
- </div>
- <p id="biz-note" class="subhead-center" data-anim>
- No inventory risk. No fixed costs. Every booking is pure margin above the payment processing fee.
- </p>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 8 — ADOPTION STRATEGY
- "Events, partnerships, and Craigslist cross-posting drive grass-roots supply."
- Start: 63 Duration: 9 End: 72
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-adoption"
- class="scene-frame clip"
- data-composition-id="adoption"
- data-start="63"
- data-duration="9"
- data-label="Adoption strategy"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="adop-eyebrow" class="eyebrow" data-anim>Adoption strategy</div>
- <h2 id="adop-headline" class="headline" style="max-width: 1400px" data-anim>
- Events, partnerships, and Craigslist cross-posting drive grass-roots supply.
- </h2>
- <div id="adop-items" style="display: flex; flex-direction: column; gap: 28px; margin-top: 8px" data-anim>
- <div class="step-row">
- <span style="width: 14px; height: 14px; background: #FF385C; border-radius: 50%; flex-shrink: 0; margin-top: 14px"></span>
- <div class="step-text">Events &amp; conferences — partner with SXSW, DNC, major conferences to capture accommodation overflow</div>
- </div>
- <div class="step-row">
- <span style="width: 14px; height: 14px; background: #FF385C; border-radius: 50%; flex-shrink: 0; margin-top: 14px"></span>
- <div class="step-text">Craigslist cross-posting — auto-post new listings to reach existing supply-side intent</div>
- </div>
- <div class="step-row">
- <span style="width: 14px; height: 14px; background: #FF385C; border-radius: 50%; flex-shrink: 0; margin-top: 14px"></span>
- <div class="step-text">Travel blogger partnerships + media — earned press generates traveler demand at $0 CAC</div>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 9 — COMPETITION
- "Airbnb is the only solution that is affordable, online, and transaction-enabled."
- Start: 72 Duration: 9 End: 81
- Background: white
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-competition"
- class="scene-frame clip"
- data-composition-id="competition"
- data-start="72"
- data-duration="9"
- data-label="Competition"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark">airbnb</span>
- </div>
- <div class="slide-inner scrim-light">
- <div id="comp-eyebrow" class="eyebrow" data-anim>Competition</div>
- <h2 id="comp-headline" class="headline" style="max-width: 1400px" data-anim>
- Airbnb is the only solution that is affordable, online, and transaction-enabled.
- </h2>
- <table id="comp-table" class="matrix-table" style="margin-top: 16px" data-anim>
- <thead>
- <tr>
- <th style="width: 360px">Solution</th>
- <th>Affordable</th>
- <th>Online</th>
- <th>Transaction</th>
- <th>Local connection</th>
- </tr>
- </thead>
- <tbody>
- <tr class="airbnb-row">
- <td>airbnb</td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- </tr>
- <tr>
- <td>Hotels</td>
- <td><span class="cross">✗</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="cross">✗</span></td>
- </tr>
- <tr>
- <td>Couchsurfing</td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="cross">✗</span></td>
- <td><span class="check">✓</span></td>
- </tr>
- <tr>
- <td>Craigslist</td>
- <td><span class="check">✓</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="cross">✗</span></td>
- <td><span class="cross">✗</span></td>
- </tr>
- <tr>
- <td>B&amp;Bs / Hostels</td>
- <td><span class="check">✓</span></td>
- <td><span class="cross">✗</span></td>
- <td><span class="check">✓</span></td>
- <td><span class="cross">✗</span></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 10 — TEAM
- "Three founders: design, design, and engineering — who built this from their apartment."
- Start: 81 Duration: 9 End: 90
- Background: dark #222222
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-team"
- class="scene-frame clip"
- data-composition-id="team"
- data-start="81"
- data-duration="9"
- data-label="Team"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark" style="color: #FF385C">airbnb</span>
- </div>
- <div class="slide-inner scrim-dark">
- <div id="team-eyebrow" class="eyebrow" data-anim>The founders</div>
- <h2 id="team-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- Three founders who bootstrapped Airbnb from their San Francisco apartment.
- </h2>
- <div id="team-cards" class="team-grid" style="margin-top: 8px" data-anim>
- <div class="team-card">
- <span class="team-name">Brian Chesky</span>
- <span class="team-role">CEO &amp; Co-founder</span>
- <span class="team-bio">Industrial design, RISD. Drove the brand, trust model, and host experience from day one.</span>
- </div>
- <div class="team-card">
- <span class="team-name">Joe Gebbia</span>
- <span class="team-role">CPO &amp; Co-founder</span>
- <span class="team-bio">RISD design, product. Built the first site and the airbeds-and-breakfast concept that became Airbnb.</span>
- </div>
- <div class="team-card">
- <span class="team-name">Nathan Blecharczyk</span>
- <span class="team-role">CTO &amp; Co-founder</span>
- <span class="team-bio">Harvard CS. Architected the payments, trust, and scalable search infrastructure from scratch.</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- SLIDE 11 — ASK
- "Raising $500K for 12 months — targeting 80K transactions and $2M revenue."
- Start: 90 Duration: 9 End: 99
- Background: dark #222222
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-ask"
- class="scene-frame clip"
- data-composition-id="ask"
- data-start="90"
- data-duration="9"
- data-label="The ask"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark" style="color: #FF385C">airbnb</span>
- </div>
- <div class="slide-inner scrim-dark">
- <div id="ask-eyebrow" class="eyebrow" data-anim>The ask</div>
- <h2 id="ask-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- Raising $500K for 12 months — targeting 80K transactions and $2M revenue.
- </h2>
- <div id="ask-amount" style="display: flex; align-items: baseline; gap: 24px; margin-top: 8px" data-anim>
- <span style="font-size: 120px; font-weight: 900; color: #FF385C; letter-spacing: -0.05em">$500K</span>
- <span style="font-size: 44px; color: rgba(255,255,255,0.6); font-weight: 600">seed round</span>
- </div>
- <div id="ask-uses" class="use-list" data-anim>
- <div class="use-item">
- <span class="use-pct">45%</span>
- <span class="use-text">Product &amp; engineering — mobile-first booking, trust &amp; safety, payments</span>
- </div>
- <div class="use-item">
- <span class="use-pct">30%</span>
- <span class="use-text">Growth &amp; partnerships — events, Craigslist, travel media outreach</span>
- </div>
- <div class="use-item">
- <span class="use-pct">25%</span>
- <span class="use-text">Operations — customer support, host quality, legal &amp; insurance</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ════════════════════════════════════════════════
- BRANCH SLIDE — MARKET-SIZING
- Branch: market-math-detail / "Market sizing methodology"
- Start: 99 Duration: 9 End: 108
- NOT in main slides array — only in slideSequences
- Background: dark Hof #222222 with coral accents
- ═════════════════════════════════════════════════════ -->
- <div
- id="scene-market-sizing"
- class="scene-frame clip"
- data-composition-id="market-sizing"
- data-start="99"
- data-duration="9"
- data-label="Market sizing methodology"
- data-track-index="1"
- style="background: transparent"
- >
- <div class="belo-corner">
- <svg width="36" height="36" viewBox="0 0 100 100" fill="none"><path d="M50 10 C30 10, 16 26, 16 42 C16 60, 32 73, 50 90 C68 73, 84 60, 84 42 C84 26, 70 10, 50 10 Z" stroke="#FF385C" stroke-width="7" fill="none"/><circle cx="50" cy="40" r="12" fill="#FF385C"/></svg>
- <span class="belo-corner-wordmark" style="color: #FF385C">airbnb</span>
- </div>
- <div class="slide-inner scrim-dark">
- <div id="sizing-eyebrow" class="eyebrow" data-anim>Market sizing methodology</div>
- <h2 id="sizing-headline" class="headline" style="color: #ffffff; max-width: 1500px" data-anim>
- Bottom-up: 560M budget trips/yr × 15% online × $25 avg take = $2.1B.
- </h2>
- <div id="sizing-steps" style="display: flex; flex-direction: column; gap: 28px; margin-top: 16px" data-anim>
- <div style="display: flex; gap: 28px; align-items: flex-start">
- <span style="font-size: 48px; font-weight: 900; color: #FF385C; min-width: 72px">1.</span>
- <span style="font-size: 40px; color: rgba(255,255,255,0.85); font-weight: 600; line-height: 1.35">Global leisure trips/yr: ~1.4B total. Budget segment (hostels, B&amp;Bs, couch): ~40% = 560M trips.</span>
- </div>
- <div style="display: flex; gap: 28px; align-items: flex-start">
- <span style="font-size: 48px; font-weight: 900; color: #FF385C; min-width: 72px">2.</span>
- <span style="font-size: 40px; color: rgba(255,255,255,0.85); font-weight: 600; line-height: 1.35">Online booking penetration in budget segment: ~15% today, growing 30%/yr → SAM = 84M trips.</span>
- </div>
- <div style="display: flex; gap: 28px; align-items: flex-start">
- <span style="font-size: 48px; font-weight: 900; color: #FF385C; min-width: 72px">3.</span>
- <span style="font-size: 40px; color: rgba(255,255,255,0.85); font-weight: 600; line-height: 1.35">Avg nightly rate $250 × 10% commission = $25 take. 84M trips × $25 = <span style="color: #FF385C; font-weight: 900">$2.1B</span> revenue.</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- Root timeline — spans full 108s composition -->
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.to({}, { duration: 108 });
- window.__timelines["root"] = tl;
- })();
- </script>
-
- </div><!-- end #root -->
-
- <!-- Three.js scene setup -->
- <script type="module">
- import * as THREE from "https://cdn.jsdelivr.net/npm/[email protected]/build/three.module.js";
-
- // --- Seeded LCG for deterministic "random" ---
- function makeLCG(seed) {
- var s = seed >>> 0;
- return function () {
- s = (Math.imul(1664525, s) + 1013904223) >>> 0;
- return s / 4294967296;
- };
- }
-
- var canvas = document.getElementById("three-canvas");
-
- // Guard: attempt WebGL renderer creation ONCE. On failure log ONE warning and stop.
- // The deck degrades gracefully — white-bg branded layout is the fallback.
- // Temporarily suppress console.error so THREE's internal multi-line error spam
- // doesn't fire on every page load in environments without a GPU.
- var renderer = null;
- var _consoleError = console.error;
- console.error = function () {}; // silence during creation attempt
- try {
- renderer = new THREE.WebGLRenderer({ canvas: canvas, alpha: true, antialias: true });
- } catch (e) {
- // renderer stays null — handled below
- } finally {
- console.error = _consoleError; // always restore
- }
- if (!renderer) {
- // Hide canvas; expose no-op so visibility controller calls are safe.
- canvas.style.display = "none";
- window.__threeApplyMood = function () {};
- // Do NOT proceed — rAF loop must not start.
- } else {
- // Renderer created OK — configure size and run the scene.
- renderer.setSize(1920, 1080);
- renderer.setPixelRatio(1);
- // Ensure canvas fills the stage (full-bleed, behind content)
- canvas.style.position = "fixed";
- canvas.style.top = "0";
- canvas.style.left = "0";
- canvas.style.width = "1920px";
- canvas.style.height = "1080px";
- canvas.style.zIndex = "0";
- canvas.style.pointerEvents = "none";
-
- var scene = new THREE.Scene();
- var camera = new THREE.PerspectiveCamera(60, 1920 / 1080, 0.1, 1000);
- camera.position.set(0, 0, 5);
-
- // === PARTICLE SYSTEM ===
- var PARTICLE_COUNT = 280;
- var rng = makeLCG(42);
-
- var positions = new Float32Array(PARTICLE_COUNT * 3);
- var colors = new Float32Array(PARTICLE_COUNT * 3);
- var sizes = new Float32Array(PARTICLE_COUNT);
- var velocities = [];
-
- for (var i = 0; i < PARTICLE_COUNT; i++) {
- positions[i * 3] = (rng() - 0.5) * 16;
- positions[i * 3 + 1] = (rng() - 0.5) * 9;
- positions[i * 3 + 2] = (rng() - 0.5) * 4;
- velocities.push({
- x: (rng() - 0.5) * 0.004,
- y: (rng() - 0.5) * 0.006 + 0.002,
- z: 0
- });
- sizes[i] = rng() * 10 + 3;
- // default coral color
- colors[i * 3] = 1.0;
- colors[i * 3 + 1] = 0.22;
- colors[i * 3 + 2] = 0.36;
- }
-
- var geo = new THREE.BufferGeometry();
- geo.setAttribute("position", new THREE.BufferAttribute(positions, 3));
- geo.setAttribute("color", new THREE.BufferAttribute(colors, 3));
- geo.setAttribute("size", new THREE.BufferAttribute(sizes, 1));
-
- var mat = new THREE.PointsMaterial({
- size: 0.18,
- vertexColors: true,
- transparent: true,
- opacity: 0.55,
- sizeAttenuation: true
- });
- var particles = new THREE.Points(geo, mat);
- scene.add(particles);
-
- // === GLOBE (for market slide) ===
- // Positioned on the right side so it doesn't occlude left-side text
- var globeGroup = new THREE.Group();
- globeGroup.visible = false;
- globeGroup.position.set(3.5, 0, -0.5);
- scene.add(globeGroup);
-
- // Low-poly wireframe sphere
- var sphereGeo = new THREE.IcosahedronGeometry(2.2, 2);
- var sphereMat = new THREE.MeshBasicMaterial({
- color: 0xFF385C,
- wireframe: true,
- transparent: true,
- opacity: 0.45
- });
- var globe = new THREE.Mesh(sphereGeo, sphereMat);
- globeGroup.add(globe);
-
- // Arc routes (simple lines on sphere surface)
- var arcRng = makeLCG(99);
- for (var a = 0; a < 12; a++) {
- var lat1 = (arcRng() - 0.5) * Math.PI;
- var lon1 = arcRng() * Math.PI * 2;
- var lat2 = (arcRng() - 0.5) * Math.PI;
- var lon2 = arcRng() * Math.PI * 2;
- var pts = [];
- for (var t = 0; t <= 20; t++) {
- var tt = t / 20;
- var lat = lat1 + (lat2 - lat1) * tt;
- var lon = lon1 + (lon2 - lon1) * tt;
- var r = 2.25 + Math.sin(tt * Math.PI) * 0.15;
- pts.push(new THREE.Vector3(
- r * Math.cos(lat) * Math.cos(lon),
- r * Math.sin(lat),
- r * Math.cos(lat) * Math.sin(lon)
- ));
- }
- var arcGeo = new THREE.BufferGeometry().setFromPoints(pts);
- var arcMat = new THREE.LineBasicMaterial({ color: 0xFF385C, transparent: true, opacity: 0.75 });
- globeGroup.add(new THREE.Line(arcGeo, arcMat));
- }
-
- // === BOKEH ORBS (for team slide) ===
- var bokehGroup = new THREE.Group();
- bokehGroup.visible = false;
- scene.add(bokehGroup);
- var bokehRng = makeLCG(17);
- for (var b = 0; b < 8; b++) {
- var bGeo = new THREE.SphereGeometry(0.4 + bokehRng() * 0.8, 8, 8);
- var bMat = new THREE.MeshBasicMaterial({
- color: b % 2 === 0 ? 0xFF385C : 0xFF5A5F,
- transparent: true,
- opacity: 0.08 + bokehRng() * 0.06
- });
- var bokeh = new THREE.Mesh(bGeo, bMat);
- bokeh.position.set(
- (bokehRng() - 0.5) * 14,
- (bokehRng() - 0.5) * 8,
- (bokehRng() - 0.5) * 2 - 2
- );
- bokehGroup.add(bokeh);
- }
-
- // === SCENE MOOD CONFIG ===
- // Map scene IDs to mood: particle color, opacity, globe, bokeh
- var MOODS = {
- "cover": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.55, globe: false, bokeh: false, bg: 0xFFFFFF },
- "problem": { r: 0.6, g: 0.55, b: 0.58, opacity: 0.30, globe: false, bokeh: false, bg: 0xF7F7F7 },
- "solution": { r: 1.0, g: 0.35, b: 0.37, opacity: 0.60, globe: false, bokeh: false, bg: 0xFFFFFF },
- "validation": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.35, globe: false, bokeh: false, bg: 0xFFFFFF },
- "market": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.40, globe: true, bokeh: false, bg: 0xFFFFFF },
- "product": { r: 1.0, g: 0.35, b: 0.45, opacity: 0.35, globe: false, bokeh: false, bg: 0xFFFFFF },
- "business": { r: 1.0, g: 0.35, b: 0.45, opacity: 0.35, globe: false, bokeh: false, bg: 0xFFFFFF },
- "adoption": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.35, globe: false, bokeh: false, bg: 0xFFFFFF },
- "competition": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.25, globe: false, bokeh: false, bg: 0xFFFFFF },
- "team": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.40, globe: false, bokeh: true, bg: 0x222222 },
- "ask": { r: 1.0, g: 0.22, b: 0.36, opacity: 0.60, globe: false, bokeh: false, bg: 0x222222 },
- "market-sizing":{ r: 1.0, g: 0.22, b: 0.36, opacity: 0.25, globe: true, bokeh: false, bg: 0x1a1a1a }
- };
-
- var currentMood = "cover";
-
- function applyMood(id) {
- var m = MOODS[id] || MOODS["cover"];
- currentMood = id;
- // Update particle colors
- for (var i = 0; i < PARTICLE_COUNT; i++) {
- colors[i * 3] = m.r;
- colors[i * 3 + 1] = m.g;
- colors[i * 3 + 2] = m.b;
- }
- geo.attributes.color.needsUpdate = true;
- mat.opacity = m.opacity;
- globeGroup.visible = !!m.globe;
- bokehGroup.visible = !!m.bokeh;
- renderer.setClearColor(m.bg, 0); // transparent bg — slide bg handles it
- }
-
- applyMood("cover");
-
- // Expose for the visibility controller
- window.__threeApplyMood = applyMood;
-
- var clock = { t: 0 };
- var lastTime = null;
-
- function animate(ts) {
- requestAnimationFrame(animate);
- if (lastTime === null) lastTime = ts;
- var dt = Math.min((ts - lastTime) / 1000, 0.05);
- lastTime = ts;
- clock.t += dt;
-
- // Animate particles
- var pos = geo.attributes.position.array;
- for (var i = 0; i < PARTICLE_COUNT; i++) {
- pos[i * 3] += velocities[i].x;
- pos[i * 3 + 1] += velocities[i].y;
- pos[i * 3 + 2] += velocities[i].z;
- // Wrap vertically
- if (pos[i * 3 + 1] > 5) pos[i * 3 + 1] = -5;
- if (pos[i * 3] > 9) pos[i * 3] = -9;
- if (pos[i * 3] < -9) pos[i * 3] = 9;
- }
- geo.attributes.position.needsUpdate = true;
-
- // Rotate globe slowly
- if (globeGroup.visible) {
- globeGroup.rotation.y = clock.t * 0.2;
- globeGroup.rotation.x = Math.sin(clock.t * 0.1) * 0.15;
- }
-
- // Parallax bokeh
- if (bokehGroup.visible) {
- bokehGroup.rotation.y = Math.sin(clock.t * 0.08) * 0.1;
- bokehGroup.rotation.x = Math.cos(clock.t * 0.06) * 0.06;
- }
-
- renderer.render(scene, camera);
- }
- requestAnimationFrame(animate);
- } // end else (renderer OK)
- </script>
-
- <!-- Scene visibility controller + imperative GSAP entrance driver -->
- <script>
- (function () {
- var scenes = [
- { id: "scene-cover", sceneKey: "cover", start: 0, end: 9 },
- { id: "scene-problem", sceneKey: "problem", start: 9, end: 18 },
- { id: "scene-solution", sceneKey: "solution", start: 18, end: 27 },
- { id: "scene-validation", sceneKey: "validation", start: 27, end: 36 },
- { id: "scene-market", sceneKey: "market", start: 36, end: 45 },
- { id: "scene-product", sceneKey: "product", start: 45, end: 54 },
- { id: "scene-business", sceneKey: "business", start: 54, end: 63 },
- { id: "scene-adoption", sceneKey: "adoption", start: 63, end: 72 },
- { id: "scene-competition", sceneKey: "competition", start: 72, end: 81 },
- { id: "scene-team", sceneKey: "team", start: 81, end: 90 },
- { id: "scene-ask", sceneKey: "ask", start: 90, end: 99 },
- { id: "scene-market-sizing", sceneKey: "market-sizing", start: 99, end: 108 }
- ];
-
- // Problem fragment config
- var probFragments = [
- { time: 9.3, id: "prob-item1" },
- { time: 9.6, id: "prob-item2" }
- ];
- var probRevealed = [false, false];
-
- var lastActiveId = null;
-
- function fireEntrance(sceneEl) {
- var animEls = sceneEl.querySelectorAll("[data-anim]");
- if (!animEls.length) return;
- gsap.from(animEls, {
- opacity: 0,
- y: 28,
- duration: 0.4,
- stagger: 0.07,
- ease: "power2.out",
- overwrite: true
- });
- }
-
- function revealProblem(id) {
- var el = document.getElementById(id);
- if (!el) return;
- gsap.fromTo(el,
- { opacity: 0, x: -24 },
- { opacity: 1, x: 0, duration: 0.35, ease: "power2.out", overwrite: true }
- );
- }
-
- function updateVisibility(t) {
- for (var i = 0; i < scenes.length; i++) {
- var s = scenes[i];
- var el = document.getElementById(s.id);
- if (!el) continue;
- var active = t >= s.start && t < s.end;
- el.style.opacity = active ? "1" : "0";
- el.style.pointerEvents = active ? "auto" : "none";
-
- if (active && lastActiveId !== s.id) {
- // Update Three.js mood
- if (window.__threeApplyMood) window.__threeApplyMood(s.sceneKey);
-
- if (s.id === "scene-problem") {
- // Reset problem items on re-entry
- probRevealed = [false, false];
- probFragments.forEach(function (f) {
- var pEl = document.getElementById(f.id);
- if (pEl) gsap.set(pEl, { opacity: 0, x: 0, clearProps: "transform" });
- });
- }
- lastActiveId = s.id;
- fireEntrance(el);
- }
- }
-
- // Reveal problem fragments
- for (var f = 0; f < probFragments.length; f++) {
- if (!probRevealed[f] && t >= probFragments[f].time) {
- probRevealed[f] = true;
- revealProblem(probFragments[f].id);
- }
- }
- }
-
- window.__hfSetTime = updateVisibility;
-
- // Show first slide immediately
- updateVisibility(0);
-
- function hookRoot() {
- var root = window.__timelines && window.__timelines["root"];
- if (root) {
- root.eventCallback("onUpdate", function () {
- updateVisibility(root.time());
- });
- }
- }
- hookRoot();
- })();
- </script>
-
- <!-- SFX cue poster — posts transition cues to the parent unconditionally.
- Mute state is owned by <hyperframes-slideshow sound> in the parent;
- the parent gates playback on its mute state. The coral mute button has
- been removed — use the mute control in the nav capsule (demo.html). -->
- <script>
- (function () {
- window.__sfxPlayed = window.__sfxPlayed || [];
-
- // Unlock logic kept for best-effort local play (only fires if the
- // composition ever gets its own activation, e.g. when opened directly).
- var unlocked = false;
- var clips = {
- advance: new Audio('sfx/advance.mp3'),
- fragment: new Audio('sfx/fragment.mp3'),
- branchEnter: new Audio('sfx/branch-enter.mp3'),
- back: new Audio('sfx/back.mp3')
- };
- clips.advance.preload = 'auto';
- clips.fragment.preload = 'auto';
- clips.branchEnter.preload = 'auto';
- clips.back.preload = 'auto';
- clips.advance.volume = 0.45;
- clips.fragment.volume = 0.40;
- clips.branchEnter.volume = 0.38;
- clips.back.volume = 0.38;
-
- function playClip(el) {
- el.currentTime = 0;
- el.play().catch(function () {});
- }
-
- function primeAll() {
- var keys = ['advance', 'fragment', 'branchEnter', 'back'];
- for (var ki = 0; ki < keys.length; ki++) {
- var el = clips[keys[ki]];
- var savedVol = el.volume;
- el.volume = 0;
- el.play().then(function (e2) {
- return function () { e2.pause(); e2.currentTime = 0; e2.volume = savedVol; };
- }(el)).catch(function (e2, sv) {
- return function () { e2.volume = sv; };
- }(el, savedVol));
- }
- }
-
- function onFirstGesture() {
- if (unlocked) return;
- unlocked = true;
- primeAll();
- }
- document.addEventListener('keydown', onFirstGesture, true);
- document.addEventListener('pointerdown', onFirstGesture, true);
- document.addEventListener('click', onFirstGesture, true);
- window.addEventListener('keydown', onFirstGesture, true);
- window.addEventListener('pointerdown', onFirstGesture, true);
-
- function playSfx(name) {
- window.__sfxPlayed.push(name);
- // Post the cue to the parent unconditionally — the parent's audio player
- // gates on the slideshow component's mute state (hf-sound event).
- try { parent.postMessage({ type: 'hf-sfx', name: name }, '*'); } catch (e) {}
- // Best-effort local play (only fires if this doc ever gets activation).
- if (!unlocked) return;
- switch (name) {
- case 'advance': playClip(clips.advance); break;
- case 'fragment': playClip(clips.fragment); break;
- case 'branch-enter': playClip(clips.branchEnter); break;
- case 'back': playClip(clips.back); break;
- }
- }
-
- window.__playSfx = playSfx;
- })();
- </script>
-
- <!-- Patch visibility controller to fire sfx on scene/fragment transitions -->
- <script>
- (function () {
- // Wait for __hfSetTime and __playSfx to be defined, then wrap __hfSetTime
- var origUpdateVisibility = window.__hfSetTime;
- var lastScene = null;
- var wasInBranch = false;
- var fragmentRevealedSfx = [false, false];
- var probFragmentTimes = [9.3, 9.6];
- var BRANCH_SCENE_ID = 'scene-market-sizing';
- var BRANCH_START = 99;
- var BRANCH_END = 108;
- var initialized = false;
-
- function patchedUpdateVisibility(t) {
- origUpdateVisibility(t);
-
- var playSfx = window.__playSfx;
- if (!playSfx) return;
-
- // Determine current active scene
- var scenes = [
- { id: 'scene-cover', start: 0, end: 9 },
- { id: 'scene-problem', start: 9, end: 18 },
- { id: 'scene-solution', start: 18, end: 27 },
- { id: 'scene-validation', start: 27, end: 36 },
- { id: 'scene-market', start: 36, end: 45 },
- { id: 'scene-product', start: 45, end: 54 },
- { id: 'scene-business', start: 54, end: 63 },
- { id: 'scene-adoption', start: 63, end: 72 },
- { id: 'scene-competition', start: 72, end: 81 },
- { id: 'scene-team', start: 81, end: 90 },
- { id: 'scene-ask', start: 90, end: 99 },
- { id: 'scene-market-sizing', start: 99, end: 108 }
- ];
-
- var activeScene = null;
- for (var i = 0; i < scenes.length; i++) {
- if (t >= scenes[i].start && t < scenes[i].end) {
- activeScene = scenes[i].id;
- break;
- }
- }
-
- var inBranch = (activeScene === BRANCH_SCENE_ID);
-
- if (!initialized) {
- // Suppress first activation on page load
- initialized = true;
- lastScene = activeScene;
- wasInBranch = inBranch;
- return;
- }
-
- if (activeScene && activeScene !== lastScene) {
- // Determine if this is a branch transition or a regular advance.
- if (inBranch && !wasInBranch) {
- playSfx('branch-enter');
- } else if (!inBranch && wasInBranch) {
- playSfx('back');
- } else {
- // Direction by scene order: going backward plays the reverse whoosh.
- var ai = -1, li = -1;
- for (var s = 0; s < scenes.length; s++) {
- if (scenes[s].id === activeScene) ai = s;
- if (scenes[s].id === lastScene) li = s;
- }
- playSfx(ai >= 0 && li >= 0 && ai < li ? 'back' : 'advance');
- }
- // Reset fragment sfx tracking on problem re-entry
- if (activeScene === 'scene-problem') {
- fragmentRevealedSfx = [false, false];
- }
- lastScene = activeScene;
- wasInBranch = inBranch;
- }
-
- // Fragment sfx — fire on same crossing that revealProblem fires
- for (var f = 0; f < probFragmentTimes.length; f++) {
- if (!fragmentRevealedSfx[f] && t >= probFragmentTimes[f]) {
- fragmentRevealedSfx[f] = true;
- playSfx('fragment');
- }
- }
- }
-
- window.__hfSetTime = patchedUpdateVisibility;
-
- // Also re-hook the root timeline callback after load
- // (the timeline callback was set before our patch)
- window.addEventListener('load', function () {
- var root = window.__timelines && window.__timelines['root'];
- if (root) {
- root.eventCallback('onUpdate', function () {
- patchedUpdateVisibility(root.time());
- });
- }
- });
- })();
- </script>
-
- <!-- Bootstrap postMessage for slideshow component -->
- <script>
- (function () {
- var totalFrames = 108 * 30; // 108s × 30fps = 3240 frames
- var scenes = [
- { id: "cover", start: 0, duration: 9 },
- { id: "problem", start: 9, duration: 9 },
- { id: "solution", start: 18, duration: 9 },
- { id: "validation", start: 27, duration: 9 },
- { id: "market", start: 36, duration: 9 },
- { id: "product", start: 45, duration: 9 },
- { id: "business", start: 54, duration: 9 },
- { id: "adoption", start: 63, duration: 9 },
- { id: "competition", start: 72, duration: 9 },
- { id: "team", start: 81, duration: 9 },
- { id: "ask", start: 90, duration: 9 },
- { id: "market-sizing", start: 99, duration: 9 }
- ];
-
- function postTimeline() {
- parent.postMessage({
- source: "hf-preview",
- type: "timeline",
- durationInFrames: totalFrames,
- scenes: scenes
- }, "*");
- }
-
- if (document.readyState === "complete") {
- setTimeout(postTimeline, 300);
- } else {
- window.addEventListener("load", function () { setTimeout(postTimeline, 300); });
- }
- })();
- </script>
-
- </body>
-</html>
diff --git a/registry/examples/airbnb-deck/sfx/advance.mp3 b/registry/examples/airbnb-deck/sfx/advance.mp3
deleted file mode 100644
index b39de41ace..0000000000
Binary files a/registry/examples/airbnb-deck/sfx/advance.mp3 and /dev/null differ
diff --git a/registry/examples/airbnb-deck/sfx/back.mp3 b/registry/examples/airbnb-deck/sfx/back.mp3
deleted file mode 100644
index f83af3f502..0000000000
Binary files a/registry/examples/airbnb-deck/sfx/back.mp3 and /dev/null differ
diff --git a/registry/examples/airbnb-deck/sfx/branch-enter.mp3 b/registry/examples/airbnb-deck/sfx/branch-enter.mp3
deleted file mode 100644
index 0f7dacdfa6..0000000000
Binary files a/registry/examples/airbnb-deck/sfx/branch-enter.mp3 and /dev/null differ
diff --git a/registry/examples/airbnb-deck/sfx/fragment.mp3 b/registry/examples/airbnb-deck/sfx/fragment.mp3
deleted file mode 100644
index b23f801cd3..0000000000
Binary files a/registry/examples/airbnb-deck/sfx/fragment.mp3 and /dev/null differ
diff --git a/registry/examples/motion-blur/index.html b/registry/examples/motion-blur/index.html
deleted file mode 100644
index 6106007298..0000000000
--- a/registry/examples/motion-blur/index.html
+++ /dev/null
@@ -1,949 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Motion Blur — Velocity Showcase</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #06060a;
- }
-
- #comp {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "SF Mono", ui-monospace, monospace;
- background: #06060a;
- }
-
- .header {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- height: 80px;
- display: flex;
- align-items: flex-end;
- padding: 0 72px 20px;
- border-bottom: 1px solid #0f0f18;
- }
- .header-title {
- font-size: 11px;
- letter-spacing: 0.4em;
- text-transform: uppercase;
- color: #1e1e2a;
- }
- .header-sub {
- margin-left: auto;
- font-size: 11px;
- letter-spacing: 0.25em;
- text-transform: uppercase;
- color: #14141c;
- }
-
- /* Each group = one speed level, containing a shape row + text row */
- .group {
- position: absolute;
- left: 0;
- right: 0;
- height: 184px; /* 72 + 16 + 72 + 24 bottom */
- }
-
- /* Group bottom separator */
- .group::after {
- content: "";
- position: absolute;
- bottom: 0;
- left: 72px;
- right: 72px;
- height: 1px;
- background: #0d0d15;
- }
-
- /* Duration label — left, spanning both rows */
- .dur {
- position: absolute;
- left: 72px;
- top: 0;
- width: 90px;
- height: 160px; /* 72+16+72 */
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .dur-num {
- font-size: 28px;
- font-weight: 700;
- letter-spacing: -0.04em;
- color: #fff;
- line-height: 1;
- }
- .dur-unit {
- font-size: 9px;
- letter-spacing: 0.25em;
- text-transform: uppercase;
- color: #252532;
- margin-top: 5px;
- }
-
- /* Row-type hint ("shape" / "text") — right of dur label */
- .row-hint {
- position: absolute;
- left: 176px;
- width: 44px;
- height: 72px;
- display: flex;
- align-items: center;
- font-size: 8px;
- letter-spacing: 0.2em;
- text-transform: uppercase;
- color: #161620;
- }
-
- /* Speed label — right, spanning both rows */
- .spd {
- position: absolute;
- right: 72px;
- top: 0;
- width: 100px;
- height: 160px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: flex-end;
- }
- .spd-label {
- font-size: 10px;
- letter-spacing: 0.3em;
- text-transform: uppercase;
- color: #181822;
- }
-
- /* Animated elements — both types live at left:0, GSAP drives x */
- .pill {
- position: absolute;
- left: 0;
- top: 0;
- width: 200px;
- height: 72px;
- border-radius: 36px;
- will-change: transform, filter;
- }
-
- .word {
- position: absolute;
- left: 0;
- top: 88px; /* 72 + 16 gap */
- height: 72px;
- line-height: 72px;
- white-space: nowrap;
- font-size: 56px;
- font-weight: 800;
- letter-spacing: -0.03em;
- will-change: transform, filter;
- }
-
- /* Inner divider between shape row and text row */
- .inner-div {
- position: absolute;
- left: 220px;
- right: 200px;
- top: 80px; /* 72 + 8 */
- height: 1px;
- background: #0a0a12;
- }
-
- /* Track guide lines */
- .track-a,
- .track-b {
- position: absolute;
- left: 220px;
- right: 200px;
- height: 1px;
- background: #0c0c14;
- }
- .track-a {
- top: 35px;
- } /* center of shape row */
- .track-b {
- top: 123px;
- } /* 88 + 35 = center of text row */
- </style>
- </head>
- <body>
- <div
- id="comp"
- data-composition-id="motion-blur-example"
- data-width="1920"
- data-height="1080"
- data-start="0"
- data-duration="4"
- >
- <div class="header" data-layout-ignore>
- <span class="header-title">Motion Blur — Velocity Showcase</span>
- <span class="header-sub"
- >17 duplicates at 1/16 · 720° shutter · smear = speed × shutter time</span
- >
- </div>
-
- <!-- Group 1: 3.0s slow — top: 80 -->
- <div class="group" style="top: 80px">
- <div class="dur" data-layout-ignore>
- <span class="dur-num">3.0</span><span class="dur-unit">seconds</span>
- </div>
- <div class="row-hint" data-layout-ignore style="top: 0">shape</div>
- <div class="row-hint" data-layout-ignore style="top: 88px">text</div>
- <div class="track-a"></div>
- <div class="inner-div"></div>
- <div class="track-b"></div>
- <div
- class="pill"
- id="s1"
- style="
- background: linear-gradient(135deg, #60a5fa, #2563eb);
- box-shadow: 0 0 32px rgba(96, 165, 250, 0.18);
- "
- ></div>
- <div
- class="word"
- id="t1"
- style="color: #3b82f6; text-shadow: 0 0 40px rgba(96, 165, 250, 0.3)"
- >
- DRIFT
- </div>
- <div class="spd" data-layout-ignore><span class="spd-label">slow</span></div>
- </div>
-
- <!-- Group 2: 1.5s medium — top: 264 -->
- <div class="group" style="top: 264px">
- <div class="dur" data-layout-ignore>
- <span class="dur-num">1.5</span><span class="dur-unit">seconds</span>
- </div>
- <div class="row-hint" data-layout-ignore style="top: 0">shape</div>
- <div class="row-hint" data-layout-ignore style="top: 88px">text</div>
- <div class="track-a"></div>
- <div class="inner-div"></div>
- <div class="track-b"></div>
- <div
- class="pill"
- id="s2"
- style="
- background: linear-gradient(135deg, #34d399, #059669);
- box-shadow: 0 0 32px rgba(52, 211, 153, 0.18);
- "
- ></div>
- <div
- class="word"
- id="t2"
- style="color: #10b981; text-shadow: 0 0 40px rgba(52, 211, 153, 0.3)"
- >
- GLIDE
- </div>
- <div class="spd" data-layout-ignore><span class="spd-label">medium</span></div>
- </div>
-
- <!-- Group 3: 0.7s fast — top: 448 -->
- <div class="group" style="top: 448px">
- <div class="dur" data-layout-ignore>
- <span class="dur-num">0.7</span><span class="dur-unit">seconds</span>
- </div>
- <div class="row-hint" data-layout-ignore style="top: 0">shape</div>
- <div class="row-hint" data-layout-ignore style="top: 88px">text</div>
- <div class="track-a"></div>
- <div class="inner-div"></div>
- <div class="track-b"></div>
- <div
- class="pill"
- id="s3"
- style="
- background: linear-gradient(135deg, #c084fc, #7c3aed);
- box-shadow: 0 0 32px rgba(192, 132, 252, 0.18);
- "
- ></div>
- <div
- class="word"
- id="t3"
- style="color: #a855f7; text-shadow: 0 0 40px rgba(192, 132, 252, 0.3)"
- >
- RUSH
- </div>
- <div class="spd" data-layout-ignore><span class="spd-label">fast</span></div>
- </div>
-
- <!-- Group 4: 0.35s faster — top: 632 -->
- <div class="group" style="top: 632px">
- <div class="dur" data-layout-ignore>
- <span class="dur-num">0.35</span><span class="dur-unit">seconds</span>
- </div>
- <div class="row-hint" data-layout-ignore style="top: 0">shape</div>
- <div class="row-hint" data-layout-ignore style="top: 88px">text</div>
- <div class="track-a"></div>
- <div class="inner-div"></div>
- <div class="track-b"></div>
- <div
- class="pill"
- id="s4"
- style="
- background: linear-gradient(135deg, #fb923c, #ea580c);
- box-shadow: 0 0 32px rgba(251, 146, 60, 0.18);
- "
- ></div>
- <div
- class="word"
- id="t4"
- style="color: #f97316; text-shadow: 0 0 40px rgba(251, 146, 60, 0.3)"
- >
- BLAST
- </div>
- <div class="spd" data-layout-ignore><span class="spd-label">faster</span></div>
- </div>
-
- <!-- Group 5: 0.2s extreme — top: 816 -->
- <div class="group" style="top: 816px">
- <div class="dur" data-layout-ignore>
- <span class="dur-num">0.2</span><span class="dur-unit">seconds</span>
- </div>
- <div class="row-hint" data-layout-ignore style="top: 0">shape</div>
- <div class="row-hint" data-layout-ignore style="top: 88px">text</div>
- <div class="track-a"></div>
- <div class="inner-div"></div>
- <div class="track-b"></div>
- <div
- class="pill"
- id="s5"
- style="
- background: linear-gradient(135deg, #f87171, #dc2626);
- box-shadow: 0 0 32px rgba(248, 113, 113, 0.18);
- "
- ></div>
- <div
- class="word"
- id="t5"
- style="color: #ef4444; text-shadow: 0 0 40px rgba(248, 113, 113, 0.3)"
- >
- WARP
- </div>
- <div class="spd" data-layout-ignore><span class="spd-label">extreme</span></div>
- </div>
-
- <script>
- (function () {
- /* ── attachMotionBlur ─────────────────────────────────────── */
- /* SHUTTER_SNIPPET_START */
- if (!window._hfMbUid) window._hfMbUid = 0;
- if (!window._hfMbAttached) window._hfMbAttached = new WeakSet();
- if (!window._hfMbSkipped) window._hfMbSkipped = new WeakSet();
- if (!window._hfMbProxies) window._hfMbProxies = new WeakSet();
- if (!window._hfMbTimeline) window._hfMbTimeline = new WeakMap();
- if (!window._hfMbWarned) window._hfMbWarned = new WeakSet();
-
- // The declarative form. A copy of a target must not carry it, or the copy is swept
- // as a target of its own; the group's own marker is `data-hf-motion-blur-group`.
- var SWEEP_ATTR = "data-hf-motion-blur";
- // About eight seconds. Long enough for an asynchronously mounted sub-composition, short
- // enough that a page with a genuine mistake in it reports before anyone stops watching.
- var POLL_MS = 32;
- var POLL_TICKS = 250;
- var SWEEP_SELECTOR = "[" + SWEEP_ATTR + "]";
- var OPTION_KEYS = ["shutterAngle", "shutterPhase", "samplesPerFrame", "fps"];
-
- // A copy is a deep clone, so the attribute rides along on the root AND on every marked
- // descendant. Any one left behind is swept as a target of its own, which clones again.
- var COPY_STRIP = [SWEEP_ATTR, "data-composition-id", "data-fps"];
-
- function stripAttrs(el) {
- for (var a = 0; a < COPY_STRIP.length; a++) el.removeAttribute(COPY_STRIP[a]);
- }
-
- function stripCopyAttrs(root) {
- stripAttrs(root);
- var inner = root.querySelectorAll("[" + COPY_STRIP.join("],[") + "]");
- for (var i = 0; i < inner.length; i++) stripAttrs(inner[i]);
- }
-
- // Shutter length is measured in frames, so the snippet must know the composition
- // frame rate: explicit option, else the target's OWN root, else the first root in
- // the document, else 30. The target's root is what makes two compositions on one
- // page read their own data-fps instead of sharing the first one written.
- function resolveFps(optionFps, target) {
- var explicit = Number(optionFps);
- if (explicit > 0) return explicit;
-
- var scoped = target ? target.closest("[data-composition-id][data-fps]") : null;
- var root = scoped || document.querySelector("[data-composition-id][data-fps]");
- var rootFps = root ? Number(root.getAttribute("data-fps")) : 0;
- if (rootFps > 0) return rootFps;
-
- return 30;
- }
-
- function numOption(value, fallback) {
- return value !== undefined ? Number(value) : fallback;
- }
-
- // A resolved `transform` is either "none", a 2D matrix(a,b,c,d,e,f) or a 3D
- // matrix3d of 16. Splitting the numbers into the linear part and the
- // translation is what lets the deadband below use a pixel tolerance on the
- // one and an angle/ratio tolerance on the other.
- function parseTransform(value) {
- if (!value || value === "none") return { linear: [1, 0, 0, 1], translate: [0, 0, 0] };
- var nums = value
- .slice(value.indexOf("(") + 1, -1)
- .split(",")
- .map(parseFloat);
- if (nums.length === 16) {
- return {
- linear: [
- nums[0],
- nums[1],
- nums[2],
- nums[4],
- nums[5],
- nums[6],
- nums[8],
- nums[9],
- nums[10],
- nums[3],
- nums[7],
- nums[11],
- nums[15],
- ],
- translate: [nums[12], nums[13], nums[14]],
- };
- }
- return {
- linear: [nums[0], nums[1], nums[2], nums[3]],
- translate: [nums[4], nums[5], 0],
- };
- }
-
- // Deadband: half a pixel of travel, a thousandth of a unit of linear change,
- // about 0.06 degrees or 0.1% of scale. Below it the average is the source.
- // The 2D and 3D forms have different arities, so a change of form counts as
- // movement rather than being compared component by component.
- function differs(a, b) {
- if (a.linear.length !== b.linear.length) return true;
- for (var i = 0; i < a.linear.length; i++) {
- if (Math.abs(a.linear[i] - b.linear[i]) > 0.001) return true;
- }
- for (var j = 0; j < 3; j++) {
- if (Math.abs(a.translate[j] - b.translate[j]) > 0.5) return true;
- }
- return false;
- }
-
- window.attachMotionBlur = function (selector, tl, opts) {
- opts = opts || {};
- var shutterAngle = numOption(opts.shutterAngle, 720);
- var shutterPhase = numOption(opts.shutterPhase, -360);
- var requestedSamples = numOption(opts.samplesPerFrame, 16);
- var samples = Number.isFinite(requestedSamples)
- ? Math.max(2, Math.min(64, Math.round(requestedSamples)))
- : 16;
- var items = Array.isArray(selector) ? selector : [selector];
- var targets = items.reduce(function (acc, s) {
- if (typeof s === "string") {
- document.querySelectorAll(s).forEach(function (el) {
- acc.push(el);
- });
- } else if (s instanceof Element) {
- acc.push(s);
- }
- return acc;
- }, []);
-
- // `samples` counts sub-intervals of the shutter window, so there is one copy at
- // every interval boundary — both ends of the window included — and each carries
- // 1/samples of the source. That is what the reference export shows: the outermost
- // copy sits exactly one frame away from the frame time, not half a step short.
- var copies = samples + 1;
- var alpha = String(1 / samples);
-
- // A copy is styled by nothing that selected the original: dropping the id also
- // drops every `#id` rule that gave it size, colour and font. So each copy carries
- // its own resolved style inline. Chrome returns "" for a computed style's cssText,
- // so the declarations are enumerated rather than taken wholesale.
- function resolvedStyles(source, out) {
- var cs = getComputedStyle(source);
- var text = "";
- for (var i = 0; i < cs.length; i++) {
- text += cs[i] + ":" + cs.getPropertyValue(cs[i]) + ";";
- }
- // A copy is a still of one instant. Left live, an inherited transition or
- // keyframe animation would carry it somewhere the timeline never sampled.
- out.push(text + "transition:none;animation:none;");
- for (var c = 0; c < source.children.length; c++) {
- resolvedStyles(source.children[c], out);
- }
- return out;
- }
-
- function paintResolvedStyles(copy, styles, cursor) {
- copy.style.cssText = styles[cursor.i++];
- for (var c = 0; c < copy.children.length; c++) {
- paintResolvedStyles(copy.children[c], styles, cursor);
- }
- }
-
- // Perspective applies to a parent's children only, and a copy is a grandchild.
- // Sharing the parent's 3D context would need preserve-3d on the group, which
- // mix-blend-mode flattens, so each copy carries the perspective itself. See the
- // header for what that does to the vanishing point.
- function parentPerspective(el) {
- var value = el.parentNode ? getComputedStyle(el.parentNode).perspective : "none";
- return value && value !== "none" ? "perspective(" + value + ") " : "";
- }
-
- function attachOne(el) {
- var group = document.createElement("div");
- group.setAttribute("data-hf-motion-blur-group", "hf-mb-" + window._hfMbUid++);
- group.style.cssText =
- "position:absolute;left:0;top:0;width:0;height:0;isolation:isolate;pointer-events:none;display:none;";
-
- var clones = [];
- for (var k = 0; k < copies; k++) {
- var clone = el.cloneNode(true);
- clone.removeAttribute("id");
- stripCopyAttrs(clone);
- clones.push(clone);
- group.appendChild(clone);
- }
- var s = {
- el: el,
- group: group,
- clones: clones,
- samples: [],
- perspective: "",
- watch: null,
- };
-
- // Resolved styles and the parent's perspective are px once read, so a
- // container-relative element needs them again when its box changes. Per frame
- // that would walk the whole subtree once per copy; on resize it costs nothing
- // on a fixed-size render and keeps a live preview honest.
- function snapshot() {
- var styles = resolvedStyles(el, []);
- s.perspective = parentPerspective(el);
- for (var c = 0; c < clones.length; c++) {
- paintResolvedStyles(clones[c], styles, { i: 0 });
- clones[c].style.position = "absolute";
- clones[c].style.margin = "0";
- clones[c].style.opacity = alpha;
- clones[c].style.mixBlendMode = "plus-lighter";
- }
- }
-
- // Snapshot BEFORE the group enters the page, so a throw in the style walk leaves
- // nothing behind: the record the rollback needs does not exist until it returns.
- snapshot();
- el.parentNode.insertBefore(group, el);
- if (typeof ResizeObserver === "function") {
- s.watch = new ResizeObserver(snapshot);
- s.watch.observe(el);
- }
- return s;
- }
-
- var state = [];
- // Every element this call marked. A throw inside `attachOne` never returns its
- // record, so `state` alone cannot give the marks back.
- var claimed = [];
- try {
- for (var q = 0; q < targets.length; q++) {
- var candidate = targets[q];
- // One group per element, whether a second call names it or one call names it
- // twice: a second set of copies over the first would double the ink. Marked
- // BEFORE the copies go in: inserting them runs custom-element reactions
- // synchronously, and one that registers a timeline re-enters the write trap.
- if (window._hfMbAttached.has(candidate)) continue;
- window._hfMbAttached.add(candidate);
- window._hfMbTimeline.set(candidate, tl);
- claimed.push(candidate);
- state.push(attachOne(candidate));
- }
- } catch (e) {
- unmark(claimed);
- discard(state);
- throw e;
- }
- // Nothing to blur means nothing to seek: a tracker here would run the whole sample
- // loop every frame over an empty set.
- if (state.length === 0) return;
-
- // One seek loop drives the whole call, so the window is ONE length, and it belongs
- // to the composition of an element this call actually attached.
- var fps = resolveFps(opts.fps, state[0].el);
- for (var d = 1; d < state.length; d++) {
- if (resolveFps(opts.fps, state[d].el) === fps) continue;
- var line = "one call cannot blur compositions at different frame rates; using ";
- console.warn("[motion-blur] " + line + fps, state[d].el);
- break;
- }
-
- function readTransform(el) {
- var cs = getComputedStyle(el);
- return {
- css: cs.transform,
- origin: cs.transformOrigin,
- opacity: cs.opacity,
- parsed: parseTransform(cs.transform),
- };
- }
-
- var scheduled = false;
-
- function applyShutter() {
- var shutterTime = shutterAngle / 360 / fps;
- if (!(shutterTime > 0)) {
- state.forEach(function (s) {
- s.group.style.display = "none";
- });
- return;
- }
-
- var t0 = tl.time();
- var duration = tl.duration();
- var windowStart = t0 + shutterPhase / 360 / fps;
-
- // Sample the real trajectory: seek to each sub-frame time with events
- // suppressed (so no tween callbacks, including this tracker's, fire),
- // read the resolved transform, then restore the frame time.
- try {
- for (var k = 0; k < copies; k++) {
- var tk = windowStart + (k / samples) * shutterTime;
- tl.time(Math.min(duration, Math.max(0, tk)), true);
- state.forEach(function (s) {
- s.samples[k] = readTransform(s.el);
- });
- }
- } finally {
- tl.time(t0, true);
- }
-
- state.forEach(function (s) {
- var current = readTransform(s.el);
- var moved = false;
- for (var i = 0; i < copies; i++) {
- if (differs(s.samples[i].parsed, current.parsed)) {
- moved = true;
- break;
- }
- }
- if (!moved) {
- s.group.style.display = "none";
- return;
- }
-
- // The copies are absolutely positioned inside the group, and the group sits at
- // the origin of the element's own containing block, so the element's offset box
- // places them. Re-read every frame: a beat is free to move the box itself.
- var left = s.el.offsetLeft + "px";
- var top = s.el.offsetTop + "px";
- var width = s.el.offsetWidth + "px";
- var height = s.el.offsetHeight + "px";
- for (var j = 0; j < copies; j++) {
- var clone = s.clones[j];
- clone.style.left = left;
- clone.style.top = top;
- clone.style.width = width;
- clone.style.height = height;
- clone.style.transformOrigin = s.samples[j].origin;
- clone.style.transform =
- s.perspective + (s.samples[j].css === "none" ? "" : s.samples[j].css);
- }
- // The copies are the element's own ink, so they have to carry its opacity too:
- // a beat that moves and fades at once would otherwise leave a full-strength
- // smear behind a vanishing element. It rides the group, not the copies, whose
- // own opacity is the 1/N shutter weight.
- s.group.style.opacity = current.opacity;
- s.group.style.display = "";
- });
- }
-
- // tl.eventCallback("onUpdate") is unavailable under the HyperFrames runtime proxy, so a
- // tracker tween's onUpdate fires on every seek. Sampling is deferred to a microtask:
- // seeking GSAP from inside its own render reads stale tween state, while the microtask
- // runs after the seek returns and before the frame is captured or painted.
- var _proxy = { t: 0 };
- try {
- tl.to(
- _proxy,
- {
- t: 1,
- duration: Math.max(tl.duration(), 0.1),
- ease: "none",
- onUpdate: function () {
- if (scheduled) return;
- scheduled = true;
- Promise.resolve().then(function () {
- scheduled = false;
- applyShutter();
- });
- },
- },
- 0,
- );
- } catch (e) {
- unmark(claimed);
- discard(state);
- throw e;
- }
- };
-
- // An empty attribute means defaults; anything else is a JSON options object. A value that
- // is not an options object is skipped loudly rather than read as defaults, because a typo
- // in it would otherwise render as a silently unblurred element.
- function sweepOptions(el) {
- var text = (el.getAttribute(SWEEP_ATTR) || "").trim();
- if (text === "") return {};
- var parsed = null;
- try {
- parsed = JSON.parse(text);
- } catch (e) {
- return refuse(el, "is not JSON: " + text);
- }
- // `null`, a number and a string all parse. None of them is a set of options.
- if (parsed === null || typeof parsed !== "object" || Array.isArray(parsed)) {
- return refuse(el, "is not a JSON object: " + text);
- }
- var bad = unknownKey(parsed);
- if (bad !== null) return refuse(el, "names no such option: " + bad);
- var wrong = nonNumber(parsed);
- if (wrong !== null) return refuse(el, "needs a number for " + wrong);
- return parsed;
- }
-
- // A misspelled key is the likeliest typo in a JSON object, and reading it as
- // defaults is the silent no-op this attribute exists to remove.
- function unknownKey(parsed) {
- for (var key in parsed) {
- if (OPTION_KEYS.indexOf(key) < 0) return key;
- }
- return null;
- }
-
- // A key with a value the shutter cannot use is the same silent no-op as a key it does
- // not know: a non-numeric angle hides the smear, a non-numeric phase parks every copy
- // at the timeline's start. JSON gives real numbers, so anything else is a typo.
- function nonNumber(parsed) {
- for (var i = 0; i < OPTION_KEYS.length; i++) {
- var held = parsed[OPTION_KEYS[i]];
- if (held === undefined) continue;
- if (typeof held !== "number" || !Number.isFinite(held)) return OPTION_KEYS[i];
- }
- return null;
- }
-
- // A throw partway through an attach leaves an element blurred by nothing, so the copies
- // go too, along with the observer that would otherwise keep walking a detached subtree
- // on every resize of an element nothing blurs.
- // The mark is what a second trigger reads, so it is the first thing to give back.
- function unmark(els) {
- for (var i = 0; i < els.length; i++) {
- window._hfMbAttached.delete(els[i]);
- window._hfMbTimeline.delete(els[i]);
- }
- }
-
- function discard(state) {
- for (var i = 0; i < state.length; i++) {
- var s = state[i];
- if (s.watch !== null) s.watch.disconnect();
- if (s.group.parentNode !== null) s.group.parentNode.removeChild(s.group);
- }
- }
-
- function refuse(el, why) {
- window._hfMbSkipped.add(el);
- console.warn("[motion-blur] " + SWEEP_ATTR + " " + why, el);
- return null;
- }
-
- // An element belongs to the nearest composition above it, so a sub-composition's
- // targets follow that sub-composition's own timeline.
- function compositionOf(el) {
- var host = el.closest("[data-composition-id]");
- return host ? host.getAttribute("data-composition-id") : null;
- }
-
- // Anything else registered on the container is somebody else's bookkeeping: a
- // timeline is the thing this snippet can seek and extend.
- function isTimeline(value) {
- return !!value && typeof value.time === "function" && typeof value.to === "function";
- }
-
- // Attached, or skipped as unparseable. Both are terminal, so a later trigger must not
- // report or attach the element twice.
- function handled(el) {
- return window._hfMbAttached.has(el) || window._hfMbSkipped.has(el);
- }
-
- // The timeline registered for an element's own composition, or null. Read from the
- // registry rather than taken from whoever wrote it, so every trigger agrees.
- function timelineFor(el) {
- var id = compositionOf(el);
- if (id === null) return null;
- var registry = window.__timelines;
- var found = registry ? registry[id] : null;
- return isTimeline(found) ? found : null;
- }
-
- // A marked element whose parent is not an Element has no target above it: the parent
- // of a root is the Document, which has no `closest`.
- function nestedInTarget(el) {
- var parent = el.parentNode;
- if (parent === null || typeof parent.closest !== "function") return false;
- return parent.closest(SWEEP_SELECTOR) !== null;
- }
-
- // One owner of attaching one element. Answers whether the element still needs a trigger.
- function claim(el) {
- var tl = timelineFor(el);
- if (handled(el)) {
- var owner = window._hfMbTimeline.get(el);
- // Re-registering a key with a DIFFERENT timeline leaves the copies driven by the one
- // nobody seeks, which renders sharp and says nothing. Report it rather than guess.
- var changed = tl !== null && owner !== undefined && owner !== tl;
- if (changed && !window._hfMbWarned.has(el)) {
- window._hfMbWarned.add(el);
- console.warn(
- "[motion-blur] a second timeline registered for this element; the copies still follow the first",
- el,
- );
- }
- return true;
- }
- // Its group would be inserted into the live outer element, so the outer target's
- // style replay would walk a subtree its cursor no longer matches.
- if (nestedInTarget(el)) {
- refuse(el, "cannot blur a target inside another target; blur one of them");
- return true;
- }
- var opts = sweepOptions(el);
- if (opts === null) return true;
- if (tl === null) return false;
- window.attachMotionBlur(el, tl, opts);
- return true;
- }
-
- // Returns the elements still waiting for their composition to register a timeline.
- // The trap below runs this INSIDE the author's registration statement, so one bad
- // target must not abort the rest of their composition script.
- function sweep() {
- var pending = [];
- document.querySelectorAll(SWEEP_SELECTOR).forEach(function (el) {
- try {
- if (!claim(el)) pending.push(el);
- } catch (e) {
- window._hfMbSkipped.add(el);
- console.warn("[motion-blur] could not blur this element: " + e, el);
- }
- });
- return pending;
- }
-
- // Registering a timeline is the moment the author has finished building it, so trapping
- // the write attaches before the renderer captures a frame. A microtask would be too
- // early: it runs before the next `<script>` tag.
- function registrationProxy(container) {
- var proxy = new Proxy(container, {
- set: function (target, key, value) {
- target[key] = value;
- if (typeof key === "string") sweep();
- return true;
- },
- });
- window._hfMbProxies.add(proxy);
- return proxy;
- }
-
- function hookRegistration() {
- var held = window.__timelines;
- Object.defineProperty(window, "__timelines", {
- configurable: true,
- enumerable: true,
- get: function () {
- return held;
- },
- set: function (value) {
- var container = !!value && typeof value === "object";
- var fresh = container && !window._hfMbProxies.has(value);
- held = fresh ? registrationProxy(value) : value;
- if (fresh) sweep();
- },
- });
- // A container assigned before this snippet ran is replayed through the setter, so a
- // timeline already registered on it is swept too.
- if (held !== undefined) window.__timelines = held;
- }
-
- // The trap above cannot see every registration: the runtime owns the registry object,
- // wraps it per sub-composition, and mounts nested compositions asynchronously. So the
- // registry is also POLLED, which needs no cooperation from whoever writes it.
- function poll(ticks) {
- var pending = sweep();
- // The WHOLE budget, every time. Stopping the first tick nothing is pending kills the
- // poll one tick into an ordinary page, which is before a late composition arrives.
- if (ticks > 0) {
- setTimeout(function () {
- poll(ticks - 1);
- }, POLL_MS);
- return;
- }
- if (pending.length === 0) return;
- var count = pending.length + " element(s) carry " + SWEEP_ATTR;
- console.warn(
- "[motion-blur] " + count + ", and no composition registered a timeline for them",
- pending,
- );
- }
-
- if (!window._hfMbHooked) {
- window._hfMbHooked = true;
- hookRegistration();
- poll(POLL_TICKS);
- }
- /* SHUTTER_SNIPPET_END */
-
- /* ── Timeline ─────────────────────────────────────────────── */
- var tl = gsap.timeline({ paused: true });
-
- // All elements start at x=-400 (off-screen left), travel to x=1920 (off-screen right).
- // Shape + text in each group share the same duration → same velocity → same blur.
- gsap.set(["#s1", "#s2", "#s3", "#s4", "#s5", "#t1", "#t2", "#t3", "#t4", "#t5"], {
- x: -400,
- });
-
- tl.to(["#s1", "#t1"], { x: 1640, duration: 3.0, ease: "power3.inOut" }, 0);
- tl.to(["#s2", "#t2"], { x: 1640, duration: 1.5, ease: "power3.inOut" }, 0);
- tl.to(["#s3", "#t3"], { x: 1640, duration: 0.7, ease: "power3.inOut" }, 0);
- tl.to(["#s4", "#t4"], { x: 1640, duration: 0.35, ease: "power3.inOut" }, 0);
- tl.to(["#s5", "#t5"], { x: 1640, duration: 0.2, ease: "power3.inOut" }, 0);
-
- tl.set(document.body, {}, 4);
-
- attachMotionBlur(
- ["#s1", "#s2", "#s3", "#s4", "#s5", "#t1", "#t2", "#t3", "#t4", "#t5"],
- tl,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines["motion-blur-example"] = tl;
- })();
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/slideshow-demo/index.html b/registry/examples/slideshow-demo/index.html
deleted file mode 100644
index c4a8b60e14..0000000000
--- a/registry/examples/slideshow-demo/index.html
+++ /dev/null
@@ -1,429 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Slideshow Demo</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- @font-face {
- font-family: "Inter";
- font-weight: 400 800;
- font-style: normal;
- src: local("Inter"), local("Inter-Regular");
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #0f1117;
- font-family: "Inter", sans-serif;
- }
-
- /* ── Scene base ─────────────────────────────────────── */
- .scene {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 32px;
- }
-
- /* ── Typography ─────────────────────────────────────── */
- .slide-heading {
- font-size: 96px;
- font-weight: 800;
- letter-spacing: -0.03em;
- color: #ffffff;
- opacity: 0;
- }
- .slide-body {
- font-size: 40px;
- font-weight: 400;
- color: rgba(255, 255, 255, 0.7);
- max-width: 1200px;
- text-align: center;
- line-height: 1.4;
- opacity: 0;
- }
- .slide-tag {
- font-size: 28px;
- font-weight: 600;
- letter-spacing: 0.06em;
- text-transform: uppercase;
- padding: 12px 32px;
- border-radius: 48px;
- opacity: 0;
- }
-
- /* ── Scene-specific colors ──────────────────────────── */
- #scene-intro .slide-tag {
- background: #4f46e5;
- color: #ffffff;
- }
- #scene-features .slide-tag {
- background: #0ea5e9;
- color: #ffffff;
- }
- #scene-cta .slide-tag {
- background: #10b981;
- color: #ffffff;
- }
- #scene-branch-a .slide-tag {
- background: #f59e0b;
- color: #ffffff;
- }
- #scene-branch-b .slide-tag {
- background: #ef4444;
- color: #ffffff;
- }
-
- /* ── Fragment reveal bullets ────────────────────────── */
- .bullet-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 20px;
- width: 900px;
- }
- .bullet-list li {
- font-size: 36px;
- font-weight: 600;
- color: rgba(255, 255, 255, 0.9);
- opacity: 0;
- display: flex;
- align-items: center;
- gap: 16px;
- }
- .bullet-list li::before {
- content: "▶";
- color: #4f46e5;
- font-size: 24px;
- flex-shrink: 0;
- }
- </style>
- </head>
- <body>
- <!--
- Root composition — 30 seconds total, four scenes:
- 0–8 scene-intro (slide 1, main line, 2 fragments at 3s and 6s)
- 8–16 scene-features (slide 2, main line, hotspot → dive-deeper branch)
- 16–24 scene-cta (slide 3, main line)
- 24–28 scene-branch-a (branch "dive-deeper", slide 1)
- 28–32 scene-branch-b (branch "dive-deeper", slide 2)
-
- NOTE: total composition span is 32s to accommodate the branch at the end.
- Branch scenes are laid at 24–32s so they don't overlap the main line.
- -->
- <div
- id="root"
- data-composition-id="main"
- data-start="0"
- data-duration="32"
- data-width="1920"
- data-height="1080"
- >
- <!-- ── Scene 1: Intro ───────────────────────────────── -->
- <div
- id="scene-intro"
- class="scene clip"
- data-composition-id="scene-intro"
- data-start="0"
- data-duration="8"
- data-label="Intro"
- >
- <div class="slide-tag" id="intro-tag">Hyperframes</div>
- <h1 class="slide-heading" id="intro-heading">Write HTML. Ship Video.</h1>
- <p class="slide-body" id="intro-body-1">
- A composition framework that turns deterministic HTML + GSAP into frame-perfect MP4.
- </p>
- <ul class="bullet-list" id="intro-bullets">
- <li id="intro-bullet-1">Render at any resolution or framerate</li>
- <li id="intro-bullet-2">Zero runtime surprises — fully deterministic</li>
- </ul>
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- // Entrance: tag fades up, then heading, then body
- tl.fromTo(
- "#intro-tag",
- { opacity: 0, y: 24 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
- 0,
- );
- tl.fromTo(
- "#intro-heading",
- { opacity: 0, y: 40 },
- { opacity: 1, y: 0, duration: 0.7, ease: "power3.out" },
- 0.2,
- );
- tl.fromTo(
- "#intro-body-1",
- { opacity: 0, y: 20 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
- 0.5,
- );
- // Fragment 1 hold point at 3s — bullet 1 reveals here
- tl.fromTo(
- "#intro-bullet-1",
- { opacity: 0, x: -20 },
- { opacity: 1, x: 0, duration: 0.5, ease: "back.out(1.4)" },
- 1.5,
- );
- // Fragment 2 hold point at 6s — bullet 2 reveals here
- tl.fromTo(
- "#intro-bullet-2",
- { opacity: 0, x: -20 },
- { opacity: 1, x: 0, duration: 0.5, ease: "back.out(1.4)" },
- 4.5,
- );
- window.__timelines["scene-intro"] = tl;
- })();
- </script>
- </div>
-
- <!-- ── Scene 2: Features ───────────────────────────── -->
- <div
- id="scene-features"
- class="scene clip"
- data-composition-id="scene-features"
- data-start="8"
- data-duration="8"
- data-label="Features"
- >
- <div class="slide-tag" id="features-tag">Feature Deep Dive</div>
- <h1 class="slide-heading" id="features-heading">Everything You Need</h1>
- <p class="slide-body" id="features-body">
- From shader transitions to slideshow mode — the full stack is here.
- </p>
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.fromTo(
- "#features-tag",
- { opacity: 0, scale: 0.8 },
- { opacity: 1, scale: 1, duration: 0.5, ease: "back.out(1.7)" },
- 0,
- );
- tl.fromTo(
- "#features-heading",
- { opacity: 0, y: 40 },
- { opacity: 1, y: 0, duration: 0.7, ease: "power3.out" },
- 0.15,
- );
- tl.fromTo(
- "#features-body",
- { opacity: 0, y: 20 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
- 0.45,
- );
- window.__timelines["scene-features"] = tl;
- })();
- </script>
- </div>
-
- <!-- ── Scene 3: CTA ────────────────────────────────── -->
- <div
- id="scene-cta"
- class="scene clip"
- data-composition-id="scene-cta"
- data-start="16"
- data-duration="8"
- data-label="Call to Action"
- >
- <div class="slide-tag" id="cta-tag">Get Started</div>
- <h1 class="slide-heading" id="cta-heading">Ship Your First Video Today</h1>
- <p class="slide-body" id="cta-body">
- npx hyperframes create my-video — and you're rendering in under a minute.
- </p>
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.fromTo(
- "#cta-tag",
- { opacity: 0, y: -20 },
- { opacity: 1, y: 0, duration: 0.5, ease: "power2.out" },
- 0,
- );
- tl.fromTo(
- "#cta-heading",
- { opacity: 0, scale: 0.9 },
- { opacity: 1, scale: 1, duration: 0.8, ease: "elastic.out(1, 0.6)" },
- 0.2,
- );
- tl.fromTo(
- "#cta-body",
- { opacity: 0, y: 20 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power2.out" },
- 0.5,
- );
- window.__timelines["scene-cta"] = tl;
- })();
- </script>
- </div>
-
- <!-- ── Branch scenes: Dive Deeper ─────────────────── -->
- <!-- These are placed at 24–32s, outside the main-line range of 0–24s -->
-
- <div
- id="scene-branch-a"
- class="scene clip"
- data-composition-id="scene-branch-a"
- data-start="24"
- data-duration="4"
- data-label="Under the Hood"
- >
- <div class="slide-tag" id="branch-a-tag">Architecture</div>
- <h1 class="slide-heading" id="branch-a-heading">How It Works</h1>
- <p class="slide-body" id="branch-a-body">
- Puppeteer drives Chromium frame-by-frame. FFmpeg encodes. Your HTML is the source of truth.
- </p>
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.fromTo(
- "#branch-a-tag",
- { opacity: 0, x: -30 },
- { opacity: 1, x: 0, duration: 0.5, ease: "power2.out" },
- 0,
- );
- tl.fromTo(
- "#branch-a-heading",
- { opacity: 0, y: 30 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" },
- 0.2,
- );
- tl.fromTo(
- "#branch-a-body",
- { opacity: 0, y: 20 },
- { opacity: 1, y: 0, duration: 0.5, ease: "power2.out" },
- 0.45,
- );
- window.__timelines["scene-branch-a"] = tl;
- })();
- </script>
- </div>
-
- <div
- id="scene-branch-b"
- class="scene clip"
- data-composition-id="scene-branch-b"
- data-start="28"
- data-duration="4"
- data-label="Performance"
- >
- <div class="slide-tag" id="branch-b-tag">Performance</div>
- <h1 class="slide-heading" id="branch-b-heading">Fast Capture Mode</h1>
- <p class="slide-body" id="branch-b-body">
- drawElement bypasses screenshot-per-frame for 2-4× faster renders with lossless quality.
- </p>
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.fromTo(
- "#branch-b-tag",
- { opacity: 0, x: -30 },
- { opacity: 1, x: 0, duration: 0.5, ease: "power2.out" },
- 0,
- );
- tl.fromTo(
- "#branch-b-heading",
- { opacity: 0, y: 30 },
- { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" },
- 0.2,
- );
- tl.fromTo(
- "#branch-b-body",
- { opacity: 0, y: 20 },
- { opacity: 1, y: 0, duration: 0.5, ease: "power2.out" },
- 0.45,
- );
- window.__timelines["scene-branch-b"] = tl;
- })();
- </script>
- </div>
-
- <!-- ── Root timeline ─────────────────────────────── -->
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- // Root timeline spans the full 32s; individual scene timelines
- // are registered separately under their own composition-id keys.
- tl.to({}, { duration: 32 });
- window.__timelines["main"] = tl;
- })();
- </script>
- </div>
-
- <!-- ── Slideshow JSON island ──────────────────────────── -->
- <!--
- sceneId values intentionally match data-composition-id WITHOUT explicit
- startTime/endTime — this exercises Task 7's sceneId resolution path.
-
- Lint resolves them via collectCompositionIdScenes (data-composition-id + data-start/data-duration).
- Browser runtime resolves them via player.scenes (populated from the "timeline" postMessage
- after runtime injection at ~1s — see Task 7 timing-risk note in progress.md).
- -->
- <script type="application/hyperframes-slideshow+json">
- {
- "slides": [
- {
- "sceneId": "scene-intro",
- "fragments": [3, 6],
- "notes": "Step through: tag → heading → body, then bullet 1 at 3s, bullet 2 at 6s."
- },
- {
- "sceneId": "scene-features",
- "hotspots": [
- {
- "id": "dive-deeper-hotspot",
- "label": "Dive Deeper",
- "target": "dive-deeper",
- "region": { "x": 70, "y": 80, "w": 20, "h": 10 }
- }
- ],
- "notes": "Feature overview. Hotspot in bottom-right enters the architecture branch."
- },
- {
- "sceneId": "scene-cta",
- "notes": "Call to action. End of main deck."
- }
- ],
- "slideSequences": [
- {
- "id": "dive-deeper",
- "label": "Dive Deeper",
- "slides": [
- {
- "sceneId": "scene-branch-a",
- "notes": "Architecture overview: Puppeteer + FFmpeg pipeline."
- },
- {
- "sceneId": "scene-branch-b",
- "notes": "Fast Capture Mode: drawElement for 2-4x speed."
- }
- ]
- }
- ]
- }
- </script>
- </body>
-</html>
diff --git a/registry/examples/startup-pitch/demo.html b/registry/examples/startup-pitch/demo.html
deleted file mode 100644
index 234648afbf..0000000000
--- a/registry/examples/startup-pitch/demo.html
+++ /dev/null
@@ -1,107 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>FlowDesk Pitch — Slideshow Demo</title>
- <script src="../../../packages/player/dist/hyperframes-player.global.js"></script>
- <script src="../../../packages/player/dist/slideshow/hyperframes-slideshow.global.js"></script>
- <style>
- *,
- *::before,
- *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
- html,
- body {
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: #000;
- }
- </style>
- </head>
- <body>
- <!--
- NOTE: The <script type="application/hyperframes-slideshow+json"> island
- below is a COPY of the island inside index.html. This duplication is a
- current workaround: <hyperframes-slideshow> reads the island from its OWN
- innerHTML (not from the composition loaded by <hyperframes-player>). In a
- future version the component should read the island from the composition
- directly. Keep this copy in sync with the one in index.html.
- -->
- <hyperframes-slideshow tabindex="0" style="display: block; position: relative; width: 100vw; height: 100vh">
- <hyperframes-player
- style="position: absolute; inset: 0"
- src="index.html"
- ></hyperframes-player>
-
- <script type="application/hyperframes-slideshow+json">
- {
- "slides": [
- {
- "sceneId": "cover",
- "notes": "Open cold with the tagline. Let it breathe — no build, just the claim."
- },
- {
- "sceneId": "problem",
- "notes": "Walk through each pain point one fragment at a time. The 14h/week stat is the anchor.",
- "fragments": [8.3, 8.6, 8.9],
- "hotspots": []
- },
- {
- "sceneId": "solution",
- "notes": "One sentence. The product kills the three pains from the previous slide."
- },
- {
- "sceneId": "why-now",
- "notes": "Three macro tailwinds — remote-first freelancing, API economy, AI underwriting."
- },
- {
- "sceneId": "market",
- "notes": "Bottom-up math only. 480k agencies × $4,200 ACV = $2.0B SAM. Use hotspot for methodology Q.",
- "hotspots": [
- {
- "id": "mkt-hotspot",
- "label": "How did you size this market?",
- "target": "market-sizing-drill",
- "region": { "x": 55, "y": 60, "w": 40, "h": 28 }
- }
- ]
- },
- {
- "sceneId": "product",
- "notes": "Three product pillars — intake, approvals, invoicing. Show the single workflow view."
- },
- {
- "sceneId": "traction",
- "notes": "Lead with MRR and NRR — investors pattern-match on those two numbers first."
- },
- {
- "sceneId": "team",
- "notes": "Why us: ex-Stripe, ex-Figma, serial founders. Domain depth on both sides."
- },
- {
- "sceneId": "ask",
- "notes": "$4M seed to hit 1,000 customers. Show specific use of proceeds."
- }
- ],
- "slideSequences": [
- {
- "id": "market-sizing-drill",
- "label": "Market sizing methodology",
- "slides": [
- {
- "sceneId": "market-drill",
- "notes": "Step through the bottom-up math: Dun & Bradstreet count → filter → ACV from comparable comps."
- }
- ]
- }
- ]
- }
- </script>
- </hyperframes-slideshow>
- </body>
-</html>
diff --git a/registry/examples/startup-pitch/index.html b/registry/examples/startup-pitch/index.html
deleted file mode 100644
index be96218683..0000000000
--- a/registry/examples/startup-pitch/index.html
+++ /dev/null
@@ -1,859 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>FlowDesk — Investor Pitch</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
- }
-
- /* ── Shared scene positioning ───────────────────────── */
- .scene-frame {
- position: absolute;
- top: 0;
- left: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- opacity: 0;
- }
-
- /* ── Content containers ──────────────────────────────── */
- .slide-inner {
- position: absolute;
- inset: 0;
- padding: 100px 160px;
- display: flex;
- flex-direction: column;
- justify-content: center;
- gap: 32px;
- }
- .slide-center {
- position: absolute;
- inset: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 32px;
- padding: 100px 200px;
- }
-
- /* ── Typography ─────────────────────────────────────── */
- .eyebrow {
- font-size: 32px;
- font-weight: 700;
- letter-spacing: 0.12em;
- text-transform: uppercase;
- }
- .headline {
- font-size: 80px;
- font-weight: 800;
- line-height: 1.05;
- letter-spacing: -0.025em;
- }
- .headline-lg {
- font-size: 96px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.03em;
- text-align: center;
- }
- .subhead {
- font-size: 48px;
- font-weight: 400;
- line-height: 1.35;
- max-width: 1200px;
- }
- .subhead-center {
- font-size: 48px;
- font-weight: 400;
- line-height: 1.35;
- max-width: 1100px;
- text-align: center;
- }
- .stat-row {
- display: flex;
- gap: 80px;
- align-items: flex-end;
- }
- .stat-block {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .stat-number {
- font-size: 96px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.04em;
- }
- .stat-label {
- font-size: 36px;
- font-weight: 500;
- opacity: 0.7;
- }
-
- /* ── Problem bullets ─────────────────────────────────── */
- .pain-item {
- display: flex;
- align-items: flex-start;
- gap: 28px;
- /* pain items start hidden; driver reveals them imperatively on fragment */
- opacity: 0;
- }
- .pain-num {
- font-size: 56px;
- font-weight: 900;
- line-height: 1;
- flex-shrink: 0;
- min-width: 64px;
- }
- .pain-text {
- font-size: 52px;
- font-weight: 600;
- line-height: 1.2;
- }
-
- /* ── Market math ─────────────────────────────────────── */
- .math-row {
- display: flex;
- align-items: center;
- gap: 32px;
- font-size: 56px;
- font-weight: 700;
- }
- .math-op {
- font-size: 56px;
- font-weight: 400;
- opacity: 0.5;
- }
- .math-result {
- font-size: 80px;
- font-weight: 900;
- }
-
- /* ── Traction stats ──────────────────────────────────── */
- .traction-grid {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 60px;
- width: 100%;
- max-width: 1500px;
- }
- .traction-card {
- display: flex;
- flex-direction: column;
- gap: 12px;
- padding: 48px;
- border-radius: 24px;
- }
- .traction-number {
- font-size: 80px;
- font-weight: 900;
- line-height: 1;
- letter-spacing: -0.03em;
- }
- .traction-label {
- font-size: 36px;
- font-weight: 500;
- }
-
- /* ── Team cards ──────────────────────────────────────── */
- .team-grid {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- gap: 60px;
- width: 100%;
- max-width: 1500px;
- }
- .team-card {
- display: flex;
- flex-direction: column;
- gap: 12px;
- padding: 48px;
- border-radius: 24px;
- }
- .team-name {
- font-size: 44px;
- font-weight: 800;
- }
- .team-role {
- font-size: 32px;
- font-weight: 600;
- opacity: 0.7;
- }
- .team-bio {
- font-size: 28px;
- font-weight: 400;
- line-height: 1.4;
- opacity: 0.8;
- }
-
- /* ── Ask pill list ──────────────────────────────────── */
- .use-list {
- display: flex;
- flex-direction: column;
- gap: 24px;
- }
- .use-item {
- display: flex;
- align-items: center;
- gap: 24px;
- font-size: 44px;
- font-weight: 600;
- }
- .use-pct {
- font-size: 44px;
- font-weight: 900;
- min-width: 120px;
- }
-
- /* ── Decorative accent bar ───────────────────────────── */
- .accent-bar {
- width: 80px;
- height: 8px;
- border-radius: 4px;
- }
- </style>
- </head>
- <body style="margin: 0">
- <!--
- FlowDesk — Investor Pitch Deck
- Startup: FlowDesk — workflow SaaS for freelance creative agencies
- automates client intake, approval loops, and invoicing.
-
- Timeline layout (all scenes non-overlapping, contiguous main line):
- 00–08s cover (main slide 1)
- 08–20s problem (main slide 2, 3 fragments at 8.3, 8.6, 8.9s — bunched near start)
- 20–28s solution (main slide 3)
- 28–36s why-now (main slide 4)
- 36–44s market (main slide 5, hotspot → market-drill branch)
- 44–52s product (main slide 6)
- 52–60s traction (main slide 7)
- 60–68s team (main slide 8)
- 68–76s ask (main slide 9)
- 76–84s market-drill (branch slide — market-sizing-drill sequence)
- -->
-
- <!-- ── JSON island (source of truth for slide order, fragments, hotspots) ── -->
- <script type="application/hyperframes-slideshow+json">
- {
- "slides": [
- {
- "sceneId": "cover",
- "notes": "Open cold with the tagline. Let it breathe — no build, just the claim."
- },
- {
- "sceneId": "problem",
- "notes": "Walk through each pain point one fragment at a time. The 14h/week stat is the anchor.",
- "fragments": [8.3, 8.6, 8.9],
- "hotspots": []
- },
- {
- "sceneId": "solution",
- "notes": "One sentence. The product kills the three pains from the previous slide."
- },
- {
- "sceneId": "why-now",
- "notes": "Three macro tailwinds — remote-first freelancing, API economy, AI underwriting."
- },
- {
- "sceneId": "market",
- "notes": "Bottom-up math only. 480k agencies × $4,200 ACV = $2.0B SAM. Use hotspot for methodology Q.",
- "hotspots": [
- {
- "id": "mkt-hotspot",
- "label": "How did you size this market?",
- "target": "market-sizing-drill",
- "region": { "x": 55, "y": 60, "w": 40, "h": 28 }
- }
- ]
- },
- {
- "sceneId": "product",
- "notes": "Three product pillars — intake, approvals, invoicing. Show the single workflow view."
- },
- {
- "sceneId": "traction",
- "notes": "Lead with MRR and NRR — investors pattern-match on those two numbers first."
- },
- {
- "sceneId": "team",
- "notes": "Why us: ex-Stripe, ex-Figma, serial founders. Domain depth on both sides."
- },
- {
- "sceneId": "ask",
- "notes": "$4M seed to hit 1,000 customers. Show specific use of proceeds."
- }
- ],
- "slideSequences": [
- {
- "id": "market-sizing-drill",
- "label": "Market sizing methodology",
- "slides": [
- {
- "sceneId": "market-drill",
- "notes": "Step through the bottom-up math: Dun & Bradstreet count → filter → ACV from comparable comps."
- }
- ]
- }
- ]
- }
- </script>
-
- <!-- Root composition container -->
- <div
- id="root"
- data-composition-id="root"
- data-start="0"
- data-duration="84"
- data-width="1920"
- data-height="1080"
- style="position: relative; width: 1920px; height: 1080px; overflow: hidden; background: #0b0b0f"
- >
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 1 — COVER
- "FlowDesk turns creative agency chaos into billable momentum"
- Start: 0 Duration: 8 End: 8
- Background: deep indigo gradient
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-cover"
- class="scene-frame clip"
- data-composition-id="cover"
- data-start="0"
- data-duration="8"
- data-label="Cover"
- data-track-index="1"
- style="background: linear-gradient(135deg, #0d0d2b 0%, #1a0a3d 50%, #0d1f4a 100%)"
- >
- <div class="slide-center">
- <div id="cover-eyebrow" class="eyebrow" style="color: #7c6ff7" data-anim>Seed Round 2026</div>
- <h1 id="cover-headline" class="headline-lg" style="color: #ffffff" data-anim>
- FlowDesk turns creative agency chaos into billable momentum
- </h1>
- <p id="cover-sub" class="subhead-center" style="color: rgba(255,255,255,0.65)" data-anim>
- Workflow automation for freelance creative agencies — intake, approvals, and invoicing in one place
- </p>
- <div id="cover-bar" class="accent-bar" style="background: #7c6ff7; width: 120px" data-anim></div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 2 — PROBLEM
- "Creative agencies haemorrhage 14 hours a week chasing approvals and invoices"
- Start: 8 Duration: 12 End: 20
- Fragments at 8.3, 8.6, 8.9 (absolute timeline times — bunched near start for snappiness)
- Background: dark warm red
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-problem"
- class="scene-frame clip"
- data-composition-id="problem"
- data-start="8"
- data-duration="12"
- data-label="The problem"
- data-track-index="1"
- style="background: linear-gradient(135deg, #1a0808 0%, #2d0f0f 100%)"
- >
- <div class="slide-inner">
- <div id="prob-eyebrow" class="eyebrow" style="color: #f87171" data-anim>The problem</div>
- <h2 id="prob-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- Creative agencies haemorrhage 14 hours a week chasing approvals and invoices
- </h2>
- <div id="prob-pain1" class="pain-item">
- <span class="pain-num" style="color: #f87171">01</span>
- <span class="pain-text" style="color: rgba(255,255,255,0.9)">Client feedback loops take 4–6 days per project revision</span>
- </div>
- <div id="prob-pain2" class="pain-item">
- <span class="pain-num" style="color: #f87171">02</span>
- <span class="pain-text" style="color: rgba(255,255,255,0.9)">Late invoices leave 28% of revenue outstanding 30+ days</span>
- </div>
- <div id="prob-pain3" class="pain-item">
- <span class="pain-num" style="color: #f87171">03</span>
- <span class="pain-text" style="color: rgba(255,255,255,0.9)">Intake chaos — email threads, Notion, DMs — kills 3h/week on triage</span>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 3 — SOLUTION
- "FlowDesk collapses intake, approvals, and invoicing into one automated workflow — agencies bill faster and work less"
- Start: 20 Duration: 8 End: 28
- Background: rich teal/green
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-solution"
- class="scene-frame clip"
- data-composition-id="solution"
- data-start="20"
- data-duration="8"
- data-label="Solution"
- data-track-index="1"
- style="background: linear-gradient(135deg, #071a17 0%, #0a2e26 50%, #06201b 100%)"
- >
- <div class="slide-center">
- <div id="sol-eyebrow" class="eyebrow" style="color: #34d399" data-anim>Our solution</div>
- <h2 id="sol-headline" class="headline-lg" style="color: #ffffff; max-width: 1400px" data-anim>
- FlowDesk collapses intake, approvals, and invoicing into one automated workflow — agencies bill faster and work less
- </h2>
- <p id="sol-sub" class="subhead-center" style="color: rgba(255,255,255,0.65)" data-anim>
- One link for clients. One dashboard for teams. Zero email follow-ups.
- </p>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 4 — WHY NOW
- "Three forces converging in 2026 make FlowDesk a category-defining moment"
- Start: 28 Duration: 8 End: 36
- Background: midnight blue
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-why-now"
- class="scene-frame clip"
- data-composition-id="why-now"
- data-start="28"
- data-duration="8"
- data-label="Why now"
- data-track-index="1"
- style="background: linear-gradient(135deg, #050d1f 0%, #0a1a3d 100%)"
- >
- <div class="slide-inner">
- <div id="wn-eyebrow" class="eyebrow" style="color: #60a5fa" data-anim>Why now</div>
- <h2 id="wn-headline" class="headline" style="color: #ffffff" data-anim>
- Three forces converging in 2026 make FlowDesk a category-defining moment
- </h2>
- <div id="wn-row" class="stat-row" style="gap: 60px; margin-top: 16px" data-anim>
- <div class="stat-block">
- <span class="stat-number" style="color: #60a5fa">74%</span>
- <span class="stat-label" style="color: rgba(255,255,255,0.65)">of US agencies now fully remote — async tooling is table stakes</span>
- </div>
- <div class="stat-block">
- <span class="stat-number" style="color: #60a5fa">3×</span>
- <span class="stat-label" style="color: rgba(255,255,255,0.65)">growth in SMB API adoption, enabling no-code automations</span>
- </div>
- <div class="stat-block">
- <span class="stat-number" style="color: #60a5fa">AI</span>
- <span class="stat-label" style="color: rgba(255,255,255,0.65)">AI-powered approval routing cuts review cycles by 60%</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 5 — MARKET
- "480,000 US creative agencies × $4,200 ACV = $2.0B serviceable market"
- Start: 36 Duration: 8 End: 44
- Hotspot → market-sizing-drill branch
- Background: deep purple
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-market"
- class="scene-frame clip"
- data-composition-id="market"
- data-start="36"
- data-duration="8"
- data-label="Market"
- data-track-index="1"
- style="background: linear-gradient(135deg, #110824 0%, #1e0a40 100%)"
- >
- <div class="slide-inner">
- <div id="mkt-eyebrow" class="eyebrow" style="color: #a78bfa" data-anim>Market sizing</div>
- <h2 id="mkt-headline" class="headline" style="color: #ffffff; max-width: 1300px" data-anim>
- 480,000 US creative agencies × $4,200 ACV = $2.0B serviceable market
- </h2>
- <div id="mkt-math" class="math-row" style="color: #ffffff; margin-top: 8px" data-anim>
- <span style="color: #a78bfa; font-size: 56px; font-weight: 800">480k</span>
- <span class="math-op">agencies</span>
- <span class="math-op">×</span>
- <span style="color: #a78bfa; font-size: 56px; font-weight: 800">$4,200</span>
- <span class="math-op">ACV</span>
- <span class="math-op">=</span>
- <span id="mkt-result" class="math-result" style="color: #c4b5fd">$2.0B SAM</span>
- </div>
- <p id="mkt-note" class="subhead" style="color: rgba(255,255,255,0.55); font-size: 36px; margin-top: 8px" data-anim>
- Initial wedge: 3–15 person US agencies billing $250k–$2M/yr via Stripe. Expand to EU in year 2.
- </p>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 6 — PRODUCT
- "FlowDesk's three-module platform cuts the agency ops stack from six tools to one"
- Start: 44 Duration: 8 End: 52
- Background: slate dark
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-product"
- class="scene-frame clip"
- data-composition-id="product"
- data-start="44"
- data-duration="8"
- data-label="Product"
- data-track-index="1"
- style="background: linear-gradient(135deg, #0c0f18 0%, #161b2e 100%)"
- >
- <div class="slide-inner">
- <div id="prod-eyebrow" class="eyebrow" style="color: #38bdf8" data-anim>Product</div>
- <h2 id="prod-headline" class="headline" style="color: #ffffff; max-width: 1300px" data-anim>
- FlowDesk's three-module platform cuts the agency ops stack from six tools to one
- </h2>
- <div id="prod-modules" style="display: flex; gap: 48px; margin-top: 16px" data-anim>
- <div style="flex: 1; padding: 40px; background: rgba(56,189,248,0.08); border-radius: 20px; border: 1px solid rgba(56,189,248,0.2)">
- <div style="font-size: 48px; font-weight: 800; color: #38bdf8; margin-bottom: 12px">Intake</div>
- <div style="font-size: 36px; color: rgba(255,255,255,0.8); line-height: 1.4">Smart intake forms with file upload, budget qualifier, and auto-brief generation</div>
- </div>
- <div style="flex: 1; padding: 40px; background: rgba(56,189,248,0.08); border-radius: 20px; border: 1px solid rgba(56,189,248,0.2)">
- <div style="font-size: 48px; font-weight: 800; color: #38bdf8; margin-bottom: 12px">Approvals</div>
- <div style="font-size: 36px; color: rgba(255,255,255,0.8); line-height: 1.4">AI-routed review links — one URL, unlimited rounds, full audit trail</div>
- </div>
- <div style="flex: 1; padding: 40px; background: rgba(56,189,248,0.08); border-radius: 20px; border: 1px solid rgba(56,189,248,0.2)">
- <div style="font-size: 48px; font-weight: 800; color: #38bdf8; margin-bottom: 12px">Invoicing</div>
- <div style="font-size: 36px; color: rgba(255,255,255,0.8); line-height: 1.4">Auto-invoice on approval — Stripe-native, net-terms, retainer billing</div>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 7 — TRACTION
- "We crossed $42k MRR in 14 months with 186 paying agencies and 118% NRR"
- Start: 52 Duration: 8 End: 60
- Background: emerald dark
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-traction"
- class="scene-frame clip"
- data-composition-id="traction"
- data-start="52"
- data-duration="8"
- data-label="Traction"
- data-track-index="1"
- style="background: linear-gradient(135deg, #051a10 0%, #0a2e1c 100%)"
- >
- <div class="slide-inner">
- <div id="tr-eyebrow" class="eyebrow" style="color: #4ade80" data-anim>Traction</div>
- <h2 id="tr-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- We crossed $42k MRR in 14 months with 186 paying agencies and 118% NRR
- </h2>
- <div id="tr-cards" class="traction-grid" style="margin-top: 16px" data-anim>
- <div class="traction-card" style="background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2)">
- <span class="traction-number" style="color: #4ade80">$42k</span>
- <span class="traction-label" style="color: rgba(255,255,255,0.75)">MRR (Apr 2026)</span>
- </div>
- <div class="traction-card" style="background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2)">
- <span class="traction-number" style="color: #4ade80">118%</span>
- <span class="traction-label" style="color: rgba(255,255,255,0.75)">Net Revenue Retention</span>
- </div>
- <div class="traction-card" style="background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2)">
- <span class="traction-number" style="color: #4ade80">186</span>
- <span class="traction-label" style="color: rgba(255,255,255,0.75)">Paying agencies, 0 churned in 90 days</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 8 — TEAM
- "Our three-person founding team has shipped and sold workflow software at Stripe, Figma, and HoneyBook"
- Start: 60 Duration: 8 End: 68
- Background: warm charcoal
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-team"
- class="scene-frame clip"
- data-composition-id="team"
- data-start="60"
- data-duration="8"
- data-label="Team"
- data-track-index="1"
- style="background: linear-gradient(135deg, #16100a 0%, #261a0f 100%)"
- >
- <div class="slide-inner">
- <div id="team-eyebrow" class="eyebrow" style="color: #fb923c" data-anim>Team</div>
- <h2 id="team-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- Our three-person founding team has shipped and sold workflow software at Stripe, Figma, and HoneyBook
- </h2>
- <div id="team-cards" class="team-grid" style="margin-top: 16px" data-anim>
- <div class="team-card" style="background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.2)">
- <span class="team-name" style="color: #fb923c">Sara Okeke</span>
- <span class="team-role" style="color: rgba(255,255,255,0.7)">CEO &amp; Co-founder</span>
- <span class="team-bio" style="color: rgba(255,255,255,0.7)">Former PM at Stripe Billing. 2× founder (YC S18).</span>
- </div>
- <div class="team-card" style="background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.2)">
- <span class="team-name" style="color: #fb923c">Dev Patel</span>
- <span class="team-role" style="color: rgba(255,255,255,0.7)">CTO &amp; Co-founder</span>
- <span class="team-bio" style="color: rgba(255,255,255,0.7)">Eng lead on Figma Comments. Built async review infra used by 4M teams.</span>
- </div>
- <div class="team-card" style="background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.2)">
- <span class="team-name" style="color: #fb923c">Leila Hart</span>
- <span class="team-role" style="color: rgba(255,255,255,0.7)">Head of Revenue</span>
- <span class="team-bio" style="color: rgba(255,255,255,0.7)">Closed first 200 customers at HoneyBook. Agency market expert.</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- SLIDE 9 — ASK
- "We are raising $4M seed to reach 1,000 customers and $200k MRR in 18 months"
- Start: 68 Duration: 8 End: 76
- Background: strong indigo
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-ask"
- class="scene-frame clip"
- data-composition-id="ask"
- data-start="68"
- data-duration="8"
- data-label="The ask"
- data-track-index="1"
- style="background: linear-gradient(135deg, #0d0d2b 0%, #1a1060 100%)"
- >
- <div class="slide-inner">
- <div id="ask-eyebrow" class="eyebrow" style="color: #818cf8" data-anim>The ask</div>
- <h2 id="ask-headline" class="headline" style="color: #ffffff; max-width: 1400px" data-anim>
- We are raising $4M seed to reach 1,000 customers and $200k MRR in 18 months
- </h2>
- <div id="ask-uses" class="use-list" style="margin-top: 16px" data-anim>
- <div class="use-item">
- <span class="use-pct" style="color: #818cf8">50%</span>
- <span style="color: rgba(255,255,255,0.85); font-size: 44px; font-weight: 600">Eng &amp; product — hire 4 engineers, ship EU data residency + mobile app</span>
- </div>
- <div class="use-item">
- <span class="use-pct" style="color: #818cf8">30%</span>
- <span style="color: rgba(255,255,255,0.85); font-size: 44px; font-weight: 600">Sales &amp; CS — 3 AEs + partner channel (agencies tool stack)</span>
- </div>
- <div class="use-item">
- <span class="use-pct" style="color: #818cf8">20%</span>
- <span style="color: rgba(255,255,255,0.85); font-size: 44px; font-weight: 600">Marketing — content-led PLG, SEO moat, case study library</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ══════════════════════════════════════════════════════
- BRANCH SLIDE — MARKET-DRILL
- Branch: market-sizing-drill / "Market sizing methodology"
- Start: 76 Duration: 8 End: 84
- NOT in main slides array — only in slideSequences
- Background: charcoal purple (visually distinct from market slide)
- ═══════════════════════════════════════════════════════════ -->
- <div
- id="scene-market-drill"
- class="scene-frame clip"
- data-composition-id="market-drill"
- data-start="76"
- data-duration="8"
- data-label="Market math drill-down"
- data-track-index="1"
- style="background: linear-gradient(135deg, #0f0a20 0%, #1c1035 100%)"
- >
- <div class="slide-inner">
- <div id="drill-eyebrow" class="eyebrow" style="color: #c084fc" data-anim>Market sizing methodology</div>
- <h2 id="drill-headline" class="headline" style="color: #ffffff; max-width: 1500px" data-anim>
- Bottom-up: Dun &amp; Bradstreet lists 1.1M US "design services" firms — we filter to 480k agencies billing &gt;$250k/yr
- </h2>
- <div id="drill-steps" style="display: flex; flex-direction: column; gap: 24px; margin-top: 16px" data-anim>
- <div style="display: flex; gap: 24px; align-items: center">
- <span style="font-size: 48px; font-weight: 900; color: #c084fc; min-width: 72px">1.</span>
- <span style="font-size: 44px; color: rgba(255,255,255,0.85); font-weight: 600">1.1M Dun &amp; Bradstreet "design services" — filter to 5+ employee, $250k+ revenue</span>
- </div>
- <div style="display: flex; gap: 24px; align-items: center">
- <span style="font-size: 48px; font-weight: 900; color: #c084fc; min-width: 72px">2.</span>
- <span style="font-size: 44px; color: rgba(255,255,255,0.85); font-weight: 600">= 480k addressable agencies × $4,200 ACV (3 seats × $1,400/seat/yr = comparable to HoneyBook)</span>
- </div>
- <div style="display: flex; gap: 24px; align-items: center">
- <span style="font-size: 48px; font-weight: 900; color: #c084fc; min-width: 72px">3.</span>
- <span style="font-size: 44px; color: rgba(255,255,255,0.85); font-weight: 600">$2.0B SAM. Expand to EU (est. 600k agencies) in Y2 for $4.5B total SAM.</span>
- </div>
- </div>
- </div>
- </div>
-
- <!-- ── Root timeline (spans full 84s composition) ──────── -->
- <script>
- (function () {
- window.__timelines = window.__timelines || {};
- var tl = gsap.timeline({ paused: true });
- tl.to({}, { duration: 84 });
- window.__timelines["root"] = tl;
- })();
- </script>
-
- </div><!-- end #root -->
-
- <!-- ── Scene visibility controller + imperative animation driver ──────────
- Drives each scene's opacity based on playhead (seek-driven visibility).
- ALSO fires imperative GSAP entrance animations via GSAP's own ticker
- when a scene transitions from inactive→active. Pain items are revealed
- imperatively when the playhead crosses their bunched fragment times.
-
- Fragment times for problem: [8.3, 8.6, 8.9] — bunched near scene start
- so each ArrowRight advances the playhead to the next reveal within ~300ms.
- ──────────────────────────────────────────────────────────────────────────── -->
- <script>
- (function () {
- var scenes = [
- { id: "scene-cover", start: 0, end: 8 },
- { id: "scene-problem", start: 8, end: 20 },
- { id: "scene-solution", start: 20, end: 28 },
- { id: "scene-why-now", start: 28, end: 36 },
- { id: "scene-market", start: 36, end: 44 },
- { id: "scene-product", start: 44, end: 52 },
- { id: "scene-traction", start: 52, end: 60 },
- { id: "scene-team", start: 60, end: 68 },
- { id: "scene-ask", start: 68, end: 76 },
- { id: "scene-market-drill", start: 76, end: 84 }
- ];
-
- // Fragment config for problem slide: pain items revealed at bunched times
- var painFragments = [
- { time: 8.3, id: "prob-pain1" },
- { time: 8.6, id: "prob-pain2" },
- { time: 8.9, id: "prob-pain3" }
- ];
- var painRevealed = [false, false, false];
-
- // Track which scene was last active to detect transitions
- var lastActiveId = null;
-
- function fireEntranceAnim(scene) {
- var animEls = scene.querySelectorAll("[data-anim]");
- if (!animEls.length) return;
- // Quick crossfade: scene container from 0→1 already handled by visibility controller.
- // Stagger-in the data-anim elements from below+transparent via GSAP's own ticker.
- gsap.from(animEls, {
- opacity: 0,
- y: 30,
- duration: 0.45,
- stagger: 0.08,
- ease: "power2.out",
- overwrite: true
- });
- }
-
- function revealPainItem(id) {
- var el = document.getElementById(id);
- if (!el) return;
- gsap.fromTo(el, { opacity: 0, x: -20 }, { opacity: 1, x: 0, duration: 0.4, ease: "power2.out", overwrite: true });
- }
-
- function updateVisibility(t) {
- for (var i = 0; i < scenes.length; i++) {
- var s = scenes[i];
- var el = document.getElementById(s.id);
- if (!el) continue;
- var isActive = t >= s.start && t < s.end;
- el.style.opacity = isActive ? "1" : "0";
- el.style.pointerEvents = isActive ? "auto" : "none";
-
- // Fire entrance animation when scene BECOMES active
- if (isActive && lastActiveId !== s.id) {
- // Reset pain items when re-entering problem scene
- if (s.id === "scene-problem") {
- painRevealed = [false, false, false];
- var pains = ["prob-pain1", "prob-pain2", "prob-pain3"];
- for (var p = 0; p < pains.length; p++) {
- var pEl = document.getElementById(pains[p]);
- if (pEl) gsap.set(pEl, { opacity: 0, x: 0, clearProps: "transform" });
- }
- }
- lastActiveId = s.id;
- fireEntranceAnim(el);
- }
- }
-
- // Fragment reveals for problem slide pain items
- for (var f = 0; f < painFragments.length; f++) {
- if (!painRevealed[f] && t >= painFragments[f].time) {
- painRevealed[f] = true;
- revealPainItem(painFragments[f].id);
- }
- }
- }
-
- // Expose so the player / slideshow component can drive it directly
- window.__hfSetTime = updateVisibility;
-
- // Show the first slide immediately on load so the deck isn't blank
- updateVisibility(0);
-
- // Hook into the root timeline's onUpdate so every seek drives scene visibility
- function hookRoot() {
- var root = window.__timelines && window.__timelines["root"];
- if (root) {
- root.eventCallback("onUpdate", function () {
- updateVisibility(root.time());
- });
- }
- }
- hookRoot();
- })();
- </script>
-
- <!-- ── Bootstrap postMessage for slideshow component ─────
- Sends the timeline manifest so <hyperframes-slideshow>
- can discover all scenes (main + branch) without relying
- on the engine's full runtime injection.
- ──────────────────────────────────────────────────────── -->
- <script>
- (function () {
- var totalFrames = 84 * 30; // 84s × 30fps = 2520 frames
- var scenes = [
- { id: "cover", start: 0, duration: 8 },
- { id: "problem", start: 8, duration: 12 },
- { id: "solution", start: 20, duration: 8 },
- { id: "why-now", start: 28, duration: 8 },
- { id: "market", start: 36, duration: 8 },
- { id: "product", start: 44, duration: 8 },
- { id: "traction", start: 52, duration: 8 },
- { id: "team", start: 60, duration: 8 },
- { id: "ask", start: 68, duration: 8 },
- { id: "market-drill", start: 76, duration: 8 }
- ];
-
- function postTimeline() {
- parent.postMessage({
- source: "hf-preview",
- type: "timeline",
- durationInFrames: totalFrames,
- scenes: scenes
- }, "*");
- }
-
- // Post after a brief delay to let the parent frame settle
- if (window.requestAnimationFrame) {
- var delayed = function (deadline) {
- // ~300ms after load
- setTimeout(postTimeline, 300);
- };
- if (document.readyState === "complete") {
- delayed();
- } else {
- window.addEventListener("load", delayed);
- }
- } else {
- setTimeout(postTimeline, 300);
- }
- })();
- </script>
-
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/DESIGN.md b/registry/examples/vscode-theme-visualizer/DESIGN.md
deleted file mode 100644
index 9382030549..0000000000
--- a/registry/examples/vscode-theme-visualizer/DESIGN.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# VS Code Theme Visualizer Design Notes
-
-## Intent
-
-This POC should feel like a real VS Code tutorial capture, not a generic code window. The purpose is to prove that HyperFrames can render code-writing scenes with faithful product context and theme-aware polish.
-
-## Visual Identity
-
-The visual identity is sourced from official VS Code built-in theme JSON files from `microsoft/vscode/extensions/theme-defaults/themes`. Do not invent palette values for the workbench. Colors should flow through the generated theme registry and CSS variables.
-
-## Theme Set
-
-- Light 2026
-- Dark 2026
-- Dark+
-- Dark Modern
-- Light+
-- Light Modern
-- Visual Studio Dark
-- Visual Studio Light
-- Default High Contrast
-- Default High Contrast Light
-
-## Typography
-
-- Workbench UI: `Inter`, then system UI fallbacks.
-- Code and terminal: `Menlo`, `Monaco`, `Consolas`, then monospace fallbacks.
-- Keep letter spacing at `0`.
-
-## Layout Rules
-
-- Recreate the VS Code workbench proportions: activity bar, explorer sidebar, editor tabs, editor gutter, status bar, and optional terminal panel.
-- Use official theme colors for editor, sidebar, tabs, activity bar, panel, terminal, and status bar surfaces.
-- Keep the composition full-frame at 1920x1080.
-- Cards are allowed only for the theme selector strip because they are repeated selectable items.
-- Do not use decorative gradients, glows, or synthetic color accents outside theme-derived colors.
-
-## Motion Rules
-
-- Theme changes should feel like command-palette theme switching: quick, crisp, and functional.
-- Code typing is the hero action. UI chrome should support it without becoming theatrical.
-- All animation must be deterministic and GSAP-controlled.
diff --git a/registry/examples/vscode-theme-visualizer/assets/background.jpeg b/registry/examples/vscode-theme-visualizer/assets/background.jpeg
deleted file mode 100644
index 1f3e465cd2..0000000000
Binary files a/registry/examples/vscode-theme-visualizer/assets/background.jpeg and /dev/null differ
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-sequence-runtime.js b/registry/examples/vscode-theme-visualizer/assets/vscode-sequence-runtime.js
deleted file mode 100644
index 53a83b978e..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-sequence-runtime.js
+++ /dev/null
@@ -1,390 +0,0 @@
-(() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "pluck_deep", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "key", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "obj", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "k", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "k", token: "variable" },
- { text: "]", token: "punctuation" },
- { text: ", ", token: "punctuation" },
- { text: "key", token: "variable" },
- { text: ".split", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "'.'", token: "string" },
- { text: "), ", token: "punctuation" },
- { text: "obj", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "compose", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "*", token: "operator" },
- { text: "fns", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: "return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "res", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "reduce", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "lambda", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "fn", token: "parameter" },
- { text: ": ", token: "punctuation" },
- { text: "fn", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "acc", token: "variable" },
- { text: "), ", token: "punctuation" },
- { text: "fns", token: "variable" },
- { text: ", ", token: "punctuation" },
- { text: "res", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [],
- [
- { text: "def", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "unfold", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "f", token: "parameter" },
- { text: ", ", token: "punctuation" },
- { text: "seed", token: "parameter" },
- { text: "):", token: "punctuation" },
- ],
- [
- { text: " ", token: "plain" },
- { text: '"""Build a list by repeatedly applying f to a seed."""', token: "string" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "[]", token: "punctuation" },
- ],
- [
- { text: " while", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "True", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " result", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "f", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "seed", token: "variable" },
- { text: ")", token: "punctuation" },
- ],
- [
- { text: " if", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "result", token: "variable" },
- { text: " is ", token: "keyword" },
- { text: "None", token: "className" },
- { text: ":", token: "punctuation" },
- ],
- [
- { text: " return", token: "keyword" },
- { text: " ", token: "plain" },
- { text: "acc", token: "variable" },
- ],
- [
- { text: " acc", token: "variable" },
- { text: ".append", token: "function" },
- { text: "(", token: "punctuation" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "0", token: "number" },
- { text: "])", token: "punctuation" },
- ],
- [
- { text: " seed", token: "variable" },
- { text: " = ", token: "operator" },
- { text: "result", token: "variable" },
- { text: "[", token: "punctuation" },
- { text: "1", token: "number" },
- { text: "]", token: "punctuation" },
- ],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return theme.colors["tab.inactiveForeground"] || theme.colors["editor.foreground"] || "#586E75";
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(root, "--activity-fg", solarizedUiGrey || color(theme, "activityBar.foreground"));
- setVar(
- root,
- "--activity-muted",
- solarizedUiGrey || color(theme, "activityBar.inactiveForeground"),
- );
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(root, "--tab-active-fg", solarizedUiGrey || color(theme, "tab.activeForeground"));
- setVar(root, "--tab-inactive-fg", solarizedUiGrey || color(theme, "tab.inactiveForeground"));
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(
- root,
- "--status-remote-fg",
- solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"),
- );
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(root, "--title-fg", solarizedUiGrey || color(theme, "titleBar.activeForeground"));
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className =
- segment.token === "plain"
- ? "char"
- : "char tok-" + segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(
- root.querySelector(".header"),
- { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" },
- 0,
- );
- tl.from(
- root.querySelector(".workbench"),
- { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" },
- 0.1,
- );
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(
- () => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- },
- [],
- time,
- );
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(
- root.querySelector(".caret"),
- { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" },
- 0.95,
- );
- tl.from(
- root.querySelector(".terminal"),
- { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" },
- 7.55,
- );
- tl.from(
- root.querySelector(".terminal-body").children,
- { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" },
- 8.05,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" },
- 9.35,
- );
- tl.to(
- root.querySelector(".workbench"),
- { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" },
- 10.08,
- );
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector('[data-composition-id="' + compositionId + '"] .vscode-theme-scene') ||
- document.querySelector('.vscode-theme-scene[data-composition-id="' + compositionId + '"]') ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme =
- typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
-})();
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-sequence.css b/registry/examples/vscode-theme-visualizer/assets/vscode-sequence.css
deleted file mode 100644
index 4844434724..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-sequence.css
+++ /dev/null
@@ -1,483 +0,0 @@
-* {
- box-sizing: border-box;
- letter-spacing: 0;
-}
-
-html,
-body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
-}
-
-.vscode-theme-scene {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("../assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
-}
-
-.scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
-}
-
-.header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
-}
-
-.kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
-}
-
-.title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
-}
-
-.source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
-}
-
-.workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
-}
-
-.titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
-}
-
-.traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
-}
-
-.traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
-}
-
-.traffic span:nth-child(1) {
- background: #ff5f57;
-}
-.traffic span:nth-child(2) {
- background: #ffbd2e;
-}
-.traffic span:nth-child(3) {
- background: #28c840;
-}
-
-.window-title {
- justify-self: center;
- opacity: 0.84;
-}
-
-.command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
-}
-
-.activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
-}
-
-.activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
-}
-
-.activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
-}
-
-.sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
-}
-
-.sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
-}
-
-.section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
-}
-
-.tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
-}
-
-.tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
-}
-
-.tree-row.child {
- padding-left: 34px;
-}
-
-.tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
-}
-
-.editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
-}
-
-.tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
-}
-
-.tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
-}
-
-.tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
-}
-
-.breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
-}
-
-.editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
-}
-
-.active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
-}
-
-.code {
- position: relative;
- padding: 20px 36px 18px 0;
-}
-
-.line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
-}
-
-.line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
-}
-
-.line.is-active .line-number {
- color: var(--gutter-active-fg);
-}
-
-.line-code {
- white-space: pre;
-}
-
-.char {
- opacity: 0;
-}
-
-.tok-comment {
- color: var(--token-comment);
-}
-.tok-keyword {
- color: var(--token-keyword);
-}
-.tok-function {
- color: var(--token-function);
-}
-.tok-string {
- color: var(--token-string);
-}
-.tok-number {
- color: var(--token-number);
-}
-.tok-variable {
- color: var(--token-variable);
-}
-.tok-parameter {
- color: var(--token-parameter);
-}
-.tok-operator {
- color: var(--token-operator);
-}
-.tok-punctuation {
- color: var(--token-punctuation);
-}
-.tok-class-name {
- color: var(--token-class-name);
-}
-
-.caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
-}
-
-.terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
-}
-
-.panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- font-size: 12px;
- text-transform: uppercase;
-}
-
-.panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
-}
-
-.terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
-}
-
-.prompt {
- color: var(--token-function);
-}
-
-.statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
-}
-
-.status-left,
-.status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
-}
-
-.remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
-}
-
-svg {
- display: block;
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-theme-registry.js b/registry/examples/vscode-theme-visualizer/assets/vscode-theme-registry.js
deleted file mode 100644
index ad9ea02d06..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-theme-registry.js
+++ /dev/null
@@ -1,478 +0,0 @@
-// Generated by scripts/build-theme-registry.mjs from official VS Code theme JSON.
-window.VSCODE_THEME_REGISTRY = [
- {
- id: "light-2026",
- label: "Light 2026",
- sourceFile: "2026-light.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#000000",
- "activityBar.background": "#FAFAFD",
- "activityBar.border": "#F0F1F2FF",
- "activityBar.foreground": "#202020",
- "activityBar.inactiveForeground": "#606060",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#202020",
- "editor.lineHighlightBackground": "#EAEAEA40",
- "editor.selectionBackground": "#0069CC40",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#FAFAFD",
- "editorGroupHeader.tabsBorder": "#F0F1F2FF",
- "editorLineNumber.activeForeground": "#202020",
- "editorLineNumber.foreground": "#606060",
- foreground: "#202020",
- "icon.foreground": "#606060",
- "panel.background": "#FAFAFD",
- "panel.border": "#F0F1F2FF",
- "sideBar.background": "#FAFAFD",
- "sideBar.border": "#F0F1F2FF",
- "sideBar.foreground": "#202020",
- "sideBarSectionHeader.background": "#FAFAFD",
- "sideBarSectionHeader.border": "#F0F1F2FF",
- "sideBarSectionHeader.foreground": "#202020",
- "sideBarTitle.foreground": "#202020",
- "statusBar.background": "#FAFAFD",
- "statusBar.border": "#F0F1F2FF",
- "statusBar.foreground": "#606060",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#FFFFFF",
- "tab.activeBorderTop": "#000000",
- "tab.activeForeground": "#202020",
- "tab.border": "#F0F1F2FF",
- "tab.inactiveBackground": "#FAFAFD",
- "tab.inactiveForeground": "#606060",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#202020",
- "titleBar.activeBackground": "#FAFAFD",
- "titleBar.activeForeground": "#606060",
- },
- tokens: {
- comment: "#6e7781",
- keyword: "#1f2328",
- function: "#0550ae",
- string: "#0a3069",
- number: "#0550ae",
- variable: "#1f2328",
- parameter: "#953800",
- operator: "#cf222e",
- punctuation: "#953800",
- className: "#116329",
- },
- },
- {
- id: "dark-2026",
- label: "Dark 2026",
- sourceFile: "2026-dark.json",
- uiTheme: "vs-dark",
- colors: {
- "activityBar.activeBorder": "#bfbfbf",
- "activityBar.background": "#191A1B",
- "activityBar.border": "#2A2B2CFF",
- "activityBar.foreground": "#bfbfbf",
- "activityBar.inactiveForeground": "#8C8C8C",
- "editor.background": "#121314",
- "editor.foreground": "#BBBEBF",
- "editor.lineHighlightBackground": "#242526",
- "editor.selectionBackground": "#276782dd",
- "editorGroup.border": "#FFFFFF17",
- "editorGroupHeader.tabsBackground": "#191A1B",
- "editorGroupHeader.tabsBorder": "#2A2B2CFF",
- "editorLineNumber.activeForeground": "#BBBEBF",
- "editorLineNumber.foreground": "#858889",
- foreground: "#bfbfbf",
- "icon.foreground": "#8C8C8C",
- "panel.background": "#191A1B",
- "panel.border": "#2A2B2CFF",
- "sideBar.background": "#191A1B",
- "sideBar.border": "#2A2B2CFF",
- "sideBar.foreground": "#bfbfbf",
- "sideBarSectionHeader.background": "#191A1B",
- "sideBarSectionHeader.border": "#2A2B2CFF",
- "sideBarSectionHeader.foreground": "#bfbfbf",
- "sideBarTitle.foreground": "#bfbfbf",
- "statusBar.background": "#191A1B",
- "statusBar.border": "#2A2B2CFF",
- "statusBar.foreground": "#8C8C8C",
- "statusBarItem.remoteBackground": "#0078D4",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#121314",
- "tab.activeBorder": "#121314",
- "tab.activeBorderTop": "#3994BC",
- "tab.activeForeground": "#bfbfbf",
- "tab.border": "#2A2B2CFF",
- "tab.inactiveBackground": "#191A1B",
- "tab.inactiveForeground": "#8C8C8C",
- "terminal.background": "#191A1B",
- "terminal.foreground": "#CCCCCC",
- "terminalCursor.foreground": "#bfbfbf",
- "titleBar.activeBackground": "#191A1B",
- "titleBar.activeForeground": "#8C8C8C",
- },
- tokens: {
- comment: "#8b949e",
- keyword: "#c9d1d9",
- function: "#79c0ff",
- string: "#a5d6ff",
- number: "#79c0ff",
- variable: "#c9d1d9",
- parameter: "#ffa657",
- operator: "#ff7b72",
- punctuation: "#ffa657",
- className: "#7ee787",
- },
- },
- {
- id: "dark-plus",
- label: "Dark+",
- sourceFile: "dark_plus.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d7ba7d",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#4FC1FF",
- parameter: "#9CDCFE",
- operator: "#d7ba7d",
- punctuation: "#CE9178",
- className: "#4EC9B0",
- },
- },
- {
- id: "dark-modern",
- label: "Dark Modern",
- sourceFile: "dark_modern.json",
- uiTheme: "vs-dark",
- colors: {
- "activityBar.activeBorder": "#0078D4",
- "activityBar.background": "#181818",
- "activityBar.border": "#2B2B2B",
- "activityBar.foreground": "#D7D7D7",
- "activityBar.inactiveForeground": "#868686",
- "editor.background": "#1F1F1F",
- "editor.foreground": "#CCCCCC",
- "editorGroup.border": "#FFFFFF17",
- "editorGroupHeader.tabsBackground": "#181818",
- "editorGroupHeader.tabsBorder": "#2B2B2B",
- "editorLineNumber.activeForeground": "#CCCCCC",
- "editorLineNumber.foreground": "#6E7681",
- foreground: "#CCCCCC",
- "icon.foreground": "#CCCCCC",
- "panel.background": "#181818",
- "panel.border": "#2B2B2B",
- "sideBar.background": "#181818",
- "sideBar.border": "#2B2B2B",
- "sideBar.foreground": "#CCCCCC",
- "sideBarSectionHeader.background": "#181818",
- "sideBarSectionHeader.border": "#2B2B2B",
- "sideBarSectionHeader.foreground": "#CCCCCC",
- "sideBarTitle.foreground": "#CCCCCC",
- "statusBar.background": "#181818",
- "statusBar.border": "#2B2B2B",
- "statusBar.foreground": "#CCCCCC",
- "statusBarItem.remoteBackground": "#0078D4",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#1F1F1F",
- "tab.activeBorder": "#1F1F1F",
- "tab.activeBorderTop": "#0078D4",
- "tab.activeForeground": "#FFFFFF",
- "tab.border": "#2B2B2B",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9D9D9D",
- "terminal.foreground": "#CCCCCC",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#CCCCCC",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d7ba7d",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#4FC1FF",
- parameter: "#9CDCFE",
- operator: "#d7ba7d",
- punctuation: "#CE9178",
- className: "#4EC9B0",
- },
- },
- {
- id: "light-plus",
- label: "Light+",
- sourceFile: "light_plus.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- },
- {
- id: "light-modern",
- label: "Light Modern",
- sourceFile: "light_modern.json",
- uiTheme: "vs",
- colors: {
- "activityBar.activeBorder": "#005FB8",
- "activityBar.background": "#F8F8F8",
- "activityBar.border": "#E5E5E5",
- "activityBar.foreground": "#1F1F1F",
- "activityBar.inactiveForeground": "#616161",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#3B3B3B",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#F8F8F8",
- "editorGroupHeader.tabsBorder": "#E5E5E5",
- "editorLineNumber.activeForeground": "#171184",
- "editorLineNumber.foreground": "#6E7681",
- foreground: "#3B3B3B",
- "icon.foreground": "#3B3B3B",
- "panel.background": "#F8F8F8",
- "panel.border": "#E5E5E5",
- "sideBar.background": "#F8F8F8",
- "sideBar.border": "#E5E5E5",
- "sideBar.foreground": "#3B3B3B",
- "sideBarSectionHeader.background": "#F8F8F8",
- "sideBarSectionHeader.border": "#E5E5E5",
- "sideBarSectionHeader.foreground": "#3B3B3B",
- "sideBarTitle.foreground": "#3B3B3B",
- "statusBar.background": "#F8F8F8",
- "statusBar.border": "#E5E5E5",
- "statusBar.foreground": "#3B3B3B",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#F8F8F8",
- "tab.activeBorderTop": "#005FB8",
- "tab.activeForeground": "#3B3B3B",
- "tab.border": "#E5E5E5",
- "tab.inactiveBackground": "#F8F8F8",
- "tab.inactiveForeground": "#868686",
- "terminal.foreground": "#3B3B3B",
- "terminalCursor.foreground": "#005FB8",
- "titleBar.activeBackground": "#F8F8F8",
- "titleBar.activeForeground": "#1E1E1E",
- },
- tokens: {
- comment: "#008000",
- keyword: "#EE0000",
- function: "#795E26",
- string: "#811f3f",
- number: "#098658",
- variable: "#0070C1",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#d16969",
- className: "#267f99",
- },
- },
- {
- id: "visual-studio-dark",
- label: "Visual Studio Dark",
- sourceFile: "dark_vs.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "sideBarTitle.foreground": "#BBBBBB",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#6A9955",
- keyword: "#d4d4d4",
- function: "#9cdcfe",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#569cd6",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#569cd6",
- className: "#9cdcfe",
- },
- },
- {
- id: "visual-studio-light",
- label: "Visual Studio Light",
- sourceFile: "light_vs.json",
- uiTheme: "vs",
- colors: {
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "sideBarTitle.foreground": "#6F6F6F",
- "statusBarItem.remoteBackground": "#16825D",
- "statusBarItem.remoteForeground": "#FFF",
- },
- tokens: {
- comment: "#008000",
- keyword: "#000000",
- function: "#0451a5",
- string: "#811f3f",
- number: "#098658",
- variable: "#0000ff",
- parameter: "#9CDCFE",
- operator: "#0000ff",
- punctuation: "#800000",
- className: "#0451a5",
- },
- },
- {
- id: "high-contrast",
- label: "Default High Contrast",
- sourceFile: "hc_black.json",
- uiTheme: "vs-dark",
- colors: {
- "editor.background": "#000000",
- "editor.foreground": "#FFFFFF",
- "editor.selectionBackground": "#FFFFFF",
- "sideBarTitle.foreground": "#FFFFFF",
- "statusBarItem.remoteBackground": "#00000000",
- },
- tokens: {
- comment: "#7ca668",
- keyword: "#C586C0",
- function: "#DCDCAA",
- string: "#d16969",
- number: "#b5cea8",
- variable: "#9CDCFE",
- parameter: "#9CDCFE",
- operator: "#569cd6",
- punctuation: "#4EC9B0",
- className: "#4EC9B0",
- },
- },
- {
- id: "high-contrast-light",
- label: "Default High Contrast Light",
- sourceFile: "hc_light.json",
- uiTheme: "vs",
- colors: {
- "statusBarItem.remoteBackground": "#FFFFFF",
- "statusBarItem.remoteForeground": "#000000",
- },
- tokens: {
- comment: "#515151",
- keyword: "#EE0000",
- function: "#5e2cbc",
- string: "#811F3F",
- number: "#096d48",
- variable: "#02715D",
- parameter: "#001080",
- operator: "#EE0000",
- punctuation: "#D16969",
- className: "#185E73",
- },
- },
- {
- id: "solarized-light",
- label: "Solarized Light",
- sourceFile: "solarized-light-color-theme.json",
- uiTheme: "vs",
- colors: {
- "activityBar.background": "#DDD6C1",
- "activityBar.foreground": "#584c27",
- "editor.background": "#FDF6E3",
- "editor.foreground": "#657B83",
- "editor.lineHighlightBackground": "#EEE8D5",
- "editor.selectionBackground": "#EEE8D5",
- "editorGroup.border": "#DDD6C1",
- "editorGroupHeader.tabsBackground": "#D9D2C2",
- "editorLineNumber.activeForeground": "#567983",
- "panel.border": "#DDD6C1",
- "sideBar.background": "#EEE8D5",
- "sideBarTitle.foreground": "#586E75",
- "statusBar.background": "#EEE8D5",
- "statusBar.foreground": "#586E75",
- "statusBarItem.remoteBackground": "#AC9D57",
- "tab.activeBackground": "#FDF6E3",
- "tab.border": "#DDD6C1",
- "tab.inactiveBackground": "#D3CBB7",
- "tab.inactiveForeground": "#586E75",
- "terminal.background": "#FDF6E3",
- "titleBar.activeBackground": "#EEE8D5",
- },
- tokens: {
- comment: "#93A1A1",
- keyword: "#CB4B16",
- function: "#268BD2",
- string: "#DC322F",
- number: "#D33682",
- variable: "#268BD2",
- parameter: "#9CDCFE",
- operator: "#859900",
- punctuation: "#DC322F",
- className: "#CB4B16",
- },
- },
- {
- id: "monokai",
- label: "Monokai",
- sourceFile: "monokai-color-theme.json",
- uiTheme: "vs-dark",
- colors: {
- "activityBar.background": "#272822",
- "activityBar.foreground": "#f8f8f2",
- "editor.background": "#272822",
- "editor.foreground": "#f8f8f2",
- "editor.lineHighlightBackground": "#3e3d32",
- "editor.selectionBackground": "#878b9180",
- "editorGroup.border": "#34352f",
- "editorGroupHeader.tabsBackground": "#1e1f1c",
- "editorLineNumber.activeForeground": "#c2c2bf",
- "editorLineNumber.foreground": "#90908a",
- "panel.border": "#414339",
- "sideBar.background": "#1e1f1c",
- "sideBarSectionHeader.background": "#272822",
- "statusBar.background": "#414339",
- "statusBarItem.remoteBackground": "#AC6218",
- "tab.border": "#1e1f1c",
- "tab.inactiveBackground": "#34352f",
- "tab.inactiveForeground": "#ccccc7",
- "titleBar.activeBackground": "#1e1f1c",
- },
- tokens: {
- comment: "#88846f",
- keyword: "#66D9EF",
- function: "#66D9EF",
- string: "#AE81FF",
- number: "#AE81FFA0",
- variable: "#FD971F",
- parameter: "#FD971F",
- operator: "#F92672",
- punctuation: "#A6E22E",
- className: "#66D9EF",
- },
- },
-];
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-dark.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-dark.json
deleted file mode 100644
index d31330d860..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-dark.json
+++ /dev/null
@@ -1,664 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "2026 Dark",
- "include": "./dark_modern.json",
- "type": "dark",
- "colors": {
- "foreground": "#bfbfbf",
- "disabledForeground": "#555555",
- "errorForeground": "#f48771",
- "descriptionForeground": "#8C8C8C",
- "icon.foreground": "#8C8C8C",
- "focusBorder": "#3994BCB3",
- "textBlockQuote.background": "#242526",
- "textBlockQuote.border": "#2A2B2CFF",
- "textCodeBlock.background": "#242526",
- "textLink.foreground": "#48A0C7",
- "textLink.activeForeground": "#53A5CA",
- "textPreformat.background": "#262626",
- "textPreformat.foreground": "#8C8C8C",
- "textSeparator.foreground": "#2a2a2aFF",
- "button.background": "#297AA0",
- "button.foreground": "#FFFFFF",
- "button.hoverBackground": "#2B7DA3",
- "button.border": "#333536FF",
- "button.secondaryHoverBackground": "#FFFFFF10",
- "checkbox.background": "#242526",
- "checkbox.border": "#333536",
- "checkbox.foreground": "#8C8C8C",
- "dropdown.background": "#191A1B",
- "dropdown.border": "#333536",
- "dropdown.foreground": "#bfbfbf",
- "dropdown.listBackground": "#191A1B",
- "input.background": "#191A1B",
- "input.border": "#333536FF",
- "input.foreground": "#bfbfbf",
- "input.placeholderForeground": "#555555",
- "inputOption.activeBackground": "#3994BC33",
- "inputOption.activeForeground": "#bfbfbf",
- "inputOption.activeBorder": "#2A2B2CFF",
- "inputValidation.infoBackground": "#1E3A47",
- "inputValidation.infoBorder": "#3994BC",
- "inputValidation.infoForeground": "#bfbfbf",
- "inputValidation.warningBackground": "#352A05",
- "inputValidation.warningBorder": "#B89500",
- "inputValidation.warningForeground": "#bfbfbf",
- "inputValidation.errorBackground": "#3A1D1D",
- "inputValidation.errorBorder": "#BE1100",
- "inputValidation.errorForeground": "#bfbfbf",
- "scrollbar.shadow": "#191B1D4D",
- "scrollbarSlider.background": "#83848533",
- "scrollbarSlider.hoverBackground": "#83848566",
- "scrollbarSlider.activeBackground": "#83848599",
- "badge.background": "#3994BCF0",
- "badge.foreground": "#FFFFFF",
- "progressBar.background": "#878889",
- "list.activeSelectionBackground": "#3994BC26",
- "list.activeSelectionForeground": "#ededed",
- "list.inactiveSelectionBackground": "#2C2D2E",
- "list.inactiveSelectionForeground": "#ededed",
- "list.hoverBackground": "#FFFFFF0D",
- "list.hoverForeground": "#bfbfbf",
- "list.dropBackground": "#3994BC1A",
- "toolbar.hoverBackground": "#FFFFFF18",
- "list.focusBackground": "#3994BC26",
- "list.focusForeground": "#bfbfbf",
- "list.focusOutline": "#3994BCB3",
- "list.highlightForeground": "#48A0C7",
- "list.invalidItemForeground": "#444444",
- "list.errorForeground": "#f48771",
- "list.warningForeground": "#e5ba7d",
- "activityBar.background": "#191A1B",
- "activityBar.foreground": "#bfbfbf",
- "activityBar.inactiveForeground": "#8C8C8C",
- "activityBar.border": "#2A2B2CFF",
- "activityBar.activeBorder": "#bfbfbf",
- "activityBar.activeFocusBorder": "#3994BCB3",
- "activityBarBadge.background": "#3994BC",
- "activityBarBadge.foreground": "#FFFFFF",
- "activityBarTop.activeBorder": "#bfbfbf",
- "sideBar.background": "#191A1B",
- "sideBar.foreground": "#bfbfbf",
- "sideBar.border": "#2A2B2CFF",
- "sideBarTitle.foreground": "#bfbfbf",
- "sideBarSectionHeader.background": "#191A1B",
- "sideBarSectionHeader.foreground": "#bfbfbf",
- "sideBarSectionHeader.border": "#2A2B2CFF",
- "titleBar.activeBackground": "#191A1B",
- "titleBar.activeForeground": "#8C8C8C",
- "titleBar.inactiveBackground": "#191A1B",
- "titleBar.inactiveForeground": "#8C8C8C",
- "titleBar.border": "#2A2B2CFF",
- "menubar.selectionBackground": "#242526",
- "menubar.selectionForeground": "#bfbfbf",
- "menu.background": "#202122",
- "menu.foreground": "#bfbfbf",
- "menu.selectionBackground": "#3994BC26",
- "menu.selectionForeground": "#bfbfbf",
- "menu.separatorBackground": "#2A2B2C",
- "menu.border": "#2A2B2CFF",
- "commandCenter.foreground": "#bfbfbf",
- "commandCenter.activeForeground": "#bfbfbf",
- "commandCenter.background": "#191A1B",
- "commandCenter.activeBackground": "#FFFFFF0F",
- "commandCenter.border": "#2E3031",
- "editor.background": "#121314",
- "editor.foreground": "#BBBEBF",
- "editorStickyScroll.background": "#121314",
- "editorStickyScrollHover.background": "#202122",
- "editorStickyScroll.border": "#2A2B2CFF",
- "editorLineNumber.foreground": "#858889",
- "editorLineNumber.activeForeground": "#BBBEBF",
- "editorCursor.foreground": "#BBBEBF",
- "editor.selectionBackground": "#276782dd",
- "editor.inactiveSelectionBackground": "#27678260",
- "editor.selectionHighlightBackground": "#27678260",
- "editor.wordHighlightBackground": "#27678250",
- "editor.wordHighlightStrongBackground": "#27678280",
- "editor.findMatchBackground": "#27678290",
- "editor.findMatchHighlightBackground": "#27678280",
- "editor.findRangeHighlightBackground": "#242526",
- "editor.hoverHighlightBackground": "#242526",
- "editor.lineHighlightBackground": "#242526",
- "editor.rangeHighlightBackground": "#242526",
- "editorLink.activeForeground": "#3a94bc",
- "editorWhitespace.foreground": "#8C8C8C4D",
- "editorIndentGuide.background": "#8384854D",
- "editorIndentGuide.activeBackground": "#838485",
- "editorRuler.foreground": "#848484",
- "editorCodeLens.foreground": "#8C8C8C",
- "editorBracketMatch.background": "#3994BC55",
- "editorBracketMatch.border": "#2A2B2CFF",
- "editorWidget.background": "#202122",
- "editorWidget.border": "#2A2B2CFF",
- "editorWidget.foreground": "#bfbfbf",
- "editorSuggestWidget.background": "#202122",
- "editorSuggestWidget.border": "#2A2B2CFF",
- "editorSuggestWidget.foreground": "#bfbfbf",
- "editorSuggestWidget.highlightForeground": "#bfbfbf",
- "editorSuggestWidget.selectedBackground": "#3994BC26",
- "editorHoverWidget.background": "#202122",
- "editorHoverWidget.border": "#2A2B2CFF",
- "widget.border": "#2A2B2CFF",
- "peekView.border": "#2A2B2CFF",
- "peekViewEditor.background": "#191A1B",
- "peekViewEditor.matchHighlightBackground": "#3994BC33",
- "peekViewResult.background": "#191A1B",
- "peekViewResult.fileForeground": "#bfbfbf",
- "peekViewResult.lineForeground": "#8C8C8C",
- "peekViewResult.matchHighlightBackground": "#3994BC33",
- "peekViewResult.selectionBackground": "#3994BC26",
- "peekViewResult.selectionForeground": "#bfbfbf",
- "peekViewTitle.background": "#242526",
- "peekViewTitleDescription.foreground": "#8C8C8C",
- "peekViewTitleLabel.foreground": "#bfbfbf",
- "editorGutter.background": "#121314",
- "editorGutter.addedBackground": "#72C892",
- "editorGutter.deletedBackground": "#F28772",
- "diffEditor.insertedLineBackground": "#347d3926",
- "diffEditor.insertedTextBackground": "#57ab5a4d",
- "diffEditor.removedLineBackground": "#c93c3726",
- "diffEditor.removedTextBackground": "#f470674d",
- "editorOverviewRuler.border": "#2A2B2CFF",
- "editorOverviewRuler.findMatchForeground": "#3a94bc99",
- "editorOverviewRuler.modifiedForeground": "#6ab890",
- "editorOverviewRuler.addedForeground": "#73c991",
- "editorOverviewRuler.deletedForeground": "#f48771",
- "editorOverviewRuler.errorForeground": "#f48771",
- "editorOverviewRuler.warningForeground": "#e5ba7d",
- "panel.background": "#191A1B",
- "panel.border": "#2A2B2CFF",
- "panelTitle.activeBorder": "#3994BC",
- "panelTitle.activeForeground": "#bfbfbf",
- "panelTitle.inactiveForeground": "#8C8C8C",
- "statusBar.background": "#191A1B",
- "statusBar.foreground": "#8C8C8C",
- "statusBar.border": "#2A2B2CFF",
- "statusBar.focusBorder": "#3994BCB3",
- "statusBar.debuggingBackground": "#3994BC",
- "statusBar.debuggingForeground": "#FFFFFF",
- "statusBar.noFolderBackground": "#191A1B",
- "statusBar.noFolderForeground": "#8C8C8C",
- "statusBarItem.activeBackground": "#4B4C4D",
- "statusBarItem.hoverBackground": "#262728",
- "statusBarItem.focusBorder": "#3994BCB3",
- "statusBarItem.prominentBackground": "#3994BC",
- "statusBarItem.prominentForeground": "#FFFFFF",
- "statusBarItem.prominentHoverBackground": "#3994BC",
- "tab.activeBackground": "#121314",
- "tab.activeForeground": "#bfbfbf",
- "tab.inactiveBackground": "#191A1B",
- "tab.inactiveForeground": "#8C8C8C",
- "tab.border": "#2A2B2CFF",
- "tab.lastPinnedBorder": "#2A2B2CFF",
- "tab.activeBorderTop": "#3994BC",
- "tab.hoverBackground": "#121314",
- "tab.hoverForeground": "#bfbfbf",
- "tab.unfocusedActiveBackground": "#121314",
- "tab.unfocusedActiveForeground": "#8C8C8C",
- "tab.unfocusedInactiveBackground": "#191A1B",
- "tab.unfocusedInactiveForeground": "#444444",
- "editorGroupHeader.tabsBackground": "#191A1B",
- "tab.activeBorder": "#121314",
- "editorGroupHeader.tabsBorder": "#2A2B2CFF",
- "breadcrumb.foreground": "#8C8C8C",
- "breadcrumb.background": "#121314",
- "breadcrumb.focusForeground": "#bfbfbf",
- "breadcrumb.activeSelectionForeground": "#bfbfbf",
- "breadcrumbPicker.background": "#202122",
- "notificationCenter.border": "#2A2B2CFF",
- "notificationCenterHeader.foreground": "#bfbfbf",
- "notificationCenterHeader.background": "#242526",
- "notificationToast.border": "#2A2B2CFF",
- "notifications.foreground": "#bfbfbf",
- "notifications.background": "#202122",
- "notifications.border": "#2A2B2CFF",
- "notificationLink.foreground": "#3a94bc",
- "notificationsWarningIcon.foreground": "#CCA700",
- "notificationsErrorIcon.foreground": "#f48771",
- "notificationsInfoIcon.foreground": "#3a94bc",
- "activityWarningBadge.foreground": "#202020",
- "activityWarningBadge.background": "#CCA700",
- "activityErrorBadge.foreground": "#FFFFFF",
- "activityErrorBadge.background": "#f48771",
- "extensionButton.prominentBackground": "#297AA0",
- "extensionButton.prominentForeground": "#FFFFFF",
- "extensionButton.prominentHoverBackground": "#2B7DA3",
- "pickerGroup.border": "#2A2B2CFF",
- "pickerGroup.foreground": "#bfbfbf",
- "quickInput.background": "#202122",
- "quickInput.foreground": "#bfbfbf",
- "quickInputList.focusBackground": "#297AA0",
- "quickInputList.focusForeground": "#FFFFFF",
- "quickInputList.focusIconForeground": "#FFFFFF",
- "quickInputList.focusHighlightForeground": "#FFFFFF",
- "quickInputList.hoverBackground": "#262728",
- "terminal.selectionBackground": "#3994BC33",
- "terminal.background": "#191A1B",
- "terminal.border": "#2A2B2CFF",
- "terminal.tab.activeBorder": "#3994BC00",
- "terminalCursor.foreground": "#bfbfbf",
- "terminalCursor.background": "#191A1B",
- "gitDecoration.addedResourceForeground": "#73c991",
- "gitDecoration.modifiedResourceForeground": "#e5ba7d",
- "gitDecoration.deletedResourceForeground": "#f48771",
- "gitDecoration.untrackedResourceForeground": "#73c991",
- "gitDecoration.ignoredResourceForeground": "#8C8C8C",
- "gitDecoration.conflictingResourceForeground": "#f48771",
- "gitDecoration.stageModifiedResourceForeground": "#e5ba7d",
- "gitDecoration.stageDeletedResourceForeground": "#f48771",
- "quickInputTitle.background": "#202122",
- "commandCenter.activeBorder": "#333536",
- "quickInput.border": "#333536",
- "gauge.foreground": "#59a4f9",
- "gauge.background": "#58A4F94D",
- "gauge.border": "#2A2C2EFF",
- "gauge.warningForeground": "#e5ba7d",
- "gauge.warningBackground": "#E3B97E4D",
- "gauge.errorForeground": "#f48771",
- "gauge.errorBackground": "#F287724D",
- "chat.requestBubbleBackground": "#ffffff13",
- "chat.requestBubbleHoverBackground": "#ffffff22",
- "chat.inputWorkingBorderColor1": "#297AA0",
- "chat.inputWorkingBorderColor2": "#1C546F",
- "chat.inputWorkingBorderColor3": "#5BA8CC",
- "editorCommentsWidget.rangeBackground": "#488FAE26",
- "editorCommentsWidget.rangeActiveBackground": "#488FAE46",
- "charts.foreground": "#CCCCCC",
- "charts.lines": "#C8CACC80",
- "charts.blue": "#57A3F8",
- "charts.red": "#EF8773",
- "charts.yellow": "#E0B97F",
- "charts.orange": "#CD861A",
- "charts.green": "#86CF86",
- "charts.purple": "#AD80D7",
- "inlineChat.border": "#00000000",
- "minimapSlider.background": "#83848533",
- "minimapSlider.hoverBackground": "#83848566",
- "minimapSlider.activeBackground": "#83848599",
-
- "agents.background": "#121314",
- "agentsPanel.background": "#191A1B",
- "agentsPanel.foreground": "#bfbfbf",
- "agentsPanel.border": "#2A2B2CFF",
- "agentsGradient.tintColor": "#297AA0",
- "agentsChatInput.background": "#202122",
- "agentsChatInput.foreground": "#bfbfbf",
- "agentsChatInput.border": "#333536",
- "agentsChatInput.focusBorder": "#3994BCB3",
- "agentsChatInput.placeholderForeground": "#555555",
- "agentsNewSessionButton.background": "#00000000",
- "agentsNewSessionButton.foreground": "#bfbfbf",
- "agentsNewSessionButton.border": "#333536",
- "agentsNewSessionButton.hoverBackground": "#FFFFFF18",
- "agentsBadge.background": "#3994BC",
- "agentsBadge.foreground": "#FFFFFF",
- "agentsUnreadBadge.background": "#3994BC",
- "agentsUnreadBadge.foreground": "#FFFFFF"
- },
- "tokenColors": [
- {
- "scope": ["comment", "punctuation.definition.comment", "string.comment"],
- "settings": {
- "foreground": "#8b949e"
- }
- },
- {
- "scope": ["constant.other.placeholder", "constant.character"],
- "settings": {
- "foreground": "#ff7b72"
- }
- },
- {
- "scope": [
- "constant",
- "entity.name.constant",
- "variable.other.constant",
- "variable.other.enummember",
- "variable.language",
- "entity"
- ],
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": ["entity.name", "meta.export.default", "meta.definition.variable"],
- "settings": {
- "foreground": "#ffa657"
- }
- },
- {
- "scope": [
- "variable.parameter.function",
- "meta.jsx.children",
- "meta.block",
- "meta.tag.attributes",
- "entity.name.constant",
- "meta.object.member",
- "meta.embedded.expression"
- ],
- "settings": {
- "foreground": "#c9d1d9"
- }
- },
- {
- "scope": "entity.name.function",
- "settings": {
- "foreground": "#d2a8ff"
- }
- },
- {
- "scope": ["entity.name.tag", "support.class.component"],
- "settings": {
- "foreground": "#7ee787"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#ff7b72"
- }
- },
- {
- "scope": ["storage", "storage.type"],
- "settings": {
- "foreground": "#ff7b72"
- }
- },
- {
- "scope": ["storage.modifier.package", "storage.modifier.import", "storage.type.java"],
- "settings": {
- "foreground": "#c9d1d9"
- }
- },
- {
- "scope": ["string", "string punctuation.section.embedded source"],
- "settings": {
- "foreground": "#a5d6ff"
- }
- },
- {
- "scope": "support",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "meta.property-name",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "variable",
- "settings": {
- "foreground": "#ffa657"
- }
- },
- {
- "scope": "variable.other",
- "settings": {
- "foreground": "#c9d1d9"
- }
- },
- {
- "scope": "invalid.broken",
- "settings": {
- "foreground": "#ffa198",
- "fontStyle": "italic"
- }
- },
- {
- "scope": "invalid.deprecated",
- "settings": {
- "foreground": "#ffa198",
- "fontStyle": "italic"
- }
- },
- {
- "scope": "invalid.illegal",
- "settings": {
- "foreground": "#ffa198",
- "fontStyle": "italic"
- }
- },
- {
- "scope": "invalid.unimplemented",
- "settings": {
- "foreground": "#ffa198",
- "fontStyle": "italic"
- }
- },
- {
- "scope": "carriage-return",
- "settings": {
- "foreground": "#f0f6fc",
- "background": "#8b1111",
- "fontStyle": "italic underline",
- "content": "^M"
- }
- },
- {
- "scope": "message.error",
- "settings": {
- "foreground": "#ffa198"
- }
- },
- {
- "scope": "string variable",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": ["source.regexp", "string.regexp"],
- "settings": {
- "foreground": "#a5d6ff"
- }
- },
- {
- "scope": [
- "string.regexp.character-class",
- "string.regexp constant.character.escape",
- "string.regexp source.ruby.embedded",
- "string.regexp string.regexp.arbitrary-repitition"
- ],
- "settings": {
- "foreground": "#a5d6ff"
- }
- },
- {
- "scope": "string.regexp constant.character.escape",
- "settings": {
- "foreground": "#7ee787",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "support.constant",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "support.variable",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "support.type.property-name.json",
- "settings": {
- "foreground": "#7ee787"
- }
- },
- {
- "scope": "meta.module-reference",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "punctuation.definition.list.begin.markdown",
- "settings": {
- "foreground": "#ffa657"
- }
- },
- {
- "scope": ["markup.heading", "markup.heading entity.name"],
- "settings": {
- "foreground": "#79c0ff",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "markup.quote",
- "settings": {
- "foreground": "#7ee787"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "foreground": "#c9d1d9",
- "fontStyle": "italic"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "foreground": "#c9d1d9",
- "fontStyle": "bold"
- }
- },
- {
- "scope": ["markup.underline"],
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": ["markup.strikethrough"],
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inline.raw",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": ["markup.deleted", "meta.diff.header.from-file", "punctuation.definition.deleted"],
- "settings": {
- "foreground": "#ffa198",
- "background": "#490202"
- }
- },
- {
- "scope": ["punctuation.section.embedded"],
- "settings": {
- "foreground": "#ff7b72"
- }
- },
- {
- "scope": ["markup.inserted", "meta.diff.header.to-file", "punctuation.definition.inserted"],
- "settings": {
- "foreground": "#7ee787",
- "background": "#04260f"
- }
- },
- {
- "scope": ["markup.changed", "punctuation.definition.changed"],
- "settings": {
- "foreground": "#ffa657",
- "background": "#5a1e02"
- }
- },
- {
- "scope": ["markup.ignored", "markup.untracked"],
- "settings": {
- "foreground": "#0d1117",
- "background": "#79c0ff"
- }
- },
- {
- "scope": "meta.diff.range",
- "settings": {
- "foreground": "#d2a8ff",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": "meta.separator",
- "settings": {
- "foreground": "#79c0ff",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.output",
- "settings": {
- "foreground": "#79c0ff"
- }
- },
- {
- "scope": [
- "brackethighlighter.tag",
- "brackethighlighter.curly",
- "brackethighlighter.round",
- "brackethighlighter.square",
- "brackethighlighter.angle",
- "brackethighlighter.quote"
- ],
- "settings": {
- "foreground": "#8b949e"
- }
- },
- {
- "scope": "brackethighlighter.unmatched",
- "settings": {
- "foreground": "#ffa198"
- }
- },
- {
- "scope": ["constant.other.reference.link", "string.other.link"],
- "settings": {
- "foreground": "#a5d6ff"
- }
- },
- {
- "scope": "token.info-token",
- "settings": {
- "foreground": "#6796E6"
- }
- },
- {
- "scope": "token.warn-token",
- "settings": {
- "foreground": "#CD9731"
- }
- },
- {
- "scope": "token.error-token",
- "settings": {
- "foreground": "#F44747"
- }
- },
- {
- "scope": "token.debug-token",
- "settings": {
- "foreground": "#B267E6"
- }
- }
- ],
- "semanticHighlighting": true
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-light.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-light.json
deleted file mode 100644
index 48f99e37a5..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-light.json
+++ /dev/null
@@ -1,646 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "2026 Light",
- "include": "./light_modern.json",
- "type": "light",
- "colors": {
- "foreground": "#202020",
- "disabledForeground": "#BBBBBB",
- "errorForeground": "#ad0707",
- "descriptionForeground": "#606060",
- "icon.foreground": "#606060",
- "focusBorder": "#0069CCFF",
- "textBlockQuote.background": "#EAEAEA",
- "textBlockQuote.border": "#F0F1F2FF",
- "textCodeBlock.background": "#EAEAEA",
- "textLink.foreground": "#0069CC",
- "textLink.activeForeground": "#0069CC",
- "textPreformat.foreground": "#606060",
- "textPreformat.background": "#ECECEC",
- "textSeparator.foreground": "#EEEEEEFF",
- "button.background": "#0069CC",
- "button.foreground": "#FFFFFF",
- "button.hoverBackground": "#0063C1",
- "button.border": "#EEEEF1",
- "button.secondaryBackground": "#EAEAEA",
- "button.secondaryForeground": "#202020",
- "button.secondaryHoverBackground": "#F2F3F4",
- "checkbox.background": "#EAEAEA",
- "checkbox.border": "#D8D8D8",
- "checkbox.foreground": "#606060",
- "dropdown.background": "#FFFFFF",
- "dropdown.border": "#D8D8D8",
- "dropdown.foreground": "#202020",
- "dropdown.listBackground": "#FFFFFF",
- "input.background": "#FFFFFF",
- "input.border": "#D8D8D866",
- "input.foreground": "#202020",
- "input.placeholderForeground": "#999999",
- "inputOption.activeBackground": "#0069CC26",
- "inputOption.activeForeground": "#202020",
- "inputOption.activeBorder": "#F0F1F2FF",
- "inputValidation.infoBackground": "#E6F2FA",
- "inputValidation.infoBorder": "#0069CC",
- "inputValidation.infoForeground": "#202020",
- "inputValidation.warningBackground": "#FDF6E3",
- "inputValidation.warningBorder": "#B69500",
- "inputValidation.warningForeground": "#202020",
- "inputValidation.errorBackground": "#FDEDED",
- "inputValidation.errorBorder": "#ad0707",
- "inputValidation.errorForeground": "#202020",
- "scrollbar.shadow": "#00000000",
- "widget.shadow": "#00000000",
- "widget.border": "#E2E2E5",
- "editorStickyScroll.shadow": "#00000000",
- "editorStickyScrollHover.background": "#F0F0F3",
- "editorStickyScroll.border": "#F0F1F2FF",
- "sideBarStickyScroll.shadow": "#00000000",
- "panelStickyScroll.shadow": "#00000000",
- "listFilterWidget.shadow": "#00000000",
- "scrollbarSlider.background": "#99999926",
- "scrollbarSlider.hoverBackground": "#99999940",
- "scrollbarSlider.activeBackground": "#99999955",
- "badge.background": "#0069CC",
- "badge.foreground": "#FFFFFF",
- "progressBar.background": "#0069CC",
- "list.activeSelectionBackground": "#0069CC1A",
- "list.activeSelectionForeground": "#202020",
- "list.inactiveSelectionBackground": "#DADADA99",
- "list.inactiveSelectionForeground": "#202020",
- "list.hoverBackground": "#DADADA4f",
- "list.hoverForeground": "#202020",
- "list.dropBackground": "#0069CC15",
- "list.focusBackground": "#0069CC1A",
- "list.focusForeground": "#202020",
- "list.focusOutline": "#0069CCFF",
- "list.highlightForeground": "#0069CC",
- "list.invalidItemForeground": "#BBBBBB",
- "list.errorForeground": "#ad0707",
- "list.warningForeground": "#667309",
- "activityBar.background": "#FAFAFD",
- "activityBar.foreground": "#202020",
- "activityBar.inactiveForeground": "#606060",
- "activityBar.border": "#F0F1F2FF",
- "activityBar.activeBorder": "#000000",
- "activityBar.activeFocusBorder": "#0069CCFF",
- "activityBarBadge.background": "#0069CC",
- "activityBarBadge.foreground": "#FFFFFF",
- "activityBarTop.activeBorder": "#000000",
- "sideBar.background": "#FAFAFD",
- "sideBar.foreground": "#202020",
- "sideBar.border": "#F0F1F2FF",
- "sideBarTitle.foreground": "#202020",
- "sideBarSectionHeader.background": "#FAFAFD",
- "sideBarSectionHeader.foreground": "#202020",
- "sideBarSectionHeader.border": "#F0F1F2FF",
- "titleBar.activeBackground": "#FAFAFD",
- "titleBar.activeForeground": "#606060",
- "titleBar.inactiveBackground": "#FAFAFD",
- "titleBar.inactiveForeground": "#606060",
- "titleBar.border": "#F0F1F2FF",
- "menubar.selectionBackground": "#EAEAEA",
- "menubar.selectionForeground": "#202020",
- "menu.background": "#FAFAFD",
- "menu.foreground": "#202020",
- "menu.selectionBackground": "#0069CC1A",
- "menu.selectionForeground": "#202020",
- "menu.separatorBackground": "#EEEEF1",
- "menu.border": "#E4E5E6FF",
- "commandCenter.foreground": "#202020",
- "commandCenter.activeForeground": "#202020",
- "commandCenter.background": "#FFFFFF",
- "commandCenter.activeBackground": "#DADADA4f",
- "commandCenter.border": "#D8D8D8AA",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#202020",
- "editorLineNumber.foreground": "#606060",
- "editorLineNumber.activeForeground": "#202020",
- "editorCursor.foreground": "#202020",
- "editor.selectionBackground": "#0069CC40",
- "editor.inactiveSelectionBackground": "#0069CC1A",
- "editor.selectionHighlightBackground": "#0069CC15",
- "editor.wordHighlightBackground": "#0069CC26",
- "editor.wordHighlightStrongBackground": "#0069CC26",
- "editor.findMatchBackground": "#0069CC40",
- "editor.findMatchHighlightBackground": "#0069CC1A",
- "editor.findRangeHighlightBackground": "#EAEAEA",
- "editor.hoverHighlightBackground": "#EAEAEA",
- "editor.lineHighlightBackground": "#EAEAEA40",
- "editor.rangeHighlightBackground": "#EAEAEA",
- "editorLink.activeForeground": "#0069CC",
- "editorWhitespace.foreground": "#60606040",
- "editorIndentGuide.background": "#F7F7F740",
- "editorIndentGuide.activeBackground": "#EEEEEE",
- "editorRuler.foreground": "#F7F7F7",
- "editorCodeLens.foreground": "#606060",
- "editorBracketMatch.background": "#0069CC40",
- "editorBracketMatch.border": "#F0F1F2FF",
- "editorWidget.background": "#FAFAFD",
- "editorWidget.border": "#E4E5E6FF",
- "editorWidget.foreground": "#202020",
- "editorSuggestWidget.background": "#FAFAFD",
- "editorSuggestWidget.border": "#E4E5E6FF",
- "editorSuggestWidget.foreground": "#202020",
- "editorSuggestWidget.highlightForeground": "#0069CC",
- "editorSuggestWidget.selectedBackground": "#0069CC26",
- "editorSuggestWidget.selectedForeground": "#202020",
- "editorSuggestWidget.selectedIconForeground": "#202020",
- "editorHoverWidget.background": "#FAFAFD",
- "editorHoverWidget.border": "#E4E5E6FF",
- "peekView.border": "#0069CC",
- "peekViewEditor.background": "#FAFAFD",
- "peekViewEditor.matchHighlightBackground": "#0069CC33",
- "peekViewResult.background": "#FAFAFD",
- "peekViewResult.fileForeground": "#202020",
- "peekViewResult.lineForeground": "#606060",
- "peekViewResult.matchHighlightBackground": "#0069CC33",
- "peekViewResult.selectionBackground": "#0069CC26",
- "peekViewResult.selectionForeground": "#202020",
- "peekViewTitle.background": "#FAFAFD",
- "peekViewTitleDescription.foreground": "#606060",
- "peekViewTitleLabel.foreground": "#202020",
- "editorGutter.addedBackground": "#587c0c",
- "editorGutter.deletedBackground": "#ad0707",
- "diffEditor.insertedTextBackground": "#587c0c26",
- "diffEditor.removedTextBackground": "#ad070726",
- "editorOverviewRuler.border": "#F0F1F2FF",
- "editorOverviewRuler.findMatchForeground": "#0069CC99",
- "editorOverviewRuler.modifiedForeground": "#0069CC",
- "editorOverviewRuler.addedForeground": "#587c0c",
- "editorOverviewRuler.deletedForeground": "#ad0707",
- "editorOverviewRuler.errorForeground": "#ad0707",
- "editorOverviewRuler.warningForeground": "#667309",
- "editorGutter.background": "#FFFFFF",
- "panel.background": "#FAFAFD",
- "panel.border": "#F0F1F2FF",
- "panelTitle.activeBorder": "#000000",
- "panelTitle.activeForeground": "#202020",
- "panelTitle.inactiveForeground": "#606060",
- "statusBar.background": "#FAFAFD",
- "statusBar.foreground": "#606060",
- "statusBar.border": "#F0F1F2FF",
- "statusBar.focusBorder": "#0069CCFF",
- "statusBar.debuggingBackground": "#0069CC",
- "statusBar.debuggingForeground": "#FFFFFF",
- "statusBar.noFolderBackground": "#F0F0F3",
- "statusBar.noFolderForeground": "#606060",
- "statusBarItem.activeBackground": "#EEEEEE",
- "statusBarItem.hoverBackground": "#DADADA4f",
- "statusBarItem.focusBorder": "#0069CCFF",
- "statusBarItem.prominentBackground": "#0069CCDD",
- "statusBarItem.prominentForeground": "#FFFFFF",
- "statusBarItem.prominentHoverBackground": "#0069CC",
- "toolbar.hoverBackground": "#00000010",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeForeground": "#202020",
- "tab.inactiveBackground": "#FAFAFD",
- "tab.inactiveForeground": "#606060",
- "tab.border": "#F0F1F2FF",
- "tab.lastPinnedBorder": "#F0F1F2FF",
- "tab.activeBorderTop": "#000000",
- "tab.hoverBackground": "#FFFFFF",
- "tab.hoverForeground": "#202020",
- "tab.unfocusedActiveBackground": "#FAFAFD",
- "tab.unfocusedActiveForeground": "#606060",
- "tab.unfocusedInactiveBackground": "#FAFAFD",
- "tab.unfocusedInactiveForeground": "#BBBBBB",
- "editorGroupHeader.tabsBackground": "#FAFAFD",
- "tab.activeBorder": "#FFFFFF",
- "editorGroupHeader.tabsBorder": "#F0F1F2FF",
- "breadcrumb.foreground": "#606060",
- "breadcrumb.background": "#FFFFFF",
- "breadcrumb.focusForeground": "#202020",
- "breadcrumb.activeSelectionForeground": "#202020",
- "breadcrumbPicker.background": "#FAFAFD",
- "notificationCenter.border": "#F0F1F2FF",
- "notificationCenterHeader.foreground": "#202020",
- "notificationCenterHeader.background": "#FAFAFD",
- "notificationToast.border": "#F0F1F2FF",
- "notifications.foreground": "#202020",
- "notifications.background": "#FAFAFD",
- "notifications.border": "#F0F1F2FF",
- "notificationLink.foreground": "#0069CC",
- "notificationsWarningIcon.foreground": "#B69500",
- "notificationsErrorIcon.foreground": "#ad0707",
- "notificationsInfoIcon.foreground": "#0069CC",
- "activityWarningBadge.foreground": "#202020",
- "activityWarningBadge.background": "#F2C94C",
- "activityErrorBadge.foreground": "#FFFFFF",
- "activityErrorBadge.background": "#ad0707",
- "extensionButton.prominentBackground": "#0069CC",
- "extensionButton.prominentForeground": "#FFFFFF",
- "extensionButton.prominentHoverBackground": "#0064CC",
- "pickerGroup.border": "#EEEEF1",
- "pickerGroup.foreground": "#202020",
- "quickInput.background": "#FAFAFD",
- "quickInput.foreground": "#202020",
- "quickInputList.focusBackground": "#0069CC",
- "quickInputList.focusForeground": "#FFFFFF",
- "quickInputList.focusIconForeground": "#FFFFFF",
- "quickInputList.focusHighlightForeground": "#FFFFFF",
- "quickInputList.hoverBackground": "#EDF0F5",
- "terminal.selectionBackground": "#0069CC26",
- "terminalCursor.foreground": "#202020",
- "terminalCursor.background": "#FFFFFF",
- "gitDecoration.addedResourceForeground": "#587c0c",
- "gitDecoration.modifiedResourceForeground": "#667309",
- "gitDecoration.deletedResourceForeground": "#ad0707",
- "gitDecoration.untrackedResourceForeground": "#587c0c",
- "gitDecoration.ignoredResourceForeground": "#8E8E90",
- "gitDecoration.conflictingResourceForeground": "#ad0707",
- "gitDecoration.stageModifiedResourceForeground": "#667309",
- "gitDecoration.stageDeletedResourceForeground": "#ad0707",
- "commandCenter.activeBorder": "#D8D8D8",
- "quickInput.border": "#D8D8D8",
- "gauge.foreground": "#0069CC",
- "gauge.background": "#0069CC40",
- "gauge.border": "#F0F1F2FF",
- "gauge.warningForeground": "#B69500",
- "gauge.warningBackground": "#B6950040",
- "gauge.errorForeground": "#ad0707",
- "gauge.errorBackground": "#ad070740",
- "statusBarItem.prominentHoverForeground": "#FFFFFF",
- "quickInputTitle.background": "#FAFAFD",
- "chat.requestBubbleBackground": "#EEF4FB",
- "chat.requestBubbleHoverBackground": "#E6EDFA",
- "chat.thinkingShimmer": "#999999",
- "chat.inputWorkingBorderColor1": "#0069CC",
- "chat.inputWorkingBorderColor2": "#004A99",
- "chat.inputWorkingBorderColor3": "#3399E6",
- "editorCommentsWidget.rangeBackground": "#EEF4FB",
- "editorCommentsWidget.rangeActiveBackground": "#E6EDFA",
- "charts.foreground": "#202020",
- "charts.lines": "#20202066",
- "charts.blue": "#1A5CFF",
- "charts.red": "#ad0707",
- "charts.yellow": "#667309",
- "charts.orange": "#d18616",
- "charts.green": "#388A34",
- "charts.purple": "#652D90",
- "agentStatusIndicator.background": "#FFFFFF",
- "inlineChat.border": "#00000000",
- "minimapSlider.background": "#99999926",
- "minimapSlider.hoverBackground": "#99999940",
- "minimapSlider.activeBackground": "#99999955",
-
- "agents.background": "#FAFAFD",
- "agentsPanel.background": "#FFFFFF",
- "agentsPanel.foreground": "#202020",
- "agentsPanel.border": "#E4E5E6FF",
- "agentsGradient.tintColor": "#0069CC",
- "agentsChatInput.background": "#F7F7FA",
- "agentsChatInput.foreground": "#202020",
- "agentsChatInput.border": "#D8D8D8",
- "agentsChatInput.focusBorder": "#0069CCFF",
- "agentsChatInput.placeholderForeground": "#999999",
- "agentsNewSessionButton.background": "#00000000",
- "agentsNewSessionButton.foreground": "#202020",
- "agentsNewSessionButton.border": "#D8D8D8",
- "agentsNewSessionButton.hoverBackground": "#00000010",
- "agentsBadge.background": "#0069CC",
- "agentsBadge.foreground": "#FFFFFF",
- "agentsUnreadBadge.background": "#0069CC",
- "agentsUnreadBadge.foreground": "#FFFFFF"
- },
- "tokenColors": [
- {
- "scope": ["comment", "punctuation.definition.comment", "string.comment"],
- "settings": {
- "foreground": "#6e7781"
- }
- },
- {
- "scope": ["constant.other.placeholder", "constant.character"],
- "settings": {
- "foreground": "#cf222e"
- }
- },
- {
- "scope": [
- "constant",
- "entity.name.constant",
- "variable.other.constant",
- "variable.other.enummember",
- "variable.language",
- "entity"
- ],
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": ["entity.name", "meta.export.default", "meta.definition.variable"],
- "settings": {
- "foreground": "#953800"
- }
- },
- {
- "scope": [
- "variable.parameter.function",
- "meta.jsx.children",
- "meta.block",
- "meta.tag.attributes",
- "entity.name.constant",
- "meta.object.member",
- "meta.embedded.expression"
- ],
- "settings": {
- "foreground": "#1f2328"
- }
- },
- {
- "scope": "entity.name.function",
- "settings": {
- "foreground": "#8250df"
- }
- },
- {
- "scope": ["entity.name.tag", "support.class.component"],
- "settings": {
- "foreground": "#116329"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#cf222e"
- }
- },
- {
- "scope": ["storage", "storage.type"],
- "settings": {
- "foreground": "#cf222e"
- }
- },
- {
- "scope": ["storage.modifier.package", "storage.modifier.import", "storage.type.java"],
- "settings": {
- "foreground": "#1f2328"
- }
- },
- {
- "scope": ["string", "string punctuation.section.embedded source"],
- "settings": {
- "foreground": "#0a3069"
- }
- },
- {
- "scope": "support",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "meta.property-name",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "variable",
- "settings": {
- "foreground": "#953800"
- }
- },
- {
- "scope": "variable.other",
- "settings": {
- "foreground": "#1f2328"
- }
- },
- {
- "scope": "invalid.broken",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#82071e"
- }
- },
- {
- "scope": "invalid.deprecated",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#82071e"
- }
- },
- {
- "scope": "invalid.illegal",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#82071e"
- }
- },
- {
- "scope": "invalid.unimplemented",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#82071e"
- }
- },
- {
- "scope": "carriage-return",
- "settings": {
- "fontStyle": "italic underline",
- "background": "#cf222e",
- "foreground": "#f6f8fa",
- "content": "^M"
- }
- },
- {
- "scope": "message.error",
- "settings": {
- "foreground": "#82071e"
- }
- },
- {
- "scope": "string variable",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": ["source.regexp", "string.regexp"],
- "settings": {
- "foreground": "#0a3069"
- }
- },
- {
- "scope": [
- "string.regexp.character-class",
- "string.regexp constant.character.escape",
- "string.regexp source.ruby.embedded",
- "string.regexp string.regexp.arbitrary-repitition"
- ],
- "settings": {
- "foreground": "#0a3069"
- }
- },
- {
- "scope": "string.regexp constant.character.escape",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#116329"
- }
- },
- {
- "scope": "support.constant",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "support.variable",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "support.type.property-name.json",
- "settings": {
- "foreground": "#116329"
- }
- },
- {
- "scope": "meta.module-reference",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "punctuation.definition.list.begin.markdown",
- "settings": {
- "foreground": "#953800"
- }
- },
- {
- "scope": ["markup.heading", "markup.heading entity.name"],
- "settings": {
- "fontStyle": "bold",
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "markup.quote",
- "settings": {
- "foreground": "#116329"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#1f2328"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#1f2328"
- }
- },
- {
- "scope": ["markup.underline"],
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": ["markup.strikethrough"],
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inline.raw",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": ["markup.deleted", "meta.diff.header.from-file", "punctuation.definition.deleted"],
- "settings": {
- "background": "#ffebe9",
- "foreground": "#82071e"
- }
- },
- {
- "scope": ["punctuation.section.embedded"],
- "settings": {
- "foreground": "#cf222e"
- }
- },
- {
- "scope": ["markup.inserted", "meta.diff.header.to-file", "punctuation.definition.inserted"],
- "settings": {
- "background": "#dafbe1",
- "foreground": "#116329"
- }
- },
- {
- "scope": ["markup.changed", "punctuation.definition.changed"],
- "settings": {
- "background": "#ffd8b5",
- "foreground": "#953800"
- }
- },
- {
- "scope": ["markup.ignored", "markup.untracked"],
- "settings": {
- "foreground": "#eaeef2",
- "background": "#0550ae"
- }
- },
- {
- "scope": "meta.diff.range",
- "settings": {
- "foreground": "#8250df",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "meta.separator",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#0550ae"
- }
- },
- {
- "scope": "meta.output",
- "settings": {
- "foreground": "#0550ae"
- }
- },
- {
- "scope": [
- "brackethighlighter.tag",
- "brackethighlighter.curly",
- "brackethighlighter.round",
- "brackethighlighter.square",
- "brackethighlighter.angle",
- "brackethighlighter.quote"
- ],
- "settings": {
- "foreground": "#57606a"
- }
- },
- {
- "scope": "brackethighlighter.unmatched",
- "settings": {
- "foreground": "#82071e"
- }
- },
- {
- "scope": ["constant.other.reference.link", "string.other.link"],
- "settings": {
- "foreground": "#0a3069"
- }
- }
- ],
- "semanticHighlighting": true
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/LICENSE b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/LICENSE
deleted file mode 100644
index cdc81a49d2..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/LICENSE
+++ /dev/null
@@ -1,40 +0,0 @@
-MIT License
-
-Copyright (c) 2015 - present Microsoft Corporation
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
----
-
-These theme JSON files are vendored from:
- https://github.com/microsoft/vscode
-
-Source paths:
- extensions/theme-defaults/themes/dark_modern.json
- extensions/theme-defaults/themes/dark_plus.json
- extensions/theme-defaults/themes/dark_vs.json
- extensions/theme-defaults/themes/hc_black.json
- extensions/theme-defaults/themes/hc_light.json
- extensions/theme-defaults/themes/light_modern.json
- extensions/theme-defaults/themes/light_plus.json
- extensions/theme-defaults/themes/light_vs.json
- extensions/theme-defaults/themes/2026-dark.json
- extensions/theme-defaults/themes/2026-light.json
- extensions/theme-monokai/themes/monokai-color-theme.json
- extensions/theme-solarized-light/themes/solarized-light-color-theme.json
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_modern.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_modern.json
deleted file mode 100644
index df92562578..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_modern.json
+++ /dev/null
@@ -1,133 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Dark Modern",
- "include": "./dark_plus.json",
- "colors": {
- "activityBar.activeBorder": "#0078D4",
- "activityBar.background": "#181818",
- "activityBar.border": "#2B2B2B",
- "activityBar.foreground": "#D7D7D7",
- "activityBar.inactiveForeground": "#868686",
- "activityBarBadge.background": "#0078D4",
- "activityBarBadge.foreground": "#FFFFFF",
- "badge.background": "#616161",
- "badge.foreground": "#F8F8F8",
- "button.background": "#0078D4",
- "button.border": "#ffffff1a",
- "button.foreground": "#FFFFFF",
- "button.hoverBackground": "#026EC1",
- "button.secondaryBackground": "#00000000",
- "button.secondaryForeground": "#CCCCCC",
- "button.secondaryHoverBackground": "#2B2B2B",
- "chat.slashCommandBackground": "#26477866",
- "chat.slashCommandForeground": "#85B6FF",
- "chat.editedFileForeground": "#E2C08D",
- "checkbox.background": "#313131",
- "checkbox.border": "#3C3C3C",
- "debugToolBar.background": "#181818",
- "descriptionForeground": "#9D9D9D",
- "dropdown.background": "#313131",
- "dropdown.border": "#3C3C3C",
- "dropdown.foreground": "#CCCCCC",
- "dropdown.listBackground": "#1F1F1F",
- "editor.background": "#1F1F1F",
- "editor.findMatchBackground": "#9E6A03",
- "editor.foreground": "#CCCCCC",
- "editorGroup.border": "#FFFFFF17",
- "editorGroupHeader.tabsBackground": "#181818",
- "editorGroupHeader.tabsBorder": "#2B2B2B",
- "editorGutter.addedBackground": "#2EA043",
- "editorGutter.deletedBackground": "#F85149",
- "editorGutter.modifiedBackground": "#0078D4",
- "editorLineNumber.activeForeground": "#CCCCCC",
- "editorLineNumber.foreground": "#6E7681",
- "editorOverviewRuler.border": "#010409",
- "editorWidget.background": "#202020",
- "errorForeground": "#F85149",
- "focusBorder": "#0078D4",
- "foreground": "#CCCCCC",
- "icon.foreground": "#CCCCCC",
- "input.background": "#313131",
- "input.border": "#3C3C3C",
- "input.foreground": "#CCCCCC",
- "input.placeholderForeground": "#989898",
- "inputOption.activeBackground": "#2489DB82",
- "inputOption.activeBorder": "#2488DB",
- "keybindingLabel.foreground": "#CCCCCC",
- "menu.background": "#1F1F1F",
- "menu.selectionBackground": "#0078d4",
- "notificationCenterHeader.background": "#1F1F1F",
- "notificationCenterHeader.foreground": "#CCCCCC",
- "notifications.background": "#1F1F1F",
- "notifications.border": "#2B2B2B",
- "notifications.foreground": "#CCCCCC",
- "panel.background": "#181818",
- "panel.border": "#2B2B2B",
- "panelInput.border": "#2B2B2B",
- "panelTitle.activeBorder": "#0078D4",
- "panelTitle.activeForeground": "#CCCCCC",
- "panelTitle.inactiveForeground": "#9D9D9D",
- "peekViewEditor.background": "#1F1F1F",
- "peekViewEditor.matchHighlightBackground": "#BB800966",
- "peekViewResult.background": "#1F1F1F",
- "peekViewResult.matchHighlightBackground": "#BB800966",
- "pickerGroup.border": "#3C3C3C",
- "progressBar.background": "#0078D4",
- "quickInput.background": "#222222",
- "quickInput.foreground": "#CCCCCC",
- "settings.dropdownBackground": "#313131",
- "settings.dropdownBorder": "#3C3C3C",
- "settings.headerForeground": "#FFFFFF",
- "settings.modifiedItemIndicator": "#BB800966",
- "sideBar.background": "#181818",
- "sideBar.border": "#2B2B2B",
- "sideBar.foreground": "#CCCCCC",
- "sideBarSectionHeader.background": "#181818",
- "sideBarSectionHeader.border": "#2B2B2B",
- "sideBarSectionHeader.foreground": "#CCCCCC",
- "sideBarTitle.foreground": "#CCCCCC",
- "statusBar.background": "#181818",
- "statusBar.border": "#2B2B2B",
- "statusBarItem.hoverBackground": "#F1F1F133",
- "statusBarItem.hoverForeground": "#FFFFFF",
- "statusBar.debuggingBackground": "#0078D4",
- "statusBar.debuggingForeground": "#FFFFFF",
- "statusBar.focusBorder": "#0078D4",
- "statusBar.foreground": "#CCCCCC",
- "statusBar.noFolderBackground": "#1F1F1F",
- "statusBarItem.focusBorder": "#0078D4",
- "statusBarItem.prominentBackground": "#6E768166",
- "statusBarItem.remoteBackground": "#0078D4",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#1F1F1F",
- "tab.activeBorder": "#1F1F1F",
- "tab.activeBorderTop": "#0078D4",
- "tab.activeForeground": "#FFFFFF",
- "tab.selectedBorderTop": "#6caddf",
- "tab.border": "#2B2B2B",
- "tab.hoverBackground": "#1F1F1F",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9D9D9D",
- "tab.unfocusedActiveBorder": "#1F1F1F",
- "tab.unfocusedActiveBorderTop": "#2B2B2B",
- "tab.unfocusedHoverBackground": "#1F1F1F",
- "terminal.foreground": "#CCCCCC",
- "terminal.tab.activeBorder": "#0078D4",
- "textBlockQuote.background": "#2B2B2B",
- "textBlockQuote.border": "#616161",
- "textCodeBlock.background": "#2B2B2B",
- "textLink.activeForeground": "#4daafc",
- "textLink.foreground": "#4daafc",
- "textPreformat.foreground": "#D0D0D0",
- "textPreformat.background": "#3C3C3C",
- "textSeparator.foreground": "#21262D",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#CCCCCC",
- "titleBar.border": "#2B2B2B",
- "titleBar.inactiveBackground": "#1F1F1F",
- "titleBar.inactiveForeground": "#9D9D9D",
- "welcomePage.tileBackground": "#2B2B2B",
- "welcomePage.progress.foreground": "#0078D4",
- "widget.border": "#313131"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_plus.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_plus.json
deleted file mode 100644
index d0e28f61cd..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_plus.json
+++ /dev/null
@@ -1,194 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Dark+",
- "include": "./dark_vs.json",
- "tokenColors": [
- {
- "name": "Function declarations",
- "scope": [
- "entity.name.function",
- "support.function",
- "support.constant.handlebars",
- "source.powershell variable.other.member",
- "entity.name.operator.custom-literal" // See https://en.cppreference.com/w/cpp/language/user_literal
- ],
- "settings": {
- "foreground": "#DCDCAA"
- }
- },
- {
- "name": "Types declaration and references",
- "scope": [
- "support.class",
- "support.type",
- "entity.name.type",
- "entity.name.namespace",
- "entity.other.attribute",
- "entity.name.scope-resolution",
- "entity.name.class",
- "storage.type.numeric.go",
- "storage.type.byte.go",
- "storage.type.boolean.go",
- "storage.type.string.go",
- "storage.type.uintptr.go",
- "storage.type.error.go",
- "storage.type.rune.go",
- "storage.type.cs",
- "storage.type.generic.cs",
- "storage.type.modifier.cs",
- "storage.type.variable.cs",
- "storage.type.annotation.java",
- "storage.type.generic.java",
- "storage.type.java",
- "storage.type.object.array.java",
- "storage.type.primitive.array.java",
- "storage.type.primitive.java",
- "storage.type.token.java",
- "storage.type.groovy",
- "storage.type.annotation.groovy",
- "storage.type.parameters.groovy",
- "storage.type.generic.groovy",
- "storage.type.object.array.groovy",
- "storage.type.primitive.array.groovy",
- "storage.type.primitive.groovy"
- ],
- "settings": {
- "foreground": "#4EC9B0"
- }
- },
- {
- "name": "Types declaration and references, TS grammar specific",
- "scope": [
- "meta.type.cast.expr",
- "meta.type.new.expr",
- "support.constant.math",
- "support.constant.dom",
- "support.constant.json",
- "entity.other.inherited-class",
- "punctuation.separator.namespace.ruby"
- ],
- "settings": {
- "foreground": "#4EC9B0"
- }
- },
- {
- "name": "Control flow / Special keywords",
- "scope": [
- "keyword.control",
- "source.cpp keyword.operator.new",
- "keyword.operator.delete",
- "keyword.other.using",
- "keyword.other.directive.using",
- "keyword.other.operator",
- "entity.name.operator"
- ],
- "settings": {
- "foreground": "#C586C0"
- }
- },
- {
- "name": "Variable and parameter name",
- "scope": [
- "variable",
- "meta.definition.variable.name",
- "support.variable",
- "entity.name.variable",
- "constant.other.placeholder" // placeholders in strings
- ],
- "settings": {
- "foreground": "#9CDCFE"
- }
- },
- {
- "name": "Constants and enums",
- "scope": ["variable.other.constant", "variable.other.enummember"],
- "settings": {
- "foreground": "#4FC1FF"
- }
- },
- {
- "name": "Object keys, TS grammar specific",
- "scope": ["meta.object-literal.key"],
- "settings": {
- "foreground": "#9CDCFE"
- }
- },
- {
- "name": "CSS property value",
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#CE9178"
- }
- },
- {
- "name": "Regular expression groups",
- "scope": [
- "punctuation.definition.group.regexp",
- "punctuation.definition.group.assertion.regexp",
- "punctuation.definition.character-class.regexp",
- "punctuation.character.set.begin.regexp",
- "punctuation.character.set.end.regexp",
- "keyword.operator.negation.regexp",
- "support.other.parenthesis.regexp"
- ],
- "settings": {
- "foreground": "#CE9178"
- }
- },
- {
- "scope": [
- "constant.character.character-class.regexp",
- "constant.other.character-class.set.regexp",
- "constant.other.character-class.regexp",
- "constant.character.set.regexp"
- ],
- "settings": {
- "foreground": "#d16969"
- }
- },
- {
- "scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"],
- "settings": {
- "foreground": "#DCDCAA"
- }
- },
- {
- "scope": "keyword.operator.quantifier.regexp",
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": ["constant.character", "constant.other.option"],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "constant.character.escape",
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": "entity.name.label",
- "settings": {
- "foreground": "#C8C8C8"
- }
- }
- ],
- "semanticTokenColors": {
- "newOperator": "#C586C0",
- "stringLiteral": "#ce9178",
- "customLiteral": "#DCDCAA",
- "numberLiteral": "#b5cea8"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_vs.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_vs.json
deleted file mode 100644
index 391880f5c4..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_vs.json
+++ /dev/null
@@ -1,395 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Dark (Visual Studio)",
- "colors": {
- "checkbox.border": "#6B6B6B",
- "editor.background": "#1E1E1E",
- "editor.foreground": "#D4D4D4",
- "editor.inactiveSelectionBackground": "#3A3D41",
- "editorIndentGuide.background1": "#404040",
- "editorIndentGuide.activeBackground1": "#707070",
- "editor.selectionHighlightBackground": "#ADD6FF26",
- "list.dropBackground": "#383B3D",
- "activityBarBadge.background": "#007ACC",
- "sideBarTitle.foreground": "#BBBBBB",
- "input.placeholderForeground": "#A6A6A6",
- "menu.background": "#252526",
- "menu.foreground": "#CCCCCC",
- "menu.separatorBackground": "#454545",
- "menu.border": "#454545",
- "menu.selectionBackground": "#0078d4",
- "statusBarItem.remoteForeground": "#FFF",
- "statusBarItem.remoteBackground": "#16825D",
- "ports.iconRunningProcessForeground": "#369432",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#ccc3",
- "tab.selectedBackground": "#222222",
- "tab.selectedForeground": "#ffffffa0",
- "tab.lastPinnedBorder": "#ccc3",
- "list.activeSelectionIconForeground": "#FFF",
- "terminal.inactiveSelectionBackground": "#3A3D41",
- "widget.border": "#303031",
- "actionBar.toggledBackground": "#383a49"
- },
- "tokenColors": [
- {
- "scope": [
- "meta.embedded",
- "source.groovy.embedded",
- "string meta.image.inline.markdown",
- "variable.legacy.builtin.python"
- ],
- "settings": {
- "foreground": "#D4D4D4"
- }
- },
- {
- "scope": "emphasis",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "strong",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "scope": "header",
- "settings": {
- "foreground": "#000080"
- }
- },
- {
- "scope": "comment",
- "settings": {
- "foreground": "#6A9955"
- }
- },
- {
- "scope": "constant.language",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": [
- "constant.numeric",
- "variable.other.enummember",
- "keyword.operator.plus.exponent",
- "keyword.operator.minus.exponent"
- ],
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "constant.regexp",
- "settings": {
- "foreground": "#646695"
- }
- },
- {
- "scope": "entity.name.tag",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": ["entity.name.tag.css", "entity.name.tag.less"],
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": "entity.other.attribute-name",
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": [
- "entity.other.attribute-name.class.css",
- "source.css entity.other.attribute-name.class",
- "entity.other.attribute-name.id.css",
- "entity.other.attribute-name.parent-selector.css",
- "entity.other.attribute-name.parent.less",
- "source.css entity.other.attribute-name.pseudo-class",
- "entity.other.attribute-name.pseudo-element.css",
- "source.css.less entity.other.attribute-name.id",
- "entity.other.attribute-name.scss"
- ],
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": "invalid",
- "settings": {
- "foreground": "#f44747"
- }
- },
- {
- "scope": "markup.underline",
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "markup.heading",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#C586C0"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "markup.deleted",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "markup.changed",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "punctuation.definition.quote.begin.markdown",
- "settings": {
- "foreground": "#6A9955"
- }
- },
- {
- "scope": "punctuation.definition.list.begin.markdown",
- "settings": {
- "foreground": "#6796e6"
- }
- },
- {
- "scope": "markup.inline.raw",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "name": "brackets of XML/HTML tags",
- "scope": "punctuation.definition.tag",
- "settings": {
- "foreground": "#808080"
- }
- },
- {
- "scope": ["meta.preprocessor", "entity.name.function.preprocessor"],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "meta.preprocessor.string",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "meta.preprocessor.numeric",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "meta.structure.dictionary.key.python",
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "storage",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "storage.type",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": ["storage.modifier", "keyword.operator.noexcept"],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": ["string", "meta.embedded.assembly"],
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.tag",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.value",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.regexp",
- "settings": {
- "foreground": "#d16969"
- }
- },
- {
- "name": "String interpolation",
- "scope": [
- "punctuation.definition.template-expression.begin",
- "punctuation.definition.template-expression.end",
- "punctuation.section.embedded"
- ],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "name": "Reset JavaScript string interpolation expression",
- "scope": ["meta.template.expression"],
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "scope": [
- "support.type.vendored.property-name",
- "support.type.property-name",
- "source.css variable",
- "source.coffee.embedded"
- ],
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.control",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.operator",
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "scope": [
- "keyword.operator.new",
- "keyword.operator.expression",
- "keyword.operator.cast",
- "keyword.operator.sizeof",
- "keyword.operator.alignof",
- "keyword.operator.typeid",
- "keyword.operator.alignas",
- "keyword.operator.instanceof",
- "keyword.operator.logical.python",
- "keyword.operator.wordlike"
- ],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.other.unit",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "support.function.git-rebase",
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": "constant.sha.git-rebase",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "name": "coloring of the Java import and package identifiers",
- "scope": [
- "storage.modifier.import.java",
- "variable.language.wildcard.java",
- "storage.modifier.package.java"
- ],
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "name": "this.self",
- "scope": "variable.language",
- "settings": {
- "foreground": "#569cd6"
- }
- }
- ],
- "semanticHighlighting": true,
- "semanticTokenColors": {
- "newOperator": "#d4d4d4",
- "stringLiteral": "#ce9178",
- "customLiteral": "#D4D4D4",
- "numberLiteral": "#b5cea8"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_black.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_black.json
deleted file mode 100644
index b00c8d0988..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_black.json
+++ /dev/null
@@ -1,456 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Dark High Contrast",
- "colors": {
- "editor.background": "#000000",
- "editor.foreground": "#FFFFFF",
- "editorIndentGuide.background1": "#FFFFFF",
- "editorIndentGuide.activeBackground1": "#FFFFFF",
- "sideBarTitle.foreground": "#FFFFFF",
- "selection.background": "#008000",
- "editor.selectionBackground": "#FFFFFF",
- "statusBarItem.remoteBackground": "#00000000",
- "ports.iconRunningProcessForeground": "#FFFFFF",
- "editorWhitespace.foreground": "#7c7c7c",
- "actionBar.toggledBackground": "#383a49"
- },
- "tokenColors": [
- {
- "scope": [
- "meta.embedded",
- "source.groovy.embedded",
- "string meta.image.inline.markdown",
- "variable.legacy.builtin.python"
- ],
- "settings": {
- "foreground": "#FFFFFF"
- }
- },
- {
- "scope": "emphasis",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "strong",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#000080"
- }
- },
- {
- "scope": "comment",
- "settings": {
- "foreground": "#7ca668"
- }
- },
- {
- "scope": "constant.language",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": [
- "constant.numeric",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "constant.regexp",
- "settings": {
- "foreground": "#b46695"
- }
- },
- {
- "scope": "constant.character",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "entity.name.tag",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": ["entity.name.tag.css", "entity.name.tag.less"],
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": "entity.other.attribute-name",
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": [
- "entity.other.attribute-name.class.css",
- "source.css entity.other.attribute-name.class",
- "entity.other.attribute-name.id.css",
- "entity.other.attribute-name.parent-selector.css",
- "entity.other.attribute-name.parent.less",
- "source.css entity.other.attribute-name.pseudo-class",
- "entity.other.attribute-name.pseudo-element.css",
- "source.css.less entity.other.attribute-name.id",
- "entity.other.attribute-name.scss"
- ],
- "settings": {
- "foreground": "#d7ba7d"
- }
- },
- {
- "scope": "invalid",
- "settings": {
- "foreground": "#f44747"
- }
- },
- {
- "scope": "markup.underline",
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "scope": "markup.heading",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#6796e6"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "markup.deleted",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "markup.changed",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "name": "brackets of XML/HTML tags",
- "scope": ["punctuation.definition.tag"],
- "settings": {
- "foreground": "#808080"
- }
- },
- {
- "scope": "meta.preprocessor",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "meta.preprocessor.string",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "meta.preprocessor.numeric",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "meta.structure.dictionary.key.python",
- "settings": {
- "foreground": "#9cdcfe"
- }
- },
- {
- "scope": "storage",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "storage.type",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "storage.modifier",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "string",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.tag",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.value",
- "settings": {
- "foreground": "#ce9178"
- }
- },
- {
- "scope": "string.regexp",
- "settings": {
- "foreground": "#d16969"
- }
- },
- {
- "name": "String interpolation",
- "scope": [
- "punctuation.definition.template-expression.begin",
- "punctuation.definition.template-expression.end",
- "punctuation.section.embedded"
- ],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "name": "Reset JavaScript string interpolation expression",
- "scope": ["meta.template.expression"],
- "settings": {
- "foreground": "#ffffff"
- }
- },
- {
- "scope": [
- "support.type.vendored.property-name",
- "support.type.property-name",
- "source.css variable",
- "source.coffee.embedded"
- ],
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.control",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.operator",
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "scope": [
- "keyword.operator.new",
- "keyword.operator.expression",
- "keyword.operator.cast",
- "keyword.operator.sizeof",
- "keyword.operator.logical.python"
- ],
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "scope": "keyword.other.unit",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "scope": "support.function.git-rebase",
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "scope": "constant.sha.git-rebase",
- "settings": {
- "foreground": "#b5cea8"
- }
- },
- {
- "name": "coloring of the Java import and package identifiers",
- "scope": [
- "storage.modifier.import.java",
- "variable.language.wildcard.java",
- "storage.modifier.package.java"
- ],
- "settings": {
- "foreground": "#d4d4d4"
- }
- },
- {
- "name": "coloring of the TS this",
- "scope": "variable.language.this",
- "settings": {
- "foreground": "#569cd6"
- }
- },
- {
- "name": "Function declarations",
- "scope": [
- "entity.name.function",
- "support.function",
- "support.constant.handlebars",
- "source.powershell variable.other.member"
- ],
- "settings": {
- "foreground": "#DCDCAA"
- }
- },
- {
- "name": "Types declaration and references",
- "scope": [
- "support.class",
- "support.type",
- "entity.name.type",
- "entity.name.namespace",
- "entity.name.scope-resolution",
- "entity.name.class",
- "storage.type.cs",
- "storage.type.generic.cs",
- "storage.type.modifier.cs",
- "storage.type.variable.cs",
- "storage.type.annotation.java",
- "storage.type.generic.java",
- "storage.type.java",
- "storage.type.object.array.java",
- "storage.type.primitive.array.java",
- "storage.type.primitive.java",
- "storage.type.token.java",
- "storage.type.groovy",
- "storage.type.annotation.groovy",
- "storage.type.parameters.groovy",
- "storage.type.generic.groovy",
- "storage.type.object.array.groovy",
- "storage.type.primitive.array.groovy",
- "storage.type.primitive.groovy"
- ],
- "settings": {
- "foreground": "#4EC9B0"
- }
- },
- {
- "name": "Types declaration and references, TS grammar specific",
- "scope": [
- "meta.type.cast.expr",
- "meta.type.new.expr",
- "support.constant.math",
- "support.constant.dom",
- "support.constant.json",
- "entity.other.inherited-class",
- "punctuation.separator.namespace.ruby"
- ],
- "settings": {
- "foreground": "#4EC9B0"
- }
- },
- {
- "name": "Control flow / Special keywords",
- "scope": [
- "keyword.control",
- "source.cpp keyword.operator.new",
- "source.cpp keyword.operator.delete",
- "keyword.other.using",
- "keyword.other.directive.using",
- "keyword.other.operator"
- ],
- "settings": {
- "foreground": "#C586C0"
- }
- },
- {
- "name": "Variable and parameter name",
- "scope": ["variable", "meta.definition.variable.name", "support.variable"],
- "settings": {
- "foreground": "#9CDCFE"
- }
- },
- {
- "name": "Object keys, TS grammar specific",
- "scope": ["meta.object-literal.key"],
- "settings": {
- "foreground": "#9CDCFE"
- }
- },
- {
- "name": "CSS property value",
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#CE9178"
- }
- },
- {
- "name": "HC Search Editor context line override",
- "scope": "meta.resultLinePrefix.contextLinePrefix.search",
- "settings": {
- "foreground": "#CBEDCB"
- }
- }
- ],
- "semanticHighlighting": true,
- "semanticTokenColors": {
- "newOperator": "#FFFFFF",
- "stringLiteral": "#ce9178",
- "customLiteral": "#DCDCAA",
- "numberLiteral": "#b5cea8"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_light.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_light.json
deleted file mode 100644
index 8663403d89..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_light.json
+++ /dev/null
@@ -1,570 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Light High Contrast",
- "tokenColors": [
- {
- "scope": ["meta.embedded", "source.groovy.embedded", "variable.legacy.builtin.python"],
- "settings": {
- "foreground": "#292929"
- }
- },
- {
- "scope": "emphasis",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "strong",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#062F4A"
- }
- },
- {
- "scope": "comment",
- "settings": {
- "foreground": "#515151"
- }
- },
- {
- "scope": "constant.language",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": [
- "constant.numeric",
- "variable.other.enummember",
- "keyword.operator.plus.exponent",
- "keyword.operator.minus.exponent"
- ],
- "settings": {
- "foreground": "#096d48"
- }
- },
- {
- "scope": "constant.regexp",
- "settings": {
- "foreground": "#811F3F"
- }
- },
- {
- "scope": "entity.name.tag",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "entity.name.selector",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "entity.other.attribute-name",
- "settings": {
- "foreground": "#264F78"
- }
- },
- {
- "scope": [
- "entity.other.attribute-name.class.css",
- "source.css entity.other.attribute-name.class",
- "entity.other.attribute-name.id.css",
- "entity.other.attribute-name.parent-selector.css",
- "entity.other.attribute-name.parent.less",
- "source.css entity.other.attribute-name.pseudo-class",
- "entity.other.attribute-name.pseudo-element.css",
- "source.css.less entity.other.attribute-name.id",
- "entity.other.attribute-name.scss"
- ],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "invalid",
- "settings": {
- "foreground": "#B5200D"
- }
- },
- {
- "scope": "markup.underline",
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "foreground": "#000080",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "markup.heading",
- "settings": {
- "foreground": "#0F4A85",
- "fontStyle": "bold"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#800080"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#096d48"
- }
- },
- {
- "scope": "markup.deleted",
- "settings": {
- "foreground": "#5A5A5A"
- }
- },
- {
- "scope": "markup.changed",
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": [
- "punctuation.definition.quote.begin.markdown",
- "punctuation.definition.list.begin.markdown"
- ],
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": "markup.inline.raw",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "punctuation.definition.tag",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": ["meta.preprocessor", "entity.name.function.preprocessor"],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "meta.preprocessor.string",
- "settings": {
- "foreground": "#b5200d"
- }
- },
- {
- "scope": "meta.preprocessor.numeric",
- "settings": {
- "foreground": "#096d48"
- }
- },
- {
- "scope": "meta.structure.dictionary.key.python",
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": "storage",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "storage.type",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": ["storage.modifier", "keyword.operator.noexcept"],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": ["string", "meta.embedded.assembly"],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": [
- "string.comment.buffered.block.pug",
- "string.quoted.pug",
- "string.interpolated.pug",
- "string.unquoted.plain.in.yaml",
- "string.unquoted.plain.out.yaml",
- "string.unquoted.block.yaml",
- "string.quoted.single.yaml",
- "string.quoted.double.xml",
- "string.quoted.single.xml",
- "string.unquoted.cdata.xml",
- "string.quoted.double.html",
- "string.quoted.single.html",
- "string.unquoted.html",
- "string.quoted.single.handlebars",
- "string.quoted.double.handlebars"
- ],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "string.regexp",
- "settings": {
- "foreground": "#811F3F"
- }
- },
- {
- "scope": [
- "punctuation.definition.template-expression.begin",
- "punctuation.definition.template-expression.end",
- "punctuation.section.embedded"
- ],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": ["meta.template.expression"],
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": [
- "support.type.vendored.property-name",
- "support.type.property-name",
- "source.css variable",
- "source.coffee.embedded"
- ],
- "settings": {
- "foreground": "#264F78"
- }
- },
- {
- "scope": ["support.type.property-name.json"],
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "keyword.control",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "keyword.operator",
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": [
- "keyword.operator.new",
- "keyword.operator.expression",
- "keyword.operator.cast",
- "keyword.operator.sizeof",
- "keyword.operator.alignof",
- "keyword.operator.typeid",
- "keyword.operator.alignas",
- "keyword.operator.instanceof",
- "keyword.operator.logical.python",
- "keyword.operator.wordlike"
- ],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "keyword.other.unit",
- "settings": {
- "foreground": "#096d48"
- }
- },
- {
- "scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"],
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "support.function.git-rebase",
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": "constant.sha.git-rebase",
- "settings": {
- "foreground": "#096d48"
- }
- },
- {
- "scope": [
- "storage.modifier.import.java",
- "variable.language.wildcard.java",
- "storage.modifier.package.java"
- ],
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": "variable.language",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": [
- "entity.name.function",
- "support.function",
- "support.constant.handlebars",
- "source.powershell variable.other.member",
- "entity.name.operator.custom-literal"
- ],
- "settings": {
- "foreground": "#5e2cbc"
- }
- },
- {
- "scope": [
- "support.class",
- "support.type",
- "entity.name.type",
- "entity.name.namespace",
- "entity.other.attribute",
- "entity.name.scope-resolution",
- "entity.name.class",
- "storage.type.numeric.go",
- "storage.type.byte.go",
- "storage.type.boolean.go",
- "storage.type.string.go",
- "storage.type.uintptr.go",
- "storage.type.error.go",
- "storage.type.rune.go",
- "storage.type.cs",
- "storage.type.generic.cs",
- "storage.type.modifier.cs",
- "storage.type.variable.cs",
- "storage.type.annotation.java",
- "storage.type.generic.java",
- "storage.type.java",
- "storage.type.object.array.java",
- "storage.type.primitive.array.java",
- "storage.type.primitive.java",
- "storage.type.token.java",
- "storage.type.groovy",
- "storage.type.annotation.groovy",
- "storage.type.parameters.groovy",
- "storage.type.generic.groovy",
- "storage.type.object.array.groovy",
- "storage.type.primitive.array.groovy",
- "storage.type.primitive.groovy"
- ],
- "settings": {
- "foreground": "#185E73"
- }
- },
- {
- "scope": [
- "meta.type.cast.expr",
- "meta.type.new.expr",
- "support.constant.math",
- "support.constant.dom",
- "support.constant.json",
- "entity.other.inherited-class",
- "punctuation.separator.namespace.ruby"
- ],
- "settings": {
- "foreground": "#185E73"
- }
- },
- {
- "scope": [
- "keyword.control",
- "source.cpp keyword.operator.new",
- "source.cpp keyword.operator.delete",
- "keyword.other.using",
- "keyword.other.directive.using",
- "keyword.other.operator",
- "entity.name.operator"
- ],
- "settings": {
- "foreground": "#b5200d"
- }
- },
- {
- "scope": [
- "variable",
- "meta.definition.variable.name",
- "support.variable",
- "entity.name.variable",
- "constant.other.placeholder"
- ],
- "settings": {
- "foreground": "#001080"
- }
- },
- {
- "scope": ["variable.other.constant", "variable.other.enummember"],
- "settings": {
- "foreground": "#02715D"
- }
- },
- {
- "scope": ["meta.object-literal.key"],
- "settings": {
- "foreground": "#001080"
- }
- },
- {
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#0451A5"
- }
- },
- {
- "scope": [
- "punctuation.definition.group.regexp",
- "punctuation.definition.group.assertion.regexp",
- "punctuation.definition.character-class.regexp",
- "punctuation.character.set.begin.regexp",
- "punctuation.character.set.end.regexp",
- "keyword.operator.negation.regexp",
- "support.other.parenthesis.regexp"
- ],
- "settings": {
- "foreground": "#D16969"
- }
- },
- {
- "scope": [
- "constant.character.character-class.regexp",
- "constant.other.character-class.set.regexp",
- "constant.other.character-class.regexp",
- "constant.character.set.regexp"
- ],
- "settings": {
- "foreground": "#811F3F"
- }
- },
- {
- "scope": "keyword.operator.quantifier.regexp",
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"],
- "settings": {
- "foreground": "#EE0000"
- }
- },
- {
- "scope": "constant.character",
- "settings": {
- "foreground": "#0F4A85"
- }
- },
- {
- "scope": "constant.character.escape",
- "settings": {
- "foreground": "#EE0000"
- }
- },
- {
- "scope": "entity.name.label",
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": "token.info-token",
- "settings": {
- "foreground": "#316BCD"
- }
- },
- {
- "scope": "token.warn-token",
- "settings": {
- "foreground": "#CD9731"
- }
- },
- {
- "scope": "token.error-token",
- "settings": {
- "foreground": "#CD3131"
- }
- },
- {
- "scope": "token.debug-token",
- "settings": {
- "foreground": "#800080"
- }
- }
- ],
- "colors": {
- "actionBar.toggledBackground": "#dddddd",
- "statusBarItem.remoteBackground": "#FFFFFF",
- "statusBarItem.remoteForeground": "#000000"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_modern.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_modern.json
deleted file mode 100644
index 62be03a2f4..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_modern.json
+++ /dev/null
@@ -1,152 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Light Modern",
- "include": "./light_plus.json",
- "colors": {
- "activityBar.activeBorder": "#005FB8",
- "activityBar.background": "#F8F8F8",
- "activityBar.border": "#E5E5E5",
- "activityBar.foreground": "#1F1F1F",
- "activityBar.inactiveForeground": "#616161",
- "activityBarBadge.background": "#005FB8",
- "activityBarBadge.foreground": "#FFFFFF",
- "badge.background": "#CCCCCC",
- "badge.foreground": "#3B3B3B",
- "button.background": "#005FB8",
- "button.border": "#0000001a",
- "button.foreground": "#FFFFFF",
- "button.hoverBackground": "#0258A8",
- "button.secondaryBackground": "#E5E5E5",
- "button.secondaryForeground": "#3B3B3B",
- "button.secondaryHoverBackground": "#CCCCCC",
- "chat.slashCommandBackground": "#ADCEFF7A",
- "chat.slashCommandForeground": "#26569E",
- "chat.editedFileForeground": "#895503",
- "checkbox.background": "#F8F8F8",
- "checkbox.border": "#CECECE",
- "descriptionForeground": "#3B3B3B",
- "dropdown.background": "#FFFFFF",
- "dropdown.border": "#CECECE",
- "dropdown.foreground": "#3B3B3B",
- "dropdown.listBackground": "#FFFFFF",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#3B3B3B",
- "editor.inactiveSelectionBackground": "#E5EBF1",
- "editor.selectionHighlightBackground": "#ADD6FF80",
- "editorGroup.border": "#E5E5E5",
- "editorGroupHeader.tabsBackground": "#F8F8F8",
- "editorGroupHeader.tabsBorder": "#E5E5E5",
- "editorGutter.addedBackground": "#2EA043",
- "editorGutter.deletedBackground": "#F85149",
- "editorGutter.modifiedBackground": "#005FB8",
- "editorIndentGuide.background1": "#D3D3D3",
- "editorLineNumber.activeForeground": "#171184",
- "editorLineNumber.foreground": "#6E7681",
- "editorOverviewRuler.border": "#E5E5E5",
- "editorSuggestWidget.background": "#F8F8F8",
- "editorWidget.background": "#F8F8F8",
- "errorForeground": "#F85149",
- "focusBorder": "#005FB8",
- "foreground": "#3B3B3B",
- "icon.foreground": "#3B3B3B",
- "input.background": "#FFFFFF",
- "input.border": "#CECECE",
- "input.foreground": "#3B3B3B",
- "input.placeholderForeground": "#767676",
- "inputOption.activeBackground": "#BED6ED",
- "inputOption.activeBorder": "#005FB8",
- "inputOption.activeForeground": "#000000",
- "keybindingLabel.foreground": "#3B3B3B",
- "list.activeSelectionBackground": "#E8E8E8",
- "list.activeSelectionForeground": "#000000",
- "list.activeSelectionIconForeground": "#000000",
- "list.hoverBackground": "#F2F2F2",
- "list.focusAndSelectionOutline": "#005FB8",
- "menu.border": "#CECECE",
- "menu.selectionBackground": "#005FB8",
- "menu.selectionForeground": "#ffffff",
- "notebook.cellBorderColor": "#E5E5E5",
- "notebook.selectedCellBackground": "#C8DDF150",
- "notificationCenterHeader.background": "#FFFFFF",
- "notificationCenterHeader.foreground": "#3B3B3B",
- "notifications.background": "#FFFFFF",
- "notifications.border": "#E5E5E5",
- "notifications.foreground": "#3B3B3B",
- "panel.background": "#F8F8F8",
- "panel.border": "#E5E5E5",
- "panelInput.border": "#E5E5E5",
- "panelTitle.activeBorder": "#005FB8",
- "panelTitle.activeForeground": "#3B3B3B",
- "panelTitle.inactiveForeground": "#3B3B3B",
- "peekViewEditor.matchHighlightBackground": "#BB800966",
- "peekViewResult.background": "#FFFFFF",
- "peekViewResult.matchHighlightBackground": "#BB800966",
- "pickerGroup.border": "#E5E5E5",
- "pickerGroup.foreground": "#8B949E",
- "ports.iconRunningProcessForeground": "#369432",
- "progressBar.background": "#005FB8",
- "quickInput.background": "#F8F8F8",
- "quickInput.foreground": "#3B3B3B",
- "searchEditor.textInputBorder": "#CECECE",
- "settings.dropdownBackground": "#FFFFFF",
- "settings.dropdownBorder": "#CECECE",
- "settings.headerForeground": "#1F1F1F",
- "settings.modifiedItemIndicator": "#BB800966",
- "settings.numberInputBorder": "#CECECE",
- "settings.textInputBorder": "#CECECE",
- "sideBar.background": "#F8F8F8",
- "sideBar.border": "#E5E5E5",
- "sideBar.foreground": "#3B3B3B",
- "sideBarSectionHeader.background": "#F8F8F8",
- "sideBarSectionHeader.border": "#E5E5E5",
- "sideBarSectionHeader.foreground": "#3B3B3B",
- "sideBarTitle.foreground": "#3B3B3B",
- "statusBar.background": "#F8F8F8",
- "statusBar.foreground": "#3B3B3B",
- "statusBar.border": "#E5E5E5",
- "statusBarItem.hoverBackground": "#1F1F1F11",
- "statusBarItem.hoverForeground": "#000000",
- "statusBarItem.compactHoverBackground": "#CCCCCC",
- "statusBar.debuggingBackground": "#FD716C",
- "statusBar.debuggingForeground": "#000000",
- "statusBar.focusBorder": "#005FB8",
- "statusBar.noFolderBackground": "#F8F8F8",
- "statusBarItem.errorBackground": "#C72E0F",
- "statusBarItem.focusBorder": "#005FB8",
- "statusBarItem.prominentBackground": "#6E768166",
- "statusBarItem.remoteBackground": "#005FB8",
- "statusBarItem.remoteForeground": "#FFFFFF",
- "tab.activeBackground": "#FFFFFF",
- "tab.activeBorder": "#F8F8F8",
- "tab.activeBorderTop": "#005FB8",
- "tab.activeForeground": "#3B3B3B",
- "tab.selectedBorderTop": "#68a3da",
- "tab.border": "#E5E5E5",
- "tab.hoverBackground": "#FFFFFF",
- "tab.inactiveBackground": "#F8F8F8",
- "tab.inactiveForeground": "#868686",
- "tab.lastPinnedBorder": "#D4D4D4",
- "tab.unfocusedActiveBorder": "#F8F8F8",
- "tab.unfocusedActiveBorderTop": "#E5E5E5",
- "tab.unfocusedHoverBackground": "#F8F8F8",
- "terminalCursor.foreground": "#005FB8",
- "terminal.foreground": "#3B3B3B",
- "terminal.inactiveSelectionBackground": "#E5EBF1",
- "terminal.tab.activeBorder": "#005FB8",
- "textBlockQuote.background": "#F8F8F8",
- "textBlockQuote.border": "#E5E5E5",
- "textCodeBlock.background": "#F8F8F8",
- "textLink.activeForeground": "#005FB8",
- "textLink.foreground": "#005FB8",
- "textPreformat.foreground": "#3B3B3B",
- "textPreformat.background": "#0000001F",
- "textSeparator.foreground": "#21262D",
- "titleBar.activeBackground": "#F8F8F8",
- "titleBar.activeForeground": "#1E1E1E",
- "titleBar.border": "#E5E5E5",
- "titleBar.inactiveBackground": "#F8F8F8",
- "titleBar.inactiveForeground": "#8B949E",
- "welcomePage.tileBackground": "#F3F3F3",
- "widget.border": "#E5E5E5"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_plus.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_plus.json
deleted file mode 100644
index c2febdd650..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_plus.json
+++ /dev/null
@@ -1,196 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Light+",
- "include": "./light_vs.json",
- "tokenColors": [
- // adds rules to the light vs rules
- {
- "name": "Function declarations",
- "scope": [
- "entity.name.function",
- "support.function",
- "support.constant.handlebars",
- "source.powershell variable.other.member",
- "entity.name.operator.custom-literal" // See https://en.cppreference.com/w/cpp/language/user_literal
- ],
- "settings": {
- "foreground": "#795E26"
- }
- },
- {
- "name": "Types declaration and references",
- "scope": [
- "support.class",
- "support.type",
- "entity.name.type",
- "entity.name.namespace",
- "entity.other.attribute",
- "entity.name.scope-resolution",
- "entity.name.class",
- "storage.type.numeric.go",
- "storage.type.byte.go",
- "storage.type.boolean.go",
- "storage.type.string.go",
- "storage.type.uintptr.go",
- "storage.type.error.go",
- "storage.type.rune.go",
- "storage.type.cs",
- "storage.type.generic.cs",
- "storage.type.modifier.cs",
- "storage.type.variable.cs",
- "storage.type.annotation.java",
- "storage.type.generic.java",
- "storage.type.java",
- "storage.type.object.array.java",
- "storage.type.primitive.array.java",
- "storage.type.primitive.java",
- "storage.type.token.java",
- "storage.type.groovy",
- "storage.type.annotation.groovy",
- "storage.type.parameters.groovy",
- "storage.type.generic.groovy",
- "storage.type.object.array.groovy",
- "storage.type.primitive.array.groovy",
- "storage.type.primitive.groovy"
- ],
- "settings": {
- "foreground": "#267f99"
- }
- },
- {
- "name": "Types declaration and references, TS grammar specific",
- "scope": [
- "meta.type.cast.expr",
- "meta.type.new.expr",
- "support.constant.math",
- "support.constant.dom",
- "support.constant.json",
- "entity.other.inherited-class",
- "punctuation.separator.namespace.ruby"
- ],
- "settings": {
- "foreground": "#267f99"
- }
- },
- {
- "name": "Control flow / Special keywords",
- "scope": [
- "keyword.control",
- "source.cpp keyword.operator.new",
- "source.cpp keyword.operator.delete",
- "keyword.other.using",
- "keyword.other.directive.using",
- "keyword.other.operator",
- "entity.name.operator"
- ],
- "settings": {
- "foreground": "#AF00DB"
- }
- },
- {
- "name": "Variable and parameter name",
- "scope": [
- "variable",
- "meta.definition.variable.name",
- "support.variable",
- "entity.name.variable",
- "constant.other.placeholder" // placeholders in strings
- ],
- "settings": {
- "foreground": "#001080"
- }
- },
- {
- "name": "Constants and enums",
- "scope": ["variable.other.constant", "variable.other.enummember"],
- "settings": {
- "foreground": "#0070C1"
- }
- },
- {
- "name": "Object keys, TS grammar specific",
- "scope": ["meta.object-literal.key"],
- "settings": {
- "foreground": "#001080"
- }
- },
- {
- "name": "CSS property value",
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "name": "Regular expression groups",
- "scope": [
- "punctuation.definition.group.regexp",
- "punctuation.definition.group.assertion.regexp",
- "punctuation.definition.character-class.regexp",
- "punctuation.character.set.begin.regexp",
- "punctuation.character.set.end.regexp",
- "keyword.operator.negation.regexp",
- "support.other.parenthesis.regexp"
- ],
- "settings": {
- "foreground": "#d16969"
- }
- },
- {
- "scope": [
- "constant.character.character-class.regexp",
- "constant.other.character-class.set.regexp",
- "constant.other.character-class.regexp",
- "constant.character.set.regexp"
- ],
- "settings": {
- "foreground": "#811f3f"
- }
- },
- {
- "scope": "keyword.operator.quantifier.regexp",
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"],
- "settings": {
- "foreground": "#EE0000"
- }
- },
- {
- "scope": ["constant.character", "constant.other.option"],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "constant.character.escape",
- "settings": {
- "foreground": "#EE0000"
- }
- },
- {
- "scope": "entity.name.label",
- "settings": {
- "foreground": "#000000"
- }
- }
- ],
- "semanticHighlighting": true,
- "semanticTokenColors": {
- "newOperator": "#AF00DB",
- "stringLiteral": "#a31515",
- "customLiteral": "#795E26",
- "numberLiteral": "#098658"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_vs.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_vs.json
deleted file mode 100644
index 595d50cfdc..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_vs.json
+++ /dev/null
@@ -1,424 +0,0 @@
-{
- "$schema": "vscode://schemas/color-theme",
- "name": "Light (Visual Studio)",
- "colors": {
- "checkbox.border": "#919191",
- "editor.background": "#FFFFFF",
- "editor.foreground": "#000000",
- "editor.inactiveSelectionBackground": "#E5EBF1",
- "editorIndentGuide.background1": "#D3D3D3",
- "editorIndentGuide.activeBackground1": "#939393",
- "editor.selectionHighlightBackground": "#ADD6FF80",
- "editorSuggestWidget.background": "#F3F3F3",
- "activityBarBadge.background": "#007ACC",
- "sideBarTitle.foreground": "#6F6F6F",
- "list.hoverBackground": "#E8E8E8",
- "menu.border": "#D4D4D4",
- "input.placeholderForeground": "#767676",
- "searchEditor.textInputBorder": "#CECECE",
- "settings.textInputBorder": "#CECECE",
- "settings.numberInputBorder": "#CECECE",
- "statusBarItem.remoteForeground": "#FFF",
- "statusBarItem.remoteBackground": "#16825D",
- "ports.iconRunningProcessForeground": "#369432",
- "sideBarSectionHeader.background": "#0000",
- "sideBarSectionHeader.border": "#61616130",
- "tab.selectedForeground": "#333333b3",
- "tab.selectedBackground": "#ffffffa5",
- "tab.lastPinnedBorder": "#61616130",
- "notebook.cellBorderColor": "#E8E8E8",
- "notebook.selectedCellBackground": "#c8ddf150",
- "statusBarItem.errorBackground": "#c72e0f",
- "list.activeSelectionIconForeground": "#FFF",
- "list.focusAndSelectionOutline": "#90C2F9",
- "terminal.inactiveSelectionBackground": "#E5EBF1",
- "widget.border": "#d4d4d4",
- "actionBar.toggledBackground": "#dddddd",
- "diffEditor.unchangedRegionBackground": "#f8f8f8",
- "agentsNewSessionButton.border": "#D8D8D8",
- "agentsChatInput.border": "#D8D8D8"
- },
- "tokenColors": [
- {
- "scope": [
- "meta.embedded",
- "source.groovy.embedded",
- "string meta.image.inline.markdown",
- "variable.legacy.builtin.python"
- ],
- "settings": {
- "foreground": "#000000ff"
- }
- },
- {
- "scope": "emphasis",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "strong",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "scope": "meta.diff.header",
- "settings": {
- "foreground": "#000080"
- }
- },
- {
- "scope": "comment",
- "settings": {
- "foreground": "#008000"
- }
- },
- {
- "scope": "constant.language",
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": [
- "constant.numeric",
- "variable.other.enummember",
- "keyword.operator.plus.exponent",
- "keyword.operator.minus.exponent"
- ],
- "settings": {
- "foreground": "#098658"
- }
- },
- {
- "scope": "constant.regexp",
- "settings": {
- "foreground": "#811f3f"
- }
- },
- {
- "name": "css tags in selectors, xml tags",
- "scope": "entity.name.tag",
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "scope": "entity.name.selector",
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "scope": "entity.other.attribute-name",
- "settings": {
- "foreground": "#e50000"
- }
- },
- {
- "scope": [
- "entity.other.attribute-name.class.css",
- "source.css entity.other.attribute-name.class",
- "entity.other.attribute-name.id.css",
- "entity.other.attribute-name.parent-selector.css",
- "entity.other.attribute-name.parent.less",
- "source.css entity.other.attribute-name.pseudo-class",
- "entity.other.attribute-name.pseudo-element.css",
- "source.css.less entity.other.attribute-name.id",
- "entity.other.attribute-name.scss"
- ],
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "scope": "invalid",
- "settings": {
- "foreground": "#cd3131"
- }
- },
- {
- "scope": "markup.underline",
- "settings": {
- "fontStyle": "underline"
- }
- },
- {
- "scope": "markup.bold",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#000080"
- }
- },
- {
- "scope": "markup.heading",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#800000"
- }
- },
- {
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#800080"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#098658"
- }
- },
- {
- "scope": "markup.deleted",
- "settings": {
- "foreground": "#a31515"
- }
- },
- {
- "scope": "markup.changed",
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": [
- "punctuation.definition.quote.begin.markdown",
- "punctuation.definition.list.begin.markdown"
- ],
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": "markup.inline.raw",
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "name": "brackets of XML/HTML tags",
- "scope": "punctuation.definition.tag",
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "scope": ["meta.preprocessor", "entity.name.function.preprocessor"],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "meta.preprocessor.string",
- "settings": {
- "foreground": "#a31515"
- }
- },
- {
- "scope": "meta.preprocessor.numeric",
- "settings": {
- "foreground": "#098658"
- }
- },
- {
- "scope": "meta.structure.dictionary.key.python",
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": "storage",
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "storage.type",
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": ["storage.modifier", "keyword.operator.noexcept"],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": ["string", "meta.embedded.assembly"],
- "settings": {
- "foreground": "#a31515"
- }
- },
- {
- "scope": [
- "string.comment.buffered.block.pug",
- "string.quoted.pug",
- "string.interpolated.pug",
- "string.unquoted.plain.in.yaml",
- "string.unquoted.plain.out.yaml",
- "string.unquoted.block.yaml",
- "string.quoted.single.yaml",
- "string.quoted.double.xml",
- "string.quoted.single.xml",
- "string.unquoted.cdata.xml",
- "string.quoted.double.html",
- "string.quoted.single.html",
- "string.unquoted.html",
- "string.quoted.single.handlebars",
- "string.quoted.double.handlebars"
- ],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "string.regexp",
- "settings": {
- "foreground": "#811f3f"
- }
- },
- {
- "name": "String interpolation",
- "scope": [
- "punctuation.definition.template-expression.begin",
- "punctuation.definition.template-expression.end",
- "punctuation.section.embedded"
- ],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "name": "Reset JavaScript string interpolation expression",
- "scope": ["meta.template.expression"],
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": [
- "support.constant.property-value",
- "support.constant.font-name",
- "support.constant.media-type",
- "support.constant.media",
- "constant.other.color.rgb-value",
- "constant.other.rgb-value",
- "support.constant.color"
- ],
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": [
- "support.type.vendored.property-name",
- "support.type.property-name",
- "source.css variable",
- "source.coffee.embedded"
- ],
- "settings": {
- "foreground": "#e50000"
- }
- },
- {
- "scope": ["support.type.property-name.json"],
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": "keyword",
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "keyword.control",
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "keyword.operator",
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "scope": [
- "keyword.operator.new",
- "keyword.operator.expression",
- "keyword.operator.cast",
- "keyword.operator.sizeof",
- "keyword.operator.alignof",
- "keyword.operator.typeid",
- "keyword.operator.alignas",
- "keyword.operator.instanceof",
- "keyword.operator.logical.python",
- "keyword.operator.wordlike"
- ],
- "settings": {
- "foreground": "#0000ff"
- }
- },
- {
- "scope": "keyword.other.unit",
- "settings": {
- "foreground": "#098658"
- }
- },
- {
- "scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"],
- "settings": {
- "foreground": "#800000"
- }
- },
- {
- "scope": "support.function.git-rebase",
- "settings": {
- "foreground": "#0451a5"
- }
- },
- {
- "scope": "constant.sha.git-rebase",
- "settings": {
- "foreground": "#098658"
- }
- },
- {
- "name": "coloring of the Java import and package identifiers",
- "scope": [
- "storage.modifier.import.java",
- "variable.language.wildcard.java",
- "storage.modifier.package.java"
- ],
- "settings": {
- "foreground": "#000000"
- }
- },
- {
- "name": "this.self",
- "scope": "variable.language",
- "settings": {
- "foreground": "#0000ff"
- }
- }
- ],
- "semanticHighlighting": true,
- "semanticTokenColors": {
- "newOperator": "#0000ff",
- "stringLiteral": "#a31515",
- "customLiteral": "#000000",
- "numberLiteral": "#098658"
- }
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/monokai-color-theme.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/monokai-color-theme.json
deleted file mode 100644
index 02f49ea79a..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/monokai-color-theme.json
+++ /dev/null
@@ -1,482 +0,0 @@
-// This theme's colors are based on the original Monokai:
-// #1e1f1c (tab well, borders)
-// #272822 (editor background)
-// #414339 (selection)
-// #75715e (focus)
-// #f8f8f2 (editor foreground)
-{
- "type": "dark",
- "colors": {
- "dropdown.background": "#414339",
- "list.activeSelectionBackground": "#75715E",
- "quickInputList.focusBackground": "#414339",
- "dropdown.listBackground": "#1e1f1c",
- "list.inactiveSelectionBackground": "#414339",
- "list.hoverBackground": "#3e3d32",
- "list.dropBackground": "#414339",
- "list.highlightForeground": "#f8f8f2",
- "button.background": "#75715E",
- "editor.background": "#272822",
- "editor.foreground": "#f8f8f2",
- "selection.background": "#878b9180",
- "editor.selectionHighlightBackground": "#575b6180",
- "editor.selectionBackground": "#878b9180",
- "minimap.selectionHighlight": "#878b9180",
- "editor.wordHighlightBackground": "#4a4a7680",
- "editor.wordHighlightStrongBackground": "#6a6a9680",
- "editor.lineHighlightBackground": "#3e3d32",
- "editorLineNumber.activeForeground": "#c2c2bf",
- "editorCursor.foreground": "#f8f8f0",
- "editorWhitespace.foreground": "#464741",
- "editorIndentGuide.background": "#464741",
- "editorIndentGuide.activeBackground": "#767771",
- "editorGroupHeader.tabsBackground": "#1e1f1c",
- "editorGroup.dropBackground": "#41433980",
- "tab.inactiveBackground": "#34352f",
- "tab.border": "#1e1f1c",
- "tab.inactiveForeground": "#ccccc7", // needs to be bright so it's readable when another editor group is focused
- "tab.lastPinnedBorder": "#414339",
- "widget.shadow": "#00000098",
- "progressBar.background": "#75715E",
- "badge.background": "#75715E",
- "badge.foreground": "#f8f8f2",
- "editorLineNumber.foreground": "#90908a",
- "panelTitle.activeForeground": "#f8f8f2",
- "panelTitle.activeBorder": "#75715E",
- "panelTitle.inactiveForeground": "#75715E",
- "panel.border": "#414339",
- "settings.focusedRowBackground": "#4143395A",
- "titleBar.activeBackground": "#1e1f1c",
- "statusBar.background": "#414339",
- "statusBar.noFolderBackground": "#414339",
- "statusBar.debuggingBackground": "#75715E",
- "statusBarItem.remoteBackground": "#AC6218",
- "ports.iconRunningProcessForeground": "#ccccc7",
- "activityBar.background": "#272822",
- "activityBar.foreground": "#f8f8f2",
- "sideBar.background": "#1e1f1c",
- "sideBarSectionHeader.background": "#272822",
- "menu.background": "#1e1f1c",
- "menu.foreground": "#cccccc",
- "pickerGroup.foreground": "#75715E",
- "input.background": "#414339",
- "inputOption.activeBorder": "#75715E",
- "focusBorder": "#99947c",
- "editorWidget.background": "#1e1f1c",
- "debugToolBar.background": "#1e1f1c",
- "diffEditor.insertedTextBackground": "#4b661680", // middle of #272822 and #a6e22e
- "diffEditor.removedTextBackground": "#90274A70", // middle of #272822 and #f92672
- "inputValidation.errorBackground": "#90274A", // middle of #272822 and #f92672
- "inputValidation.errorBorder": "#f92672",
- "inputValidation.warningBackground": "#848528", // middle of #272822 and #e2e22e
- "inputValidation.warningBorder": "#e2e22e",
- "inputValidation.infoBackground": "#546190", // middle of #272822 and #819aff
- "inputValidation.infoBorder": "#819aff",
- "editorHoverWidget.background": "#414339",
- "editorHoverWidget.border": "#75715E",
- "editorSuggestWidget.background": "#272822",
- "editorSuggestWidget.border": "#75715E",
- "editorGroup.border": "#34352f",
- "peekView.border": "#75715E",
- "peekViewEditor.background": "#272822",
- "peekViewResult.background": "#1e1f1c",
- "peekViewTitle.background": "#1e1f1c",
- "peekViewResult.selectionBackground": "#414339",
- "peekViewResult.matchHighlightBackground": "#75715E",
- "peekViewEditor.matchHighlightBackground": "#75715E",
- "terminal.ansiBlack": "#333333",
- "terminal.ansiRed": "#C4265E", // the bright color with ~75% transparent on the background
- "terminal.ansiGreen": "#86B42B",
- "terminal.ansiYellow": "#B3B42B",
- "terminal.ansiBlue": "#6A7EC8",
- "terminal.ansiMagenta": "#8C6BC8",
- "terminal.ansiCyan": "#56ADBC",
- "terminal.ansiWhite": "#e3e3dd",
- "terminal.ansiBrightBlack": "#666666",
- "terminal.ansiBrightRed": "#f92672",
- "terminal.ansiBrightGreen": "#A6E22E",
- "terminal.ansiBrightYellow": "#e2e22e", // hue shifted #A6E22E
- "terminal.ansiBrightBlue": "#819aff", // hue shifted #AE81FF
- "terminal.ansiBrightMagenta": "#AE81FF",
- "terminal.ansiBrightCyan": "#66D9EF",
- "terminal.ansiBrightWhite": "#f8f8f2"
- },
- "tokenColors": [
- {
- "settings": {
- "foreground": "#F8F8F2"
- }
- },
- {
- "scope": [
- "meta.embedded",
- "source.groovy.embedded",
- "string meta.image.inline.markdown",
- "variable.legacy.builtin.python"
- ],
- "settings": {
- "foreground": "#F8F8F2"
- }
- },
- {
- "name": "Comment",
- "scope": "comment",
- "settings": {
- "foreground": "#88846f"
- }
- },
- {
- "name": "String",
- "scope": "string",
- "settings": {
- "foreground": "#E6DB74"
- }
- },
- {
- "name": "Template Definition",
- "scope": ["punctuation.definition.template-expression", "punctuation.section.embedded"],
- "settings": {
- "foreground": "#F92672"
- }
- },
- {
- "name": "Reset JavaScript string interpolation expression",
- "scope": ["meta.template.expression"],
- "settings": {
- "foreground": "#F8F8F2"
- }
- },
- {
- "name": "Number",
- "scope": "constant.numeric",
- "settings": {
- "foreground": "#AE81FF"
- }
- },
- {
- "name": "Built-in constant",
- "scope": "constant.language",
- "settings": {
- "foreground": "#AE81FF"
- }
- },
- {
- "name": "User-defined constant",
- "scope": "constant.character, constant.other",
- "settings": {
- "foreground": "#AE81FF"
- }
- },
- {
- "name": "Variable",
- "scope": "variable",
- "settings": {
- "fontStyle": "",
- "foreground": "#F8F8F2"
- }
- },
- {
- "name": "Keyword",
- "scope": "keyword",
- "settings": {
- "foreground": "#F92672"
- }
- },
- {
- "name": "Storage",
- "scope": "storage",
- "settings": {
- "fontStyle": "",
- "foreground": "#F92672"
- }
- },
- {
- "name": "Storage type",
- "scope": "storage.type",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#66D9EF"
- }
- },
- {
- "name": "Class name",
- "scope": "entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution",
- "settings": {
- "fontStyle": "underline",
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "Inherited class",
- "scope": ["entity.other.inherited-class", "punctuation.separator.namespace.ruby"],
- "settings": {
- "fontStyle": "italic underline",
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "Function name",
- "scope": "entity.name.function",
- "settings": {
- "fontStyle": "",
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "Function argument",
- "scope": "variable.parameter",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#FD971F"
- }
- },
- {
- "name": "Tag name",
- "scope": "entity.name.tag",
- "settings": {
- "fontStyle": "",
- "foreground": "#F92672"
- }
- },
- {
- "name": "Tag attribute",
- "scope": "entity.other.attribute-name",
- "settings": {
- "fontStyle": "",
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "Library function",
- "scope": "support.function",
- "settings": {
- "fontStyle": "",
- "foreground": "#66D9EF"
- }
- },
- {
- "name": "Library constant",
- "scope": "support.constant",
- "settings": {
- "fontStyle": "",
- "foreground": "#66D9EF"
- }
- },
- {
- "name": "Library class/type",
- "scope": "support.type, support.class",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#66D9EF"
- }
- },
- {
- "name": "Library variable",
- "scope": "support.other.variable",
- "settings": {
- "fontStyle": ""
- }
- },
- {
- "name": "Invalid",
- "scope": "invalid",
- "settings": {
- "fontStyle": "",
- "foreground": "#F44747"
- }
- },
- {
- "name": "Invalid deprecated",
- "scope": "invalid.deprecated",
- "settings": {
- "foreground": "#F44747"
- }
- },
- {
- "name": "JSON String",
- "scope": "meta.structure.dictionary.json string.quoted.double.json",
- "settings": {
- "foreground": "#CFCFC2"
- }
- },
- {
- "name": "diff.header",
- "scope": "meta.diff, meta.diff.header",
- "settings": {
- "foreground": "#75715E"
- }
- },
- {
- "name": "diff.deleted",
- "scope": "markup.deleted",
- "settings": {
- "foreground": "#F92672"
- }
- },
- {
- "name": "diff.inserted",
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "diff.changed",
- "scope": "markup.changed",
- "settings": {
- "foreground": "#E6DB74"
- }
- },
- {
- "scope": "constant.numeric.line-number.find-in-files - match",
- "settings": {
- "foreground": "#AE81FFA0"
- }
- },
- {
- "scope": "entity.name.filename.find-in-files",
- "settings": {
- "foreground": "#E6DB74"
- }
- },
- {
- "name": "Markup Quote",
- "scope": "markup.quote",
- "settings": {
- "foreground": "#F92672"
- }
- },
- {
- "name": "Markup Lists",
- "scope": "markup.list",
- "settings": {
- "foreground": "#E6DB74"
- }
- },
- {
- "name": "Markup Styling",
- "scope": "markup.bold, markup.italic",
- "settings": {
- "foreground": "#66D9EF"
- }
- },
- {
- "name": "Markup Inline",
- "scope": "markup.inline.raw",
- "settings": {
- "fontStyle": "",
- "foreground": "#FD971F"
- }
- },
- {
- "name": "Markup Headings",
- "scope": "markup.heading",
- "settings": {
- "foreground": "#A6E22E"
- }
- },
- {
- "name": "Markup Setext Header",
- "scope": "markup.heading.setext",
- "settings": {
- "foreground": "#A6E22E",
- "fontStyle": "bold"
- }
- },
- {
- "name": "Markup Headings",
- "scope": "markup.heading.markdown",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "name": "Markdown Quote",
- "scope": "markup.quote.markdown",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#75715E"
- }
- },
- {
- "name": "Markdown Bold",
- "scope": "markup.bold.markdown",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "name": "Markdown Link Title/Description",
- "scope": "string.other.link.title.markdown,string.other.link.description.markdown",
- "settings": {
- "foreground": "#AE81FF"
- }
- },
- {
- "name": "Markdown Underline Link/Image",
- "scope": "markup.underline.link.markdown,markup.underline.link.image.markdown",
- "settings": {
- "foreground": "#E6DB74"
- }
- },
- {
- "name": "Markdown Emphasis",
- "scope": "markup.italic.markdown",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "name": "Markdown Punctuation Definition Link",
- "scope": "markup.list.unnumbered.markdown, markup.list.numbered.markdown",
- "settings": {
- "foreground": "#f8f8f2"
- }
- },
- {
- "name": "Markdown List Punctuation",
- "scope": ["punctuation.definition.list.begin.markdown"],
- "settings": {
- "foreground": "#A6E22E"
- }
- },
- {
- "scope": "token.info-token",
- "settings": {
- "foreground": "#6796e6"
- }
- },
- {
- "scope": "token.warn-token",
- "settings": {
- "foreground": "#cd9731"
- }
- },
- {
- "scope": "token.error-token",
- "settings": {
- "foreground": "#f44747"
- }
- },
- {
- "scope": "token.debug-token",
- "settings": {
- "foreground": "#b267e6"
- }
- },
- {
- "name": "this.self",
- "scope": "variable.language",
- "settings": {
- "foreground": "#FD971F"
- }
- }
- ],
- "semanticHighlighting": true
-}
diff --git a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/solarized-light-color-theme.json b/registry/examples/vscode-theme-visualizer/assets/vscode-themes/solarized-light-color-theme.json
deleted file mode 100644
index 35993c3a7d..0000000000
--- a/registry/examples/vscode-theme-visualizer/assets/vscode-themes/solarized-light-color-theme.json
+++ /dev/null
@@ -1,473 +0,0 @@
-{
- "name": "Solarized (light)",
- "tokenColors": [
- {
- "settings": {
- "foreground": "#657B83"
- }
- },
- {
- "scope": [
- "meta.embedded",
- "source.groovy.embedded",
- "string meta.image.inline.markdown",
- "variable.legacy.builtin.python"
- ],
- "settings": {
- "foreground": "#657B83"
- }
- },
- {
- "name": "Comment",
- "scope": "comment",
- "settings": {
- "fontStyle": "italic",
- "foreground": "#93A1A1"
- }
- },
- {
- "name": "String",
- "scope": "string",
- "settings": {
- "foreground": "#2AA198"
- }
- },
- {
- "name": "Regexp",
- "scope": "string.regexp",
- "settings": {
- "foreground": "#DC322F"
- }
- },
- {
- "name": "Number",
- "scope": "constant.numeric",
- "settings": {
- "foreground": "#D33682"
- }
- },
- {
- "name": "Variable",
- "scope": ["variable.language", "variable.other"],
- "settings": {
- "foreground": "#268BD2"
- }
- },
- {
- "name": "Keyword",
- "scope": "keyword",
- "settings": {
- "foreground": "#859900"
- }
- },
- {
- "name": "Storage",
- "scope": "storage",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#586E75"
- }
- },
- {
- "name": "Class name",
- "scope": [
- "entity.name.class",
- "entity.name.type",
- "entity.name.namespace",
- "entity.name.scope-resolution"
- ],
- "settings": {
- "fontStyle": "",
- "foreground": "#CB4B16"
- }
- },
- {
- "name": "Function name",
- "scope": "entity.name.function",
- "settings": {
- "foreground": "#268BD2"
- }
- },
- {
- "name": "Variable start",
- "scope": "punctuation.definition.variable",
- "settings": {
- "foreground": "#859900"
- }
- },
- {
- "name": "Embedded code markers",
- "scope": ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
- "settings": {
- "foreground": "#DC322F"
- }
- },
- {
- "name": "Built-in constant",
- "scope": ["constant.language", "meta.preprocessor"],
- "settings": {
- "foreground": "#B58900"
- }
- },
- {
- "name": "Support.construct",
- "scope": ["support.function.construct", "keyword.other.new"],
- "settings": {
- "foreground": "#CB4B16"
- }
- },
- {
- "name": "User-defined constant",
- "scope": ["constant.character", "constant.other"],
- "settings": {
- "foreground": "#CB4B16"
- }
- },
- {
- "name": "Inherited class",
- "scope": ["entity.other.inherited-class", "punctuation.separator.namespace.ruby"],
- "settings": {
- "foreground": "#6C71C4"
- }
- },
- {
- "name": "Function argument",
- "scope": "variable.parameter",
- "settings": {}
- },
- {
- "name": "Tag name",
- "scope": "entity.name.tag",
- "settings": {
- "foreground": "#268BD2"
- }
- },
- {
- "name": "Tag start/end",
- "scope": "punctuation.definition.tag",
- "settings": {
- "foreground": "#93A1A1"
- }
- },
- {
- "name": "Tag attribute",
- "scope": "entity.other.attribute-name",
- "settings": {
- "foreground": "#93A1A1"
- }
- },
- {
- "name": "Library function",
- "scope": "support.function",
- "settings": {
- "foreground": "#268BD2"
- }
- },
- {
- "name": "Continuation",
- "scope": "punctuation.separator.continuation",
- "settings": {
- "foreground": "#DC322F"
- }
- },
- {
- "name": "Library constant",
- "scope": ["support.constant", "support.variable"],
- "settings": {}
- },
- {
- "name": "Library class/type",
- "scope": ["support.type", "support.class"],
- "settings": {
- "foreground": "#859900"
- }
- },
- {
- "name": "Library Exception",
- "scope": "support.type.exception",
- "settings": {
- "foreground": "#CB4B16"
- }
- },
- {
- "name": "Library variable",
- "scope": "support.other.variable",
- "settings": {}
- },
- {
- "name": "Invalid",
- "scope": "invalid",
- "settings": {
- "foreground": "#DC322F"
- }
- },
- {
- "name": "diff: header",
- "scope": ["meta.diff", "meta.diff.header"],
- "settings": {
- "fontStyle": "italic",
- "foreground": "#268BD2"
- }
- },
- {
- "name": "diff: deleted",
- "scope": "markup.deleted",
- "settings": {
- "fontStyle": "",
- "foreground": "#DC322F"
- }
- },
- {
- "name": "diff: changed",
- "scope": "markup.changed",
- "settings": {
- "fontStyle": "",
- "foreground": "#CB4B16"
- }
- },
- {
- "name": "diff: inserted",
- "scope": "markup.inserted",
- "settings": {
- "foreground": "#859900"
- }
- },
- {
- "name": "Markup Quote",
- "scope": "markup.quote",
- "settings": {
- "foreground": "#859900"
- }
- },
- {
- "name": "Markup Lists",
- "scope": "markup.list",
- "settings": {
- "foreground": "#B58900"
- }
- },
- {
- "name": "Markup Styling",
- "scope": ["markup.bold", "markup.italic"],
- "settings": {
- "foreground": "#D33682"
- }
- },
- {
- "name": "Markup: Strong",
- "scope": "markup.bold",
- "settings": {
- "fontStyle": "bold"
- }
- },
- {
- "name": "Markup: Emphasis",
- "scope": "markup.italic",
- "settings": {
- "fontStyle": "italic"
- }
- },
- {
- "scope": "markup.strikethrough",
- "settings": {
- "fontStyle": "strikethrough"
- }
- },
- {
- "name": "Markup Inline",
- "scope": "markup.inline.raw",
- "settings": {
- "fontStyle": "",
- "foreground": "#2AA198"
- }
- },
- {
- "name": "Markup Headings",
- "scope": "markup.heading",
- "settings": {
- "fontStyle": "bold",
- "foreground": "#268BD2"
- }
- },
- {
- "name": "Markup Setext Header",
- "scope": "markup.heading.setext",
- "settings": {
- "fontStyle": "",
- "foreground": "#268BD2"
- }
- }
- ],
- "colors": {
- // Base
- // "foreground": "",
- "focusBorder": "#b49471",
- // "contrastActiveBorder": "",
- // "contrastBorder": "",
- // "widget.shadow": "",
- "input.background": "#DDD6C1",
- // "input.border": "",
- "input.foreground": "#586E75",
- "input.placeholderForeground": "#586E75AA",
- "inputOption.activeBorder": "#D3AF86",
- // "inputValidation.infoBorder": "",
- // "inputValidation.infoBackground": "",
- // "inputValidation.warningBackground": "",
- // "inputValidation.warningBorder": "",
- // "inputValidation.errorBackground": "",
- // "inputValidation.errorBorder": "",
- "badge.background": "#B58900AA",
- "progressBar.background": "#B58900",
- "dropdown.background": "#EEE8D5",
- // "dropdown.foreground": "",
- "dropdown.border": "#D3AF86",
- "button.background": "#AC9D57",
- // "button.foreground": "",
- "selection.background": "#878b9180",
- "list.activeSelectionBackground": "#DFCA88",
- "list.activeSelectionForeground": "#6C6C6C",
- "quickInputList.focusBackground": "#DFCA8866",
- "list.hoverBackground": "#DFCA8844",
- "list.inactiveSelectionBackground": "#D1CBB8",
- "list.highlightForeground": "#B58900",
- // "scrollbar.shadow": "",
- // "scrollbarSlider.activeBackground": "",
- // "scrollbarSlider.background": "",
- // "scrollbarSlider.hoverBackground": "",
- // Editor
- "editor.background": "#FDF6E3",
- "editor.foreground": "#657B83",
- "notebook.cellEditorBackground": "#F7F0E0",
- "editorWidget.background": "#EEE8D5",
- "editorCursor.foreground": "#657B83",
- "editorWhitespace.foreground": "#586E7580",
- "editor.lineHighlightBackground": "#EEE8D5",
- "editor.selectionBackground": "#EEE8D5",
- "minimap.selectionHighlight": "#EEE8D5",
- "editorIndentGuide.background": "#586E7580",
- "editorIndentGuide.activeBackground": "#081E2580",
- "editorHoverWidget.background": "#CCC4B0",
- "editorLineNumber.activeForeground": "#567983",
- // "editorHoverWidget.border": "",
- // "editorLineNumber.foreground": "",
- // "editorMarkerNavigation.background": "",
- // "editorMarkerNavigationError.background": "",
- // "editorMarkerNavigationWarning.background": "",
- // "editorLink.activeForeground": "",
- // "editor.findMatchBackground": "",
- // "editor.findMatchHighlightBackground": "",
- // "editor.findRangeHighlightBackground": "",
- // "editor.hoverHighlightBackground": "",
- // "editor.inactiveSelectionBackground": "",
- // "editor.lineHighlightBorder": "",
- // "editor.rangeHighlightBackground": "",
- // "editor.selectionHighlightBackground": "",
- // "editor.wordHighlightBackground": "",
- // "editor.wordHighlightStrongBackground": "",
- // Editor: Suggest Widget
- // "editorSuggestWidget.background": "",
- // "editorSuggestWidget.border": "",
- // "editorSuggestWidget.foreground": "",
- // "editorSuggestWidget.highlightForeground": "",
- // "editorSuggestWidget.selectedBackground": "",
- // Editor: Peek View
- "peekViewResult.background": "#EEE8D5",
- // "peekViewResult.lineForeground": "",
- // "peekViewResult.selectionBackground": "",
- // "peekViewResult.selectionForeground": "",
- "peekViewEditor.background": "#FFFBF2",
- "peekViewTitle.background": "#EEE8D5",
- "peekView.border": "#B58900",
- "peekViewEditor.matchHighlightBackground": "#7744AA40",
- // "peekViewResult.fileForeground": "",
- // "peekViewResult.matchHighlightBackground": "",
- // "peekViewTitleLabel.foreground": "",
- // "peekViewTitleDescription.foreground": "",
- // Editor: Diff
- // "diffEditor.insertedTextBackground": "",
- // "diffEditor.insertedTextBorder": "",
- // "diffEditor.removedTextBackground": "",
- // "diffEditor.removedTextBorder": "",
- // Workbench: Title
- "titleBar.activeBackground": "#EEE8D5",
- // "titleBar.activeForeground": "",
- // "titleBar.inactiveBackground": "",
- // "titleBar.inactiveForeground": "",
- // Workbench: Editors
- // "editorGroupHeader.noTabsBackground": "",
- "editorGroup.border": "#DDD6C1",
- "editorGroup.dropBackground": "#DDD6C1AA",
- "editorGroupHeader.tabsBackground": "#D9D2C2",
- // Workbench: Tabs
- "tab.border": "#DDD6C1",
- "tab.activeBackground": "#FDF6E3",
- "tab.inactiveForeground": "#586E75",
- "tab.inactiveBackground": "#D3CBB7",
- "tab.activeModifiedBorder": "#cb4b16",
- // "tab.activeBackground": "",
- // "tab.activeForeground": "",
- // "tab.inactiveForeground": "",
- "tab.lastPinnedBorder": "#FDF6E3",
- // Workbench: Activity Bar
- "activityBar.background": "#DDD6C1",
- "activityBar.foreground": "#584c27",
- "activityBarBadge.background": "#B58900",
- // "activityBarBadge.foreground": "",
- // Workbench: Panel
- // "panel.background": "",
- "panel.border": "#DDD6C1",
- // "panelTitle.activeBorder": "",
- // "panelTitle.activeForeground": "",
- // "panelTitle.inactiveForeground": "",
- // Workbench: Side Bar
- "sideBar.background": "#EEE8D5",
- "sideBarTitle.foreground": "#586E75",
- // "sideBarSectionHeader.background": "",
- // Workbench: Status Bar
- "statusBar.foreground": "#586E75",
- "statusBar.background": "#EEE8D5",
- "statusBar.debuggingBackground": "#EEE8D5",
- "statusBar.noFolderBackground": "#EEE8D5",
- // "statusBar.foreground": "",
- "statusBarItem.remoteBackground": "#AC9D57",
- "ports.iconRunningProcessForeground": "#2AA19899",
- "statusBarItem.prominentBackground": "#DDD6C1",
- "statusBarItem.prominentHoverBackground": "#DDD6C199",
- // "statusBarItem.activeBackground": "",
- // "statusBarItem.hoverBackground": "",
- // Workbench: Debug
- "debugToolBar.background": "#DDD6C1",
- "debugExceptionWidget.background": "#DDD6C1",
- "debugExceptionWidget.border": "#AB395B",
- // Workbench: Quick Open
- "pickerGroup.border": "#2AA19899",
- "pickerGroup.foreground": "#2AA19899",
- // Extensions
- "extensionButton.prominentBackground": "#b58900",
- "extensionButton.prominentHoverBackground": "#584c27aa",
- // Workbench: Terminal
- // Colors sourced from the official palette http://ethanschoonover.com/solarized
- "terminal.ansiBlack": "#073642",
- "terminal.ansiRed": "#dc322f",
- "terminal.ansiGreen": "#859900",
- "terminal.ansiYellow": "#b58900",
- "terminal.ansiBlue": "#268bd2",
- "terminal.ansiMagenta": "#d33682",
- "terminal.ansiCyan": "#2aa198",
- "terminal.ansiWhite": "#eee8d5",
- "terminal.ansiBrightBlack": "#002b36",
- "terminal.ansiBrightRed": "#cb4b16",
- "terminal.ansiBrightGreen": "#586e75",
- "terminal.ansiBrightYellow": "#657b83",
- "terminal.ansiBrightBlue": "#839496",
- "terminal.ansiBrightMagenta": "#6c71c4",
- "terminal.ansiBrightCyan": "#93a1a1",
- "terminal.ansiBrightWhite": "#fdf6e3",
- // Set terminal background explicitly, otherwise selection becomes invisible when the
- // terminal is in the side bar
- "terminal.background": "#FDF6E3",
- // Interactive Playground
- "walkThrough.embeddedEditorBackground": "#00000014"
- },
- "semanticHighlighting": true
-}
diff --git a/registry/examples/vscode-theme-visualizer/index.html b/registry/examples/vscode-theme-visualizer/index.html
deleted file mode 100644
index 8ef2631145..0000000000
--- a/registry/examples/vscode-theme-visualizer/index.html
+++ /dev/null
@@ -1,137 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>VS Code Theme Sequence</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #vscode-theme-sequence {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="vscode-theme-sequence"
- data-composition-id="vscode-theme-sequence"
- data-start="0"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-light-2026"
- data-composition-id="vscode-light-2026"
- data-composition-src="compositions/light-2026.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-dark-2026"
- data-composition-id="vscode-dark-2026"
- data-composition-src="compositions/dark-2026.html"
- data-start="11"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-dark-plus"
- data-composition-id="vscode-dark-plus"
- data-composition-src="compositions/dark-plus.html"
- data-start="22"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-dark-modern"
- data-composition-id="vscode-dark-modern"
- data-composition-src="compositions/dark-modern.html"
- data-start="33"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-light-plus"
- data-composition-id="vscode-light-plus"
- data-composition-src="compositions/light-plus.html"
- data-start="44"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-light-modern"
- data-composition-id="vscode-light-modern"
- data-composition-src="compositions/light-modern.html"
- data-start="55"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-visual-studio-dark"
- data-composition-id="vscode-visual-studio-dark"
- data-composition-src="compositions/visual-studio-dark.html"
- data-start="66"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-visual-studio-light"
- data-composition-id="vscode-visual-studio-light"
- data-composition-src="compositions/visual-studio-light.html"
- data-start="77"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-high-contrast"
- data-composition-id="vscode-high-contrast"
- data-composition-src="compositions/high-contrast.html"
- data-start="88"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-high-contrast-light"
- data-composition-id="vscode-high-contrast-light"
- data-composition-src="compositions/high-contrast-light.html"
- data-start="99"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-solarized-light"
- data-composition-id="vscode-solarized-light"
- data-composition-src="compositions/solarized-light.html"
- data-start="110"
- data-duration="11"
- data-track-index="1"
- ></div>
- <div
- id="clip-monokai"
- data-composition-id="vscode-monokai"
- data-composition-src="compositions/monokai.html"
- data-start="121"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-theme-sequence"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/registry-item.json b/registry/examples/vscode-theme-visualizer/registry-item.json
deleted file mode 100644
index 60f199b2a0..0000000000
--- a/registry/examples/vscode-theme-visualizer/registry-item.json
+++ /dev/null
@@ -1,179 +0,0 @@
-{
- "$schema": "https://hyperframes.heygen.com/schema/registry-item.json",
- "name": "vscode-theme-visualizer",
- "type": "hyperframes:example",
- "title": "VS Code Theme Visualizer",
- "description": "Faithful VS Code workbench recreation with per-character typing animation across 12 built-in themes. Activity bar, sidebar, tabs, editor, terminal, and status bar — all driven by official theme JSON files.",
- "dimensions": {
- "width": 1920,
- "height": 1080
- },
- "duration": 11,
- "files": [
- {
- "path": "assets/background.jpeg",
- "target": "assets/background.jpeg",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-sequence-runtime.js",
- "target": "assets/vscode-sequence-runtime.js",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-sequence.css",
- "target": "assets/vscode-sequence.css",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-theme-registry.js",
- "target": "assets/vscode-theme-registry.js",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/2026-dark.json",
- "target": "assets/vscode-themes/2026-dark.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/2026-light.json",
- "target": "assets/vscode-themes/2026-light.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/dark_modern.json",
- "target": "assets/vscode-themes/dark_modern.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/dark_plus.json",
- "target": "assets/vscode-themes/dark_plus.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/dark_vs.json",
- "target": "assets/vscode-themes/dark_vs.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/hc_black.json",
- "target": "assets/vscode-themes/hc_black.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/hc_light.json",
- "target": "assets/vscode-themes/hc_light.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/LICENSE",
- "target": "assets/vscode-themes/LICENSE",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/light_modern.json",
- "target": "assets/vscode-themes/light_modern.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/light_plus.json",
- "target": "assets/vscode-themes/light_plus.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/light_vs.json",
- "target": "assets/vscode-themes/light_vs.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/monokai-color-theme.json",
- "target": "assets/vscode-themes/monokai-color-theme.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "assets/vscode-themes/solarized-light-color-theme.json",
- "target": "assets/vscode-themes/solarized-light-color-theme.json",
- "type": "hyperframes:asset"
- },
- {
- "path": "DESIGN.md",
- "target": "DESIGN.md",
- "type": "hyperframes:asset"
- },
- {
- "path": "index.html",
- "target": "index.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/dark-2026.html",
- "target": "render-entries/dark-2026.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/dark-modern.html",
- "target": "render-entries/dark-modern.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/dark-plus.html",
- "target": "render-entries/dark-plus.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/high-contrast-light.html",
- "target": "render-entries/high-contrast-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/high-contrast.html",
- "target": "render-entries/high-contrast.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/light-2026.html",
- "target": "render-entries/light-2026.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/light-modern.html",
- "target": "render-entries/light-modern.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/light-plus.html",
- "target": "render-entries/light-plus.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/monokai.html",
- "target": "render-entries/monokai.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/solarized-light.html",
- "target": "render-entries/solarized-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/visual-studio-dark.html",
- "target": "render-entries/visual-studio-dark.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "render-entries/visual-studio-light.html",
- "target": "render-entries/visual-studio-light.html",
- "type": "hyperframes:composition"
- },
- {
- "path": "scripts/build-compositions.mjs",
- "target": "scripts/build-compositions.mjs",
- "type": "hyperframes:asset"
- },
- {
- "path": "scripts/build-theme-registry.mjs",
- "target": "scripts/build-theme-registry.mjs",
- "type": "hyperframes:asset"
- }
- ]
-}
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/dark-2026.html b/registry/examples/vscode-theme-visualizer/render-entries/dark-2026.html
deleted file mode 100644
index 43b73a49ce..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/dark-2026.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Dark 2026 Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-dark-2026 {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-dark-2026"
- data-composition-id="render-dark-2026"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-dark-2026"
- data-composition-id="vscode-dark-2026"
- data-composition-src="../compositions/dark-2026.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-dark-2026"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/dark-modern.html b/registry/examples/vscode-theme-visualizer/render-entries/dark-modern.html
deleted file mode 100644
index 6dfe31be5b..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/dark-modern.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Dark Modern Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-dark-modern {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-dark-modern"
- data-composition-id="render-dark-modern"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-dark-modern"
- data-composition-id="vscode-dark-modern"
- data-composition-src="../compositions/dark-modern.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-dark-modern"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/dark-plus.html b/registry/examples/vscode-theme-visualizer/render-entries/dark-plus.html
deleted file mode 100644
index 1e4f207122..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/dark-plus.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Dark+ Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-dark-plus {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-dark-plus"
- data-composition-id="render-dark-plus"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-dark-plus"
- data-composition-id="vscode-dark-plus"
- data-composition-src="../compositions/dark-plus.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-dark-plus"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/high-contrast-light.html b/registry/examples/vscode-theme-visualizer/render-entries/high-contrast-light.html
deleted file mode 100644
index 8ca9bac037..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/high-contrast-light.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast Light Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-high-contrast-light {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-high-contrast-light"
- data-composition-id="render-high-contrast-light"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-high-contrast-light"
- data-composition-id="vscode-high-contrast-light"
- data-composition-src="../compositions/high-contrast-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-high-contrast-light"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/high-contrast.html b/registry/examples/vscode-theme-visualizer/render-entries/high-contrast.html
deleted file mode 100644
index a244d4ea17..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/high-contrast.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Default High Contrast Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-high-contrast {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-high-contrast"
- data-composition-id="render-high-contrast"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-high-contrast"
- data-composition-id="vscode-high-contrast"
- data-composition-src="../compositions/high-contrast.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-high-contrast"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/light-2026.html b/registry/examples/vscode-theme-visualizer/render-entries/light-2026.html
deleted file mode 100644
index 2a7cdaef12..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/light-2026.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light 2026 Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-light-2026 {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-light-2026"
- data-composition-id="render-light-2026"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-light-2026"
- data-composition-id="vscode-light-2026"
- data-composition-src="../compositions/light-2026.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-light-2026"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/light-modern.html b/registry/examples/vscode-theme-visualizer/render-entries/light-modern.html
deleted file mode 100644
index 286e2b5e9e..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/light-modern.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light Modern Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-light-modern {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-light-modern"
- data-composition-id="render-light-modern"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-light-modern"
- data-composition-id="vscode-light-modern"
- data-composition-src="../compositions/light-modern.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-light-modern"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/light-plus.html b/registry/examples/vscode-theme-visualizer/render-entries/light-plus.html
deleted file mode 100644
index 45643cb071..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/light-plus.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Light+ Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-light-plus {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-light-plus"
- data-composition-id="render-light-plus"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-light-plus"
- data-composition-id="vscode-light-plus"
- data-composition-src="../compositions/light-plus.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-light-plus"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/monokai.html b/registry/examples/vscode-theme-visualizer/render-entries/monokai.html
deleted file mode 100644
index c3a66c72c8..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/monokai.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Monokai Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-monokai {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-monokai"
- data-composition-id="render-monokai"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-monokai"
- data-composition-id="vscode-monokai"
- data-composition-src="../compositions/monokai.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-monokai"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/solarized-light.html b/registry/examples/vscode-theme-visualizer/render-entries/solarized-light.html
deleted file mode 100644
index fe2d1ad8a2..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/solarized-light.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Solarized Light Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-solarized-light {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-solarized-light"
- data-composition-id="render-solarized-light"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-solarized-light"
- data-composition-id="vscode-solarized-light"
- data-composition-src="../compositions/solarized-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-solarized-light"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-dark.html b/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-dark.html
deleted file mode 100644
index 98e28d761b..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-dark.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Dark Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-visual-studio-dark {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-visual-studio-dark"
- data-composition-id="render-visual-studio-dark"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-visual-studio-dark"
- data-composition-id="vscode-visual-studio-dark"
- data-composition-src="../compositions/visual-studio-dark.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-visual-studio-dark"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-light.html b/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-light.html
deleted file mode 100644
index a8ae197fce..0000000000
--- a/registry/examples/vscode-theme-visualizer/render-entries/visual-studio-light.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>Visual Studio Light Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-visual-studio-light {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div
- id="render-visual-studio-light"
- data-composition-id="render-visual-studio-light"
- data-start="0"
- data-duration="11"
- data-width="1920"
- data-height="1080"
- >
- <div
- id="clip-visual-studio-light"
- data-composition-id="vscode-visual-studio-light"
- data-composition-src="../compositions/visual-studio-light.html"
- data-start="0"
- data-duration="11"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-visual-studio-light"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
diff --git a/registry/examples/vscode-theme-visualizer/scripts/build-compositions.mjs b/registry/examples/vscode-theme-visualizer/scripts/build-compositions.mjs
deleted file mode 100644
index 246d0fb1f1..0000000000
--- a/registry/examples/vscode-theme-visualizer/scripts/build-compositions.mjs
+++ /dev/null
@@ -1,932 +0,0 @@
-import fs from "node:fs";
-import path from "node:path";
-import { fileURLToPath } from "node:url";
-
-const __dirname = path.dirname(fileURLToPath(import.meta.url));
-const projectRoot = path.resolve(__dirname, "..");
-const repoRoot = path.resolve(projectRoot, "../../..");
-const assetsDir = path.join(projectRoot, "assets");
-const compositionsDir = path.join(projectRoot, "compositions");
-const renderEntriesDir = path.join(projectRoot, "render-entries");
-const blocksDir = path.join(repoRoot, "registry", "blocks");
-
-fs.mkdirSync(compositionsDir, { recursive: true });
-fs.mkdirSync(renderEntriesDir, { recursive: true });
-
-const registrySource = fs.readFileSync(path.join(assetsDir, "vscode-theme-registry.js"), "utf8");
-const registryBody = registrySource
- .replace(/^.*window\.VSCODE_THEME_REGISTRY\s*=\s*/s, "")
- .replace(/;\s*$/, "");
-const registry = new Function("return (" + registryBody + ")")();
-const clipDuration = 11;
-
-const css = String.raw`* {
- box-sizing: border-box;
- letter-spacing: 0;
-}
-
-html,
-body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
-}
-
-.vscode-theme-scene {
- --activity-bg: #181818;
- --activity-fg: #d7d7d7;
- --activity-muted: #868686;
- --activity-active: #0078d4;
- --sidebar-bg: #181818;
- --sidebar-fg: #cccccc;
- --sidebar-border: #2b2b2b;
- --tab-bg: #181818;
- --tab-active-bg: #1f1f1f;
- --tab-active-fg: #ffffff;
- --tab-inactive-fg: #9d9d9d;
- --tab-border: #2b2b2b;
- --editor-bg: #1f1f1f;
- --editor-fg: #cccccc;
- --editor-line: rgba(255, 255, 255, 0.04);
- --gutter-fg: #6e7681;
- --gutter-active-fg: #cccccc;
- --panel-bg: #181818;
- --panel-border: #2b2b2b;
- --status-bg: #181818;
- --status-fg: #cccccc;
- --status-border: #2b2b2b;
- --title-bg: #181818;
- --title-fg: #cccccc;
- --token-comment: #6a9955;
- --token-keyword: #c586c0;
- --token-function: #dcdcaa;
- --token-string: #ce9178;
- --token-number: #b5cea8;
- --token-variable: #9cdcfe;
- --token-parameter: #9cdcfe;
- --token-operator: #d4d4d4;
- --token-punctuation: #d4d4d4;
- --token-class-name: #4ec9b0;
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background:
- linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.32)),
- url("../assets/background.jpeg") center / cover no-repeat;
- color: var(--editor-fg);
-}
-
-.scene-content {
- position: relative;
- z-index: 1;
- width: 100%;
- height: 100%;
- padding: 54px 70px 92px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- perspective: 2200px;
- perspective-origin: 56% 52%;
-}
-
-.header {
- display: flex;
- align-items: end;
- justify-content: space-between;
- min-height: 66px;
- text-shadow:
- 0 2px 12px rgba(0, 0, 0, 0.42),
- 0 14px 34px rgba(0, 0, 0, 0.32);
-}
-
-.kicker {
- margin: 0 0 7px;
- color: var(--gutter-fg);
- font-size: 15px;
- font-weight: 650;
- text-transform: uppercase;
- text-shadow:
- 0 2px 8px rgba(0, 0, 0, 0.48),
- 0 10px 26px rgba(0, 0, 0, 0.36);
-}
-
-.title {
- margin: 0;
- color: var(--editor-fg);
- font-size: 44px;
- line-height: 1;
- font-weight: 760;
-}
-
-.source-note {
- width: 510px;
- color: var(--gutter-fg);
- font-size: 16px;
- line-height: 1.35;
- text-align: right;
- text-shadow:
- 0 2px 10px rgba(0, 0, 0, 0.46),
- 0 12px 30px rgba(0, 0, 0, 0.34);
-}
-
-.workbench {
- height: 824px;
- display: grid;
- grid-template-columns: 54px 290px 1fr;
- grid-template-rows: 36px 1fr 26px;
- overflow: hidden;
- border: 1px solid var(--sidebar-border);
- border-radius: 8px;
- background: var(--editor-bg);
- box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
- transform: translateZ(0);
- transform-origin: 82% 50%;
- transform-style: preserve-3d;
- will-change: transform;
-}
-
-.titlebar {
- grid-column: 1 / -1;
- display: grid;
- grid-template-columns: 120px 1fr 210px;
- align-items: center;
- background: var(--title-bg);
- color: var(--title-fg);
- border-bottom: 1px solid var(--tab-border);
- font-size: 12px;
-}
-
-.traffic {
- display: flex;
- gap: 8px;
- padding-left: 18px;
-}
-
-.traffic span {
- width: 12px;
- height: 12px;
- border-radius: 999px;
-}
-
-.traffic span:nth-child(1) { background: #ff5f57; }
-.traffic span:nth-child(2) { background: #ffbd2e; }
-.traffic span:nth-child(3) { background: #28c840; }
-
-.window-title {
- justify-self: center;
- opacity: 0.84;
-}
-
-.command-center {
- justify-self: end;
- width: 176px;
- height: 22px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid color-mix(in srgb, var(--title-fg), transparent 78%);
- border-radius: 5px;
- color: color-mix(in srgb, var(--title-fg), transparent 18%);
-}
-
-.activity {
- grid-row: 2 / 3;
- background: var(--activity-bg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 10px 0;
- gap: 18px;
-}
-
-.activity-icon {
- width: 28px;
- height: 28px;
- color: var(--activity-muted);
-}
-
-.activity-icon.active {
- color: var(--activity-fg);
- border-left: 2px solid var(--activity-active);
- padding-left: 4px;
-}
-
-.sidebar {
- grid-row: 2 / 3;
- background: var(--sidebar-bg);
- color: var(--sidebar-fg);
- border-right: 1px solid var(--sidebar-border);
- display: flex;
- flex-direction: column;
- min-width: 0;
-}
-
-.sidebar-title {
- height: 38px;
- display: flex;
- align-items: center;
- padding: 0 20px;
- color: var(--sidebar-fg);
- font-size: 11px;
- text-transform: uppercase;
-}
-
-.section-title {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 6px;
- padding: 0 14px;
- background: color-mix(in srgb, var(--sidebar-bg), var(--sidebar-fg) 5%);
- border-top: 1px solid var(--sidebar-border);
- border-bottom: 1px solid var(--sidebar-border);
- color: var(--sidebar-fg);
- font-size: 11px;
- font-weight: 700;
-}
-
-.tree {
- padding: 8px 0;
- font-size: 13px;
- line-height: 24px;
-}
-
-.tree-row {
- height: 24px;
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 10px 0 18px;
- color: color-mix(in srgb, var(--sidebar-fg), transparent 8%);
- white-space: nowrap;
-}
-
-.tree-row.child {
- padding-left: 34px;
-}
-
-.tree-row.selected {
- background: color-mix(in srgb, var(--sidebar-fg), transparent 88%);
- color: var(--sidebar-fg);
-}
-
-.editor-area {
- grid-row: 2 / 3;
- display: grid;
- grid-template-rows: 36px 30px 1fr 138px;
- min-width: 0;
- background: var(--editor-bg);
-}
-
-.tabs {
- display: flex;
- background: var(--tab-bg);
- border-bottom: 1px solid var(--tab-border);
-}
-
-.tab {
- width: 205px;
- height: 36px;
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 13px;
- border-right: 1px solid var(--tab-border);
- background: var(--tab-active-bg);
- color: var(--tab-active-fg);
- border-top: 2px solid var(--activity-active);
- font-size: 13px;
-}
-
-.tab.inactive {
- background: var(--tab-bg);
- color: var(--tab-inactive-fg);
- border-top-color: transparent;
-}
-
-.breadcrumbs {
- display: flex;
- align-items: center;
- gap: 7px;
- padding: 0 18px;
- color: var(--gutter-fg);
- border-bottom: 1px solid color-mix(in srgb, var(--tab-border), transparent 20%);
- font-size: 12px;
-}
-
-.editor {
- position: relative;
- overflow: hidden;
- background: var(--editor-bg);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 18px;
- line-height: 1.52;
-}
-
-.active-line {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- height: 28px;
- background: var(--editor-line);
- will-change: transform;
-}
-
-.code {
- position: relative;
- padding: 20px 36px 18px 0;
-}
-
-.line {
- height: 28px;
- display: grid;
- grid-template-columns: 72px 1fr;
- align-items: center;
-}
-
-.line-number {
- padding-right: 18px;
- color: var(--gutter-fg);
- text-align: right;
- user-select: none;
-}
-
-.line.is-active .line-number {
- color: var(--gutter-active-fg);
-}
-
-.line-code {
- white-space: pre;
-}
-
-.char {
- opacity: 0;
-}
-
-.tok-comment { color: var(--token-comment); }
-.tok-keyword { color: var(--token-keyword); }
-.tok-function { color: var(--token-function); }
-.tok-string { color: var(--token-string); }
-.tok-number { color: var(--token-number); }
-.tok-variable { color: var(--token-variable); }
-.tok-parameter { color: var(--token-parameter); }
-.tok-operator { color: var(--token-operator); }
-.tok-punctuation { color: var(--token-punctuation); }
-.tok-class-name { color: var(--token-class-name); }
-
-.caret {
- position: absolute;
- left: 0;
- top: 0;
- z-index: 3;
- display: block;
- width: 2px;
- height: 22px;
- background: var(--editor-fg);
- pointer-events: none;
- will-change: transform, opacity;
-}
-
-.terminal {
- display: grid;
- grid-template-rows: 32px 1fr;
- background: var(--panel-bg);
- border-top: 1px solid var(--panel-border);
- color: var(--editor-fg);
- font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
- font-size: 14px;
-}
-
-.panel-tabs {
- display: flex;
- align-items: center;
- gap: 22px;
- padding: 0 18px;
- border-bottom: 1px solid var(--panel-border);
- color: var(--gutter-fg);
- font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
- font-size: 12px;
- text-transform: uppercase;
-}
-
-.panel-tabs .active {
- color: var(--editor-fg);
- border-bottom: 1px solid var(--activity-active);
- height: 32px;
- display: flex;
- align-items: center;
-}
-
-.terminal-body {
- padding: 12px 20px;
- color: var(--editor-fg);
- line-height: 1.8;
-}
-
-.prompt {
- color: var(--token-function);
-}
-
-.statusbar {
- grid-column: 1 / -1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: var(--status-bg);
- color: var(--status-fg);
- border-top: 1px solid var(--status-border);
- font-size: 12px;
-}
-
-.status-left,
-.status-right {
- display: flex;
- align-items: center;
- gap: 18px;
- padding: 0 12px;
-}
-
-.remote {
- align-self: stretch;
- display: flex;
- align-items: center;
- padding: 0 12px;
- margin-left: -12px;
- background: var(--status-remote-bg, var(--activity-active));
- color: var(--status-remote-fg, #ffffff);
-}
-
-svg {
- display: block;
-}
-`;
-
-const runtime = String.raw`(() => {
- const codeLines = [
- [{ text: "# A small functional toolkit", token: "comment" }],
- [{ text: "def", token: "keyword" }, { text: " ", token: "plain" }, { text: "pluck_deep", token: "function" }, { text: "(", token: "punctuation" }, { text: "key", token: "parameter" }, { text: "):", token: "punctuation" }],
- [{ text: " ", token: "plain" }, { text: "return", token: "keyword" }, { text: " ", token: "plain" }, { text: "lambda", token: "keyword" }, { text: " ", token: "plain" }, { text: "obj", token: "parameter" }, { text: ": ", token: "punctuation" }, { text: "reduce", token: "function" }, { text: "(", token: "punctuation" }, { text: "lambda", token: "keyword" }, { text: " ", token: "plain" }, { text: "acc", token: "parameter" }, { text: ", ", token: "punctuation" }, { text: "k", token: "parameter" }, { text: ": ", token: "punctuation" }, { text: "acc", token: "variable" }, { text: "[", token: "punctuation" }, { text: "k", token: "variable" }, { text: "]", token: "punctuation" }, { text: ", ", token: "punctuation" }, { text: "key", token: "variable" }, { text: ".split", token: "function" }, { text: "(", token: "punctuation" }, { text: "'.'", token: "string" }, { text: "), ", token: "punctuation" }, { text: "obj", token: "variable" }, { text: ")", token: "punctuation" }],
- [],
- [{ text: "def", token: "keyword" }, { text: " ", token: "plain" }, { text: "compose", token: "function" }, { text: "(", token: "punctuation" }, { text: "*", token: "operator" }, { text: "fns", token: "parameter" }, { text: "):", token: "punctuation" }],
- [{ text: " ", token: "plain" }, { text: "return", token: "keyword" }, { text: " ", token: "plain" }, { text: "lambda", token: "keyword" }, { text: " ", token: "plain" }, { text: "res", token: "parameter" }, { text: ": ", token: "punctuation" }, { text: "reduce", token: "function" }, { text: "(", token: "punctuation" }, { text: "lambda", token: "keyword" }, { text: " ", token: "plain" }, { text: "acc", token: "parameter" }, { text: ", ", token: "punctuation" }, { text: "fn", token: "parameter" }, { text: ": ", token: "punctuation" }, { text: "fn", token: "function" }, { text: "(", token: "punctuation" }, { text: "acc", token: "variable" }, { text: "), ", token: "punctuation" }, { text: "fns", token: "variable" }, { text: ", ", token: "punctuation" }, { text: "res", token: "variable" }, { text: ")", token: "punctuation" }],
- [],
- [{ text: "def", token: "keyword" }, { text: " ", token: "plain" }, { text: "unfold", token: "function" }, { text: "(", token: "punctuation" }, { text: "f", token: "parameter" }, { text: ", ", token: "punctuation" }, { text: "seed", token: "parameter" }, { text: "):", token: "punctuation" }],
- [{ text: " ", token: "plain" }, { text: "\"\"\"Build a list by repeatedly applying f to a seed.\"\"\"", token: "string" }],
- [{ text: " acc", token: "variable" }, { text: " = ", token: "operator" }, { text: "[]", token: "punctuation" }],
- [{ text: " while", token: "keyword" }, { text: " ", token: "plain" }, { text: "True", token: "className" }, { text: ":", token: "punctuation" }],
- [{ text: " result", token: "variable" }, { text: " = ", token: "operator" }, { text: "f", token: "function" }, { text: "(", token: "punctuation" }, { text: "seed", token: "variable" }, { text: ")", token: "punctuation" }],
- [{ text: " if", token: "keyword" }, { text: " ", token: "plain" }, { text: "result", token: "variable" }, { text: " is ", token: "keyword" }, { text: "None", token: "className" }, { text: ":", token: "punctuation" }],
- [{ text: " return", token: "keyword" }, { text: " ", token: "plain" }, { text: "acc", token: "variable" }],
- [{ text: " acc", token: "variable" }, { text: ".append", token: "function" }, { text: "(", token: "punctuation" }, { text: "result", token: "variable" }, { text: "[", token: "punctuation" }, { text: "0", token: "number" }, { text: "])", token: "punctuation" }],
- [{ text: " seed", token: "variable" }, { text: " = ", token: "operator" }, { text: "result", token: "variable" }, { text: "[", token: "punctuation" }, { text: "1", token: "number" }, { text: "]", token: "punctuation" }],
- [],
- ];
-
- const fallback = {
- "activityBar.background": "#181818",
- "activityBar.foreground": "#d7d7d7",
- "activityBar.inactiveForeground": "#868686",
- "activityBar.activeBorder": "#0078d4",
- "sideBar.background": "#181818",
- "sideBar.foreground": "#cccccc",
- "sideBar.border": "#2b2b2b",
- "tab.activeBackground": "#1f1f1f",
- "tab.activeForeground": "#ffffff",
- "tab.inactiveBackground": "#181818",
- "tab.inactiveForeground": "#9d9d9d",
- "tab.border": "#2b2b2b",
- "editor.background": "#1f1f1f",
- "editor.foreground": "#cccccc",
- "editor.lineHighlightBackground": "#ffffff0a",
- "editorLineNumber.foreground": "#6e7681",
- "editorLineNumber.activeForeground": "#cccccc",
- "panel.background": "#181818",
- "panel.border": "#2b2b2b",
- "statusBar.background": "#181818",
- "statusBar.foreground": "#cccccc",
- "statusBar.border": "#2b2b2b",
- "titleBar.activeBackground": "#181818",
- "titleBar.activeForeground": "#cccccc",
- };
-
- function color(theme, key) {
- return theme.colors[key] || fallback[key] || theme.colors.foreground || "#cccccc";
- }
-
- function solarizedGrey(theme) {
- return theme.colors["tab.inactiveForeground"] || theme.colors["editor.foreground"] || "#586E75";
- }
-
- function setVar(root, name, value) {
- root.style.setProperty(name, value);
- }
-
- function applyTheme(root, theme) {
- const solarizedUiGrey = theme.id === "solarized-light" ? solarizedGrey(theme) : null;
- setVar(root, "--activity-bg", color(theme, "activityBar.background"));
- setVar(root, "--activity-fg", solarizedUiGrey || color(theme, "activityBar.foreground"));
- setVar(root, "--activity-muted", solarizedUiGrey || color(theme, "activityBar.inactiveForeground"));
- setVar(root, "--activity-active", color(theme, "activityBar.activeBorder"));
- setVar(root, "--sidebar-bg", color(theme, "sideBar.background"));
- setVar(root, "--sidebar-fg", solarizedUiGrey || color(theme, "sideBar.foreground"));
- setVar(root, "--sidebar-border", color(theme, "sideBar.border"));
- setVar(root, "--tab-bg", color(theme, "tab.inactiveBackground"));
- setVar(root, "--tab-active-bg", color(theme, "tab.activeBackground"));
- setVar(root, "--tab-active-fg", solarizedUiGrey || color(theme, "tab.activeForeground"));
- setVar(root, "--tab-inactive-fg", solarizedUiGrey || color(theme, "tab.inactiveForeground"));
- setVar(root, "--tab-border", color(theme, "tab.border"));
- setVar(root, "--editor-bg", color(theme, "editor.background"));
- setVar(root, "--editor-fg", color(theme, "editor.foreground"));
- setVar(root, "--editor-line", color(theme, "editor.lineHighlightBackground"));
- setVar(root, "--gutter-fg", color(theme, "editorLineNumber.foreground"));
- setVar(root, "--gutter-active-fg", color(theme, "editorLineNumber.activeForeground"));
- setVar(root, "--panel-bg", color(theme, "panel.background"));
- setVar(root, "--panel-border", color(theme, "panel.border"));
- setVar(root, "--status-bg", color(theme, "statusBar.background"));
- setVar(root, "--status-fg", color(theme, "statusBar.foreground"));
- setVar(root, "--status-border", color(theme, "statusBar.border"));
- setVar(root, "--status-remote-bg", color(theme, "statusBarItem.remoteBackground"));
- setVar(root, "--status-remote-fg", solarizedUiGrey || color(theme, "statusBarItem.remoteForeground"));
- setVar(root, "--title-bg", color(theme, "titleBar.activeBackground"));
- setVar(root, "--title-fg", solarizedUiGrey || color(theme, "titleBar.activeForeground"));
- setVar(root, "--token-comment", theme.tokens.comment);
- setVar(root, "--token-keyword", theme.tokens.keyword);
- setVar(root, "--token-function", theme.tokens.function);
- setVar(root, "--token-string", theme.tokens.string);
- setVar(root, "--token-number", theme.tokens.number);
- setVar(root, "--token-variable", theme.tokens.variable);
- setVar(root, "--token-parameter", theme.tokens.parameter);
- setVar(root, "--token-operator", theme.tokens.operator);
- setVar(root, "--token-punctuation", theme.tokens.punctuation);
- setVar(root, "--token-class-name", theme.tokens.className);
- }
-
- function renderCode(root) {
- const code = root.querySelector(".code");
- codeLines.forEach((segments, index) => {
- const line = document.createElement("div");
- line.className = "line";
- line.dataset.lineIndex = String(index);
-
- const lineNumber = document.createElement("span");
- lineNumber.className = "line-number";
- lineNumber.textContent = String(index + 1);
- line.appendChild(lineNumber);
-
- const lineCode = document.createElement("span");
- lineCode.className = "line-code";
- segments.forEach((segment) => {
- [...segment.text].forEach((char) => {
- const span = document.createElement("span");
- span.className = segment.token === "plain" ? "char" : "char tok-" + segment.token.replace(/[A-Z]/g, (match) => "-" + match.toLowerCase());
- span.dataset.lineIndex = String(index);
- span.textContent = char;
- lineCode.appendChild(span);
- });
- });
- line.appendChild(lineCode);
- code.appendChild(line);
- });
-
- const caret = document.createElement("span");
- caret.className = "caret";
- root.querySelector(".editor").appendChild(caret);
- }
-
- function caretPointForElement(editor, el) {
- const editorBox = editor.getBoundingClientRect();
- const charBox = el.getBoundingClientRect();
- return {
- x: charBox.right - editorBox.left + 2,
- y: charBox.top - editorBox.top + 3,
- };
- }
-
- function caretPointForLineStart(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- const codeBox = line.querySelector(".line-code").getBoundingClientRect();
- return {
- x: codeBox.left - editorBox.left,
- y: lineBox.top - editorBox.top + 3,
- };
- }
-
- function lineHighlightY(editor, line) {
- const editorBox = editor.getBoundingClientRect();
- const lineBox = line.getBoundingClientRect();
- return lineBox.top - editorBox.top;
- }
-
- function buildTimeline(root, compositionId) {
- const tl = gsap.timeline({ paused: true });
- const editor = root.querySelector(".editor");
- const caret = root.querySelector(".caret");
- const activeLine = root.querySelector(".active-line");
- const lineEls = gsap.utils.toArray(root.querySelectorAll(".line"));
- const lineStartTimes = [];
- const charSchedule = [];
- let cursorTime = 0.95;
-
- lineEls.forEach((line, lineIndex) => {
- const lineChars = gsap.utils.toArray(line.querySelectorAll(".char"));
- lineStartTimes[lineIndex] = cursorTime;
- lineChars.forEach((char, charIndex) => {
- charSchedule.push({ char, time: cursorTime + charIndex * 0.012 });
- });
- cursorTime += Math.max(lineChars.length * 0.012, 0.08) + 0.045;
- });
-
- gsap.set(activeLine, { y: lineHighlightY(editor, lineEls[0]) });
- gsap.set(caret, caretPointForLineStart(editor, lineEls[0]));
-
- tl.from(root.querySelector(".header"), { y: 24, opacity: 0, duration: 0.45, ease: "power3.out" }, 0);
- tl.from(root.querySelector(".workbench"), { y: 42, opacity: 0, scale: 0.986, duration: 0.58, ease: "power3.out" }, 0.1);
- tl.from(activeLine, { opacity: 0, duration: 0.22, ease: "power2.out" }, 0.74);
- lineStartTimes.forEach((time, lineIndex) => {
- const line = lineEls[lineIndex];
- tl.set(activeLine, { y: lineHighlightY(editor, line) }, time);
- tl.set(caret, caretPointForLineStart(editor, line), time);
- tl.call(() => {
- lineEls.forEach((item) => item.classList.toggle("is-active", item === line));
- }, [], time);
- });
- charSchedule.forEach(({ char, time }) => {
- tl.set(char, { opacity: 1 }, time);
- tl.set(caret, caretPointForElement(editor, char), time + 0.002);
- });
- tl.to(root.querySelector(".caret"), { opacity: 0, duration: 0.34, repeat: 25, yoyo: true, ease: "steps(1)" }, 0.95);
- tl.from(root.querySelector(".terminal"), { y: 140, opacity: 0, duration: 0.56, ease: "power3.out" }, 7.55);
- tl.from(root.querySelector(".terminal-body").children, { opacity: 0, y: 8, duration: 0.24, stagger: 0.16, ease: "power2.out" }, 8.05);
- tl.to(root.querySelector(".workbench"), { rotateY: -10.5, z: 74, duration: 0.72, ease: "power2.inOut" }, 9.35);
- tl.to(root.querySelector(".workbench"), { rotateY: 0, z: 0, duration: 0.62, ease: "power2.inOut" }, 10.08);
-
- window.__timelines = window.__timelines || {};
- window.__timelines[compositionId] = tl;
-
- const previewTime = new URLSearchParams(window.location.search).get("t");
- if (previewTime !== null) {
- tl.time(Number(previewTime));
- }
- }
-
- window.createVSCodeThemeComposition = (compositionId, themeOrId) => {
- const root =
- document.querySelector('[data-composition-id="' + compositionId + '"] .vscode-theme-scene') ||
- document.querySelector('.vscode-theme-scene[data-composition-id="' + compositionId + '"]') ||
- document.querySelector('[data-composition-id="' + compositionId + '"]');
- const theme = typeof themeOrId === "string"
- ? window.VSCODE_THEME_REGISTRY.find((item) => item.id === themeOrId)
- : themeOrId;
- if (!root || !theme) return;
- root.querySelector(".theme-label").textContent = theme.label;
- root.querySelector(".theme-source").textContent = theme.sourceFile;
- applyTheme(root, theme);
- renderCode(root);
- buildTimeline(root, compositionId);
- };
-})();
-`;
-
-function compositionMarkup(compositionId, theme) {
- return `<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>${theme.label} VS Code Theme Composition</title>
- </head>
- <body>
- <template id="${compositionId}-template">
- <div class="vscode-theme-scene" data-composition-id="${compositionId}" data-width="1920" data-height="1080">
- <main class="scene-content">
- <section class="header">
- <div>
- <p class="kicker">Official VS Code built-in theme</p>
- <h1 class="title"><span class="theme-label">${theme.label}</span></h1>
- </div>
- <p class="source-note">
- Typing \`functional_toolkit.py\` with workbench colors from
- <span class="theme-source">${theme.sourceFile}</span>.
- </p>
- </section>
-
- ${workbenchMarkup()}
- </main>
- <style>
-${css}
- </style>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <script>
-${runtime}
- </script>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["${compositionId}"] = window.__timelines["${compositionId}"] || gsap.timeline({ paused: true });
- window.createVSCodeThemeComposition("${compositionId}", ${JSON.stringify(theme)});
- </script>
- </div>
- </template>
- </body>
-</html>
-`;
-}
-
-function workbenchMarkup() {
- return `<section class="workbench">
- <div class="titlebar">
- <div class="traffic"><span></span><span></span><span></span></div>
- <div class="window-title">functional-toolkit - Visual Studio Code</div>
- <div class="command-center">Search</div>
- </div>
-
- <aside class="activity" aria-label="Activity bar">
- <svg class="activity-icon active" viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z" /></svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="2" d="m21 21-5.2-5.2M10.5 18a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Z" /></svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="2" d="M8 18 3 12l5-6m8 12 5-6-5-6" /></svg>
- <svg class="activity-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-width="2" d="M12 3v18m0-18 6 6m-6-6L6 9m6 12 6-6m-6 6-6-6" /></svg>
- </aside>
-
- <aside class="sidebar">
- <div class="sidebar-title">Explorer</div>
- <div class="section-title">⌄ Functional Toolkit</div>
- <div class="tree">
- <div class="tree-row">⌄ src</div>
- <div class="tree-row child selected">◇ functional_toolkit.py</div>
- <div class="tree-row child">◇ test_toolkit.py</div>
- <div class="tree-row">◇ pyproject.toml</div>
- <div class="tree-row">◇ README.md</div>
- </div>
- </aside>
-
- <section class="editor-area">
- <div class="tabs">
- <div class="tab">◇ functional_toolkit.py</div>
- <div class="tab inactive">README.md</div>
- </div>
- <div class="breadcrumbs">functional-toolkit › src › functional_toolkit.py</div>
- <div class="editor">
- <div class="active-line"></div>
- <div class="code"></div>
- </div>
- <div class="terminal">
- <div class="panel-tabs"><span class="active">Terminal</span><span>Problems</span><span>Output</span></div>
- <div class="terminal-body">
- <div><span class="prompt">functional-toolkit %</span> python -m pytest</div>
- <div>collected 3 items</div>
- <div>tests/test_toolkit.py ... <span class="tok-comment">passed</span></div>
- </div>
- </div>
- </section>
-
- <footer class="statusbar">
- <div class="status-left">
- <span class="remote">main</span>
- <span>0 errors</span>
- <span>0 warnings</span>
- </div>
- <div class="status-right">
- <span>Ln 17, Col 1</span>
- <span>Spaces: 4</span>
- <span>UTF-8</span>
- <span>Python 3.12</span>
- </div>
- </footer>
-</section>`;
-}
-
-function rootIndexMarkup() {
- const clips = registry
- .map((theme, index) => {
- const compositionId = `vscode-${theme.id}`;
- return ` <div
- id="clip-${theme.id}"
- data-composition-id="${compositionId}"
- data-composition-src="compositions/${theme.id}.html"
- data-start="${index * clipDuration}"
- data-duration="${clipDuration}"
- data-track-index="1"
- ></div>`;
- })
- .join("\n");
-
- return `<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>VS Code Theme Sequence</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #vscode-theme-sequence {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div id="vscode-theme-sequence" data-composition-id="vscode-theme-sequence" data-start="0" data-width="1920" data-height="1080">
-${clips}
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["vscode-theme-sequence"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
-`;
-}
-
-function renderEntryMarkup(theme) {
- const compositionId = `vscode-${theme.id}`;
- return `<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=1920, height=1080" />
- <title>${theme.label} Render Entry</title>
- <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
- <style>
- html,
- body {
- margin: 0;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
-
- #render-${theme.id} {
- position: relative;
- width: 1920px;
- height: 1080px;
- overflow: hidden;
- background: #000000;
- }
- </style>
- </head>
- <body>
- <div id="render-${theme.id}" data-composition-id="render-${theme.id}" data-start="0" data-duration="${clipDuration}" data-width="1920" data-height="1080">
- <div
- id="clip-${theme.id}"
- data-composition-id="${compositionId}"
- data-composition-src="../compositions/${theme.id}.html"
- data-start="0"
- data-duration="${clipDuration}"
- data-track-index="1"
- ></div>
- <script>
- window.__timelines = window.__timelines || {};
- window.__timelines["render-${theme.id}"] = gsap.timeline({ paused: true });
- </script>
- </div>
- </body>
-</html>
-`;
-}
-
-fs.writeFileSync(path.join(assetsDir, "vscode-sequence.css"), css);
-fs.writeFileSync(path.join(assetsDir, "vscode-sequence-runtime.js"), runtime);
-
-for (const theme of registry) {
- const compositionId = `vscode-${theme.id}`;
- fs.writeFileSync(
- path.join(compositionsDir, `${theme.id}.html`),
- compositionMarkup(compositionId, theme),
- );
- fs.writeFileSync(path.join(renderEntriesDir, `${theme.id}.html`), renderEntryMarkup(theme));
-
- const blockName = `code-snippet-${theme.id}`;
- const blockDir = path.join(blocksDir, blockName);
- fs.mkdirSync(blockDir, { recursive: true });
- fs.writeFileSync(
- path.join(blockDir, `${blockName}.html`),
- compositionMarkup(compositionId, theme),
- );
-}
-
-fs.writeFileSync(path.join(projectRoot, "index.html"), rootIndexMarkup());
-
-console.log(
- `Wrote ${registry.length} themed compositions, render entries, block HTMLs, and root sequence`,
-);
diff --git a/registry/examples/vscode-theme-visualizer/scripts/build-theme-registry.mjs b/registry/examples/vscode-theme-visualizer/scripts/build-theme-registry.mjs
deleted file mode 100644
index 9c1ba18dfd..0000000000
--- a/registry/examples/vscode-theme-visualizer/scripts/build-theme-registry.mjs
+++ /dev/null
@@ -1,237 +0,0 @@
-import fs from "node:fs";
-import path from "node:path";
-import { fileURLToPath } from "node:url";
-
-const __dirname = path.dirname(fileURLToPath(import.meta.url));
-const projectRoot = path.resolve(__dirname, "..");
-const themeDir = path.join(projectRoot, "assets", "vscode-themes");
-const outFile = path.join(projectRoot, "assets", "vscode-theme-registry.js");
-
-const themeEntries = [
- ["light-2026", "Light 2026", "2026-light.json"],
- ["dark-2026", "Dark 2026", "2026-dark.json"],
- ["dark-plus", "Dark+", "dark_plus.json"],
- ["dark-modern", "Dark Modern", "dark_modern.json"],
- ["light-plus", "Light+", "light_plus.json"],
- ["light-modern", "Light Modern", "light_modern.json"],
- ["visual-studio-dark", "Visual Studio Dark", "dark_vs.json"],
- ["visual-studio-light", "Visual Studio Light", "light_vs.json"],
- ["high-contrast", "Default High Contrast", "hc_black.json"],
- ["high-contrast-light", "Default High Contrast Light", "hc_light.json"],
- ["solarized-light", "Solarized Light", "solarized-light-color-theme.json"],
- ["monokai", "Monokai", "monokai-color-theme.json"],
-];
-
-const workbenchKeys = [
- "activityBar.activeBorder",
- "activityBar.background",
- "activityBar.border",
- "activityBar.foreground",
- "activityBar.inactiveForeground",
- "editor.background",
- "editor.foreground",
- "editor.lineHighlightBackground",
- "editor.selectionBackground",
- "editorGroup.border",
- "editorGroupHeader.tabsBackground",
- "editorGroupHeader.tabsBorder",
- "editorLineNumber.activeForeground",
- "editorLineNumber.foreground",
- "foreground",
- "icon.foreground",
- "panel.background",
- "panel.border",
- "sideBar.background",
- "sideBar.border",
- "sideBar.foreground",
- "sideBarSectionHeader.background",
- "sideBarSectionHeader.border",
- "sideBarSectionHeader.foreground",
- "sideBarTitle.foreground",
- "statusBar.background",
- "statusBar.border",
- "statusBar.foreground",
- "statusBarItem.remoteBackground",
- "statusBarItem.remoteForeground",
- "tab.activeBackground",
- "tab.activeBorder",
- "tab.activeBorderTop",
- "tab.activeForeground",
- "tab.border",
- "tab.inactiveBackground",
- "tab.inactiveForeground",
- "terminal.background",
- "terminal.foreground",
- "terminalCursor.foreground",
- "titleBar.activeBackground",
- "titleBar.activeForeground",
-];
-
-const tokenScopes = {
- comment: ["comment", "punctuation.definition.comment"],
- keyword: ["keyword", "storage", "storage.type"],
- function: ["entity.name.function", "support.function"],
- string: ["string", "punctuation.definition.string"],
- number: ["constant.numeric"],
- variable: ["variable", "variable.other"],
- parameter: ["variable.parameter", "meta.function.parameters"],
- operator: ["keyword.operator"],
- punctuation: ["punctuation", "meta.brace"],
- className: ["entity.name.type", "support.class", "support.type"],
-};
-
-const fallbackColors = {
- comment: "#6A9955",
- keyword: "#C586C0",
- function: "#DCDCAA",
- string: "#CE9178",
- number: "#B5CEA8",
- variable: "#9CDCFE",
- parameter: "#9CDCFE",
- operator: "#D4D4D4",
- punctuation: "#D4D4D4",
- className: "#4EC9B0",
-};
-
-function stripJsonComments(source) {
- let output = "";
- let inString = false;
- let escaped = false;
- for (let i = 0; i < source.length; i += 1) {
- const char = source[i];
- const next = source[i + 1];
- if (inString) {
- output += char;
- escaped = char === "\\" && !escaped;
- if (char === '"' && !escaped) inString = false;
- if (char !== "\\") escaped = false;
- continue;
- }
- if (char === '"') {
- inString = true;
- output += char;
- continue;
- }
- if (char === "/" && next === "/") {
- while (i < source.length && source[i] !== "\n") i += 1;
- output += "\n";
- continue;
- }
- if (char === "/" && next === "*") {
- i += 2;
- while (i < source.length && !(source[i] === "*" && source[i + 1] === "/")) i += 1;
- i += 1;
- continue;
- }
- output += char;
- }
- return output;
-}
-
-function stripTrailingCommas(source) {
- let output = "";
- let inString = false;
- let escaped = false;
- for (let i = 0; i < source.length; i += 1) {
- const char = source[i];
- if (inString) {
- output += char;
- escaped = char === "\\" && !escaped;
- if (char === '"' && !escaped) inString = false;
- if (char !== "\\") escaped = false;
- continue;
- }
- if (char === '"') {
- inString = true;
- output += char;
- continue;
- }
- if (char === ",") {
- let j = i + 1;
- while (/\s/.test(source[j])) j += 1;
- if (source[j] === "}" || source[j] === "]") continue;
- }
- output += char;
- }
- return output;
-}
-
-function readTheme(fileName, seen = new Set()) {
- const filePath = path.join(themeDir, fileName);
- if (seen.has(filePath)) throw new Error(`Circular theme include: ${fileName}`);
- seen.add(filePath);
-
- const raw = fs.readFileSync(filePath, "utf8");
- const theme = JSON.parse(stripTrailingCommas(stripJsonComments(raw)));
- let parent = { colors: {}, tokenColors: [], semanticTokenColors: {} };
-
- if (theme.include) {
- parent = readTheme(path.basename(theme.include), seen);
- }
-
- return {
- name: theme.name || parent.name,
- type: theme.type || parent.type,
- colors: { ...parent.colors, ...(theme.colors || {}) },
- tokenColors: [...(parent.tokenColors || []), ...(theme.tokenColors || [])],
- semanticTokenColors: {
- ...(parent.semanticTokenColors || {}),
- ...(theme.semanticTokenColors || {}),
- },
- };
-}
-
-function scopeList(scope) {
- if (!scope) return [];
- if (Array.isArray(scope)) return scope;
- return String(scope)
- .split(",")
- .map((item) => item.trim());
-}
-
-function scopeMatches(actual, wanted) {
- return actual === wanted || actual.startsWith(`${wanted}.`) || wanted.startsWith(`${actual}.`);
-}
-
-function findTokenColor(theme, wantedScopes) {
- for (let i = theme.tokenColors.length - 1; i >= 0; i -= 1) {
- const tokenColor = theme.tokenColors[i];
- const foreground = tokenColor.settings?.foreground;
- if (!foreground) continue;
- const scopes = scopeList(tokenColor.scope);
- if (scopes.some((scope) => wantedScopes.some((wanted) => scopeMatches(scope, wanted)))) {
- return foreground;
- }
- }
- return null;
-}
-
-function pickColors(colors) {
- const picked = {};
- for (const key of workbenchKeys) {
- if (colors[key]) picked[key] = colors[key];
- }
- return picked;
-}
-
-const registry = themeEntries.map(([id, label, file]) => {
- const theme = readTheme(file);
- const tokens = {};
- for (const [tokenName, scopes] of Object.entries(tokenScopes)) {
- tokens[tokenName] = findTokenColor(theme, scopes) || fallbackColors[tokenName];
- }
-
- return {
- id,
- label,
- sourceFile: file,
- uiTheme: file.includes("light") || file.includes("2026-light") ? "vs" : "vs-dark",
- colors: pickColors(theme.colors),
- tokens,
- };
-});
-
-const generated = `// Generated by scripts/build-theme-registry.mjs from official VS Code theme JSON.\nwindow.VSCODE_THEME_REGISTRY = ${JSON.stringify(registry, null, 2)};\n`;
-
-fs.writeFileSync(outFile, generated);
-console.log(`Wrote ${path.relative(projectRoot, outFile)} with ${registry.length} themes`);
diff --git a/registry/registry.json b/registry/registry.json
index 113f5fe904..8cec713db6 100644
--- a/registry/registry.json
+++ b/registry/registry.json
@@ -3,42 +3,6 @@
"name": "hyperframes",
"homepage": "https://hyperframes.heygen.com",
"items": [
- {
- "name": "decision-tree",
- "type": "hyperframes:example"
- },
- {
- "name": "kinetic-type",
- "type": "hyperframes:example"
- },
- {
- "name": "nyt-graph",
- "type": "hyperframes:example"
- },
- {
- "name": "play-mode",
- "type": "hyperframes:example"
- },
- {
- "name": "product-promo",
- "type": "hyperframes:example"
- },
- {
- "name": "swiss-grid",
- "type": "hyperframes:example"
- },
- {
- "name": "vignelli",
- "type": "hyperframes:example"
- },
- {
- "name": "vscode-theme-visualizer",
- "type": "hyperframes:example"
- },
- {
- "name": "warm-grain",
- "type": "hyperframes:example"
- },
{
"name": "ai-chat-reveal",
"type": "hyperframes:block"
@@ -223,54 +187,10 @@
"name": "code-slice-hero",
"type": "hyperframes:block"
},
- {
- "name": "code-snippet-apple-terminal-basic",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-clear-dark",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-clear-light",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-grass",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-homebrew",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-man-page",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-novel",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-ocean",
- "type": "hyperframes:block"
- },
{
"name": "code-snippet-apple-terminal-pro",
"type": "hyperframes:block"
},
- {
- "name": "code-snippet-apple-terminal-red-sands",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-silver-aerogel",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-apple-terminal-solid-colors",
- "type": "hyperframes:block"
- },
{
"name": "code-snippet-dark-2026",
"type": "hyperframes:block"
@@ -279,50 +199,6 @@
"name": "code-snippet-dark-modern",
"type": "hyperframes:block"
},
- {
- "name": "code-snippet-dark-plus",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-flight",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-high-contrast",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-high-contrast-light",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-light-2026",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-light-modern",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-light-plus",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-monokai",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-solarized-light",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-visual-studio-dark",
- "type": "hyperframes:block"
- },
- {
- "name": "code-snippet-visual-studio-light",
- "type": "hyperframes:block"
- },
{
"name": "code-typing",
"type": "hyperframes:block"
@@ -435,14 +311,6 @@
"name": "light-leak",
"type": "hyperframes:block"
},
- {
- "name": "liquid-glass-context-menu",
- "type": "hyperframes:block"
- },
- {
- "name": "liquid-glass-media-controls",
- "type": "hyperframes:block"
- },
{
"name": "liquid-glass-notification",
"type": "hyperframes:block"
@@ -1670,9 +1538,41 @@
{
"name": "zoom-through-transition",
"type": "hyperframes:component"
+ },
+ {
+ "name": "decision-tree",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "kinetic-type",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "nyt-graph",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "play-mode",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "product-promo",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "swiss-grid",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "vignelli",
+ "type": "hyperframes:example"
+ },
+ {
+ "name": "warm-grain",
+ "type": "hyperframes:example"
}
],
"catalogArtifact": {
- "revision": "656d5d91e8e44f809baa80031dac6af45afdadec7784cffa47ab1b7940c1a137"
+ "revision": "3d38de550c0a0422c5c743eaf29839956ccc62f9810fe69942844a249228072e"
}
}
diff --git a/scripts/check-docs-catalog.mjs b/scripts/check-docs-catalog.mjs
index e8cb04f4e5..6fd0cdcef2 100644
--- a/scripts/check-docs-catalog.mjs
+++ b/scripts/check-docs-catalog.mjs
@@ -118,7 +118,18 @@ const beforeSet = new Set(before);
const afterSet = new Set(after);
const missing = before.filter((p) => !afterSet.has(p));
const added = after.filter((p) => !beforeSet.has(p));
-assert.equal(missing.length, 0, `Pages present before but missing after: ${missing.join(", ")}`);
+const liveRegistryPages = new Set(
+ readJson(path.join(root, "registry", "registry.json")).items.map((item) => {
+ const kind = item.type === "hyperframes:block" ? "blocks" : "components";
+ return `/catalog/${kind}/${item.name}`;
+ }),
+);
+const unexpectedMissing = missing.filter((page) => liveRegistryPages.has(page));
+assert.equal(
+ unexpectedMissing.length,
+ 0,
+ `Live catalog pages missing after: ${unexpectedMissing.join(", ")}`,
+);
console.log(
`PASS no page lost: ${before.length} pages before, ${after.length} after` +
(added.length ? ` (${added.length} legitimately new: ${added.join(", ")})` : ""),
diff --git a/scripts/check-no-main-deletions.mjs b/scripts/check-no-main-deletions.mjs
index cfef68febc..344c90190f 100644
--- a/scripts/check-no-main-deletions.mjs
+++ b/scripts/check-no-main-deletions.mjs
@@ -363,6 +363,694 @@ export const ALLOWED_DELETIONS = new Map([
"packages/studio/src/hooks/useProjectSignaturePoll.ts",
"packages/studio/src/hooks/useStoryboard.ts",
].map((path) => [path, STORYBOARD_VIEW_REASON]),
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-basic.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-clear-dark.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-clear-light.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-grass.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-homebrew.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-man-page.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-novel.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-ocean.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-red-sands.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-apple-terminal-solid-colors.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-dark-plus.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-flight.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-high-contrast-light.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-high-contrast.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-light-2026.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-light-modern.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-light-plus.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-monokai.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-solarized-light.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-visual-studio-dark.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/code-snippet-visual-studio-light.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/liquid-glass-context-menu.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/catalog/blocks/liquid-glass-media-controls.mdx",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-basic.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-clear-dark.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-clear-light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-grass.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-homebrew.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-man-page.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-novel.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-ocean.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-red-sands.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-silver-aerogel.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-apple-terminal-solid-colors.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-dark-plus.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-flight.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-high-contrast-light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-high-contrast.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-light-2026.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-light-modern.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-light-plus.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-monokai.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-solarized-light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-visual-studio-dark.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/code-snippet-visual-studio-light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/liquid-glass-context-menu.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/blocks/liquid-glass-media-controls.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-dark-plus/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-dark-plus/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-high-contrast-light/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-high-contrast-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-high-contrast/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-high-contrast/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-2026/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-2026/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-modern/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-modern/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-plus/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-light-plus/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-monokai/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-monokai/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-solarized-light/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-solarized-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-visual-studio-dark/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-visual-studio-dark/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-visual-studio-light/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "docs/public/catalog/items/code-snippet-visual-studio-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-basic/code-snippet-apple-terminal-basic.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-basic/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-clear-dark/code-snippet-apple-terminal-clear-dark.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-clear-dark/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-clear-light/code-snippet-apple-terminal-clear-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-clear-light/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-grass/code-snippet-apple-terminal-grass.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-grass/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-homebrew/code-snippet-apple-terminal-homebrew.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-homebrew/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-man-page/code-snippet-apple-terminal-man-page.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-man-page/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-novel/code-snippet-apple-terminal-novel.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-novel/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-ocean/code-snippet-apple-terminal-ocean.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-ocean/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-red-sands/code-snippet-apple-terminal-red-sands.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-red-sands/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-silver-aerogel/code-snippet-apple-terminal-silver-aerogel.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-silver-aerogel/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-solid-colors/code-snippet-apple-terminal-solid-colors.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-apple-terminal-solid-colors/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-dark-plus/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-dark-plus/code-snippet-dark-plus.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-dark-plus/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-flight/code-snippet-flight.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-flight/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast-light/code-snippet-high-contrast-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast-light/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast/code-snippet-high-contrast.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-high-contrast/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-2026/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-2026/code-snippet-light-2026.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-2026/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-modern/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-modern/code-snippet-light-modern.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-modern/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-plus/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-plus/code-snippet-light-plus.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-light-plus/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-monokai/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-monokai/code-snippet-monokai.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-monokai/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-solarized-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-solarized-light/code-snippet-solarized-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-solarized-light/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-dark/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-dark/code-snippet-visual-studio-dark.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-dark/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-light/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-light/code-snippet-visual-studio-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/code-snippet-visual-studio-light/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-context-menu/lib/liquid-glass.iife.js",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-context-menu/liquid-glass-context-menu.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-context-menu/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-media-controls/lib/liquid-glass.iife.js",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-media-controls/liquid-glass-media-controls.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/blocks/liquid-glass-media-controls/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/DESIGN.md",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/index.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/sfx/advance.mp3",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/sfx/back.mp3",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/sfx/branch-enter.mp3",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/airbnb-deck/sfx/fragment.mp3",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/motion-blur/index.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/slideshow-demo/index.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/startup-pitch/demo.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/startup-pitch/index.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/DESIGN.md",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/background.jpeg",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-sequence-runtime.js",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-sequence.css",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-theme-registry.js",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-dark.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/2026-light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/LICENSE",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_modern.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_plus.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/dark_vs.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_black.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/hc_light.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_modern.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_plus.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/light_vs.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/monokai-color-theme.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/assets/vscode-themes/solarized-light-color-theme.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/index.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/registry-item.json",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/dark-2026.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/dark-modern.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/dark-plus.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/high-contrast-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/high-contrast.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/light-2026.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/light-modern.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/light-plus.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/monokai.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/solarized-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/visual-studio-dark.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/render-entries/visual-studio-light.html",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/scripts/build-compositions.mjs",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
+ [
+ "registry/examples/vscode-theme-visualizer/scripts/build-theme-registry.mjs",
+ "removed in the 2026-09 low-use catalog cut, see the PR",
+ ],
]);
export function parseBase(argv, fallback = "origin/main") {
diff --git a/scripts/check-registry-set-delta.mjs b/scripts/check-registry-set-delta.mjs
new file mode 100644
index 0000000000..52e4c71066
--- /dev/null
+++ b/scripts/check-registry-set-delta.mjs
@@ -0,0 +1,27 @@
+#!/usr/bin/env node
+import { execFileSync } from "node:child_process";
+import { readFileSync } from "node:fs";
+const base = process.argv[2] ?? "origin/main";
+const run = (args) => execFileSync("git", args, { encoding: "utf8" }).trim();
+const baseManifest = JSON.parse(run(["show", base + ":registry/registry.json"]));
+const headManifest = JSON.parse(readFileSync("registry/registry.json", "utf8"));
+const deletedPaths = run(["diff", "--name-only", "--diff-filter=D", base + "...HEAD"])
+ .split("\n")
+ .filter((path) =>
+ /^registry\/(?:blocks|components|examples)\/[^/]+\/registry-item\.json$/.test(path),
+ );
+const removed = new Set(deletedPaths.map((path) => path.split("/")[2]));
+const baseNames = new Set(baseManifest.items.map(({ name }) => name));
+const headNames = new Set(headManifest.items.map(({ name }) => name));
+const expected = new Set([...baseNames].filter((name) => !removed.has(name)));
+const missing = [...expected].filter((name) => !headNames.has(name)).sort();
+const unexpected = [...headNames].filter((name) => !expected.has(name)).sort();
+if (missing.length || unexpected.length) {
+ console.error("Registry item-set delta mismatch against " + base + ":");
+ if (missing.length) console.error(" missing from registry.json: " + missing.join(", "));
+ if (unexpected.length) console.error(" unexpected in registry.json: " + unexpected.join(", "));
+ process.exit(1);
+}
+console.log(
+ "Registry item-set delta matches " + removed.size + " intentional removals against " + base + ".",
+);
diff --git a/skills-manifest.json b/skills-manifest.json
index 44ee257b8b..15a8fd1089 100644
--- a/skills-manifest.json
+++ b/skills-manifest.json
@@ -30,7 +30,7 @@
"files": 7
},
"hyperframes-cli": {
- "hash": "609870a08e979434",
+ "hash": "385f979b840b0eb9",
"files": 11
},
"hyperframes-core": {
@@ -46,7 +46,7 @@
"files": 3
},
"hyperframes-registry": {
- "hash": "51e6dba95a8dfb45",
+ "hash": "097538fb238a4ee8",
"files": 12
},
"hyperframes-studio": {
@@ -58,7 +58,7 @@
"files": 88
},
"motion-graphics": {
- "hash": "32641ae2b94c4a8f",
+ "hash": "9c2ca2e8c384875d",
"files": 23
},
"music-to-video": {
@@ -66,7 +66,7 @@
"files": 169
},
"pr-to-video": {
- "hash": "da3a68c5a2a86f77",
+ "hash": "1a0f65e1cec1263b",
"files": 30
},
"product-launch-video": {
@@ -78,7 +78,7 @@
"files": 77
},
"slideshow": {
- "hash": "71174bff2d869f18",
+ "hash": "e9b8ea210cfb771e",
"files": 2
},
"talking-head-recut": {
diff --git a/skills/hyperframes-cli/references/init-and-scaffold.md b/skills/hyperframes-cli/references/init-and-scaffold.md
index 3291ad4f06..f5fd6613e7 100644
--- a/skills/hyperframes-cli/references/init-and-scaffold.md
+++ b/skills/hyperframes-cli/references/init-and-scaffold.md
@@ -18,7 +18,7 @@ npx hyperframes init my-video --non-interactive # CI — flag-o
**Default depends on TTY**: in a terminal, the CLI prompts for example/options (default: centered blank). Outside a TTY (CI, agents, piped output) it auto-switches to non-interactive and scaffolds that blank. Pass `--example` only to start from a named example. Pass `--non-interactive` to force flag-only mode on a TTY.
-Templates: `blank`, `warm-grain`, `play-mode`, `swiss-grid`, `vignelli`, `decision-tree`, `kinetic-type`, `product-promo`, `nyt-graph`, `vscode-theme-visualizer`. (The closed set of `hyperframes:example` items in `registry/registry.json` plus the bundled `blank` template. `hyperframes catalog` does not list examples — its `--type` takes only `block` or `component` — so this list has no live equivalent and is checked by `bun run lint:skills`.)
+Templates: `blank`, `warm-grain`, `play-mode`, `swiss-grid`, `vignelli`, `decision-tree`, `kinetic-type`, `product-promo`, `nyt-graph`. (The closed set of `hyperframes:example` items in `registry/registry.json` plus the bundled `blank` template. `hyperframes catalog` does not list examples — its `--type` takes only `block` or `component` — so this list has no live equivalent and is checked by `bun run lint:skills`.)
Other useful flags:
diff --git a/skills/hyperframes-registry/references/discovery.md b/skills/hyperframes-registry/references/discovery.md
index e0780bb570..3ee9c1795c 100644
--- a/skills/hyperframes-registry/references/discovery.md
+++ b/skills/hyperframes-registry/references/discovery.md
@@ -103,15 +103,13 @@ Showcase compositions grouping multiple CSS / GSAP transition styles by family.
WebGPU + html-in-canvas frosted-glass surfaces. **Require Brave / Chrome canary** with WebGPU enabled — set `PRODUCER_HEADLESS_SHELL_PATH` to point at the browser; engine auto-passes `--enable-unsafe-webgpu`. See `/hyperframes-animation` → `adapters/typegpu.md`.
-| Name | Description |
-| ----------------------------- | --------------------------------------------------------------------------------------- |
-| `ios26-liquid-glass` | 3D iPhone (GLTF) + iOS 26 home screen, glass app icons, shader wallpaper, notifications |
-| `macos-tahoe-liquid-glass` | 3D MacBook (GLTF) + macOS Tahoe-style desktop, glass menu bar, Finder, dock |
-| `liquid-glass-widgets` | Frosted stat cards, showcase panel, pill chips over aurora shader |
-| `liquid-glass-notification` | Frosted notification cards floating over aurora shader |
-| `liquid-glass-context-menu` | Frosted context-menu panel drifting over aurora shader |
-| `liquid-glass-media-controls` | Frosted media-control panels spreading over aurora shader |
-| `vfx-liquid-glass` | Bare VFX composition shell for liquid-glass effects |
+| Name | Description |
+| --------------------------- | --------------------------------------------------------------------------------------- |
+| `ios26-liquid-glass` | 3D iPhone (GLTF) + iOS 26 home screen, glass app icons, shader wallpaper, notifications |
+| `macos-tahoe-liquid-glass` | 3D MacBook (GLTF) + macOS Tahoe-style desktop, glass menu bar, Finder, dock |
+| `liquid-glass-widgets` | Frosted stat cards, showcase panel, pill chips over aurora shader |
+| `liquid-glass-notification` | Frosted notification cards floating over aurora shader |
+| `vfx-liquid-glass` | Bare VFX composition shell for liquid-glass effects |
#### VFX (6)
@@ -179,24 +177,11 @@ Platform-recognizable UI overlays. Stamp on top of a beat or use as a beat close
A code/terminal window that **types a code or shell session per-character**. Theme = visual chrome only; structure, wiring, and install are identical across all 24 — pick one by name, wire it like any block (`data-composition-id` + `data-start` + `data-track-index`, see `wiring-blocks.md`). Two chrome families:
-**VS Code workbench (12)** — full editor chrome (activity bar, sidebar, tabs, integrated terminal, status bar). Theme variants: `code-snippet-dark-2026`, `code-snippet-dark-modern`, `code-snippet-dark-plus`, `code-snippet-light-2026`, `code-snippet-light-modern`, `code-snippet-light-plus`, `code-snippet-high-contrast`, `code-snippet-high-contrast-light`, `code-snippet-monokai`, `code-snippet-solarized-light`, `code-snippet-visual-studio-dark`, `code-snippet-visual-studio-light`.
-
**Apple Terminal (12)** — macOS Terminal.app window typing a shell session. Profile = window colors:
-| Name | Look |
-| -------------------------------------------- | ---------------------------------------- |
-| `code-snippet-apple-terminal-basic` | White bg, black text |
-| `code-snippet-apple-terminal-clear-dark` | Semi-transparent dark bg |
-| `code-snippet-apple-terminal-clear-light` | Semi-transparent light bg |
-| `code-snippet-apple-terminal-grass` | Black bg, green text |
-| `code-snippet-apple-terminal-homebrew` | Black bg, bright green text, lime cursor |
-| `code-snippet-apple-terminal-man-page` | Pale yellow bg, black text |
-| `code-snippet-apple-terminal-novel` | Warm parchment bg, dark brown text |
-| `code-snippet-apple-terminal-ocean` | Deep blue bg, white text |
-| `code-snippet-apple-terminal-pro` | Black bg, grey text, lime cursor |
-| `code-snippet-apple-terminal-red-sands` | Deep red bg, sandy text |
-| `code-snippet-apple-terminal-silver-aerogel` | Dark grey bg, white text |
-| `code-snippet-apple-terminal-solid-colors` | Deep purple bg, white text |
+| Name | Look |
+| --------------------------------- | -------------------------------- |
+| `code-snippet-apple-terminal-pro` | Black bg, grey text, lime cursor |
#### Code Animations (9)
@@ -204,14 +189,13 @@ The richer, motion-first counterpart to the static `code-snippet-*` window theme
**DOM / text reveal (6):**
-| Name | Description |
-| --------------------- | -------------------------------------------------------------------------------------------------------------------------- |
-| `code-typing` | Token-streamed typing reveal, caret tracks the frontier (no CSS animation) — live-coding on screen |
-| `code-diff` | An edit shown as a colored diff: removed lines collapse red, added expand green — before/after at line level |
-| `code-morph` | One snippet transforms into another, tokens glide between positions (Shiki Magic Move) — a refactor / one state to another |
-| `code-highlight` | A highlight band sweeps a target line while surrounding context dims — spotlight one line |
-| `code-scroll` | Camera scrolls a long file to center + spotlight a target line — walk through a real module |
-| `code-snippet-flight` | Discrete snippets fly in from the side and assemble into a stacked program (block-level FLIP) |
+| Name | Description |
+| ---------------- | -------------------------------------------------------------------------------------------------------------------------- |
+| `code-typing` | Token-streamed typing reveal, caret tracks the frontier (no CSS animation) — live-coding on screen |
+| `code-diff` | An edit shown as a colored diff: removed lines collapse red, added expand green — before/after at line level |
+| `code-morph` | One snippet transforms into another, tokens glide between positions (Shiki Magic Move) — a refactor / one state to another |
+| `code-highlight` | A highlight band sweeps a target line while surrounding context dims — spotlight one line |
+| `code-scroll` | Camera scrolls a long file to center + spotlight a target line — walk through a real module |
**GPU / WebGL hero reveals (3):** heavier, for a title-card / hero code moment.
diff --git a/skills/motion-graphics/catalog-map.md b/skills/motion-graphics/catalog-map.md
index 801cc1a100..b0da00bd08 100644
--- a/skills/motion-graphics/catalog-map.md
+++ b/skills/motion-graphics/catalog-map.md
@@ -23,19 +23,18 @@ After classifying intent → category, the **Director names the block(s) + what
## Category → block(s)
-| Category | Borrow from catalog | Customize | Gaps → hand-author |
-| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
-| **kinetic-typo** | one of **17 `caption-*`** (kinetic-slam, editorial-emphasis, clip-wipe, gradient-fill, neon-glow, glitch-rgb, matrix-decode, particle-burst, weight-shift, pill-karaoke, highlight, blend-difference…) | words; `emphasis_words` → `word--emphasis`; palette; font; timing | a motif none of the 17 cover |
-| **charts** | `data-chart` (bar+line, staggered, value labels), `bar-chart-race` (a race) | edit the data array + headline/subtitle; `--bg`/`--text` | pie/donut, ring/% |
-| **stat** | `apple-money-count` (finance: $ counter + burst + SFX) **or** hand-author a generic %/number + ring per `categories/stat/module.md` (there is no `stat-motion` block) | target, prefix/suffix, label, palette | — |
-| maps/geo | **vector lane**: `us-map` (+bubble/hex/flow), `world-map`, `spain-map` + **hand-author** `geo-highlight`/`geo-flow`/`flag-borders`/`pin-rollout` (NOT in registry — build per `categories/maps/module.md`). **basemap lane** (real satellite/dark / zoom-to-place): bake via `categories/maps/bake-basemap.mjs` → `<video>` + geo-aligned SVG overlay (border draw-on + colour-block fills) | regions/data, palette, callouts/connectors, basemap style | (basemap lane now covers real imagery + zoom-to-address — was the gap) |
-| diagram | `flowchart` (SVG connectors + nodes) | nodes, edges, labels | — |
-| **code / code-reveal** | one of the **9 Code Animations** blocks: `code-typing` (live typing), `code-diff` (a change), `code-morph` (a refactor), `code-highlight` (spotlight a line; `line` is 0-based), `code-scroll` (walk a file), `code-snippet-flight` (assemble); GPU hero reveals `code-3d-extrude` / `code-shader-dissolve` / `code-particle-assemble` for a title-card moment; for a static themed code/terminal window use a `code-snippet-*` block | the baked code string / diff / theme | a code motion none cover |
-| **brand reveal** | `logo-outro` (piece assembly + glow + tagline + URL pill) | logo asset, tagline, URL, palette | — |
-| transitions | 15+ shader transitions (domain-warp, whip-pan, sdf-iris, glitch…) | direction, timing | — |
-| social overlay | ig / tiktok / yt / x / reddit / spotify / macos cards | handle, metrics, avatar | — |
-| polish | grain-overlay, vignette, shimmer-sweep, texture-mask-text | intensity | — |
-| **asset-fusion (RWA)** | **annotation kit from `north-korea-locked-down`** — scribble-circle draw-on, pop-up pill + pointer, red-wash, scanline, corners, camera push; + `us-map-bubble` callouts/connectors | asset, annotation position (`element_positions`), label, palette **eyedropper'd from the asset** | **NET-NEW (not in catalog): the affordance binding — asset geometry _becomes_ the chart axis (straw → gauge)** |
+| Category | Borrow from catalog | Customize | Gaps → hand-author |
+| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
+| **kinetic-typo** | one of **17 `caption-*`** (kinetic-slam, editorial-emphasis, clip-wipe, gradient-fill, neon-glow, glitch-rgb, matrix-decode, particle-burst, weight-shift, pill-karaoke, highlight, blend-difference…) | words; `emphasis_words` → `word--emphasis`; palette; font; timing | a motif none of the 17 cover |
+| **charts** | `data-chart` (bar+line, staggered, value labels), `bar-chart-race` (a race) | edit the data array + headline/subtitle; `--bg`/`--text` | pie/donut, ring/% |
+| **stat** | `apple-money-count` (finance: $ counter + burst + SFX) **or** hand-author a generic %/number + ring per `categories/stat/module.md` (there is no `stat-motion` block) | target, prefix/suffix, label, palette | — |
+| maps/geo | **vector lane**: `us-map` (+bubble/hex/flow), `world-map`, `spain-map` + **hand-author** `geo-highlight`/`geo-flow`/`flag-borders`/`pin-rollout` (NOT in registry — build per `categories/maps/module.md`). **basemap lane** (real satellite/dark / zoom-to-place): bake via `categories/maps/bake-basemap.mjs` → `<video>` + geo-aligned SVG overlay (border draw-on + colour-block fills) | regions/data, palette, callouts/connectors, basemap style | (basemap lane now covers real imagery + zoom-to-address — was the gap) |
+| diagram | `flowchart` (SVG connectors + nodes) | nodes, edges, labels | — |
+| **brand reveal** | `logo-outro` (piece assembly + glow + tagline + URL pill) | logo asset, tagline, URL, palette | — |
+| transitions | 15+ shader transitions (domain-warp, whip-pan, sdf-iris, glitch…) | direction, timing | — |
+| social overlay | ig / tiktok / yt / x / reddit / spotify / macos cards | handle, metrics, avatar | — |
+| polish | grain-overlay, vignette, shimmer-sweep, texture-mask-text | intensity | — |
+| **asset-fusion (RWA)** | **annotation kit from `north-korea-locked-down`** — scribble-circle draw-on, pop-up pill + pointer, red-wash, scanline, corners, camera push; + `us-map-bubble` callouts/connectors | asset, annotation position (`element_positions`), label, palette **eyedropper'd from the asset** | **NET-NEW (not in catalog): the affordance binding — asset geometry _becomes_ the chart axis (straw → gauge)** |
## Reuse mechanics
diff --git a/skills/pr-to-video/references/code-vocabulary.md b/skills/pr-to-video/references/code-vocabulary.md
index 43086fdf0d..470ca9ef07 100644
--- a/skills/pr-to-video/references/code-vocabulary.md
+++ b/skills/pr-to-video/references/code-vocabulary.md
@@ -42,17 +42,16 @@ The timeline registers synchronously at `window.__timelines[id]`. All blocks are
## The animation blocks
-| Block | What it does | Inputs of note | PR beat |
-| ---------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
-| **`code-diff`** | Unified diff inside an editor window: removed lines collapse in red, added lines expand in green, staggered. (6s) | `__TOKENS.diff.states` needs **exactly 2 states** (before, after) — the engine LCS-diffs them. | The diff hunk (before→after); literal add/remove semantics. **The default PR block.** |
-| **`code-morph`** | One snippet transforms into another — shared tokens glide (FLIP), leavers fade out, enterers fade in. (7s) | `__TOKENS.morph.states` (2+); reuse the same token `key` across states for a token that should glide. | A refactor / rename / signature change where continuity matters (not add/remove framing). |
-| **`code-typing`** | Per-character typewriter reveal with a gliding caret. (5s) | single state in `__TOKENS.feature.states[0]`. | A new function / file **written on screen** ("here's what we added"). |
-| **`code-highlight`** | A blue band sweeps one line; the rest dim. (5s) | `__BLOCK.line` = target line, **0-based here**. single state. | "This one line is the change" — spotlight a changed/important line. Quick callout. |
-| **`code-scroll`** | "Camera" scrolls a long file to center a target line, dims the rest. (6s) | `__BLOCK.line` = target, **1-based here**. one long state. | Locating the change in a large file. The only block built for long files. |
-| **`code-3d-extrude`** | Code on a lit, beveled 3D slab that rotates and settles. (8s, WebGL) | single state; `__BLOCK.seed`. `<canvas id="gl">`. | A hero / title code moment ("the feature"). Style over density — not for reading a diff. |
-| **`code-particle-assemble`** | GPU particles scatter, then fly to the exact glyph pixels and resolve to syntax color. (8s, WebGL) | single state; `__BLOCK.seed`. | A dramatic climax reveal of a key snippet. Flashiest; not for line-by-line reading. |
-| **`code-shader-dissolve`** | Code "compiles into existence" out of seeded noise with a moving dissolve front + edge glow. (7s, WebGL) | single state; `__BLOCK.seed`. | A "compiles / builds / works now" beat, or a polished snippet reveal. |
-| **`code-snippet-flight`** | Discrete snippets fly in from the side and assemble into a stacked program (block-level FLIP). (6s) | `__TOKENS.flight.states`. | "The pieces assemble" — several functions/modules coming together. (An animation block despite the `code-snippet-` prefix.) |
+| Block | What it does | Inputs of note | PR beat |
+| ---------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
+| **`code-diff`** | Unified diff inside an editor window: removed lines collapse in red, added lines expand in green, staggered. (6s) | `__TOKENS.diff.states` needs **exactly 2 states** (before, after) — the engine LCS-diffs them. | The diff hunk (before→after); literal add/remove semantics. **The default PR block.** |
+| **`code-morph`** | One snippet transforms into another — shared tokens glide (FLIP), leavers fade out, enterers fade in. (7s) | `__TOKENS.morph.states` (2+); reuse the same token `key` across states for a token that should glide. | A refactor / rename / signature change where continuity matters (not add/remove framing). |
+| **`code-typing`** | Per-character typewriter reveal with a gliding caret. (5s) | single state in `__TOKENS.feature.states[0]`. | A new function / file **written on screen** ("here's what we added"). |
+| **`code-highlight`** | A blue band sweeps one line; the rest dim. (5s) | `__BLOCK.line` = target line, **0-based here**. single state. | "This one line is the change" — spotlight a changed/important line. Quick callout. |
+| **`code-scroll`** | "Camera" scrolls a long file to center a target line, dims the rest. (6s) | `__BLOCK.line` = target, **1-based here**. one long state. | Locating the change in a large file. The only block built for long files. |
+| **`code-3d-extrude`** | Code on a lit, beveled 3D slab that rotates and settles. (8s, WebGL) | single state; `__BLOCK.seed`. `<canvas id="gl">`. | A hero / title code moment ("the feature"). Style over density — not for reading a diff. |
+| **`code-particle-assemble`** | GPU particles scatter, then fly to the exact glyph pixels and resolve to syntax color. (8s, WebGL) | single state; `__BLOCK.seed`. | A dramatic climax reveal of a key snippet. Flashiest; not for line-by-line reading. |
+| **`code-shader-dissolve`** | Code "compiles into existence" out of seeded noise with a moving dissolve front + edge glow. (7s, WebGL) | single state; `__BLOCK.seed`. | A "compiles / builds / works now" beat, or a polished snippet reveal. |
**Gotchas (call out so the worker doesn't trip):**
@@ -106,7 +105,6 @@ Unlike a `code-*` block (which owns its own animation), the diagram's motion is
| New function / file typed on | `code-typing` |
| Spotlight one changed line | `code-highlight` |
| Walk / scroll a long changed file | `code-scroll` |
-| Pieces / modules assembling into a feature | `code-snippet-flight` |
| Hero / title code moment ("the feature") | `code-3d-extrude` |
| "Compiles / builds / works now" reveal | `code-shader-dissolve` |
| Big dramatic snippet reveal / climax | `code-particle-assemble` |
diff --git a/skills/slideshow/references/standalone-harness.md b/skills/slideshow/references/standalone-harness.md
index e24306cddc..a738adfd35 100644
--- a/skills/slideshow/references/standalone-harness.md
+++ b/skills/slideshow/references/standalone-harness.md
@@ -14,9 +14,6 @@ Do not treat these as the blessed authoring model. When the engine-hosted path s
**Living reference implementations:**
-- `registry/examples/airbnb-deck/index.html` + `demo.html` — full pattern set (Three.js, fragments, SFX, branch slide)
-- `registry/examples/startup-pitch/index.html` — minimal version (no 3D), good starting point
-
---
## 2. The parent wrapper (`index.html` for deliverables, `demo.html` in examples)