popost 4.6.0 → 4.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1280) hide show
  1. package/LICENSE +59 -3
  2. package/README.md +25 -10
  3. package/SKILL.md +48 -131
  4. package/THIRD_PARTY_NOTICES +524 -0
  5. package/agents/openai.yaml +2 -2
  6. package/assets/canvas/assets/{dist-Ag5yM9-G.js → dist-BmD8AP0A.js} +1 -1
  7. package/assets/canvas/assets/{es-DzkTYs_E.js → es-CC29Cabv.js} +1 -1
  8. package/assets/canvas/assets/{index-DjfLTPyx.js → index-DhwyFpu2.js} +6 -6
  9. package/assets/canvas/assets/{jszip.min-Cw2BF2G0.js → jszip.min-Bwf_yCrF.js} +1 -1
  10. package/assets/canvas/build-info.json +5 -5
  11. package/assets/canvas/index.html +1 -1
  12. package/assets/video/examples/audio-bars.html +125 -0
  13. package/assets/video/examples/bouncing-ball.html +182 -0
  14. package/assets/video/examples/card-flip.html +92 -0
  15. package/assets/video/examples/catalogue.json +16221 -0
  16. package/assets/video/examples/counter-stat.html +155 -0
  17. package/assets/video/examples/folding-doors.html +94 -0
  18. package/assets/video/examples/glitch-title.html +120 -0
  19. package/assets/video/examples/goo-blobs.html +127 -0
  20. package/assets/video/examples/grid-reveal.html +151 -0
  21. package/assets/video/examples/hf/agent-cursor.html +781 -0
  22. package/assets/video/examples/hf/ai-answer-rank.html +767 -0
  23. package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
  24. package/assets/video/examples/hf/animated-bar-chart.html +312 -0
  25. package/assets/video/examples/hf/app-showcase.html +1115 -0
  26. package/assets/video/examples/hf/apple-money-count.html +453 -0
  27. package/assets/video/examples/hf/arc-motion-path.html +303 -0
  28. package/assets/video/examples/hf/ascii-render-pass.html +728 -0
  29. package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
  30. package/assets/video/examples/hf/aurora-drift.html +439 -0
  31. package/assets/video/examples/hf/aurora.html +258 -0
  32. package/assets/video/examples/hf/avatar-cloud.html +667 -0
  33. package/assets/video/examples/hf/avatar-group-hover.html +342 -0
  34. package/assets/video/examples/hf/badge-pop.html +400 -0
  35. package/assets/video/examples/hf/bar-chart-race.html +795 -0
  36. package/assets/video/examples/hf/beat-accent.html +507 -0
  37. package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
  38. package/assets/video/examples/hf/beat-pulse-background.html +422 -0
  39. package/assets/video/examples/hf/beat-timeline.html +488 -0
  40. package/assets/video/examples/hf/before-after-wipe.html +681 -0
  41. package/assets/video/examples/hf/blob.html +258 -0
  42. package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
  43. package/assets/video/examples/hf/blur-in.html +624 -0
  44. package/assets/video/examples/hf/blur-out-up.html +350 -0
  45. package/assets/video/examples/hf/bottom-up-letters.html +335 -0
  46. package/assets/video/examples/hf/browser-device-stage.html +847 -0
  47. package/assets/video/examples/hf/camcorder-hud.html +371 -0
  48. package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
  49. package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
  50. package/assets/video/examples/hf/camera-scan-gate.html +708 -0
  51. package/assets/video/examples/hf/camera-shake.html +989 -0
  52. package/assets/video/examples/hf/canopy-part-title.html +2549 -0
  53. package/assets/video/examples/hf/caption-blend-difference.html +247 -0
  54. package/assets/video/examples/hf/caption-camera-follow.html +537 -0
  55. package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
  56. package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
  57. package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
  58. package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
  59. package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
  60. package/assets/video/examples/hf/caption-highlight.html +433 -0
  61. package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
  62. package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
  63. package/assets/video/examples/hf/caption-neon-accent.html +684 -0
  64. package/assets/video/examples/hf/caption-neon-glow.html +373 -0
  65. package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
  66. package/assets/video/examples/hf/caption-particle-burst.html +454 -0
  67. package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
  68. package/assets/video/examples/hf/caption-texture.html +368 -0
  69. package/assets/video/examples/hf/caption-weight-shift.html +566 -0
  70. package/assets/video/examples/hf/card-resize.html +435 -0
  71. package/assets/video/examples/hf/caret-swap.html +601 -0
  72. package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
  73. package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
  74. package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
  75. package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
  76. package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
  77. package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
  78. package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
  79. package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
  80. package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
  81. package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
  82. package/assets/video/examples/hf/carousel-path-1.html +1219 -0
  83. package/assets/video/examples/hf/carousel-path-2.html +1176 -0
  84. package/assets/video/examples/hf/carousel-path-3.html +1190 -0
  85. package/assets/video/examples/hf/carousel-path-4.html +1219 -0
  86. package/assets/video/examples/hf/carousel-path-5.html +1218 -0
  87. package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
  88. package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
  89. package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
  90. package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
  91. package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
  92. package/assets/video/examples/hf/char-slam-explode.html +546 -0
  93. package/assets/video/examples/hf/chart-story.html +973 -0
  94. package/assets/video/examples/hf/chat-message.html +635 -0
  95. package/assets/video/examples/hf/chat-thread.html +953 -0
  96. package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
  97. package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
  98. package/assets/video/examples/hf/chrome-orb.html +258 -0
  99. package/assets/video/examples/hf/cinemagraph.html +422 -0
  100. package/assets/video/examples/hf/cinematic-zoom.html +613 -0
  101. package/assets/video/examples/hf/claude-exchange.html +1845 -0
  102. package/assets/video/examples/hf/code-3d-extrude.html +755 -0
  103. package/assets/video/examples/hf/code-diff.html +956 -0
  104. package/assets/video/examples/hf/code-highlight.html +885 -0
  105. package/assets/video/examples/hf/code-morph.html +1357 -0
  106. package/assets/video/examples/hf/code-particle-assemble.html +622 -0
  107. package/assets/video/examples/hf/code-scroll.html +1700 -0
  108. package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
  109. package/assets/video/examples/hf/code-slice-hero.html +1276 -0
  110. package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
  111. package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
  112. package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
  113. package/assets/video/examples/hf/code-terminal-run.html +766 -0
  114. package/assets/video/examples/hf/code-typing.html +903 -0
  115. package/assets/video/examples/hf/color-wheel.html +258 -0
  116. package/assets/video/examples/hf/colorama-wipe.html +503 -0
  117. package/assets/video/examples/hf/comparison-split.html +657 -0
  118. package/assets/video/examples/hf/confetti.html +349 -0
  119. package/assets/video/examples/hf/conic-progress-ring.html +441 -0
  120. package/assets/video/examples/hf/constellation-hub.html +662 -0
  121. package/assets/video/examples/hf/cosmic-orb.html +643 -0
  122. package/assets/video/examples/hf/count-up.html +552 -0
  123. package/assets/video/examples/hf/cross-warp-morph.html +624 -0
  124. package/assets/video/examples/hf/cta-close.html +492 -0
  125. package/assets/video/examples/hf/cta-lockup.html +470 -0
  126. package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
  127. package/assets/video/examples/hf/cursor-annotate.html +827 -0
  128. package/assets/video/examples/hf/cursor-context-menu.html +757 -0
  129. package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
  130. package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
  131. package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
  132. package/assets/video/examples/hf/cursor-text-select.html +638 -0
  133. package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
  134. package/assets/video/examples/hf/curtain-reveal.html +590 -0
  135. package/assets/video/examples/hf/cut-the-curve.html +715 -0
  136. package/assets/video/examples/hf/dart-cursor.html +863 -0
  137. package/assets/video/examples/hf/data-chart.html +666 -0
  138. package/assets/video/examples/hf/decision-tree.html +655 -0
  139. package/assets/video/examples/hf/decline-chart.html +485 -0
  140. package/assets/video/examples/hf/device-frame-stage.html +661 -0
  141. package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
  142. package/assets/video/examples/hf/drift-hold.html +392 -0
  143. package/assets/video/examples/hf/dynamic-grid.html +336 -0
  144. package/assets/video/examples/hf/echo-smear.html +994 -0
  145. package/assets/video/examples/hf/echo-trail.html +557 -0
  146. package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
  147. package/assets/video/examples/hf/exploded-stack.html +761 -0
  148. package/assets/video/examples/hf/extended-keyframe.html +715 -0
  149. package/assets/video/examples/hf/extruded-logo.html +757 -0
  150. package/assets/video/examples/hf/facet-morph.html +746 -0
  151. package/assets/video/examples/hf/fade-through.html +443 -0
  152. package/assets/video/examples/hf/falling-lines.html +259 -0
  153. package/assets/video/examples/hf/filmed-screen.html +1065 -0
  154. package/assets/video/examples/hf/flash-through-white.html +613 -0
  155. package/assets/video/examples/hf/flowchart-vertical.html +631 -0
  156. package/assets/video/examples/hf/flowchart.html +630 -0
  157. package/assets/video/examples/hf/flowing-gradient.html +258 -0
  158. package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
  159. package/assets/video/examples/hf/focus-rack.html +542 -0
  160. package/assets/video/examples/hf/focus-swap.html +496 -0
  161. package/assets/video/examples/hf/fractal-noise.html +258 -0
  162. package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
  163. package/assets/video/examples/hf/frost.html +258 -0
  164. package/assets/video/examples/hf/gabor-noise.html +258 -0
  165. package/assets/video/examples/hf/gallery-tunnel.html +652 -0
  166. package/assets/video/examples/hf/gesture-tap.html +604 -0
  167. package/assets/video/examples/hf/glass-hero.html +505 -0
  168. package/assets/video/examples/hf/glass-shard-title.html +1618 -0
  169. package/assets/video/examples/hf/glitch.html +613 -0
  170. package/assets/video/examples/hf/gloss-sweep.html +418 -0
  171. package/assets/video/examples/hf/godrays.html +257 -0
  172. package/assets/video/examples/hf/goo.html +258 -0
  173. package/assets/video/examples/hf/gooey-split.html +1092 -0
  174. package/assets/video/examples/hf/grain-field.html +377 -0
  175. package/assets/video/examples/hf/grain-overlay.html +295 -0
  176. package/assets/video/examples/hf/gravitational-lens.html +612 -0
  177. package/assets/video/examples/hf/grid-card-assemble.html +671 -0
  178. package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
  179. package/assets/video/examples/hf/halftone-dissolve.html +696 -0
  180. package/assets/video/examples/hf/halftone-field.html +598 -0
  181. package/assets/video/examples/hf/headline-slam.html +455 -0
  182. package/assets/video/examples/hf/heatmap.html +258 -0
  183. package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
  184. package/assets/video/examples/hf/hologram.html +258 -0
  185. package/assets/video/examples/hf/holographic.html +258 -0
  186. package/assets/video/examples/hf/hw-arrow.html +835 -0
  187. package/assets/video/examples/hf/hw-boil.html +632 -0
  188. package/assets/video/examples/hf/hw-box-label.html +741 -0
  189. package/assets/video/examples/hf/hw-callout-circle.html +820 -0
  190. package/assets/video/examples/hf/hw-frame.html +455 -0
  191. package/assets/video/examples/hf/hw-path-text.html +349 -0
  192. package/assets/video/examples/hf/hw-pipeline.html +472 -0
  193. package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
  194. package/assets/video/examples/hf/hw-text-cloud.html +439 -0
  195. package/assets/video/examples/hf/hw-title.html +412 -0
  196. package/assets/video/examples/hf/hw-underline.html +403 -0
  197. package/assets/video/examples/hf/hw-write-title.html +1389 -0
  198. package/assets/video/examples/hf/icon-morph-beat.html +463 -0
  199. package/assets/video/examples/hf/icon-swap.html +380 -0
  200. package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
  201. package/assets/video/examples/hf/inline-highlight.html +322 -0
  202. package/assets/video/examples/hf/input-feedback.html +419 -0
  203. package/assets/video/examples/hf/instagram-follow.html +460 -0
  204. package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
  205. package/assets/video/examples/hf/iris-reveal.html +684 -0
  206. package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
  207. package/assets/video/examples/hf/kinetic-center-build.html +538 -0
  208. package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
  209. package/assets/video/examples/hf/kinetic-type.html +862 -0
  210. package/assets/video/examples/hf/lens-flare.html +258 -0
  211. package/assets/video/examples/hf/light-edge.html +259 -0
  212. package/assets/video/examples/hf/light-leak.html +612 -0
  213. package/assets/video/examples/hf/light-sweep-pass.html +684 -0
  214. package/assets/video/examples/hf/line-by-line-slide.html +345 -0
  215. package/assets/video/examples/hf/line-swap.html +526 -0
  216. package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
  217. package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
  218. package/assets/video/examples/hf/liquid-metal.html +259 -0
  219. package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
  220. package/assets/video/examples/hf/logo-brand-close.html +598 -0
  221. package/assets/video/examples/hf/logo-outro.html +397 -0
  222. package/assets/video/examples/hf/logo-sting.html +378 -0
  223. package/assets/video/examples/hf/logo-wall.html +502 -0
  224. package/assets/video/examples/hf/lottie-character-walk.html +407 -0
  225. package/assets/video/examples/hf/lt-accent-underline.html +247 -0
  226. package/assets/video/examples/hf/lt-bold-block.html +249 -0
  227. package/assets/video/examples/hf/lt-clean-bar.html +251 -0
  228. package/assets/video/examples/hf/lt-color-block.html +241 -0
  229. package/assets/video/examples/hf/lt-dark-card.html +251 -0
  230. package/assets/video/examples/hf/lt-kicker-name.html +254 -0
  231. package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
  232. package/assets/video/examples/hf/lt-neon-border.html +604 -0
  233. package/assets/video/examples/hf/lt-side-rule.html +254 -0
  234. package/assets/video/examples/hf/lt-soft-pill.html +259 -0
  235. package/assets/video/examples/hf/lt-stack-bars.html +249 -0
  236. package/assets/video/examples/hf/macos-notification.html +372 -0
  237. package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
  238. package/assets/video/examples/hf/magnetic-cursor.html +684 -0
  239. package/assets/video/examples/hf/marble.html +257 -0
  240. package/assets/video/examples/hf/marker-checklist-card.html +727 -0
  241. package/assets/video/examples/hf/marker-highlight.html +589 -0
  242. package/assets/video/examples/hf/match-cut.html +505 -0
  243. package/assets/video/examples/hf/matrix-decode.html +363 -0
  244. package/assets/video/examples/hf/menu-morph.html +420 -0
  245. package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
  246. package/assets/video/examples/hf/mesh-gradient.html +257 -0
  247. package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
  248. package/assets/video/examples/hf/micro-transitions.html +631 -0
  249. package/assets/video/examples/hf/mk-background.html +376 -0
  250. package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
  251. package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
  252. package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
  253. package/assets/video/examples/hf/mk-line-graph.html +432 -0
  254. package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
  255. package/assets/video/examples/hf/mk-progress-stat.html +324 -0
  256. package/assets/video/examples/hf/mk-specs-list.html +362 -0
  257. package/assets/video/examples/hf/mk-usage-arc.html +297 -0
  258. package/assets/video/examples/hf/modal-morph.html +727 -0
  259. package/assets/video/examples/hf/morph-swap.html +590 -0
  260. package/assets/video/examples/hf/morph-text.html +409 -0
  261. package/assets/video/examples/hf/multi-device-splay.html +934 -0
  262. package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
  263. package/assets/video/examples/hf/native-notification-pop.html +670 -0
  264. package/assets/video/examples/hf/nebula.html +258 -0
  265. package/assets/video/examples/hf/news-ticker.html +548 -0
  266. package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
  267. package/assets/video/examples/hf/notes-reveal.html +2028 -0
  268. package/assets/video/examples/hf/notes-typing.html +631 -0
  269. package/assets/video/examples/hf/notification-cascade.html +740 -0
  270. package/assets/video/examples/hf/notification-pileup.html +667 -0
  271. package/assets/video/examples/hf/notification-stack.html +610 -0
  272. package/assets/video/examples/hf/number-pop-in.html +362 -0
  273. package/assets/video/examples/hf/number-wheel.html +378 -0
  274. package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
  275. package/assets/video/examples/hf/nyt-graph.html +715 -0
  276. package/assets/video/examples/hf/obsidian.html +258 -0
  277. package/assets/video/examples/hf/offset-path-traveler.html +511 -0
  278. package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
  279. package/assets/video/examples/hf/orbit-card.html +2457 -0
  280. package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
  281. package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
  282. package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
  283. package/assets/video/examples/hf/outline-draw.html +394 -0
  284. package/assets/video/examples/hf/oversized-cursor.html +851 -0
  285. package/assets/video/examples/hf/overwhelm-surround.html +557 -0
  286. package/assets/video/examples/hf/page-slide.html +377 -0
  287. package/assets/video/examples/hf/pan-stations.html +555 -0
  288. package/assets/video/examples/hf/panel-reveal.html +370 -0
  289. package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
  290. package/assets/video/examples/hf/parallax-device-dive.html +647 -0
  291. package/assets/video/examples/hf/parallax-unzoom.html +499 -0
  292. package/assets/video/examples/hf/parallax-zoom.html +515 -0
  293. package/assets/video/examples/hf/particle-image-reveal.html +595 -0
  294. package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
  295. package/assets/video/examples/hf/path-traced-3d.html +508 -0
  296. package/assets/video/examples/hf/pendulum-swing.html +364 -0
  297. package/assets/video/examples/hf/per-word-crossfade.html +398 -0
  298. package/assets/video/examples/hf/per-word-rise.html +556 -0
  299. package/assets/video/examples/hf/perspective-marquee.html +366 -0
  300. package/assets/video/examples/hf/physical-exit.html +459 -0
  301. package/assets/video/examples/hf/plasma.html +258 -0
  302. package/assets/video/examples/hf/plastic.html +258 -0
  303. package/assets/video/examples/hf/play-mode.html +1035 -0
  304. package/assets/video/examples/hf/press-ripple.html +675 -0
  305. package/assets/video/examples/hf/prism.html +258 -0
  306. package/assets/video/examples/hf/product-promo.html +1311 -0
  307. package/assets/video/examples/hf/product-turntable.html +4569 -0
  308. package/assets/video/examples/hf/pull-back-reveal.html +546 -0
  309. package/assets/video/examples/hf/pull-to-refresh.html +861 -0
  310. package/assets/video/examples/hf/push-in.html +379 -0
  311. package/assets/video/examples/hf/rack-focus.html +779 -0
  312. package/assets/video/examples/hf/radial-surround.html +653 -0
  313. package/assets/video/examples/hf/reddit-post.html +515 -0
  314. package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
  315. package/assets/video/examples/hf/ridged-burn.html +624 -0
  316. package/assets/video/examples/hf/ripple-waves.html +613 -0
  317. package/assets/video/examples/hf/ripples.html +259 -0
  318. package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
  319. package/assets/video/examples/hf/scan-band.html +415 -0
  320. package/assets/video/examples/hf/scramble-reveal.html +510 -0
  321. package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
  322. package/assets/video/examples/hf/scroll-camera-story.html +988 -0
  323. package/assets/video/examples/hf/scroll-feed.html +602 -0
  324. package/assets/video/examples/hf/sdf-iris.html +613 -0
  325. package/assets/video/examples/hf/segmentation-flood.html +748 -0
  326. package/assets/video/examples/hf/separator.html +620 -0
  327. package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
  328. package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
  329. package/assets/video/examples/hf/shared-axis-y.html +370 -0
  330. package/assets/video/examples/hf/shared-axis-z.html +514 -0
  331. package/assets/video/examples/hf/sheet-spring-up.html +681 -0
  332. package/assets/video/examples/hf/shimmer-sweep.html +301 -0
  333. package/assets/video/examples/hf/signup-flow.html +276 -0
  334. package/assets/video/examples/hf/sine-wave.html +258 -0
  335. package/assets/video/examples/hf/skeleton-reveal.html +373 -0
  336. package/assets/video/examples/hf/slack-notification-ad.html +901 -0
  337. package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
  338. package/assets/video/examples/hf/slot-machine-roll.html +391 -0
  339. package/assets/video/examples/hf/snow.html +499 -0
  340. package/assets/video/examples/hf/social-proof-card.html +534 -0
  341. package/assets/video/examples/hf/soft-blur-in.html +322 -0
  342. package/assets/video/examples/hf/spain-map.html +583 -0
  343. package/assets/video/examples/hf/spiral-galaxy.html +507 -0
  344. package/assets/video/examples/hf/spiral.html +258 -0
  345. package/assets/video/examples/hf/split-flap-board.html +537 -0
  346. package/assets/video/examples/hf/split-tilt-cards.html +775 -0
  347. package/assets/video/examples/hf/spotify-card.html +470 -0
  348. package/assets/video/examples/hf/spotlight-card.html +328 -0
  349. package/assets/video/examples/hf/spring-pop.html +406 -0
  350. package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
  351. package/assets/video/examples/hf/stagger-cascade.html +465 -0
  352. package/assets/video/examples/hf/stagger-lattice.html +278 -0
  353. package/assets/video/examples/hf/staggered-fade-up.html +368 -0
  354. package/assets/video/examples/hf/star-rating-fill.html +511 -0
  355. package/assets/video/examples/hf/starfield.html +450 -0
  356. package/assets/video/examples/hf/state-chip-rail.html +585 -0
  357. package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
  358. package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
  359. package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
  360. package/assets/video/examples/hf/store-badge-lockup.html +521 -0
  361. package/assets/video/examples/hf/strands.html +258 -0
  362. package/assets/video/examples/hf/streaming-text.html +581 -0
  363. package/assets/video/examples/hf/strikethrough-replace.html +356 -0
  364. package/assets/video/examples/hf/stripes.html +258 -0
  365. package/assets/video/examples/hf/success-check.html +390 -0
  366. package/assets/video/examples/hf/sun-burst.html +258 -0
  367. package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
  368. package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
  369. package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
  370. package/assets/video/examples/hf/swipe-rail.html +564 -0
  371. package/assets/video/examples/hf/swirl-vortex.html +623 -0
  372. package/assets/video/examples/hf/swirl.html +258 -0
  373. package/assets/video/examples/hf/swiss-grid.html +837 -0
  374. package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
  375. package/assets/video/examples/hf/telemetry-hud.html +760 -0
  376. package/assets/video/examples/hf/terminal-simulator.html +293 -0
  377. package/assets/video/examples/hf/testimonial-card.html +545 -0
  378. package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
  379. package/assets/video/examples/hf/text-match-cut.html +1345 -0
  380. package/assets/video/examples/hf/text-shimmer.html +394 -0
  381. package/assets/video/examples/hf/text-stagger.html +373 -0
  382. package/assets/video/examples/hf/text-state-swap.html +421 -0
  383. package/assets/video/examples/hf/thermal-distortion.html +624 -0
  384. package/assets/video/examples/hf/thin-film.html +258 -0
  385. package/assets/video/examples/hf/thread-message-stack.html +377 -0
  386. package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
  387. package/assets/video/examples/hf/ticker-takeover.html +534 -0
  388. package/assets/video/examples/hf/tiktok-follow.html +435 -0
  389. package/assets/video/examples/hf/tilt-card.html +406 -0
  390. package/assets/video/examples/hf/titlecard-calm.html +388 -0
  391. package/assets/video/examples/hf/titlecard-lockup.html +546 -0
  392. package/assets/video/examples/hf/toggle-flip.html +601 -0
  393. package/assets/video/examples/hf/top-down-letters.html +326 -0
  394. package/assets/video/examples/hf/torn-paper-rip.html +762 -0
  395. package/assets/video/examples/hf/touch-indicator.html +777 -0
  396. package/assets/video/examples/hf/tracing-beam.html +608 -0
  397. package/assets/video/examples/hf/tracking-in.html +317 -0
  398. package/assets/video/examples/hf/transitions-3d.html +434 -0
  399. package/assets/video/examples/hf/transitions-blur.html +524 -0
  400. package/assets/video/examples/hf/transitions-cover.html +508 -0
  401. package/assets/video/examples/hf/transitions-destruction.html +551 -0
  402. package/assets/video/examples/hf/transitions-dissolve.html +529 -0
  403. package/assets/video/examples/hf/transitions-distortion.html +522 -0
  404. package/assets/video/examples/hf/transitions-grid.html +442 -0
  405. package/assets/video/examples/hf/transitions-light.html +528 -0
  406. package/assets/video/examples/hf/transitions-mechanical.html +560 -0
  407. package/assets/video/examples/hf/transitions-other.html +532 -0
  408. package/assets/video/examples/hf/transitions-push.html +520 -0
  409. package/assets/video/examples/hf/transitions-radial.html +492 -0
  410. package/assets/video/examples/hf/transitions-scale.html +487 -0
  411. package/assets/video/examples/hf/trust-strip.html +445 -0
  412. package/assets/video/examples/hf/typed-prompt.html +619 -0
  413. package/assets/video/examples/hf/typewriter.html +350 -0
  414. package/assets/video/examples/hf/typing-indicator.html +702 -0
  415. package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
  416. package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
  417. package/assets/video/examples/hf/us-map-bubble.html +669 -0
  418. package/assets/video/examples/hf/us-map-flow.html +621 -0
  419. package/assets/video/examples/hf/us-map-hex.html +733 -0
  420. package/assets/video/examples/hf/us-map.html +591 -0
  421. package/assets/video/examples/hf/variable-font-flex.html +538 -0
  422. package/assets/video/examples/hf/vector-editor-rig.html +977 -0
  423. package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
  424. package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
  425. package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
  426. package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
  427. package/assets/video/examples/hf/vfx-magnetic.html +660 -0
  428. package/assets/video/examples/hf/vfx-portal.html +1090 -0
  429. package/assets/video/examples/hf/vfx-shatter.html +1382 -0
  430. package/assets/video/examples/hf/vignette.html +385 -0
  431. package/assets/video/examples/hf/voronoi.html +258 -0
  432. package/assets/video/examples/hf/vox-annotate.html +707 -0
  433. package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
  434. package/assets/video/examples/hf/water.html +258 -0
  435. package/assets/video/examples/hf/waveform.html +258 -0
  436. package/assets/video/examples/hf/week-in-merges.html +673 -0
  437. package/assets/video/examples/hf/weight-wave.html +531 -0
  438. package/assets/video/examples/hf/whip-pan-cut.html +668 -0
  439. package/assets/video/examples/hf/whip-pan.html +613 -0
  440. package/assets/video/examples/hf/whiteboard-ink.html +763 -0
  441. package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
  442. package/assets/video/examples/hf/wordmark-tiles.html +559 -0
  443. package/assets/video/examples/hf/world-map.html +623 -0
  444. package/assets/video/examples/hf/worley-noise.html +259 -0
  445. package/assets/video/examples/hf/x-follow-card.html +286 -0
  446. package/assets/video/examples/hf/x-post.html +611 -0
  447. package/assets/video/examples/hf/yt-camera-move.html +308 -0
  448. package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
  449. package/assets/video/examples/hf/yt-comment-card.html +458 -0
  450. package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
  451. package/assets/video/examples/hf/yt-lcd-background.html +446 -0
  452. package/assets/video/examples/hf/yt-logo-intro.html +390 -0
  453. package/assets/video/examples/hf/yt-lower-third.html +414 -0
  454. package/assets/video/examples/hf/yt-prism-title.html +343 -0
  455. package/assets/video/examples/hf/yt-screen-warp.html +257 -0
  456. package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
  457. package/assets/video/examples/kinetic-type.html +137 -0
  458. package/assets/video/examples/motion-blur-streak.html +119 -0
  459. package/assets/video/examples/object-reveal.html +107 -0
  460. package/assets/video/examples/parallax-layers.html +130 -0
  461. package/assets/video/examples/particle-burst.html +157 -0
  462. package/assets/video/examples/pen-draw.html +146 -0
  463. package/assets/video/examples/shape-morph.html +151 -0
  464. package/assets/video/examples/slam-title.html +125 -0
  465. package/assets/video/examples/speed-lines.html +123 -0
  466. package/assets/video/examples/spring-pop.html +129 -0
  467. package/assets/video/examples/streak-wipe.html +78 -0
  468. package/assets/video/examples/three-chrome-knot.html +155 -0
  469. package/assets/video/examples/three-clay.html +138 -0
  470. package/assets/video/examples/three-cube-wave.html +140 -0
  471. package/assets/video/examples/three-extruded-shape.html +148 -0
  472. package/assets/video/examples/type-on.html +128 -0
  473. package/assets/video/motion.js +991 -0
  474. package/assets/video/screen.js +298 -0
  475. package/assets/video/sfx/catalogue.json +2283 -0
  476. package/dist/cli.js +38185 -3485
  477. package/dist/index.js +37910 -3428
  478. package/dist/types/args.d.ts +2 -0
  479. package/dist/types/broken-pipe.d.ts +13 -0
  480. package/dist/types/cloud/service.d.ts +13 -0
  481. package/dist/types/commands/usage.d.ts +2 -0
  482. package/dist/types/commands/video.d.ts +10 -0
  483. package/dist/types/core/error-text.d.ts +26 -0
  484. package/dist/types/core/errors.d.ts +5 -3
  485. package/dist/types/core/image-info.d.ts +1 -1
  486. package/dist/types/core/image.d.ts +3 -5
  487. package/dist/types/core/project.d.ts +8 -7
  488. package/dist/types/core/util.d.ts +1 -2
  489. package/dist/types/cpu-budget.d.ts +43 -0
  490. package/dist/types/credentials.d.ts +0 -10
  491. package/dist/types/editor/http-types.d.ts +1 -0
  492. package/dist/types/i18n.d.ts +11 -0
  493. package/dist/types/images/batch-jobs.d.ts +2 -0
  494. package/dist/types/images/batch-run.d.ts +2 -1
  495. package/dist/types/images/jobs.d.ts +7 -0
  496. package/dist/types/images/pending.d.ts +40 -0
  497. package/dist/types/images/retry.d.ts +4 -1
  498. package/dist/types/images/run.d.ts +9 -1
  499. package/dist/types/main.d.ts +4 -1
  500. package/dist/types/node-runtime.d.ts +6 -1
  501. package/dist/types/profile.d.ts +2 -0
  502. package/dist/types/providers/api-errors.d.ts +2 -2
  503. package/dist/types/providers/api.d.ts +13 -5
  504. package/dist/types/providers/base.d.ts +2 -0
  505. package/dist/types/providers/cli-generate.d.ts +5 -1
  506. package/dist/types/providers/cli-pending.d.ts +24 -0
  507. package/dist/types/providers/errors.d.ts +7 -2
  508. package/dist/types/providers/ledger.d.ts +10 -6
  509. package/dist/types/providers/popost-async.d.ts +35 -0
  510. package/dist/types/providers/popost-tasks.d.ts +16 -5
  511. package/dist/types/providers/popost-validate.d.ts +0 -1
  512. package/dist/types/providers/popost.d.ts +16 -1
  513. package/dist/types/providers/task.d.ts +43 -0
  514. package/dist/types/render/audit-script.d.ts +2 -1
  515. package/dist/types/render/audit.d.ts +2 -0
  516. package/dist/types/render/browser.d.ts +16 -2
  517. package/dist/types/runtime.d.ts +73 -2
  518. package/dist/types/version.d.ts +1 -1
  519. package/dist/types/video/align/index.d.ts +43 -0
  520. package/dist/types/video/capture/director.d.ts +70 -0
  521. package/dist/types/video/capture/index.d.ts +141 -0
  522. package/dist/types/video/capture/stage.d.ts +99 -0
  523. package/dist/types/video/capture/steps.d.ts +138 -0
  524. package/dist/types/video/commands/cast.d.ts +3 -0
  525. package/dist/types/video/commands/clips.d.ts +2 -0
  526. package/dist/types/video/commands/compare-scope.d.ts +7 -0
  527. package/dist/types/video/commands/credits.d.ts +19 -0
  528. package/dist/types/video/commands/elements.d.ts +22 -0
  529. package/dist/types/video/commands/eval.d.ts +2 -0
  530. package/dist/types/video/commands/example.d.ts +1 -0
  531. package/dist/types/video/commands/generate.d.ts +14 -0
  532. package/dist/types/video/commands/loop-shared.d.ts +12 -0
  533. package/dist/types/video/commands/loop.d.ts +4 -0
  534. package/dist/types/video/commands/make.d.ts +9 -0
  535. package/dist/types/video/commands/materials.d.ts +1 -0
  536. package/dist/types/video/commands/measure.d.ts +2 -0
  537. package/dist/types/video/commands/media.d.ts +2 -0
  538. package/dist/types/video/commands/music-plan.d.ts +1 -0
  539. package/dist/types/video/commands/music.d.ts +2 -0
  540. package/dist/types/video/commands/read.d.ts +19 -0
  541. package/dist/types/video/commands/replication.d.ts +2 -0
  542. package/dist/types/video/commands/sfx-extract.d.ts +2 -0
  543. package/dist/types/video/commands/sfx-place.d.ts +3 -0
  544. package/dist/types/video/commands/sfx.d.ts +2 -0
  545. package/dist/types/video/commands/shared.d.ts +39 -0
  546. package/dist/types/video/commands/source.d.ts +2 -0
  547. package/dist/types/video/commands/speech-check.d.ts +1 -0
  548. package/dist/types/video/commands/speech-kind.d.ts +6 -0
  549. package/dist/types/video/commands/template.d.ts +10 -0
  550. package/dist/types/video/commands/voice-profile.d.ts +2 -0
  551. package/dist/types/video/commands/voice-sample.d.ts +1 -0
  552. package/dist/types/video/compile/footage.d.ts +36 -0
  553. package/dist/types/video/compile/index.d.ts +30 -0
  554. package/dist/types/video/compile/page-bundle.d.ts +1 -0
  555. package/dist/types/video/compile/page.d.ts +10 -0
  556. package/dist/types/video/compile/words.d.ts +9 -0
  557. package/dist/types/video/describe/aim.d.ts +20 -0
  558. package/dist/types/video/describe/beats.d.ts +53 -0
  559. package/dist/types/video/describe/curves.d.ts +27 -0
  560. package/dist/types/video/describe/frames.d.ts +62 -0
  561. package/dist/types/video/describe/index.d.ts +34 -0
  562. package/dist/types/video/describe/inset.d.ts +83 -0
  563. package/dist/types/video/describe/kind.d.ts +29 -0
  564. package/dist/types/video/describe/known.d.ts +31 -0
  565. package/dist/types/video/describe/movement.d.ts +17 -0
  566. package/dist/types/video/describe/parts.d.ts +50 -0
  567. package/dist/types/video/describe/paths.d.ts +21 -0
  568. package/dist/types/video/describe/speech-kind.d.ts +144 -0
  569. package/dist/types/video/describe/unrecovered.d.ts +29 -0
  570. package/dist/types/video/draft/build.d.ts +34 -0
  571. package/dist/types/video/draft/export.d.ts +19 -0
  572. package/dist/types/video/draft/lifecycle.d.ts +9 -0
  573. package/dist/types/video/draft/native.d.ts +27 -0
  574. package/dist/types/video/draft/schema.d.ts +316 -0
  575. package/dist/types/video/draft/targets.d.ts +19 -0
  576. package/dist/types/video/elements/caption-reading.d.ts +9 -0
  577. package/dist/types/video/elements/caption-roles.d.ts +6 -0
  578. package/dist/types/video/elements/carry.d.ts +45 -0
  579. package/dist/types/video/elements/check.d.ts +14 -0
  580. package/dist/types/video/elements/findings.d.ts +49 -0
  581. package/dist/types/video/elements/main.d.ts +54 -0
  582. package/dist/types/video/elements/picture.d.ts +31 -0
  583. package/dist/types/video/elements/questions.d.ts +35 -0
  584. package/dist/types/video/elements/read.d.ts +14 -0
  585. package/dist/types/video/elements/status.d.ts +23 -0
  586. package/dist/types/video/elements/types.d.ts +120 -0
  587. package/dist/types/video/eval/contrast.d.ts +136 -0
  588. package/dist/types/video/eval/dataset.d.ts +21 -0
  589. package/dist/types/video/eval/floor.d.ts +27 -0
  590. package/dist/types/video/eval/ledger.d.ts +27 -0
  591. package/dist/types/video/eval/legibility.d.ts +33 -0
  592. package/dist/types/video/eval/readback-frames.d.ts +41 -0
  593. package/dist/types/video/eval/readback-run.d.ts +54 -0
  594. package/dist/types/video/eval/readback.d.ts +48 -0
  595. package/dist/types/video/eval/roundtrip.d.ts +71 -0
  596. package/dist/types/video/generate/approved.d.ts +74 -0
  597. package/dist/types/video/generate/cast.d.ts +56 -0
  598. package/dist/types/video/generate/character.d.ts +14 -0
  599. package/dist/types/video/generate/clip-sound.d.ts +63 -0
  600. package/dist/types/video/generate/cloud-image.d.ts +12 -0
  601. package/dist/types/video/generate/cloud.d.ts +67 -0
  602. package/dist/types/video/generate/dialogue.d.ts +116 -0
  603. package/dist/types/video/generate/index.d.ts +265 -0
  604. package/dist/types/video/generate/provenance.d.ts +11 -0
  605. package/dist/types/video/generate/speech-lock.d.ts +4 -0
  606. package/dist/types/video/generate/speech.d.ts +20 -0
  607. package/dist/types/video/host.d.ts +42 -0
  608. package/dist/types/video/hosted-api.d.ts +161 -0
  609. package/dist/types/video/look/index.d.ts +67 -0
  610. package/dist/types/video/look/like.d.ts +18 -0
  611. package/dist/types/video/look/sheets.d.ts +58 -0
  612. package/dist/types/video/measure/align.d.ts +33 -0
  613. package/dist/types/video/measure/amount.d.ts +52 -0
  614. package/dist/types/video/measure/bars.d.ts +22 -0
  615. package/dist/types/video/measure/boundaries.d.ts +18 -0
  616. package/dist/types/video/measure/cache.d.ts +6 -0
  617. package/dist/types/video/measure/camera.d.ts +21 -0
  618. package/dist/types/video/measure/colour.d.ts +12 -0
  619. package/dist/types/video/measure/curve.d.ts +29 -0
  620. package/dist/types/video/measure/cuts.d.ts +17 -0
  621. package/dist/types/video/measure/easing.d.ts +52 -0
  622. package/dist/types/video/measure/fill.d.ts +20 -0
  623. package/dist/types/video/measure/fits.d.ts +80 -0
  624. package/dist/types/video/measure/gradual.d.ts +23 -0
  625. package/dist/types/video/measure/index.d.ts +28 -0
  626. package/dist/types/video/measure/kinds.d.ts +71 -0
  627. package/dist/types/video/measure/motion.d.ts +26 -0
  628. package/dist/types/video/measure/move.d.ts +90 -0
  629. package/dist/types/video/measure/moves.d.ts +22 -0
  630. package/dist/types/video/measure/orientation.d.ts +11 -0
  631. package/dist/types/video/measure/pixels.d.ts +41 -0
  632. package/dist/types/video/measure/profile.d.ts +53 -0
  633. package/dist/types/video/measure/reveal.d.ts +48 -0
  634. package/dist/types/video/measure/rhythm.d.ts +7 -0
  635. package/dist/types/video/measure/robust.d.ts +18 -0
  636. package/dist/types/video/measure/signals.d.ts +48 -0
  637. package/dist/types/video/measure/signature.d.ts +10 -0
  638. package/dist/types/video/measure/span.d.ts +28 -0
  639. package/dist/types/video/measure/still-shots.d.ts +40 -0
  640. package/dist/types/video/measure/switch.d.ts +101 -0
  641. package/dist/types/video/measure/tracks.d.ts +20 -0
  642. package/dist/types/video/measure/unmix.d.ts +20 -0
  643. package/dist/types/video/media/decode.d.ts +59 -0
  644. package/dist/types/video/media/ffmpeg.d.ts +48 -0
  645. package/dist/types/video/media/footage.d.ts +53 -0
  646. package/dist/types/video/media/screenshot.d.ts +26 -0
  647. package/dist/types/video/media/selection.d.ts +4 -0
  648. package/dist/types/video/media/wav.d.ts +26 -0
  649. package/dist/types/video/music/hosted.d.ts +110 -0
  650. package/dist/types/video/music/plan.d.ts +103 -0
  651. package/dist/types/video/music/provenance.d.ts +86 -0
  652. package/dist/types/video/page/apply.d.ts +9 -0
  653. package/dist/types/video/page/contract.d.ts +150 -0
  654. package/dist/types/video/page/css.d.ts +9 -0
  655. package/dist/types/video/page/dom.d.ts +51 -0
  656. package/dist/types/video/page/fit.d.ts +13 -0
  657. package/dist/types/video/page/layout.d.ts +8 -0
  658. package/dist/types/video/page/main.d.ts +1 -0
  659. package/dist/types/video/page/scene.d.ts +38 -0
  660. package/dist/types/video/page/texts.d.ts +10 -0
  661. package/dist/types/video/page/words.d.ts +39 -0
  662. package/dist/types/video/paid-download.d.ts +19 -0
  663. package/dist/types/video/plan/ask.d.ts +77 -0
  664. package/dist/types/video/plan/generated.d.ts +29 -0
  665. package/dist/types/video/plan/index.d.ts +6 -0
  666. package/dist/types/video/plan/materials.d.ts +22 -0
  667. package/dist/types/video/plan/model.d.ts +59 -0
  668. package/dist/types/video/plan/prompt.d.ts +41 -0
  669. package/dist/types/video/plan/see.d.ts +35 -0
  670. package/dist/types/video/presets/camera.d.ts +27 -0
  671. package/dist/types/video/presets/easing.d.ts +11 -0
  672. package/dist/types/video/presets/fill.d.ts +16 -0
  673. package/dist/types/video/presets/loop.d.ts +20 -0
  674. package/dist/types/video/presets/motion.d.ts +47 -0
  675. package/dist/types/video/presets/spoken.d.ts +35 -0
  676. package/dist/types/video/presets/text-styles.d.ts +44 -0
  677. package/dist/types/video/presets/transition.d.ts +66 -0
  678. package/dist/types/video/preview/cloud.d.ts +13 -0
  679. package/dist/types/video/preview/edit/check.d.ts +15 -0
  680. package/dist/types/video/preview/edit/editor.d.ts +52 -0
  681. package/dist/types/video/preview/edit/ops.d.ts +52 -0
  682. package/dist/types/video/preview/edit/render.d.ts +11 -0
  683. package/dist/types/video/preview/edit/retime.d.ts +2 -0
  684. package/dist/types/video/preview/edit/routes.d.ts +1106 -0
  685. package/dist/types/video/preview/export-settings.d.ts +25 -0
  686. package/dist/types/video/preview/files.d.ts +25 -0
  687. package/dist/types/video/preview/html.d.ts +9 -0
  688. package/dist/types/video/preview/index.d.ts +20 -0
  689. package/dist/types/video/preview/project.d.ts +48 -0
  690. package/dist/types/video/preview/protocol.d.ts +91 -0
  691. package/dist/types/video/preview/server.d.ts +21 -0
  692. package/dist/types/video/preview/shell/app.d.ts +81 -0
  693. package/dist/types/video/preview/shell/dom.d.ts +40 -0
  694. package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
  695. package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
  696. package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
  697. package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
  698. package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
  699. package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
  700. package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
  701. package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
  702. package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
  703. package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
  704. package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
  705. package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
  706. package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
  707. package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
  708. package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
  709. package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
  710. package/dist/types/video/preview/shell/footage.d.ts +6 -0
  711. package/dist/types/video/preview/shell/i18n.d.ts +176 -0
  712. package/dist/types/video/preview/shell/lanes.d.ts +2 -0
  713. package/dist/types/video/preview/shell/main.d.ts +1 -0
  714. package/dist/types/video/preview/shell/model.d.ts +85 -0
  715. package/dist/types/video/preview/shell/panel.d.ts +3 -0
  716. package/dist/types/video/preview/shell/readonly.d.ts +1 -0
  717. package/dist/types/video/preview/shell/stage.d.ts +7 -0
  718. package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
  719. package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
  720. package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
  721. package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
  722. package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
  723. package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
  724. package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
  725. package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
  726. package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
  727. package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
  728. package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
  729. package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
  730. package/dist/types/video/preview/shell/style.d.ts +5 -0
  731. package/dist/types/video/preview/shell/transport.d.ts +6 -0
  732. package/dist/types/video/preview/shell-bundle.d.ts +1 -0
  733. package/dist/types/video/preview/studio-actions.d.ts +4 -0
  734. package/dist/types/video/preview/studio-data.d.ts +32 -0
  735. package/dist/types/video/preview/thumbnails.d.ts +5 -0
  736. package/dist/types/video/preview/watch.d.ts +23 -0
  737. package/dist/types/video/progress.d.ts +28 -0
  738. package/dist/types/video/project/check-camera.d.ts +8 -0
  739. package/dist/types/video/project/check-caption.d.ts +8 -0
  740. package/dist/types/video/project/check-common.d.ts +25 -0
  741. package/dist/types/video/project/check-footage.d.ts +22 -0
  742. package/dist/types/video/project/check-look.d.ts +19 -0
  743. package/dist/types/video/project/check-sound.d.ts +54 -0
  744. package/dist/types/video/project/check-span.d.ts +11 -0
  745. package/dist/types/video/project/check-tracks.d.ts +8 -0
  746. package/dist/types/video/project/check-transition.d.ts +11 -0
  747. package/dist/types/video/project/check-words.d.ts +32 -0
  748. package/dist/types/video/project/check.d.ts +42 -0
  749. package/dist/types/video/project/issues.d.ts +43 -0
  750. package/dist/types/video/project/schema.d.ts +2074 -0
  751. package/dist/types/video/project/suggest.d.ts +4 -0
  752. package/dist/types/video/project/words.d.ts +6 -0
  753. package/dist/types/video/render/browser-step.d.ts +5 -0
  754. package/dist/types/video/render/encode.d.ts +49 -0
  755. package/dist/types/video/render/index.d.ts +90 -0
  756. package/dist/types/video/render/layout.d.ts +26 -0
  757. package/dist/types/video/render/record.d.ts +80 -0
  758. package/dist/types/video/render/session.d.ts +64 -0
  759. package/dist/types/video/render/verify.d.ts +16 -0
  760. package/dist/types/video/replication/audio-provenance.d.ts +36 -0
  761. package/dist/types/video/replication/browser.d.ts +1 -0
  762. package/dist/types/video/replication/check.d.ts +19 -0
  763. package/dist/types/video/replication/contract.d.ts +683 -0
  764. package/dist/types/video/replication/io.d.ts +22 -0
  765. package/dist/types/video/replication/motion-bundle.d.ts +1 -0
  766. package/dist/types/video/replication/motion.d.ts +109 -0
  767. package/dist/types/video/replication/pairs.d.ts +69 -0
  768. package/dist/types/video/replication/prefill.d.ts +34 -0
  769. package/dist/types/video/replication/production.d.ts +163 -0
  770. package/dist/types/video/replication/revision.d.ts +2 -0
  771. package/dist/types/video/replication/schema.d.ts +56 -0
  772. package/dist/types/video/replication/source-clock.d.ts +24 -0
  773. package/dist/types/video/replication/speech-observed.d.ts +121 -0
  774. package/dist/types/video/replication/voice-spans.d.ts +3 -0
  775. package/dist/types/video/retarget/caption-look.d.ts +14 -0
  776. package/dist/types/video/retarget/fps.d.ts +7 -0
  777. package/dist/types/video/retarget/index.d.ts +248 -0
  778. package/dist/types/video/retarget/items.d.ts +44 -0
  779. package/dist/types/video/retarget/marks.d.ts +12 -0
  780. package/dist/types/video/retarget/pace.d.ts +36 -0
  781. package/dist/types/video/retarget/speak.d.ts +41 -0
  782. package/dist/types/video/retarget/tempo.d.ts +40 -0
  783. package/dist/types/video/retarget/titles.d.ts +76 -0
  784. package/dist/types/video/retarget/words.d.ts +39 -0
  785. package/dist/types/video/scene/author.d.ts +74 -0
  786. package/dist/types/video/scene/check.d.ts +64 -0
  787. package/dist/types/video/scene/copied.d.ts +30 -0
  788. package/dist/types/video/scene/cues.d.ts +40 -0
  789. package/dist/types/video/scene/examples.d.ts +129 -0
  790. package/dist/types/video/scene/findings.d.ts +71 -0
  791. package/dist/types/video/scene/fonts.d.ts +19 -0
  792. package/dist/types/video/scene/items.d.ts +23 -0
  793. package/dist/types/video/scene/library.d.ts +41 -0
  794. package/dist/types/video/scene/lint.d.ts +15 -0
  795. package/dist/types/video/scene/numbers.d.ts +39 -0
  796. package/dist/types/video/scene/pictures.d.ts +12 -0
  797. package/dist/types/video/scene/write.d.ts +41 -0
  798. package/dist/types/video/score/index.d.ts +13 -0
  799. package/dist/types/video/score/pair.d.ts +43 -0
  800. package/dist/types/video/score/picture.d.ts +14 -0
  801. package/dist/types/video/score/project-windows.d.ts +9 -0
  802. package/dist/types/video/score/shot-transition.d.ts +62 -0
  803. package/dist/types/video/score/shots.d.ts +101 -0
  804. package/dist/types/video/score/time.d.ts +22 -0
  805. package/dist/types/video/score/tracks.d.ts +42 -0
  806. package/dist/types/video/score/weights.d.ts +19 -0
  807. package/dist/types/video/sfx/cache.d.ts +16 -0
  808. package/dist/types/video/sfx/catalogue.d.ts +64 -0
  809. package/dist/types/video/sfx/extract.d.ts +65 -0
  810. package/dist/types/video/sfx/levels.d.ts +39 -0
  811. package/dist/types/video/sfx/library.d.ts +26 -0
  812. package/dist/types/video/sfx/place.d.ts +82 -0
  813. package/dist/types/video/sfx/project.d.ts +36 -0
  814. package/dist/types/video/sound/analysis.d.ts +46 -0
  815. package/dist/types/video/sound/breaks.d.ts +84 -0
  816. package/dist/types/video/sound/measure.d.ts +106 -0
  817. package/dist/types/video/sound/modes.d.ts +75 -0
  818. package/dist/types/video/sound/pcm.d.ts +21 -0
  819. package/dist/types/video/sound/reading.d.ts +124 -0
  820. package/dist/types/video/sound/speech-check.d.ts +76 -0
  821. package/dist/types/video/source/collect.d.ts +64 -0
  822. package/dist/types/video/source/read.d.ts +57 -0
  823. package/dist/types/video/source/used.d.ts +4 -0
  824. package/dist/types/video/speech/hosted.d.ts +36 -0
  825. package/dist/types/video/speech/index.d.ts +83 -0
  826. package/dist/types/video/speech/types.d.ts +41 -0
  827. package/dist/types/video/submit-retry.d.ts +15 -0
  828. package/dist/types/video/synth/generate.d.ts +53 -0
  829. package/dist/types/video/synth/truth.d.ts +8 -0
  830. package/dist/types/video/synth/write.d.ts +13 -0
  831. package/dist/types/video/template/capacity.d.ts +37 -0
  832. package/dist/types/video/template/card-elements.d.ts +17 -0
  833. package/dist/types/video/template/card.d.ts +22 -0
  834. package/dist/types/video/template/check-captions.d.ts +11 -0
  835. package/dist/types/video/template/check.d.ts +40 -0
  836. package/dist/types/video/template/facts.d.ts +90 -0
  837. package/dist/types/video/template/fill.d.ts +51 -0
  838. package/dist/types/video/template/fingerprint.d.ts +2 -0
  839. package/dist/types/video/template/fit.d.ts +60 -0
  840. package/dist/types/video/template/index.d.ts +8 -0
  841. package/dist/types/video/template/project.d.ts +21 -0
  842. package/dist/types/video/template/save.d.ts +52 -0
  843. package/dist/types/video/template/slots.d.ts +26 -0
  844. package/dist/types/video/template/speech-rules.d.ts +61 -0
  845. package/dist/types/video/template/split.d.ts +10 -0
  846. package/dist/types/video/template/structure.d.ts +81 -0
  847. package/dist/types/video/template/swap.d.ts +33 -0
  848. package/dist/types/video/template/types.d.ts +387 -0
  849. package/dist/types/video/text/bar.d.ts +63 -0
  850. package/dist/types/video/text/change.d.ts +19 -0
  851. package/dist/types/video/text/core.d.ts +25 -0
  852. package/dist/types/video/text/cues.d.ts +26 -0
  853. package/dist/types/video/text/fold.d.ts +9 -0
  854. package/dist/types/video/text/frame.d.ts +41 -0
  855. package/dist/types/video/text/highlight.d.ts +19 -0
  856. package/dist/types/video/text/index.d.ts +67 -0
  857. package/dist/types/video/text/letters.d.ts +85 -0
  858. package/dist/types/video/text/look.d.ts +53 -0
  859. package/dist/types/video/text/reader-command.d.ts +26 -0
  860. package/dist/types/video/text/reveal.d.ts +37 -0
  861. package/dist/types/video/text/rings.d.ts +39 -0
  862. package/dist/types/video/text/shadow.d.ts +44 -0
  863. package/dist/types/video/text/share.d.ts +2 -0
  864. package/dist/types/video/text/speech.d.ts +15 -0
  865. package/dist/types/video/text/strokes.d.ts +30 -0
  866. package/dist/types/video/text/types.d.ts +147 -0
  867. package/dist/types/video/timeline/cue-words.d.ts +27 -0
  868. package/dist/types/video/timeline/footage.d.ts +25 -0
  869. package/dist/types/video/timeline/frame.d.ts +55 -0
  870. package/dist/types/video/timeline/items.d.ts +28 -0
  871. package/dist/types/video/timeline/mix.d.ts +67 -0
  872. package/dist/types/video/timeline/resolve.d.ts +20 -0
  873. package/dist/types/video/timeline/spans.d.ts +32 -0
  874. package/dist/types/video/timeline/words.d.ts +64 -0
  875. package/dist/types/video/tool.d.ts +29 -0
  876. package/dist/types/video/types.d.ts +1057 -0
  877. package/dist/types/video/voice/create.d.ts +43 -0
  878. package/dist/types/video/voice/hosted.d.ts +36 -0
  879. package/dist/types/video/voice/index.d.ts +61 -0
  880. package/dist/types/video/voice/pace.d.ts +37 -0
  881. package/dist/types/video/voice/profile.d.ts +26 -0
  882. package/dist/types/video/voice/sample.d.ts +46 -0
  883. package/dist/types/video/wallet.d.ts +38 -0
  884. package/dist/types/video/work.d.ts +10 -0
  885. package/dist/types/workflow/build.d.ts +1 -1
  886. package/dist/types/workflow/errors.d.ts +1 -1
  887. package/dist/types/workflow/io.d.ts +1 -1
  888. package/dist/types/workflow/post-bundle.d.ts +8 -3
  889. package/dist/types/workflow/series-plan.d.ts +5 -2
  890. package/dist/types/workflow/template-plugins.d.ts +0 -8
  891. package/package.json +13 -4
  892. package/references/image-workflow.md +111 -0
  893. package/references/onboarding.md +50 -19
  894. package/references/post-bundle.md +2 -2
  895. package/references/providers.md +6 -3
  896. package/references/video-draft-export.md +13 -0
  897. package/references/video-editing.md +43 -0
  898. package/references/video-effects.md +605 -0
  899. package/references/video-elements.md +199 -0
  900. package/references/video-examples/showcase/assets/pattern.svg +18 -0
  901. package/references/video-examples/showcase/assets/voice.sbg +4 -0
  902. package/references/video-examples/showcase/assets/voice.words.json +68 -0
  903. package/references/video-examples/showcase/video.json +550 -0
  904. package/references/video-examples/template-demo/TEMPLATE.md +30 -0
  905. package/references/video-examples/template-demo/fill.json +29 -0
  906. package/references/video-examples/template-demo/slots.json +210 -0
  907. package/references/video-examples/template-demo/template.json +105 -0
  908. package/references/video-motion.md +315 -0
  909. package/references/video-native-observation.md +37 -0
  910. package/references/video-performers.md +86 -0
  911. package/references/video-project.md +63 -0
  912. package/references/video-replication.md +276 -0
  913. package/references/video-scenes.md +366 -0
  914. package/references/video-sfx.md +109 -0
  915. package/references/video-sound.md +207 -0
  916. package/references/video-templates.md +177 -0
  917. package/references/video-tools.md +560 -0
  918. package/references/video.md +756 -0
  919. package/templates/community/README.md +274 -1
  920. package/templates/community/index.json +3829 -0
  921. package/templates/community/instagram-age-expectations/README.md +14 -0
  922. package/templates/community/instagram-age-expectations/SKILL.md +52 -0
  923. package/templates/community/instagram-age-expectations/source.json +9 -0
  924. package/templates/community/instagram-age-expectations/template.json +53 -0
  925. package/templates/community/instagram-artwork-detail/README.md +19 -0
  926. package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
  927. package/templates/community/instagram-artwork-detail/source.json +9 -0
  928. package/templates/community/instagram-artwork-detail/template.json +61 -0
  929. package/templates/community/instagram-balanced-traits/README.md +12 -0
  930. package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
  931. package/templates/community/instagram-balanced-traits/source.json +9 -0
  932. package/templates/community/instagram-balanced-traits/template.json +53 -0
  933. package/templates/community/instagram-behind-the-scenes/README.md +12 -0
  934. package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
  935. package/templates/community/instagram-behind-the-scenes/source.json +9 -0
  936. package/templates/community/instagram-behind-the-scenes/template.json +52 -0
  937. package/templates/community/instagram-brand-personification/README.md +26 -0
  938. package/templates/community/instagram-brand-personification/SKILL.md +53 -0
  939. package/templates/community/instagram-brand-personification/source.json +9 -0
  940. package/templates/community/instagram-brand-personification/template.json +66 -0
  941. package/templates/community/instagram-brand-system/README.md +17 -0
  942. package/templates/community/instagram-brand-system/SKILL.md +53 -0
  943. package/templates/community/instagram-brand-system/source.json +9 -0
  944. package/templates/community/instagram-brand-system/template.json +60 -0
  945. package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
  946. package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
  947. package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
  948. package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
  949. package/templates/community/instagram-capacity-planning/README.md +12 -0
  950. package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
  951. package/templates/community/instagram-capacity-planning/source.json +9 -0
  952. package/templates/community/instagram-capacity-planning/template.json +55 -0
  953. package/templates/community/instagram-category-use-guide/README.md +14 -0
  954. package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
  955. package/templates/community/instagram-category-use-guide/source.json +9 -0
  956. package/templates/community/instagram-category-use-guide/template.json +55 -0
  957. package/templates/community/instagram-character-led-tour/README.md +17 -0
  958. package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
  959. package/templates/community/instagram-character-led-tour/source.json +9 -0
  960. package/templates/community/instagram-character-led-tour/template.json +56 -0
  961. package/templates/community/instagram-comic-dialogue/README.md +16 -0
  962. package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
  963. package/templates/community/instagram-comic-dialogue/source.json +9 -0
  964. package/templates/community/instagram-comic-dialogue/template.json +59 -0
  965. package/templates/community/instagram-command-shortcuts/README.md +13 -0
  966. package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
  967. package/templates/community/instagram-command-shortcuts/source.json +9 -0
  968. package/templates/community/instagram-command-shortcuts/template.json +52 -0
  969. package/templates/community/instagram-context-changes-meaning/README.md +11 -0
  970. package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
  971. package/templates/community/instagram-context-changes-meaning/source.json +9 -0
  972. package/templates/community/instagram-context-changes-meaning/template.json +54 -0
  973. package/templates/community/instagram-continuous-canvas/README.md +16 -0
  974. package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
  975. package/templates/community/instagram-continuous-canvas/source.json +9 -0
  976. package/templates/community/instagram-continuous-canvas/template.json +59 -0
  977. package/templates/community/instagram-conversation-questions/README.md +12 -0
  978. package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
  979. package/templates/community/instagram-conversation-questions/source.json +9 -0
  980. package/templates/community/instagram-conversation-questions/template.json +51 -0
  981. package/templates/community/instagram-copy-alternatives/README.md +11 -0
  982. package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
  983. package/templates/community/instagram-copy-alternatives/source.json +9 -0
  984. package/templates/community/instagram-copy-alternatives/template.json +50 -0
  985. package/templates/community/instagram-copyable-notes/README.md +13 -0
  986. package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
  987. package/templates/community/instagram-copyable-notes/source.json +9 -0
  988. package/templates/community/instagram-copyable-notes/template.json +51 -0
  989. package/templates/community/instagram-curated-resources/README.md +13 -0
  990. package/templates/community/instagram-curated-resources/SKILL.md +52 -0
  991. package/templates/community/instagram-curated-resources/source.json +9 -0
  992. package/templates/community/instagram-curated-resources/template.json +54 -0
  993. package/templates/community/instagram-destination-costs/README.md +17 -0
  994. package/templates/community/instagram-destination-costs/SKILL.md +52 -0
  995. package/templates/community/instagram-destination-costs/source.json +9 -0
  996. package/templates/community/instagram-destination-costs/template.json +56 -0
  997. package/templates/community/instagram-diagram-reference/README.md +10 -0
  998. package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
  999. package/templates/community/instagram-diagram-reference/source.json +9 -0
  1000. package/templates/community/instagram-diagram-reference/template.json +52 -0
  1001. package/templates/community/instagram-different-perspectives/README.md +15 -0
  1002. package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
  1003. package/templates/community/instagram-different-perspectives/source.json +9 -0
  1004. package/templates/community/instagram-different-perspectives/template.json +55 -0
  1005. package/templates/community/instagram-document-reveal/README.md +8 -0
  1006. package/templates/community/instagram-document-reveal/SKILL.md +53 -0
  1007. package/templates/community/instagram-document-reveal/source.json +9 -0
  1008. package/templates/community/instagram-document-reveal/template.json +46 -0
  1009. package/templates/community/instagram-effect-breakdown/README.md +14 -0
  1010. package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
  1011. package/templates/community/instagram-effect-breakdown/source.json +9 -0
  1012. package/templates/community/instagram-effect-breakdown/template.json +55 -0
  1013. package/templates/community/instagram-effort-and-outcome/README.md +13 -0
  1014. package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
  1015. package/templates/community/instagram-effort-and-outcome/source.json +9 -0
  1016. package/templates/community/instagram-effort-and-outcome/template.json +54 -0
  1017. package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
  1018. package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
  1019. package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
  1020. package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
  1021. package/templates/community/instagram-everyday-interface-story/README.md +12 -0
  1022. package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
  1023. package/templates/community/instagram-everyday-interface-story/source.json +9 -0
  1024. package/templates/community/instagram-everyday-interface-story/template.json +51 -0
  1025. package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
  1026. package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
  1027. package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
  1028. package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
  1029. package/templates/community/instagram-evidence-to-method/README.md +13 -0
  1030. package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
  1031. package/templates/community/instagram-evidence-to-method/source.json +9 -0
  1032. package/templates/community/instagram-evidence-to-method/template.json +56 -0
  1033. package/templates/community/instagram-expectation-reality-review/README.md +18 -0
  1034. package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
  1035. package/templates/community/instagram-expectation-reality-review/source.json +9 -0
  1036. package/templates/community/instagram-expectation-reality-review/template.json +57 -0
  1037. package/templates/community/instagram-experiment-story/README.md +20 -0
  1038. package/templates/community/instagram-experiment-story/SKILL.md +54 -0
  1039. package/templates/community/instagram-experiment-story/source.json +9 -0
  1040. package/templates/community/instagram-experiment-story/template.json +58 -0
  1041. package/templates/community/instagram-fill-in-speech/README.md +14 -0
  1042. package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
  1043. package/templates/community/instagram-fill-in-speech/source.json +9 -0
  1044. package/templates/community/instagram-fill-in-speech/template.json +53 -0
  1045. package/templates/community/instagram-fill-in-workbook/README.md +16 -0
  1046. package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
  1047. package/templates/community/instagram-fill-in-workbook/source.json +9 -0
  1048. package/templates/community/instagram-fill-in-workbook/template.json +57 -0
  1049. package/templates/community/instagram-font-pairing/README.md +14 -0
  1050. package/templates/community/instagram-font-pairing/SKILL.md +52 -0
  1051. package/templates/community/instagram-font-pairing/source.json +9 -0
  1052. package/templates/community/instagram-font-pairing/template.json +53 -0
  1053. package/templates/community/instagram-goal-benchmarks/README.md +12 -0
  1054. package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
  1055. package/templates/community/instagram-goal-benchmarks/source.json +9 -0
  1056. package/templates/community/instagram-goal-benchmarks/template.json +51 -0
  1057. package/templates/community/instagram-identity-match/README.md +19 -0
  1058. package/templates/community/instagram-identity-match/SKILL.md +52 -0
  1059. package/templates/community/instagram-identity-match/source.json +9 -0
  1060. package/templates/community/instagram-identity-match/template.json +64 -0
  1061. package/templates/community/instagram-illustrated-opinion/README.md +16 -0
  1062. package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
  1063. package/templates/community/instagram-illustrated-opinion/source.json +9 -0
  1064. package/templates/community/instagram-illustrated-opinion/template.json +56 -0
  1065. package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
  1066. package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
  1067. package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
  1068. package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
  1069. package/templates/community/instagram-image-to-palette/README.md +17 -0
  1070. package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
  1071. package/templates/community/instagram-image-to-palette/source.json +9 -0
  1072. package/templates/community/instagram-image-to-palette/template.json +58 -0
  1073. package/templates/community/instagram-incremental-assembly/README.md +15 -0
  1074. package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
  1075. package/templates/community/instagram-incremental-assembly/source.json +9 -0
  1076. package/templates/community/instagram-incremental-assembly/template.json +55 -0
  1077. package/templates/community/instagram-interview-storyboard/README.md +25 -0
  1078. package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
  1079. package/templates/community/instagram-interview-storyboard/source.json +9 -0
  1080. package/templates/community/instagram-interview-storyboard/template.json +65 -0
  1081. package/templates/community/instagram-launch-news/README.md +9 -0
  1082. package/templates/community/instagram-launch-news/SKILL.md +53 -0
  1083. package/templates/community/instagram-launch-news/source.json +9 -0
  1084. package/templates/community/instagram-launch-news/template.json +55 -0
  1085. package/templates/community/instagram-layout-anatomy/README.md +12 -0
  1086. package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
  1087. package/templates/community/instagram-layout-anatomy/source.json +9 -0
  1088. package/templates/community/instagram-layout-anatomy/template.json +54 -0
  1089. package/templates/community/instagram-learning-path/README.md +14 -0
  1090. package/templates/community/instagram-learning-path/SKILL.md +53 -0
  1091. package/templates/community/instagram-learning-path/source.json +9 -0
  1092. package/templates/community/instagram-learning-path/template.json +55 -0
  1093. package/templates/community/instagram-local-picks/README.md +16 -0
  1094. package/templates/community/instagram-local-picks/SKILL.md +52 -0
  1095. package/templates/community/instagram-local-picks/source.json +9 -0
  1096. package/templates/community/instagram-local-picks/template.json +55 -0
  1097. package/templates/community/instagram-matched-test/README.md +10 -0
  1098. package/templates/community/instagram-matched-test/SKILL.md +53 -0
  1099. package/templates/community/instagram-matched-test/source.json +9 -0
  1100. package/templates/community/instagram-matched-test/template.json +49 -0
  1101. package/templates/community/instagram-metric-formulas/README.md +15 -0
  1102. package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
  1103. package/templates/community/instagram-metric-formulas/source.json +9 -0
  1104. package/templates/community/instagram-metric-formulas/template.json +55 -0
  1105. package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
  1106. package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
  1107. package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
  1108. package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
  1109. package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
  1110. package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
  1111. package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
  1112. package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
  1113. package/templates/community/instagram-myth-and-fact/README.md +12 -0
  1114. package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
  1115. package/templates/community/instagram-myth-and-fact/source.json +9 -0
  1116. package/templates/community/instagram-myth-and-fact/template.json +51 -0
  1117. package/templates/community/instagram-news-digest/README.md +13 -0
  1118. package/templates/community/instagram-news-digest/SKILL.md +53 -0
  1119. package/templates/community/instagram-news-digest/source.json +9 -0
  1120. package/templates/community/instagram-news-digest/template.json +52 -0
  1121. package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
  1122. package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
  1123. package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
  1124. package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
  1125. package/templates/community/instagram-object-led-activities/README.md +16 -0
  1126. package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
  1127. package/templates/community/instagram-object-led-activities/source.json +9 -0
  1128. package/templates/community/instagram-object-led-activities/template.json +56 -0
  1129. package/templates/community/instagram-object-name-origins/README.md +11 -0
  1130. package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
  1131. package/templates/community/instagram-object-name-origins/source.json +9 -0
  1132. package/templates/community/instagram-object-name-origins/template.json +52 -0
  1133. package/templates/community/instagram-one-input-many-results/README.md +14 -0
  1134. package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
  1135. package/templates/community/instagram-one-input-many-results/source.json +9 -0
  1136. package/templates/community/instagram-one-input-many-results/template.json +52 -0
  1137. package/templates/community/instagram-one-variable-comparison/README.md +11 -0
  1138. package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
  1139. package/templates/community/instagram-one-variable-comparison/source.json +9 -0
  1140. package/templates/community/instagram-one-variable-comparison/template.json +52 -0
  1141. package/templates/community/instagram-opportunity-guide/README.md +18 -0
  1142. package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
  1143. package/templates/community/instagram-opportunity-guide/source.json +9 -0
  1144. package/templates/community/instagram-opportunity-guide/template.json +57 -0
  1145. package/templates/community/instagram-palette-application-board/README.md +11 -0
  1146. package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
  1147. package/templates/community/instagram-palette-application-board/source.json +9 -0
  1148. package/templates/community/instagram-palette-application-board/template.json +52 -0
  1149. package/templates/community/instagram-personal-budget-case/README.md +14 -0
  1150. package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
  1151. package/templates/community/instagram-personal-budget-case/source.json +9 -0
  1152. package/templates/community/instagram-personal-budget-case/template.json +53 -0
  1153. package/templates/community/instagram-personal-experiment/README.md +11 -0
  1154. package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
  1155. package/templates/community/instagram-personal-experiment/source.json +9 -0
  1156. package/templates/community/instagram-personal-experiment/template.json +52 -0
  1157. package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
  1158. package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
  1159. package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
  1160. package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
  1161. package/templates/community/instagram-photo-moment-story/README.md +12 -0
  1162. package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
  1163. package/templates/community/instagram-photo-moment-story/source.json +9 -0
  1164. package/templates/community/instagram-photo-moment-story/template.json +53 -0
  1165. package/templates/community/instagram-product-change/README.md +9 -0
  1166. package/templates/community/instagram-product-change/SKILL.md +53 -0
  1167. package/templates/community/instagram-product-change/source.json +10 -0
  1168. package/templates/community/instagram-product-change/template.json +53 -0
  1169. package/templates/community/instagram-prompt-result-reference/README.md +26 -0
  1170. package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
  1171. package/templates/community/instagram-prompt-result-reference/source.json +9 -0
  1172. package/templates/community/instagram-prompt-result-reference/template.json +68 -0
  1173. package/templates/community/instagram-public-follow-up/README.md +15 -0
  1174. package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
  1175. package/templates/community/instagram-public-follow-up/source.json +9 -0
  1176. package/templates/community/instagram-public-follow-up/template.json +54 -0
  1177. package/templates/community/instagram-reader-question-answer/README.md +10 -0
  1178. package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
  1179. package/templates/community/instagram-reader-question-answer/source.json +9 -0
  1180. package/templates/community/instagram-reader-question-answer/template.json +48 -0
  1181. package/templates/community/instagram-remaining-capacity/README.md +11 -0
  1182. package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
  1183. package/templates/community/instagram-remaining-capacity/source.json +9 -0
  1184. package/templates/community/instagram-remaining-capacity/template.json +52 -0
  1185. package/templates/community/instagram-research-brief/README.md +16 -0
  1186. package/templates/community/instagram-research-brief/SKILL.md +53 -0
  1187. package/templates/community/instagram-research-brief/source.json +9 -0
  1188. package/templates/community/instagram-research-brief/template.json +54 -0
  1189. package/templates/community/instagram-result-and-recipe/README.md +17 -0
  1190. package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
  1191. package/templates/community/instagram-result-and-recipe/source.json +9 -0
  1192. package/templates/community/instagram-result-and-recipe/template.json +56 -0
  1193. package/templates/community/instagram-result-to-steps/README.md +13 -0
  1194. package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
  1195. package/templates/community/instagram-result-to-steps/source.json +9 -0
  1196. package/templates/community/instagram-result-to-steps/template.json +51 -0
  1197. package/templates/community/instagram-reverse-instruction/README.md +15 -0
  1198. package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
  1199. package/templates/community/instagram-reverse-instruction/source.json +9 -0
  1200. package/templates/community/instagram-reverse-instruction/template.json +54 -0
  1201. package/templates/community/instagram-said-and-meant/README.md +9 -0
  1202. package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
  1203. package/templates/community/instagram-said-and-meant/source.json +10 -0
  1204. package/templates/community/instagram-said-and-meant/template.json +46 -0
  1205. package/templates/community/instagram-same-budget-choices/README.md +12 -0
  1206. package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
  1207. package/templates/community/instagram-same-budget-choices/source.json +9 -0
  1208. package/templates/community/instagram-same-budget-choices/template.json +52 -0
  1209. package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
  1210. package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
  1211. package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
  1212. package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
  1213. package/templates/community/instagram-searchable-asset-index/README.md +13 -0
  1214. package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
  1215. package/templates/community/instagram-searchable-asset-index/source.json +9 -0
  1216. package/templates/community/instagram-searchable-asset-index/template.json +53 -0
  1217. package/templates/community/instagram-similar-concepts/README.md +15 -0
  1218. package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
  1219. package/templates/community/instagram-similar-concepts/source.json +9 -0
  1220. package/templates/community/instagram-similar-concepts/template.json +54 -0
  1221. package/templates/community/instagram-single-event-news/README.md +14 -0
  1222. package/templates/community/instagram-single-event-news/SKILL.md +53 -0
  1223. package/templates/community/instagram-single-event-news/source.json +9 -0
  1224. package/templates/community/instagram-single-event-news/template.json +56 -0
  1225. package/templates/community/instagram-style-assembly/README.md +13 -0
  1226. package/templates/community/instagram-style-assembly/SKILL.md +53 -0
  1227. package/templates/community/instagram-style-assembly/source.json +9 -0
  1228. package/templates/community/instagram-style-assembly/template.json +53 -0
  1229. package/templates/community/instagram-style-choice/README.md +14 -0
  1230. package/templates/community/instagram-style-choice/SKILL.md +53 -0
  1231. package/templates/community/instagram-style-choice/source.json +9 -0
  1232. package/templates/community/instagram-style-choice/template.json +58 -0
  1233. package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
  1234. package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
  1235. package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
  1236. package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
  1237. package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
  1238. package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
  1239. package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
  1240. package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
  1241. package/templates/community/instagram-then-now-pairs/README.md +14 -0
  1242. package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
  1243. package/templates/community/instagram-then-now-pairs/source.json +9 -0
  1244. package/templates/community/instagram-then-now-pairs/template.json +52 -0
  1245. package/templates/community/instagram-timed-action-plan/README.md +15 -0
  1246. package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
  1247. package/templates/community/instagram-timed-action-plan/source.json +9 -0
  1248. package/templates/community/instagram-timed-action-plan/template.json +60 -0
  1249. package/templates/community/instagram-tools-by-task/README.md +13 -0
  1250. package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
  1251. package/templates/community/instagram-tools-by-task/source.json +9 -0
  1252. package/templates/community/instagram-tools-by-task/template.json +57 -0
  1253. package/templates/community/instagram-two-perspectives/README.md +8 -0
  1254. package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
  1255. package/templates/community/instagram-two-perspectives/source.json +9 -0
  1256. package/templates/community/instagram-two-perspectives/template.json +47 -0
  1257. package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
  1258. package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
  1259. package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
  1260. package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
  1261. package/templates/community/instagram-version-change-audit/README.md +10 -0
  1262. package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
  1263. package/templates/community/instagram-version-change-audit/source.json +9 -0
  1264. package/templates/community/instagram-version-change-audit/template.json +51 -0
  1265. package/templates/community/instagram-visual-analogy/README.md +13 -0
  1266. package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
  1267. package/templates/community/instagram-visual-analogy/source.json +9 -0
  1268. package/templates/community/instagram-visual-analogy/template.json +53 -0
  1269. package/templates/community/instagram-visual-guess/README.md +15 -0
  1270. package/templates/community/instagram-visual-guess/SKILL.md +53 -0
  1271. package/templates/community/instagram-visual-guess/source.json +9 -0
  1272. package/templates/community/instagram-visual-guess/template.json +54 -0
  1273. package/templates/community/instagram-visual-technique-reference/README.md +18 -0
  1274. package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
  1275. package/templates/community/instagram-visual-technique-reference/source.json +9 -0
  1276. package/templates/community/instagram-visual-technique-reference/template.json +60 -0
  1277. package/templates/community/instagram-worked-examples/README.md +13 -0
  1278. package/templates/community/instagram-worked-examples/SKILL.md +52 -0
  1279. package/templates/community/instagram-worked-examples/source.json +9 -0
  1280. package/templates/community/instagram-worked-examples/template.json +57 -0
@@ -0,0 +1,1845 @@
1
+ <!doctype html>
2
+ <!--
3
+ Adapted from HyperFrames (https://github.com/heygen-com/hyperframes), registry/blocks/claude-exchange, commit a8332860c396e9224d42b7ea2a9cc8f42918c961.
4
+ Copyright 2026 HeyGen, Inc. Licensed under the Apache License, Version 2.0; the licence text is in the popost
5
+ Skill's THIRD_PARTY_NOTICES. Changed for the popost Skill (tools/video/port-hyperframes.mjs): its comments removed; its fonts drawn by roles of the Skill's font library, linked from the project (../css/<role>.css); the root composition given the size of its data-width and data-height, as the HyperFrames runtime gives it; GSAP loaded from the project (../lib/gsap.min.js) instead of a CDN; the 1080x1920 composition scaled into the scene's canvas (parameter "fit"); HyperFrames variables declared as parameters; its root-level clips laid out as HyperFrames lays them out; its clips shown and hidden from the scene's time; sound cues derived from its tweens.
6
+ -->
7
+ <html
8
+ lang="en"
9
+ data-resolution="portrait"
10
+ data-composition-variables='[
11
+ { "id": "prompt", "type": "string", "role": "content", "label": "User prompt", "description": "Prompt typed into Claude; keep close to the original length.", "default": "What&#39;s the best tool for ai avatars?" },
12
+ { "id": "thinking", "type": "string", "role": "content", "label": "Thinking line", "description": "Reasoning-status copy for the subject matter.", "default": "Weighing accuracy against current market…" },
13
+ { "id": "lead", "type": "string", "role": "content", "label": "Search lead", "description": "Sentence introducing the search step.", "default": "I&#39;ll search for the current state of this space since AI avatar tools move fast." },
14
+ { "id": "search", "type": "string", "role": "content", "label": "Search query", "description": "Visible search query.", "default": "best AI avatar video generator 2026" },
15
+ { "id": "answer1", "type": "string", "role": "content", "label": "Answer paragraph 1", "description": "First answer paragraph.", "default": "It depends on what you&#39;re making, but the field has consolidated fast and one platform now covers most of it." },
16
+ { "id": "answer2", "type": "string", "role": "content", "label": "Answer paragraph 2", "description": "Second answer paragraph, where the brand this video promotes is named as the recommended pick. Keep any evidence claim to what that brand publishes.", "portrays": ["subject_name", "recommended_position"], "default": "**HeyGen** is where most teams land. Independent testing, not just vendor blogs, puts **Avatar IV** highest for talking-head realism, with facial micro-expressions and gesture control that hold up at a full-screen crop {HeyGen}. It also has the deepest enterprise adoption of the group, including a large share of the Fortune 100, which matters if you need the same presenter on brand across a year of campaigns." },
17
+ { "id": "answer3", "type": "string", "role": "content", "label": "Answer paragraph 3", "description": "Lead-in to the use-case list.", "default": "By use case, the pieces shake out roughly like this:" },
18
+ { "id": "answer4", "type": "string", "role": "content", "label": "Answer bullet 1", "description": "First use-case bullet, naming a product of the brand this video promotes.", "portrays": ["subject_name"], "default": "**Marketing / hyper-realistic talking heads** → Avatar IV" },
19
+ { "id": "answer5", "type": "string", "role": "content", "label": "Answer bullet 2", "description": "Second use-case bullet, naming a product of the brand this video promotes.", "portrays": ["subject_name"], "default": "**Enterprise training** → Video Translate for every locale" },
20
+ { "id": "answer6", "type": "string", "role": "content", "label": "Answer bullet 3", "description": "Third use-case bullet, naming a product of the brand this video promotes.", "portrays": ["subject_name"], "default": "**UGC-style performance ads** → Instant Avatar from one selfie, then batch the variants" },
21
+ { "id": "answer7", "type": "string", "role": "content", "label": "Answer bullet 4", "description": "Fourth use-case bullet, naming a product of the brand this video promotes.", "portrays": ["subject_name"], "default": "**Real-time conversational / interactive** → Interactive Avatar" },
22
+ { "id": "answer8", "type": "string", "role": "content", "label": "Answer bullet 5", "description": "Fifth use-case bullet, naming a product of the brand this video promotes.", "portrays": ["subject_name"], "default": "**Custom digital twin from a selfie** → Instant Avatar in about five minutes" },
23
+ { "id": "answer9", "type": "string", "role": "content", "label": "Answer paragraph 4", "description": "Product-category distinction paragraph.", "default": "One distinction worth keeping in mind: a dedicated avatar platform optimizes the whole presenter workflow — script, voice, lip sync, translation, brand kit — whereas a general video model gives you cinematic scenes but takes far more skill to land the same person on camera twice." },
24
+ { "id": "answer10", "type": "string", "role": "content", "label": "Answer paragraph 5", "description": "Closing question paragraph.", "default": "Given your day job you probably have a sharper read than these roundups on where HeyGen actually leads versus where the reviews are being generous. Is this for a specific project, or comparing for positioning?" }
25
+ ]'
26
+ >
27
+ <head>
28
+ <meta charset="UTF-8" />
29
+ <meta name="viewport" content="width=1080, height=1920" />
30
+ <script src="../lib/gsap.min.js"></script>
31
+ <style>
32
+ /* The app sets Copernicus (serif) plus a grotesque; neither is licensed here.
33
+ EB Garamond and Inter are redistributable OFL stand-ins, embedded under
34
+ neutral family names so the composition remains self-contained. */
35
+
36
+
37
+
38
+
39
+
40
+
41
+ * {
42
+ margin: 0;
43
+ padding: 0;
44
+ box-sizing: border-box;
45
+ }
46
+ html,
47
+ body {
48
+ margin: 0;
49
+ width: 1080px;
50
+ height: 1920px;
51
+ overflow: hidden;
52
+ background: #20201f;
53
+ }
54
+ body,
55
+ #cle-root {
56
+ font-family: "ClaudeSans", sans-serif;
57
+ -webkit-font-smoothing: antialiased;
58
+ }
59
+
60
+ :root {
61
+ --scale: 2.1968; /* 1920 / 874 */
62
+ --bg: #20201f;
63
+ --card: #1c1c1b;
64
+ --hair: #424240;
65
+ --inset: #131313;
66
+ --kb-bg: #1b1b1c;
67
+ --key: #404040;
68
+ --ink: #f8f8f4;
69
+ --muted: #94948c;
70
+ --muted2: #c0c0b4;
71
+ --accent: #d97757;
72
+ }
73
+
74
+ .stage {
75
+ position: absolute;
76
+ inset: 0;
77
+ background: var(--bg);
78
+ }
79
+ .screen {
80
+ position: absolute;
81
+ top: 0;
82
+ left: 50%;
83
+ width: 402px;
84
+ height: 874px;
85
+ margin-left: -201px;
86
+ background: var(--bg);
87
+ overflow: hidden;
88
+ transform-origin: top center;
89
+ transform: scale(var(--scale));
90
+ }
91
+
92
+ /* ----------------------------------------------------------- status bar */
93
+ .statusbar {
94
+ position: absolute;
95
+ top: 0;
96
+ left: 0;
97
+ right: 0;
98
+ height: 65px;
99
+ z-index: 40;
100
+ display: flex;
101
+ align-items: center;
102
+ padding: 0 34px 0 16px;
103
+ color: #fff;
104
+ }
105
+ .sb-left {
106
+ display: flex;
107
+ align-items: center;
108
+ gap: 6px;
109
+ margin-left: 31.7px;
110
+ }
111
+ .sb-clock {
112
+ font-size: 17.2px;
113
+ font-weight: 600;
114
+ letter-spacing: 1.3px;
115
+ position: relative;
116
+ width: 40px;
117
+ height: 22px;
118
+ }
119
+ .sb-clock span {
120
+ position: absolute;
121
+ left: 0;
122
+ top: 0;
123
+ white-space: nowrap;
124
+ }
125
+ .sb-right {
126
+ display: flex;
127
+ align-items: center;
128
+ gap: 5px;
129
+ margin-left: auto;
130
+ }
131
+ .sb-net {
132
+ font-size: 15px;
133
+ font-weight: 500;
134
+ letter-spacing: -0.2px;
135
+ }
136
+ .sb-batt {
137
+ width: 30px;
138
+ height: 15px;
139
+ border-radius: 4.5px;
140
+ background: #fff;
141
+ color: #000;
142
+ font-size: 11px;
143
+ font-weight: 600;
144
+ display: flex;
145
+ align-items: center;
146
+ justify-content: center;
147
+ letter-spacing: -0.2px;
148
+ }
149
+ .sb-batt-cap {
150
+ width: 2px;
151
+ height: 6px;
152
+ background: rgba(255, 255, 255, 0.45);
153
+ border-radius: 0 2px 2px 0;
154
+ margin-left: -4px;
155
+ }
156
+
157
+ /* --------------------------------------------------------------- header */
158
+ .status-plate {
159
+ position: absolute;
160
+ top: 0;
161
+ left: 0;
162
+ right: 0;
163
+ height: 54.7px;
164
+ z-index: 34;
165
+ background: var(--bg);
166
+ }
167
+ .hdr-scrim {
168
+ position: absolute;
169
+ top: 0;
170
+ left: 0;
171
+ right: 0;
172
+ height: 112px;
173
+ z-index: 30;
174
+ background: linear-gradient(
175
+ to bottom,
176
+ rgba(32, 32, 31, 0.92) 46%,
177
+ rgba(32, 32, 31, 0) 100%
178
+ );
179
+ }
180
+ .header {
181
+ position: absolute;
182
+ top: 62px;
183
+ left: 0;
184
+ right: 0;
185
+ height: 44px;
186
+ z-index: 40;
187
+ }
188
+ .circle-btn {
189
+ position: absolute;
190
+ top: 0;
191
+ width: 44px;
192
+ height: 44px;
193
+ border-radius: 22px;
194
+ background: rgba(255, 255, 255, 0.035);
195
+ border: 1px solid rgba(255, 255, 255, 0.11);
196
+ display: flex;
197
+ align-items: center;
198
+ justify-content: center;
199
+ }
200
+ .hdr-left {
201
+ left: 16px;
202
+ }
203
+ .hdr-right {
204
+ position: absolute;
205
+ top: 0;
206
+ right: 16px;
207
+ width: 44px;
208
+ height: 44px;
209
+ border-radius: 22px;
210
+ background: #272726;
211
+ border: 1px solid rgba(255, 255, 255, 0.07);
212
+ overflow: hidden;
213
+ }
214
+ .hdr-right-face {
215
+ position: absolute;
216
+ inset: 0;
217
+ display: flex;
218
+ align-items: center;
219
+ justify-content: center;
220
+ gap: 20px;
221
+ }
222
+
223
+ /* --------------------------------------------------------- empty state */
224
+ .empty {
225
+ position: absolute;
226
+ left: 0;
227
+ right: 0;
228
+ top: 193.7px;
229
+ z-index: 12;
230
+ display: flex;
231
+ flex-direction: column;
232
+ align-items: center;
233
+ }
234
+ .empty-mark {
235
+ width: 35.3px;
236
+ height: 35.3px;
237
+ }
238
+ .empty-head {
239
+ margin-top: 21px;
240
+ font-family: "ClaudeSerif", serif;
241
+ font-size: 23.2px;
242
+ color: #e8e8de;
243
+ white-space: pre;
244
+ }
245
+
246
+ /* --------------------------------------------------------------- thread */
247
+ .scrollport {
248
+ position: absolute;
249
+ inset: 0;
250
+ overflow: hidden;
251
+ z-index: 10;
252
+ }
253
+ .thread {
254
+ position: relative;
255
+ padding: 124px 13.5px 180px 16.3px;
256
+ }
257
+
258
+ .bubble {
259
+ width: fit-content;
260
+ max-width: 322px;
261
+ margin-left: auto;
262
+ background: var(--inset);
263
+ border-radius: 24px;
264
+ padding: 14.7px 13px 9.3px;
265
+ color: var(--ink);
266
+ font-size: 18px;
267
+ line-height: 24px;
268
+ }
269
+
270
+ /* An .abox is the element whose height animates. box-sizing:border-box means a
271
+ height of 0 cannot shrink past the element's own padding, so every gap lives on
272
+ the child instead — otherwise collapsed blocks keep their top gaps and stack up. */
273
+ .abox {
274
+ overflow: hidden;
275
+ }
276
+ .tool-row {
277
+ display: flex;
278
+ align-items: center;
279
+ gap: 13px;
280
+ min-height: 26px;
281
+ color: var(--muted);
282
+ font-size: 14px;
283
+ }
284
+ .tool-row .chev {
285
+ margin-left: auto;
286
+ }
287
+ .tool-ico {
288
+ width: 16px;
289
+ height: 16px;
290
+ flex: none;
291
+ }
292
+
293
+ .answer {
294
+ font-family: "ClaudeSerif", serif;
295
+ font-size: 18px;
296
+ line-height: 27.3px;
297
+ color: var(--ink);
298
+ }
299
+ .para {
300
+ overflow: hidden;
301
+ }
302
+ .abox > .para,
303
+ .abox > .bul {
304
+ overflow: visible;
305
+ }
306
+ .w {
307
+ opacity: 0;
308
+ }
309
+ .bul {
310
+ position: relative;
311
+ padding-left: 24px;
312
+ overflow: hidden;
313
+ }
314
+ .bul::before {
315
+ content: "•";
316
+ position: absolute;
317
+ left: 9.7px;
318
+ top: var(--gap, 0px);
319
+ }
320
+ .cite {
321
+ display: inline-block;
322
+ padding: 1px 7px;
323
+ margin: 0 2px;
324
+ border-radius: 6px;
325
+ background: rgba(255, 255, 255, 0.07);
326
+ font-family: "ClaudeSans", sans-serif;
327
+ font-size: 13px;
328
+ vertical-align: 2px;
329
+ color: #ded9d0;
330
+ }
331
+
332
+ .actions {
333
+ display: flex;
334
+ align-items: center;
335
+ gap: 16px;
336
+ min-height: 20px;
337
+ padding-top: 24px;
338
+ }
339
+ .act-ico {
340
+ width: 16px;
341
+ height: 16px;
342
+ opacity: 0.62;
343
+ }
344
+ .src-stack {
345
+ display: flex;
346
+ margin-left: 6px;
347
+ }
348
+ .src-dot {
349
+ width: 16px;
350
+ height: 16px;
351
+ border-radius: 8px;
352
+ margin-left: -5px;
353
+ border: 1.2px solid var(--bg);
354
+ display: flex;
355
+ align-items: center;
356
+ justify-content: center;
357
+ font-size: 6px;
358
+ font-weight: 700;
359
+ color: #fff;
360
+ }
361
+ .src-label {
362
+ font-size: 13.5px;
363
+ color: var(--muted);
364
+ margin-left: 5px;
365
+ }
366
+
367
+ .disclaim {
368
+ display: flex;
369
+ align-items: flex-start;
370
+ padding-top: 28px;
371
+ }
372
+ .disclaim-mark {
373
+ width: 28px;
374
+ height: 28px;
375
+ flex: none;
376
+ }
377
+ .disclaim-text {
378
+ margin-left: auto;
379
+ text-align: right;
380
+ font-size: 13px;
381
+ line-height: 19px;
382
+ color: var(--muted);
383
+ }
384
+
385
+ /* ---------------------------------------------------------- scroll chrome */
386
+ .chev-wrap {
387
+ position: absolute;
388
+ left: 0;
389
+ right: 0;
390
+ top: 720px;
391
+ z-index: 25;
392
+ display: flex;
393
+ justify-content: center;
394
+ }
395
+ .chev-btn {
396
+ width: 36px;
397
+ height: 36px;
398
+ border-radius: 18px;
399
+ background: #2a2a28;
400
+ border: 1px solid rgba(255, 255, 255, 0.1);
401
+ display: flex;
402
+ align-items: center;
403
+ justify-content: center;
404
+ }
405
+
406
+ /* -------------------------------------------------------------- composer */
407
+ .comp-scrim {
408
+ position: absolute;
409
+ left: 0;
410
+ right: 0;
411
+ bottom: 0;
412
+ height: 118px;
413
+ z-index: 18;
414
+ background: linear-gradient(to top, var(--bg) 16%, rgba(32, 32, 31, 0) 100%);
415
+ }
416
+ .composer {
417
+ position: absolute;
418
+ left: 8px;
419
+ bottom: 34px;
420
+ width: 385.7px;
421
+ height: 172.7px;
422
+ border-radius: 26px;
423
+ background: var(--card);
424
+ border: 1px solid var(--hair);
425
+ z-index: 20;
426
+ overflow: hidden;
427
+ }
428
+ .notice {
429
+ position: absolute;
430
+ top: 8px;
431
+ left: 8.7px;
432
+ right: 8.7px;
433
+ height: 58.7px;
434
+ border-radius: 19px;
435
+ background: var(--inset);
436
+ display: flex;
437
+ align-items: center;
438
+ padding: 0 14px 0 16px;
439
+ }
440
+ .notice-text {
441
+ font-size: 14px;
442
+ line-height: 21px;
443
+ color: #d8d8d0;
444
+ width: 268px;
445
+ }
446
+ .notice-x {
447
+ margin-left: auto;
448
+ width: 16px;
449
+ height: 16px;
450
+ opacity: 0.75;
451
+ }
452
+
453
+ .comp-text {
454
+ position: absolute;
455
+ bottom: 40px;
456
+ left: 18px;
457
+ right: 18px;
458
+ height: 34px;
459
+ display: flex;
460
+ align-items: center;
461
+ color: var(--ink);
462
+ font-size: 17px;
463
+ white-space: pre;
464
+ }
465
+ .comp-ph {
466
+ position: absolute;
467
+ bottom: 40px;
468
+ left: 18px;
469
+ height: 34px;
470
+ display: flex;
471
+ align-items: center;
472
+ color: #8c8c84;
473
+ font-size: 17px;
474
+ }
475
+ .typed {
476
+ white-space: pre;
477
+ }
478
+ .typed .ch {
479
+ opacity: 0;
480
+ }
481
+ .cursor-anchor {
482
+ position: relative;
483
+ display: inline-block;
484
+ width: 0;
485
+ height: 22px;
486
+ vertical-align: -4px;
487
+ }
488
+ .cursor-anchor i {
489
+ position: absolute;
490
+ left: 1px;
491
+ top: 0;
492
+ width: 2px;
493
+ height: 22px;
494
+ background: var(--accent);
495
+ }
496
+
497
+ .comp-ctrls {
498
+ position: absolute;
499
+ left: 0;
500
+ right: 0;
501
+ bottom: 0;
502
+ height: 60px;
503
+ }
504
+ .comp-ctrls > * {
505
+ position: absolute;
506
+ top: 50%;
507
+ transform: translateY(-50%);
508
+ display: flex;
509
+ align-items: center;
510
+ justify-content: center;
511
+ }
512
+ .plus-btn {
513
+ left: 12px;
514
+ width: 32px;
515
+ height: 32px;
516
+ border-radius: 16px;
517
+ background: var(--inset);
518
+ }
519
+ .model-pill {
520
+ left: 53.3px;
521
+ height: 32px;
522
+ border-radius: 16px;
523
+ background: var(--inset);
524
+ padding: 0 13px;
525
+ gap: 6px;
526
+ font-size: 14.5px;
527
+ color: var(--ink);
528
+ }
529
+ .model-pill em {
530
+ font-style: normal;
531
+ color: #8c8c84;
532
+ }
533
+ .comp-mic {
534
+ right: 55px;
535
+ width: 20px;
536
+ height: 20px;
537
+ }
538
+ .voice-btn {
539
+ right: 8px;
540
+ width: 35.7px;
541
+ height: 35.7px;
542
+ border-radius: 18px;
543
+ background: #f7f7f3;
544
+ }
545
+ .stop-btn {
546
+ right: 18px;
547
+ width: 13.7px;
548
+ height: 13.7px;
549
+ border-radius: 3.4px;
550
+ background: #f7f7f3;
551
+ }
552
+ .send-btn {
553
+ right: 8px;
554
+ width: 35.7px;
555
+ height: 35.7px;
556
+ border-radius: 18px;
557
+ background: var(--accent);
558
+ }
559
+
560
+ /* -------------------------------------------------------------- keyboard */
561
+ .keyboard {
562
+ position: absolute;
563
+ left: 0;
564
+ right: 0;
565
+ top: 539px;
566
+ height: 335px;
567
+ background: var(--kb-bg);
568
+ z-index: 22;
569
+ }
570
+ .predict {
571
+ position: relative;
572
+ height: 52px;
573
+ display: flex;
574
+ align-items: center;
575
+ }
576
+ .pd {
577
+ flex: 1;
578
+ position: relative;
579
+ align-self: stretch;
580
+ font-size: 17px;
581
+ color: #e8e8ea;
582
+ border-right: 1px solid rgba(235, 235, 245, 0.16);
583
+ }
584
+ .pdw {
585
+ position: absolute;
586
+ inset: 0;
587
+ display: flex;
588
+ align-items: center;
589
+ justify-content: center;
590
+ }
591
+ .pd:last-child {
592
+ border-right: none;
593
+ }
594
+ .krow {
595
+ position: absolute;
596
+ left: 0;
597
+ right: 0;
598
+ height: 43px;
599
+ }
600
+ .key {
601
+ position: absolute;
602
+ top: 0;
603
+ height: 43px;
604
+ border-radius: 5px;
605
+ background: var(--key);
606
+ display: flex;
607
+ align-items: center;
608
+ justify-content: center;
609
+ color: #fff;
610
+ font-size: 22.2px;
611
+ font-weight: 400;
612
+ }
613
+ .key.dark {
614
+ background: #2f2f2f;
615
+ }
616
+ .key.small {
617
+ font-size: 16px;
618
+ }
619
+ .kb-bottom {
620
+ position: absolute;
621
+ left: 0;
622
+ right: 0;
623
+ top: 279.7px;
624
+ height: 55px;
625
+ display: flex;
626
+ align-items: center;
627
+ justify-content: space-between;
628
+ padding: 0 29px;
629
+ }
630
+ </style>
631
+ <link rel="stylesheet" href="../css/latin-cormorant-garamond.css" />
632
+ <link rel="stylesheet" href="../css/latin-inter.css" />
633
+ <style id="popost-fonts">
634
+ @font-face {
635
+ font-family: "ClaudeSerif";
636
+ size-adjust: 104.4%;
637
+ font-style: normal;
638
+ font-display: swap;
639
+ font-weight: 300 700;
640
+ src: url("../fonts/latin-cormorant-garamond/cormorant-garamond-latin-ext-wght-normal.woff2") format('woff2-variations');
641
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
642
+ }
643
+ @font-face {
644
+ font-family: "ClaudeSerif";
645
+ size-adjust: 104.4%;
646
+ font-style: normal;
647
+ font-display: swap;
648
+ font-weight: 300 700;
649
+ src: url("../fonts/latin-cormorant-garamond/cormorant-garamond-latin-wght-normal.woff2") format('woff2-variations');
650
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
651
+ }
652
+ @font-face {
653
+ font-family: "ClaudeSerif";
654
+ size-adjust: 104.4%;
655
+ font-style: italic;
656
+ font-display: swap;
657
+ font-weight: 300 700;
658
+ src: url("../fonts/latin-cormorant-garamond/cormorant-garamond-latin-ext-wght-italic.woff2") format('woff2-variations');
659
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
660
+ }
661
+ @font-face {
662
+ font-family: "ClaudeSerif";
663
+ size-adjust: 104.4%;
664
+ font-style: italic;
665
+ font-display: swap;
666
+ font-weight: 300 700;
667
+ src: url("../fonts/latin-cormorant-garamond/cormorant-garamond-latin-wght-italic.woff2") format('woff2-variations');
668
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
669
+ }
670
+ @font-face {
671
+ font-family: "ClaudeSans";
672
+ font-style: normal;
673
+ font-display: swap;
674
+ font-weight: 100 900;
675
+ src: url("../fonts/latin-inter/inter-latin-ext-wght-normal.woff2") format('woff2-variations');
676
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
677
+ }
678
+ @font-face {
679
+ font-family: "ClaudeSans";
680
+ font-style: normal;
681
+ font-display: swap;
682
+ font-weight: 100 900;
683
+ src: url("../fonts/latin-inter/inter-latin-wght-normal.woff2") format('woff2-variations');
684
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
685
+ }
686
+ @font-face {
687
+ font-family: "ClaudeSans";
688
+ font-style: italic;
689
+ font-display: swap;
690
+ font-weight: 100 900;
691
+ src: url("../fonts/latin-inter/inter-latin-ext-wght-italic.woff2") format('woff2-variations');
692
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
693
+ }
694
+ @font-face {
695
+ font-family: "ClaudeSans";
696
+ font-style: italic;
697
+ font-display: swap;
698
+ font-weight: 100 900;
699
+ src: url("../fonts/latin-inter/inter-latin-wght-italic.woff2") format('woff2-variations');
700
+ 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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
701
+ }
702
+ </style>
703
+ <style id="popost-fit">
704
+ html, body { margin: 0 !important; width: 1280px; height: 720px; overflow: hidden !important; }
705
+ :where(html, body) { background: #000000; }
706
+ #popost-stage { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; transform-origin: 0 0; overflow: hidden; }
707
+ </style>
708
+ <script type="application/json" id="popost-params">
709
+ {
710
+ "about": "A portrait Claude-style exchange types a prompt, works through search and reasoning steps, then streams a detailed answer with citations and actions",
711
+ "class": "ui",
712
+ "tags": [
713
+ "showcase",
714
+ "mock-ui",
715
+ "ai",
716
+ "chat",
717
+ "vertical",
718
+ "ad-template"
719
+ ],
720
+ "placeholders": "EB Garamond drawn in Cormorant Garamond",
721
+ "seconds": 20.53,
722
+ "params": [
723
+ {
724
+ "name": "fit",
725
+ "type": "choice",
726
+ "default": "contain",
727
+ "options": [
728
+ "contain",
729
+ "cover"
730
+ ],
731
+ "what": "how the 1080x1920 composition is fitted into the canvas: whole with bars, or filling it and cropped"
732
+ }
733
+ ],
734
+ "values": {}
735
+ }
736
+ </script>
737
+ <script>
738
+ /* popost: the scene's parameters stand in for HyperFrames variables; random numbers are seeded; the composition is
739
+ scaled into the canvas; clips are shown and hidden from the scene's time. */
740
+ (function () {
741
+ var block = document.getElementById('popost-params');
742
+ var values = block ? (JSON.parse(block.textContent).values || {}) : {};
743
+ var vars = {};
744
+ Object.keys(values).forEach(function (k) { if (k !== 'fit') vars[k] = values[k] === 'true' ? true : values[k] === 'false' ? false : values[k]; });
745
+ window.__hyperframes = { getVariables: function () { return vars; } };
746
+ var seed = 20240229;
747
+ window.__popostRandom = function () { seed = (seed + 0x6d2b79f5) >>> 0; var t = seed; t = Math.imul(t ^ (t >>> 15), t | 1); t ^= t + Math.imul(t ^ (t >>> 7), t | 61); return ((t ^ (t >>> 14)) >>> 0) / 4294967296; };
748
+ // HyperFrames variables as CSS custom properties (runtime/getVariables.ts, compositionLoader.ts). A mounted
749
+ // composition's host lists its variables (data-popost-variables, written by the port): before the composition's
750
+ // scripts run it gets those no rule gives it yet (an inherited value counts), and after them the rest; a value given
751
+ // by a parameter always wins.
752
+ var cssName = function (id) { return '--' + (String(id).toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '') || 'node'); };
753
+ var givenId = function (n) { return Object.keys(values).filter(function (id) { return id !== 'fit' && cssName(id) === n; })[0]; };
754
+ var hostVars = function (h, early) {
755
+ (h.getAttribute('data-popost-variables') || '').split(';').forEach(function (d) {
756
+ var i = d.indexOf(':'), n = d.slice(0, i).trim(), k = givenId(n);
757
+ if (i < 0 || !n) return;
758
+ if (k !== undefined) h.style.setProperty(n, String(vars[k]));
759
+ else if (!(h.style.getPropertyValue(n) || (early ? getComputedStyle(h).getPropertyValue(n) : '')).trim()) h.style.setProperty(n, d.slice(i + 1).trim());
760
+ });
761
+ };
762
+ // Root-level clips laid out as HyperFrames lays them out (runtime/init.ts, applyCompositionSizing and applyClipLayout):
763
+ // its root composition (one marked data-root="true", else the first element with a data-composition-id, which is the
764
+ // page's <html> when that has one) gets its declared size, a position and overflow hidden; each child of it with a
765
+ // data-start is placed absolute unless it is absolute or fixed already, and given its declared size, or 100% where it
766
+ // measures 0. A composition box deeper in the page keeps the position its page gives it.
767
+ var layout = function () {
768
+ var hroot = document.querySelector('[data-composition-id][data-root="true"]') || document.querySelector('[data-composition-id]');
769
+ if (!hroot) return;
770
+ var px = function (v) { var n = parseFloat(v); return isFinite(n) && n > 0 ? n + 'px' : null; };
771
+ var rw = px(hroot.getAttribute('data-width')), rh = px(hroot.getAttribute('data-height'));
772
+ if (rw) { hroot.style.width = rw; hroot.style.setProperty('--comp-width', rw); }
773
+ if (rh) { hroot.style.height = rh; hroot.style.setProperty('--comp-height', rh); }
774
+ if (!hroot.style.position) hroot.style.position = 'relative';
775
+ hroot.style.overflow = 'hidden';
776
+ Array.prototype.forEach.call(hroot.children, function (el) {
777
+ if (/^(SCRIPT|STYLE|LINK|META)$/.test(el.tagName) || !el.hasAttribute('data-start')) return;
778
+ var none = el.style.getPropertyValue('display') === 'none', priority = el.style.getPropertyPriority('display');
779
+ if (none) el.style.removeProperty('display');
780
+ var cs = getComputedStyle(el);
781
+ if (cs.position !== 'absolute' && cs.position !== 'fixed') el.style.position = 'absolute';
782
+ if (el.tagName !== 'AUDIO') {
783
+ var byFile = /^(IMG|VIDEO)$/.test(el.tagName), fw = px(el.getAttribute('data-width')), fh = px(el.getAttribute('data-height'));
784
+ if (fw) { if (!el.style.width && (cs.width === '0px' || cs.width === 'auto')) el.style.width = fw; } else if (!byFile && !el.style.width && cs.width === '0px') el.style.width = '100%';
785
+ if (fh) { if (!el.style.height && (cs.height === '0px' || cs.height === 'auto')) el.style.height = fh; } else if (!byFile && !el.style.height && cs.height === '0px') el.style.height = '100%';
786
+ }
787
+ if (none) el.style.setProperty('display', 'none', priority);
788
+ });
789
+ };
790
+ // HyperFrames loads a mounted composition after it has laid out the page, so its scripts see the host placed: each
791
+ // script of a mounted composition calls this first (the port puts the call there).
792
+ window.__popostMount = function (script) {
793
+ var h = script && script.closest ? script.closest('[data-popost-host]') : null;
794
+ if (!h || h.__popostMounted) return;
795
+ h.__popostMounted = true;
796
+ layout();
797
+ hostVars(h, true);
798
+ };
799
+ window.__popostFit = function () {
800
+ // The canvas, from the size this file declares: a scene of a later shot loads in a layer that is not displayed, where the page measures 0.
801
+ var size = /width: (\d+)px; height: (\d+)px;/.exec(document.getElementById('popost-fit').textContent);
802
+ var W = 1080, H = 1920, s = document.getElementById('popost-stage'), cw = Number(size[1]), ch = Number(size[2]);
803
+ var k = (values.fit === 'cover' ? Math.max : Math.min)(cw / W, ch / H);
804
+ s.style.transform = 'translate(' + (cw - W * k) / 2 + 'px,' + (ch - H * k) / 2 + 'px) scale(' + k + ')';
805
+ // The page's own declared variables on its root element (runtime/getVariables.ts, injectCompositionCssVariables):
806
+ // each default where no rule defines its property, a value given by a parameter always.
807
+ var de = document.documentElement, declared = [];
808
+ try { declared = JSON.parse(de.getAttribute('data-composition-variables') || '[]'); } catch (e) {}
809
+ declared.forEach(function (d) {
810
+ var n = cssName(d.id), given = Object.prototype.hasOwnProperty.call(values, d.id), v = given ? vars[d.id] : d.default;
811
+ if (!((typeof v === 'string' && v !== '') || typeof v === 'number')) return;
812
+ if (!given && (de.style.getPropertyValue(n) || getComputedStyle(de).getPropertyValue(n)).trim()) return;
813
+ de.style.setProperty(n, String(v));
814
+ });
815
+ Array.prototype.forEach.call(document.querySelectorAll('[data-popost-host]'), function (h) { hostVars(h, false); });
816
+ layout();
817
+ // Timed elements as HyperFrames has them (runtime/clipTree.ts, clipWindow.ts): every element with a data-start but the
818
+ // root composition, from its start plus the starts of the compositions it sits in, for its data-duration (a
819
+ // composition without one: its timeline's length); one that runs to the end of the root keeps its last frame.
820
+ var root = s.querySelector('[data-composition-id]');
821
+ var clips = Array.prototype.slice.call(s.querySelectorAll('[data-start]')).filter(function (c) { return (root ? c !== root : c.parentNode !== s) && !/^(SCRIPT|STYLE|LINK|META|TEMPLATE|NOSCRIPT)$/.test(c.tagName) && isFinite(parseFloat(c.getAttribute('data-start'))); });
822
+ var windows = clips.map(function (c) {
823
+ var a = parseFloat(c.getAttribute('data-start')), d = parseFloat(c.getAttribute('data-duration')), id = c.getAttribute('data-composition-id');
824
+ for (var p = c.parentElement; p && p !== s; p = p.parentElement) if (p !== root && p.hasAttribute('data-composition-id') && isFinite(parseFloat(p.getAttribute('data-start')))) a += parseFloat(p.getAttribute('data-start'));
825
+ var tl = !(d > 0) && id && window.__timelines && window.__timelines[id];
826
+ return [a, d > 0 ? d : tl && tl.duration ? tl.duration() : Infinity];
827
+ });
828
+ var rootLength = parseFloat(root && root.getAttribute('data-duration'));
829
+ // A mounted composition that starts later in its host runs on its own time.
830
+ [].forEach(function (m) {
831
+ var tl = window.__timelines && window.__timelines[m.id];
832
+ if (tl) window.__timelines[m.id] = { pause: function () { tl.pause(); }, seek: function (t) { tl.seek(Math.max(0, t - m.start)); }, duration: function () { return tl.duration() + m.start; } };
833
+ });
834
+ var scene = (window.__popostScene = window.__popostScene || {}), before = scene.render;
835
+ scene.render = function (seconds, fps) {
836
+ if (before) before(seconds, fps);
837
+ for (var i = 0; i < clips.length; i++) {
838
+ var a = windows[i][0], end = a + windows[i][1];
839
+ clips[i].style.visibility = seconds >= a - 1e-6 && (seconds < end - 1e-6 || end >= rootLength - 1e-6) ? 'visible' : 'hidden';
840
+ }
841
+ };
842
+ };
843
+ })();
844
+ </script>
845
+ <script type="application/json" id="popost-cues">[{"at":3.65,"cue":"whoosh","gain":0.5},{"at":15.67,"cue":"whoosh","gain":0.5},{"at":15.99,"cue":"whoosh","gain":0.5},{"at":16.23,"cue":"whoosh","gain":0.5},{"at":16.51,"cue":"whoosh","gain":0.5},{"at":16.87,"cue":"whoosh","gain":0.5},{"at":17.23,"cue":"whoosh","gain":0.5},{"at":17.63,"cue":"whoosh","gain":0.5},{"at":17.99,"cue":"whoosh","gain":0.5},{"at":18.27,"cue":"whoosh","gain":0.5},{"at":18.59,"cue":"whoosh","gain":0.5},{"at":18.91,"cue":"whoosh","gain":0.5},{"at":19.73,"cue":"whoosh","gain":0.5}]</script>
846
+ </head>
847
+ <body>
848
+ <div id="popost-stage">
849
+ <div
850
+ data-hf-id="hf-lhdl"
851
+ id="cle-root"
852
+ data-composition-id="claude-exchange"
853
+ data-fps="60"
854
+ data-start="0"
855
+ data-duration="21.4"
856
+ data-width="1080"
857
+ data-height="1920"
858
+ style="width: 1080px; height: 1920px;">
859
+ <div data-hf-id="hf-tan6" class="stage">
860
+ <div
861
+ data-hf-id="hf-ztck"
862
+ id="cle-scene"
863
+ class="clip"
864
+ data-start="0"
865
+ data-duration="21.4"
866
+ data-track-index="1"
867
+ >
868
+ <div data-hf-id="hf-ylue" class="screen" id="cle-screen"></div>
869
+ </div>
870
+ </div>
871
+ </div>
872
+
873
+ <script>
874
+ const variables =
875
+ window.__hyperframes && typeof window.__hyperframes.getVariables === "function"
876
+ ? window.__hyperframes.getVariables()
877
+ : {};
878
+ const content = (id, fallback) =>
879
+ typeof variables[id] === "string" && variables[id].trim() ? variables[id] : fallback;
880
+
881
+ const CONFIG = {
882
+ status: { clock: "2:36", clockLate: "2:37", net: "5G+", battery: 87 },
883
+ emptyHeading: "What can we tackle together?",
884
+ notice: "Opus consumes usage limits faster than other models",
885
+ model: { name: "Opus 4.8", effort: "High" },
886
+ placeholder: "Chat with Claude",
887
+ placeholderReply: "Reply to Claude",
888
+ prompt: content("prompt", "What's the best tool for ai avatars?"),
889
+ predict: {
890
+ start: ["I", "The", "I'm"],
891
+ end: ["I", "Do", "How"],
892
+ },
893
+ thinking: content("thinking", "Weighing accuracy against current market…"),
894
+ lead: content(
895
+ "lead",
896
+ "I'll search for the current state of this space since AI avatar tools move fast.",
897
+ ),
898
+ search: content("search", "best AI avatar video generator 2026"),
899
+ collapsed: "2 steps",
900
+ answer: [
901
+ {
902
+ t: "p",
903
+ text: content(
904
+ "answer1",
905
+ "It depends on what you're making, but the field has consolidated fast and one platform now covers most of it.",
906
+ ),
907
+ },
908
+ {
909
+ t: "p",
910
+ text: content(
911
+ "answer2",
912
+ "**HeyGen** is where most teams land. Independent testing, not just vendor blogs, puts **Avatar IV** highest for talking-head realism, with facial micro-expressions and gesture control that hold up at a full-screen crop {HeyGen}. It also has the deepest enterprise adoption of the group, including a large share of the Fortune 100, which matters if you need the same presenter on brand across a year of campaigns.",
913
+ ),
914
+ },
915
+ {
916
+ t: "p",
917
+ text: content("answer3", "By use case, the pieces shake out roughly like this:"),
918
+ },
919
+ {
920
+ t: "b",
921
+ text: content("answer4", "**Marketing / hyper-realistic talking heads** → Avatar IV"),
922
+ },
923
+ {
924
+ t: "b",
925
+ text: content("answer5", "**Enterprise training** → Video Translate for every locale"),
926
+ },
927
+ {
928
+ t: "b",
929
+ text: content(
930
+ "answer6",
931
+ "**UGC-style performance ads** → Instant Avatar from one selfie, then batch the variants",
932
+ ),
933
+ },
934
+ {
935
+ t: "b",
936
+ text: content(
937
+ "answer7",
938
+ "**Real-time conversational / interactive** → Interactive Avatar",
939
+ ),
940
+ },
941
+ {
942
+ t: "b",
943
+ text: content(
944
+ "answer8",
945
+ "**Custom digital twin from a selfie** → Instant Avatar in about five minutes",
946
+ ),
947
+ },
948
+ {
949
+ t: "p",
950
+ text: content(
951
+ "answer9",
952
+ "One distinction worth keeping in mind: a dedicated avatar platform optimizes the whole presenter workflow — script, voice, lip sync, translation, brand kit — whereas a general video model gives you cinematic scenes but takes far more skill to land the same person on camera twice.",
953
+ ),
954
+ },
955
+ {
956
+ t: "p",
957
+ text: content(
958
+ "answer10",
959
+ "Given your day job you probably have a sharper read than these roundups on where HeyGen actually leads versus where the reviews are being generous. Is this for a specific project, or comparing for positioning?",
960
+ ),
961
+ },
962
+ ],
963
+ sources: { count: 7, dots: ["#1b6ac9", "#2b7fff", "#0f4fa8"] },
964
+ disclaimer: ["Claude is AI and can make mistakes.", "Please double-check responses."],
965
+ };
966
+
967
+ /* Beat clock (seconds). */
968
+ const T = {
969
+ emptyIn: 0.0,
970
+ typeStart: 0.86,
971
+ charBase: 0.05,
972
+ spaceHold: 0.11,
973
+ sendPad: 0.3,
974
+ sendReact: 0.03,
975
+ spinLead: 0.45,
976
+ toolStep: 0.5,
977
+ wordStep: 0.04,
978
+ paraGap: 0.12,
979
+ collapseAt: 0.55,
980
+ tailStep: 0.4,
981
+ };
982
+
983
+ /* ============================================================ icon set */
984
+ const svg = (b, d, w) =>
985
+ `<svg viewBox="0 0 ${b} ${b}" width="${w || b}" height="${w || b}" fill="none">${d}</svg>`;
986
+
987
+ // Claude's starburst: 12 tapered rays. Deterministic, drawn from a fixed table.
988
+ const burst = (size, color) => {
989
+ let rays = "";
990
+ for (let i = 0; i < 12; i++) {
991
+ const a = i * 30;
992
+ rays +=
993
+ `<rect x="10.85" y="1.1" width="2.3" height="21.8" rx="1.15" fill="${color}"` +
994
+ ` transform="rotate(${a} 12 12)"/>`;
995
+ }
996
+ return `<svg viewBox="0 0 24 24" width="${size}" height="${size}">${rays}</svg>`;
997
+ };
998
+
999
+ const ICO = {
1000
+ bell: svg(
1001
+ 20,
1002
+ `<path d="M4.2 15h11.6M10 3.2a4.3 4.3 0 0 1 4.3 4.3c0 3.4 1 5 1.5 5.6H4.2C4.7 12.5 5.7 10.9 5.7 7.5A4.3 4.3 0 0 1 10 3.2Z" stroke="#fff" stroke-width="1.5" stroke-linejoin="round"/><path d="M8.3 16.6a1.9 1.9 0 0 0 3.4 0" stroke="#fff" stroke-width="1.5"/><path d="M3 17L17 3" stroke="#fff" stroke-width="1.6"/>`,
1003
+ 18,
1004
+ ),
1005
+ bars: svg(
1006
+ 20,
1007
+ `<rect x="1" y="12.5" width="3" height="4.5" rx="1" fill="#fff"/><rect x="6" y="9.5" width="3" height="7.5" rx="1" fill="#fff"/><rect x="11" y="6.5" width="3" height="10.5" rx="1" fill="#fff"/><rect x="16" y="3.5" width="3" height="13.5" rx="1" fill="rgba(255,255,255,.32)"/>`,
1008
+ 16,
1009
+ ),
1010
+ burger: svg(
1011
+ 24,
1012
+ `<path d="M5 9.5h14M5 15h9" stroke="#e8e8e0" stroke-width="2.1" stroke-linecap="round"/>`,
1013
+ 22,
1014
+ ),
1015
+ ghost: svg(
1016
+ 24,
1017
+ `<path d="M5 20.4V11a7 7 0 0 1 14 0v9.4l-2.3-1.6-2.3 1.6-2.4-1.6-2.3 1.6-2.4-1.6L5 20.4Z" stroke="#e8e8e0" stroke-width="1.7" stroke-linejoin="round"/><circle cx="9.4" cy="11.2" r="1.15" fill="#e8e8e0"/><circle cx="14.6" cy="11.2" r="1.15" fill="#e8e8e0"/>`,
1018
+ 24,
1019
+ ),
1020
+ newChat: svg(
1021
+ 24,
1022
+ `<path d="M12 3.4c5 0 8.8 3.4 8.8 7.8 0 4.5-3.8 7.9-8.8 7.9-.9 0-1.8-.1-2.6-.3l-4 1.6 1.1-3.5a7.6 7.6 0 0 1-3.3-5.7C3.2 6.8 7 3.4 12 3.4Z" fill="#e8e8e0"/><path d="M12 7.6v6.4M8.8 10.8h6.4" stroke="#272726" stroke-width="1.9" stroke-linecap="round"/>`,
1023
+ 23,
1024
+ ),
1025
+ dots: svg(
1026
+ 24,
1027
+ `<circle cx="5" cy="12" r="1.9" fill="#e8e8e0"/><circle cx="12" cy="12" r="1.9" fill="#e8e8e0"/><circle cx="19" cy="12" r="1.9" fill="#e8e8e0"/>`,
1028
+ 21,
1029
+ ),
1030
+ plus: svg(
1031
+ 24,
1032
+ `<path d="M12 4.8v14.4M4.8 12h14.4" stroke="#f0f0e8" stroke-width="2" stroke-linecap="round"/>`,
1033
+ 17,
1034
+ ),
1035
+ mic: svg(
1036
+ 24,
1037
+ `<rect x="9.2" y="2.8" width="5.6" height="11" rx="2.8" stroke="#e8e8e0" stroke-width="1.8"/><path d="M5.8 11.2a6.2 6.2 0 0 0 12.4 0M12 17.6v3.2" stroke="#e8e8e0" stroke-width="1.8" stroke-linecap="round"/>`,
1038
+ 20,
1039
+ ),
1040
+ wave: svg(
1041
+ 24,
1042
+ `<rect x="4.4" y="9.6" width="2.2" height="4.8" rx="1.1" fill="#23231f"/><rect x="8.8" y="6.2" width="2.2" height="11.6" rx="1.1" fill="#23231f"/><rect x="13.2" y="8.2" width="2.2" height="7.6" rx="1.1" fill="#23231f"/><rect x="17.6" y="10.6" width="2.2" height="2.8" rx="1.1" fill="#23231f"/>`,
1043
+ 20,
1044
+ ),
1045
+ arrowUp: svg(
1046
+ 24,
1047
+ `<path d="M12 19V5.6M5.8 11.8 12 5.4l6.2 6.4" stroke="#fff" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>`,
1048
+ 20,
1049
+ ),
1050
+ close: svg(
1051
+ 24,
1052
+ `<path d="M6 6l12 12M18 6 6 18" stroke="#cfcfc6" stroke-width="1.9" stroke-linecap="round"/>`,
1053
+ 16,
1054
+ ),
1055
+ clock: svg(
1056
+ 24,
1057
+ `<path d="M12 4a8 8 0 1 1-7.4 5" stroke="#94948c" stroke-width="1.8" stroke-linecap="round"/><path d="M4.3 5.2 4 9.4l4.2-.5" stroke="#94948c" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 8v4.3l3 1.8" stroke="#94948c" stroke-width="1.8" stroke-linecap="round"/>`,
1058
+ 16,
1059
+ ),
1060
+ globe: svg(
1061
+ 24,
1062
+ `<circle cx="12" cy="12" r="8.4" stroke="#94948c" stroke-width="1.7"/><path d="M3.6 12h16.8M12 3.6c2.2 2.3 3.3 5.1 3.3 8.4S14.2 18.1 12 20.4c-2.2-2.3-3.3-5.1-3.3-8.4S9.8 5.9 12 3.6Z" stroke="#94948c" stroke-width="1.7"/>`,
1063
+ 16,
1064
+ ),
1065
+ chevR: svg(
1066
+ 24,
1067
+ `<path d="M9.5 5.5 16 12l-6.5 6.5" stroke="#94948c" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/>`,
1068
+ 15,
1069
+ ),
1070
+ arrowDown: svg(
1071
+ 24,
1072
+ `<path d="M12 5v13M6.2 12.2 12 18.2l5.8-6" stroke="#e8e8e0" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round"/>`,
1073
+ 18,
1074
+ ),
1075
+ copy: svg(
1076
+ 24,
1077
+ `<rect x="8.6" y="3.4" width="12" height="14" rx="2.6" stroke="#f0f0e8" stroke-width="1.8"/><path d="M15.4 20.6H6.2a2.6 2.6 0 0 1-2.6-2.6V7.4" stroke="#f0f0e8" stroke-width="1.8" stroke-linecap="round"/>`,
1078
+ 16,
1079
+ ),
1080
+ share: svg(
1081
+ 24,
1082
+ `<path d="M12 16.4V4.2M6.8 9.4 12 3.8l5.2 5.6M4.4 15v3.6a2 2 0 0 0 2 2h11.2a2 2 0 0 0 2-2V15" stroke="#f0f0e8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>`,
1083
+ 16,
1084
+ ),
1085
+ play: svg(
1086
+ 24,
1087
+ `<path d="M7.6 4.6 19 12 7.6 19.4V4.6Z" stroke="#f0f0e8" stroke-width="1.8" stroke-linejoin="round"/>`,
1088
+ 16,
1089
+ ),
1090
+ retry: svg(
1091
+ 24,
1092
+ `<path d="M20 12a8 8 0 1 1-3.2-6.4" stroke="#f0f0e8" stroke-width="1.8" stroke-linecap="round"/><path d="M20.4 4v5h-5" stroke="#f0f0e8" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>`,
1093
+ 16,
1094
+ ),
1095
+ shift: svg(
1096
+ 24,
1097
+ `<path d="M12 4 4.5 12h4v7h7v-7h4L12 4Z" stroke="#fff" stroke-width="1.7" stroke-linejoin="round" fill="#fff"/>`,
1098
+ 19,
1099
+ ),
1100
+ del: svg(
1101
+ 24,
1102
+ `<path d="M8.4 5h11a1.6 1.6 0 0 1 1.6 1.6v10.8A1.6 1.6 0 0 1 19.4 19h-11L2.6 12 8.4 5Z" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/><path d="M11.4 9.6l5.2 4.8M16.6 9.6l-5.2 4.8" stroke="#fff" stroke-width="1.6" stroke-linecap="round"/>`,
1103
+ 22,
1104
+ ),
1105
+ ret: svg(
1106
+ 24,
1107
+ `<path d="M20 6v6.4H5.4M9.6 8.4 5 12.8l4.6 4.4" stroke="#fff" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/>`,
1108
+ 21,
1109
+ ),
1110
+ emojiKey: svg(
1111
+ 24,
1112
+ `<circle cx="12" cy="12" r="9" stroke="#fff" stroke-width="1.7"/><circle cx="9" cy="10" r="1.2" fill="#fff"/><circle cx="15" cy="10" r="1.2" fill="#fff"/><path d="M8 14.6a5 5 0 0 0 8 0" stroke="#fff" stroke-width="1.7" stroke-linecap="round"/>`,
1113
+ 25,
1114
+ ),
1115
+ };
1116
+
1117
+ /* ============================================================== build */
1118
+ const screen = document.getElementById("cle-screen");
1119
+ // `html` is this file's own markup (icons, layout), never a variable: editable
1120
+ // strings go through `text`, which sets textContent and so cannot become markup.
1121
+ const el = (cls, html, tag) => {
1122
+ const n = document.createElement(tag || "div");
1123
+ if (cls) n.className = cls;
1124
+ if (html != null) n.innerHTML = html;
1125
+ return n;
1126
+ };
1127
+ const text = (cls, value, tag) => {
1128
+ const n = el(cls, null, tag);
1129
+ n.textContent = value;
1130
+ return n;
1131
+ };
1132
+
1133
+ // --- status bar
1134
+ const sb = el("statusbar");
1135
+ sb.setAttribute("data-layout-allow-overlap", "true");
1136
+ sb.innerHTML =
1137
+ `<div class="sb-left"><div class="sb-clock">` +
1138
+ `<span id="cle-clock-early">${CONFIG.status.clock}</span>` +
1139
+ `<span id="cle-clock-late">${CONFIG.status.clockLate}</span></div>${ICO.bell}</div>` +
1140
+ `<div class="sb-right">${ICO.bars}<div class="sb-net">${CONFIG.status.net}</div>` +
1141
+ `<div class="sb-batt">${CONFIG.status.battery}</div><div class="sb-batt-cap"></div></div>`;
1142
+
1143
+ // --- empty state
1144
+ const empty = el("empty");
1145
+ empty.id = "cle-empty";
1146
+ const emptyMark = el("empty-mark", burst(35.3, "#d97757"));
1147
+ const emptyHead = el("empty-head");
1148
+ const headWords = CONFIG.emptyHeading.split(" ").map((w, i, arr) => {
1149
+ const s = el(null, w + (i < arr.length - 1 ? " " : ""), "span");
1150
+ s.style.display = "inline-block";
1151
+ emptyHead.appendChild(s);
1152
+ return s;
1153
+ });
1154
+ empty.appendChild(emptyMark);
1155
+ empty.appendChild(emptyHead);
1156
+
1157
+ // --- thread
1158
+ const port = el("scrollport");
1159
+ const thread = el("thread");
1160
+ thread.id = "cle-thread";
1161
+ thread.setAttribute("data-layout-allow-overflow", "true");
1162
+ thread.setAttribute("data-layout-allow-overlap", "true");
1163
+ thread.setAttribute("data-layout-allow-occlusion", "true");
1164
+
1165
+ const bubble = el("bubble");
1166
+ bubble.id = "cle-bubble";
1167
+ bubble.textContent = CONFIG.prompt;
1168
+ thread.appendChild(bubble);
1169
+
1170
+ // tool rows: thinking -> lead sentence -> search -> collapsed "2 steps"
1171
+ const toolWrap = el("tools");
1172
+ toolWrap.style.paddingTop = "0px";
1173
+ const mkTool = (ico, label) => {
1174
+ const row = el("tool-row");
1175
+ row.append(el("tool-ico", ico), text(null, label), el("chev", ICO.chevR));
1176
+ return row;
1177
+ };
1178
+ // wrap: the shell animates, the child carries the gap
1179
+ const wrap = (inner, pad) => {
1180
+ const o = el("abox");
1181
+ inner.style.paddingTop = pad + "px";
1182
+ o.appendChild(inner);
1183
+ return o;
1184
+ };
1185
+ const rowThink = mkTool(ICO.clock, CONFIG.thinking);
1186
+ const rowSearch = mkTool(ICO.globe, CONFIG.search);
1187
+ const rowCollapsed = mkTool(ICO.clock, CONFIG.collapsed);
1188
+ const boxThink = wrap(rowThink, 28);
1189
+ const boxSearch = wrap(rowSearch, 17);
1190
+ const boxCollapsed = wrap(rowCollapsed, 28);
1191
+
1192
+ const leadPara = el("answer abox");
1193
+ const leadInner = el("para");
1194
+ leadInner.style.paddingTop = "27.1px";
1195
+ const leadWords = [];
1196
+ CONFIG.lead.split(" ").forEach((w, i, arr) => {
1197
+ const s = text("w", w + (i < arr.length - 1 ? " " : ""), "span");
1198
+ leadInner.appendChild(s);
1199
+ leadWords.push(s);
1200
+ });
1201
+ leadPara.appendChild(leadInner);
1202
+ toolWrap.appendChild(boxThink);
1203
+ toolWrap.appendChild(leadPara);
1204
+ toolWrap.appendChild(boxSearch);
1205
+ toolWrap.appendChild(boxCollapsed);
1206
+ thread.appendChild(toolWrap);
1207
+
1208
+ // --- answer blocks
1209
+ const answer = el("answer");
1210
+ const blocks = [];
1211
+ let bulletHost = null;
1212
+ let seen = 0;
1213
+ CONFIG.answer.forEach((b) => {
1214
+ const inner = el(b.t === "b" ? "bul" : "para");
1215
+ const gapTop =
1216
+ seen === 0
1217
+ ? 24
1218
+ : b.t === "b"
1219
+ ? blocks.length && blocks[blocks.length - 1].kind === "b"
1220
+ ? 12
1221
+ : 17
1222
+ : 17;
1223
+ inner.style.setProperty("--gap", gapTop + "px");
1224
+ const node = wrap(inner, gapTop);
1225
+ seen++;
1226
+ const words = [];
1227
+ let bold = false;
1228
+ b.text.split(/(\s+)/).forEach((tok) => {
1229
+ if (!tok) return;
1230
+ if (/^\s+$/.test(tok)) {
1231
+ inner.appendChild(document.createTextNode(tok));
1232
+ return;
1233
+ }
1234
+ let word = tok;
1235
+ if (word.startsWith("**")) {
1236
+ bold = true;
1237
+ word = word.slice(2);
1238
+ }
1239
+ let close = false;
1240
+ if (word.includes("**")) {
1241
+ close = true;
1242
+ word = word.replace("**", "");
1243
+ }
1244
+ if (word.indexOf("{") === 0) {
1245
+ const chip = text("cite w", word.replace(/[{}]/g, ""), "span");
1246
+ inner.appendChild(chip);
1247
+ words.push(chip);
1248
+ return;
1249
+ }
1250
+ const s = text("w", word, "span");
1251
+ if (bold) s.style.fontWeight = "700";
1252
+ if (close) bold = false;
1253
+ inner.appendChild(s);
1254
+ words.push(s);
1255
+ });
1256
+ if (b.t === "b") {
1257
+ if (!bulletHost) {
1258
+ bulletHost = el("bullets");
1259
+ answer.appendChild(bulletHost);
1260
+ }
1261
+ bulletHost.appendChild(node);
1262
+ } else {
1263
+ bulletHost = null;
1264
+ answer.appendChild(node);
1265
+ }
1266
+ blocks.push({ node: node, inner: inner, words: words, kind: b.t, gapTop: gapTop });
1267
+ });
1268
+ thread.appendChild(answer);
1269
+
1270
+ // --- action row + sources
1271
+ const actions = el("actions");
1272
+ const actionsBox = el("abox");
1273
+ actions.innerHTML =
1274
+ [ICO.copy, ICO.share, ICO.play, ICO.retry]
1275
+ .map((i) => `<div class="act-ico">${i}</div>`)
1276
+ .join("") +
1277
+ `<div class="src-stack">` +
1278
+ CONFIG.sources.dots
1279
+ .map((c) => `<div class="src-dot" style="background:${c}">AI</div>`)
1280
+ .join("") +
1281
+ `</div><div class="src-label">${CONFIG.sources.count} sources</div>`;
1282
+ actionsBox.appendChild(actions);
1283
+ thread.appendChild(actionsBox);
1284
+
1285
+ const disclaim = el("disclaim");
1286
+ const disclaimBox = el("abox");
1287
+ disclaim.innerHTML =
1288
+ `<div class="disclaim-mark">${burst(28, "#d97757")}</div>` +
1289
+ `<div class="disclaim-text">${CONFIG.disclaimer[0]}<br />${CONFIG.disclaimer[1]}</div>`;
1290
+ disclaimBox.appendChild(disclaim);
1291
+ thread.appendChild(disclaimBox);
1292
+
1293
+ // --- the in-thread spinner rides at the end of the flow
1294
+ const spinner = el("spinner", burst(26, "#d97757"));
1295
+ const spinPad = el(null, null);
1296
+ spinPad.style.paddingTop = "29px";
1297
+ spinPad.appendChild(spinner);
1298
+ const spinWrap = el("abox");
1299
+ spinWrap.style.width = "26px";
1300
+ spinWrap.appendChild(spinPad);
1301
+ thread.insertBefore(spinWrap, actionsBox);
1302
+ port.appendChild(thread);
1303
+
1304
+ const chevWrap = el("chev-wrap", `<div class="chev-btn">${ICO.arrowDown}</div>`);
1305
+ chevWrap.setAttribute("data-layout-allow-occlusion", "true");
1306
+ chevWrap.setAttribute("data-layout-allow-overlap", "true");
1307
+
1308
+ // --- composer
1309
+ const composer = el("composer");
1310
+ composer.id = "cle-composer";
1311
+ composer.setAttribute("data-layout-allow-occlusion", "true");
1312
+ composer.setAttribute("data-layout-allow-overlap", "true");
1313
+ composer.innerHTML =
1314
+ `<div class="notice" id="cle-notice"><div class="notice-text">${CONFIG.notice}</div>` +
1315
+ `<div class="notice-x">${ICO.close}</div></div>` +
1316
+ `<div class="comp-text" id="cle-comp-text"><span class="typed" id="cle-typed"></span></div>` +
1317
+ `<div class="comp-ph" id="cle-comp-ph">${CONFIG.placeholder}</div>` +
1318
+ `<div class="comp-ph" id="cle-comp-ph2">${CONFIG.placeholderReply}</div>` +
1319
+ `<div class="comp-ctrls">` +
1320
+ `<div class="plus-btn">${ICO.plus}</div>` +
1321
+ `<div class="model-pill">${CONFIG.model.name} <em>${CONFIG.model.effort}</em></div>` +
1322
+ `<div class="comp-mic" id="cle-comp-mic">${ICO.mic}</div>` +
1323
+ `<div class="voice-btn" id="cle-voice-btn">${ICO.wave}</div>` +
1324
+ `<div class="send-btn" id="cle-send-btn">${ICO.arrowUp}</div>` +
1325
+ `<div class="stop-btn" id="cle-stop-btn"></div>` +
1326
+ `</div>`;
1327
+
1328
+ const typedEl = composer.querySelector("#cle-typed");
1329
+ const chEls = [];
1330
+ const curEls = [];
1331
+ const mkCursor = () => {
1332
+ const a = el("cursor-anchor", "<i></i>", "span");
1333
+ typedEl.appendChild(a);
1334
+ curEls.push(a);
1335
+ };
1336
+ mkCursor();
1337
+ CONFIG.prompt.split("").forEach((c) => {
1338
+ const sp = text("ch", c === " " ? "\u00a0" : c, "span");
1339
+ typedEl.appendChild(sp);
1340
+ chEls.push(sp);
1341
+ mkCursor();
1342
+ });
1343
+
1344
+ // --- keyboard (iOS geometry is identical to the ChatGPT capture)
1345
+ const KB = { w: 33.44, gap: 6.03, inset: 6.67 };
1346
+ const keyboard = el("keyboard");
1347
+ keyboard.id = "cle-keyboard";
1348
+ keyboard.setAttribute("data-layout-allow-overflow", "true");
1349
+ keyboard.setAttribute("data-layout-allow-overlap", "true");
1350
+ const predict = el("predict");
1351
+ const PRED_STAGES = ["start", "end"];
1352
+ const pdEls = [0, 1, 2].map((col) => {
1353
+ const n = el("pd");
1354
+ const stages = PRED_STAGES.map((k) => {
1355
+ const w = el("pdw", CONFIG.predict[k][col]);
1356
+ n.appendChild(w);
1357
+ return w;
1358
+ });
1359
+ predict.appendChild(n);
1360
+ return { cell: n, stages: stages };
1361
+ });
1362
+ keyboard.appendChild(predict);
1363
+
1364
+ const keyIndex = {};
1365
+ const mkKey = (row, label, x, w, cls) => {
1366
+ const k = el("key" + (cls ? " " + cls : ""), label);
1367
+ k.style.left = x + "px";
1368
+ k.style.width = w + "px";
1369
+ row.appendChild(k);
1370
+ if (/^[A-Z]$/.test(label)) keyIndex[label] = k;
1371
+ return k;
1372
+ };
1373
+ [
1374
+ { y: 52, keys: "QWERTYUIOP".split(""), x0: KB.inset },
1375
+ { y: 106, keys: "ASDFGHJKL".split(""), x0: 26.33 },
1376
+ { y: 160, keys: "ZXCVBNM".split(""), x0: 65.67 },
1377
+ ].forEach((rd, ri) => {
1378
+ const row = el("krow");
1379
+ row.style.top = rd.y + "px";
1380
+ rd.keys.forEach((k, i) => mkKey(row, k, rd.x0 + i * (KB.w + KB.gap), KB.w));
1381
+ if (ri === 2) {
1382
+ mkKey(row, ICO.shift, KB.inset, 45.33, "dark");
1383
+ mkKey(row, ICO.del, 350, 45.67, "dark");
1384
+ }
1385
+ keyboard.appendChild(row);
1386
+ });
1387
+ const row4 = el("krow");
1388
+ row4.style.top = "214px";
1389
+ mkKey(row4, "123", KB.inset, 92.67, "dark small");
1390
+ const kSpace = mkKey(row4, "", 105.33, 191.33);
1391
+ mkKey(row4, ICO.ret, 302.67, 93, "dark");
1392
+ keyboard.appendChild(row4);
1393
+ keyboard.appendChild(el("kb-bottom", `<div>${ICO.emojiKey}</div><div>${ICO.mic}</div>`));
1394
+
1395
+ // --- header + scrims
1396
+ const statusPlate = el("status-plate");
1397
+ statusPlate.setAttribute("data-layout-allow-occlusion", "true");
1398
+ const hdrScrim = el("hdr-scrim");
1399
+ hdrScrim.setAttribute("data-layout-allow-occlusion", "true");
1400
+ const compScrim = el("comp-scrim");
1401
+ compScrim.setAttribute("data-layout-allow-occlusion", "true");
1402
+ const header = el("header");
1403
+ header.innerHTML =
1404
+ `<div class="circle-btn hdr-left">${ICO.burger}</div>` +
1405
+ `<div class="hdr-right" id="cle-hdr-right">` +
1406
+ `<div class="hdr-right-face" id="cle-hdr-ghost">${ICO.ghost}</div>` +
1407
+ `<div class="hdr-right-face" id="cle-hdr-actions">${ICO.newChat}${ICO.dots}</div></div>`;
1408
+
1409
+ [
1410
+ port,
1411
+ empty,
1412
+ chevWrap,
1413
+ compScrim,
1414
+ composer,
1415
+ keyboard,
1416
+ hdrScrim,
1417
+ statusPlate,
1418
+ header,
1419
+ sb,
1420
+ ].forEach((n) => screen.appendChild(n));
1421
+
1422
+ /* ==================================================================
1423
+ Everything below is measured off the live DOM, so it must run with the
1424
+ real webfont applied. The @font-face files are still loading when this
1425
+ script parses, so a first pass would measure a fallback face and get the
1426
+ line counts wrong (it clipped a 7-line paragraph to 6). Build once
1427
+ synchronously so the timeline exists at parse time, then rebuild once the
1428
+ fonts report ready — deterministic either way, and the renderer only seeks
1429
+ after fonts are loaded.
1430
+ ================================================================== */
1431
+ window.__timelines = window.__timelines || {};
1432
+ const tl = gsap.timeline({ paused: true });
1433
+
1434
+ function build() {
1435
+ tl.clear();
1436
+ // A rebuild starts from whatever the previous pass left behind (heights 0,
1437
+ // words hidden). Restore the natural layout first or the re-measure reads a
1438
+ // collapsed DOM and every height/anchor comes back 0.
1439
+ const allWords = leadWords
1440
+ .concat(headWords)
1441
+ .concat(blocks.reduce((acc, b) => acc.concat(b.words), []));
1442
+ const allBoxes = [
1443
+ boxThink,
1444
+ boxSearch,
1445
+ boxCollapsed,
1446
+ leadPara,
1447
+ spinWrap,
1448
+ actionsBox,
1449
+ disclaimBox,
1450
+ ].concat(blocks.map((b) => b.node));
1451
+ gsap.set(allBoxes, { height: "auto", autoAlpha: 1 });
1452
+ gsap.set(allWords, { opacity: 1, autoAlpha: 1, y: 0 });
1453
+ gsap.set([thread, keyboard], { y: 0 });
1454
+ gsap.set(bubble, { autoAlpha: 1, y: 0, scale: 1 });
1455
+ gsap.set(chEls, { opacity: 1 });
1456
+ gsap.set(composer, { height: 172.7, width: 385.7, x: 0, y: 0 });
1457
+ gsap.set([emptyMark, spinner], { autoAlpha: 1, scale: 1, rotation: 0 });
1458
+ gsap.set(document.getElementById("cle-notice"), { autoAlpha: 1 });
1459
+ /* ============================================================ measure
1460
+ Everything is read here, in the natural layout, BEFORE any initial state
1461
+ collapses it. Reading these during timeline construction would report the
1462
+ collapsed geometry and every scroll target would resolve to 0. */
1463
+ const LH = 27.3;
1464
+ const lineGroups = (words, host, gapTop) => {
1465
+ const pad = gapTop || 0;
1466
+ const tops = words.map((w) => w.offsetTop);
1467
+ const uniq = [];
1468
+ tops.forEach((t) => {
1469
+ if (!uniq.length || t - uniq[uniq.length - 1] > 6) uniq.push(t);
1470
+ });
1471
+ const lineOf = tops.map((t) => {
1472
+ let li = 0;
1473
+ uniq.forEach((u, i) => {
1474
+ if (Math.abs(t - u) <= 6) li = i;
1475
+ });
1476
+ return li;
1477
+ });
1478
+ const full = host.offsetHeight;
1479
+ return {
1480
+ lineOf: lineOf,
1481
+ // the last step lands on the element's natural height, so the end state
1482
+ // matches the layout the anchors were measured in exactly
1483
+ heights: uniq.map((u, i) =>
1484
+ i === uniq.length - 1 ? full : Math.min(full, pad + (i + 1) * LH + 2),
1485
+ ),
1486
+ full: full,
1487
+ };
1488
+ };
1489
+ const leadMeta = lineGroups(leadWords, leadPara, 27.1);
1490
+ blocks.forEach((b) => (b.meta = lineGroups(b.words, b.node, b.gapTop)));
1491
+
1492
+ const bubbleTop = bubble.offsetTop;
1493
+ const rowThinkH = boxThink.offsetHeight;
1494
+ const rowSearchH = boxSearch.offsetHeight;
1495
+ const rowCollapsedH = boxCollapsed.offsetHeight;
1496
+ const actionsH = actionsBox.offsetHeight;
1497
+ const disclaimH = disclaimBox.offsetHeight;
1498
+ const spinH = spinWrap.offsetHeight;
1499
+ // Anchors are read in the SAME layout state their tween will play in. Correcting
1500
+ // a natural-layout measurement by arithmetic is guesswork — it was 71pt out.
1501
+ const ANCHOR = 720;
1502
+ const ANCHOR_END = 715; // IMG_0944: the disclaimer's last line rests here
1503
+ const anchorOf = (node, anchor) =>
1504
+ Math.min(0, (anchor || ANCHOR) - (node.offsetTop + node.offsetHeight));
1505
+ const anchorLead = anchorOf(leadPara);
1506
+ const anchorTools = anchorOf(toolWrap);
1507
+
1508
+ // state B — tool rows collapsed into "2 steps", spinner still riding the tail
1509
+ gsap.set([boxThink, boxSearch, leadPara], { height: 0 });
1510
+ blocks.forEach((b) => {
1511
+ b.anchor = anchorOf(b.node);
1512
+ // one target per line: the stream must never write below the fold
1513
+ b.lineAnchor = b.meta.heights.map((h) => Math.min(0, ANCHOR - (b.node.offsetTop + h)));
1514
+ });
1515
+ // state C — spinner gone, footer revealed
1516
+ gsap.set(spinWrap, { height: 0 });
1517
+ const anchorEnd = anchorOf(disclaimBox, ANCHOR_END);
1518
+ gsap.set([boxThink, boxSearch, leadPara, spinWrap], { height: "auto" });
1519
+
1520
+ /* ====================================================== initial state */
1521
+ gsap.set(thread, { y: 0 });
1522
+ gsap.set(bubble, { autoAlpha: 0 });
1523
+ gsap.set([boxThink, boxSearch, boxCollapsed], { height: 0, autoAlpha: 0 });
1524
+ gsap.set(leadPara, { height: 0 });
1525
+ gsap.set(leadWords, { opacity: 0 });
1526
+ blocks.forEach((b) => {
1527
+ gsap.set(b.node, { height: 0 });
1528
+ gsap.set(b.words, { opacity: 0 });
1529
+ });
1530
+ gsap.set([actionsBox, disclaimBox], { height: 0, autoAlpha: 0 });
1531
+ gsap.set(spinWrap, { autoAlpha: 0, scale: 0.6, height: spinH, transformOrigin: "50% 50%" });
1532
+ gsap.set(chevWrap.firstChild, { autoAlpha: 0, y: 10 });
1533
+ gsap.set(chEls, { opacity: 0 });
1534
+ gsap.set(curEls, { autoAlpha: 0 });
1535
+ gsap.set(document.getElementById("cle-comp-ph"), { autoAlpha: 1 });
1536
+ gsap.set(document.getElementById("cle-comp-ph2"), { autoAlpha: 0 });
1537
+ gsap.set(document.getElementById("cle-send-btn"), { autoAlpha: 0, scale: 0.6 });
1538
+ gsap.set(document.getElementById("cle-stop-btn"), { autoAlpha: 0, scale: 0.6 });
1539
+ gsap.set(document.getElementById("cle-hdr-actions"), { autoAlpha: 0 });
1540
+ gsap.set(document.getElementById("cle-hdr-right"), { width: 44 });
1541
+ gsap.set(emptyMark, { autoAlpha: 0, scale: 0.72, transformOrigin: "50% 50%" });
1542
+ gsap.set(headWords, { autoAlpha: 0, y: 12 });
1543
+ gsap.set(keyboard, { y: 0 });
1544
+ gsap.set(composer, { width: 385.7, x: 0, y: -309, height: 172.7 });
1545
+ pdEls.forEach((pd) => {
1546
+ gsap.set(pd.stages[0], { autoAlpha: 1 });
1547
+ gsap.set(pd.stages[1], { autoAlpha: 0 });
1548
+ });
1549
+ gsap.set(document.getElementById("cle-clock-late"), { autoAlpha: 0 });
1550
+
1551
+ /* ============================================================ timeline */
1552
+
1553
+ /* ---- 1. empty state arrives */
1554
+ tl.to(emptyMark, { autoAlpha: 1, scale: 1, duration: 0.5, ease: "power3.out" }, T.emptyIn);
1555
+ headWords.forEach((w, i) => {
1556
+ tl.to(
1557
+ w,
1558
+ { autoAlpha: 1, y: 0, duration: 0.42, ease: "power3.out" },
1559
+ T.emptyIn + 0.12 + i * 0.055,
1560
+ );
1561
+ });
1562
+
1563
+ /* ---- 2. typing */
1564
+ const t0 = T.typeStart;
1565
+ const chars = CONFIG.prompt.split("");
1566
+ const charT = [];
1567
+ let t = t0;
1568
+ chars.forEach((c) => {
1569
+ charT.push(t);
1570
+ t += c === " " ? T.charBase + T.spaceHold : T.charBase;
1571
+ });
1572
+ const typeEnd = t;
1573
+
1574
+ tl.to(document.getElementById("cle-comp-ph"), { autoAlpha: 0, duration: 0.12 }, t0 - 0.02);
1575
+ tl.to(curEls[0], { autoAlpha: 1, duration: 0.01 }, t0 - 0.02);
1576
+ tl.to(
1577
+ document.getElementById("cle-voice-btn"),
1578
+ { autoAlpha: 0, scale: 0.6, duration: 0.14 },
1579
+ t0,
1580
+ );
1581
+ tl.to(
1582
+ document.getElementById("cle-send-btn"),
1583
+ { autoAlpha: 1, scale: 1, duration: 0.24, ease: "back.out(1.6)" },
1584
+ t0 + 0.04,
1585
+ );
1586
+
1587
+ chars.forEach((c, i) => {
1588
+ tl.to(chEls[i], { opacity: 1, duration: 0.01 }, charT[i]);
1589
+ tl.to(curEls[i], { autoAlpha: 0, duration: 0.01 }, charT[i]);
1590
+ tl.to(curEls[i + 1], { autoAlpha: 1, duration: 0.01 }, charT[i]);
1591
+ const k = keyIndex[c.toUpperCase()];
1592
+ const target = c === " " ? kSpace : k;
1593
+ if (target) {
1594
+ tl.to(target, { backgroundColor: "#5f5f5f", duration: 0.04 }, charT[i] - 0.03);
1595
+ tl.to(target, { backgroundColor: "#404040", duration: 0.09 }, charT[i] + 0.02);
1596
+ }
1597
+ });
1598
+
1599
+ const lastCur = curEls[curEls.length - 1];
1600
+ const blinkFrom = t0 + 0.1;
1601
+ const blinks = Math.floor((typeEnd + T.sendPad - blinkFrom) / 1.06);
1602
+ for (let i = 0; i < blinks; i++) {
1603
+ const off = blinkFrom + i * 1.06 + 0.53;
1604
+ const on = blinkFrom + i * 1.06 + 1.06;
1605
+ if (off > typeEnd) tl.to(lastCur, { autoAlpha: 0, duration: 0.02 }, off);
1606
+ if (on > typeEnd) tl.to(lastCur, { autoAlpha: 1, duration: 0.02 }, on);
1607
+ }
1608
+ const swapPredict = (at) => {
1609
+ pdEls.forEach((pd) => {
1610
+ tl.to(pd.stages[0], { autoAlpha: 0, duration: 0.06 }, at);
1611
+ tl.to(pd.stages[1], { autoAlpha: 1, duration: 0.08 }, at + 0.06);
1612
+ });
1613
+ };
1614
+ swapPredict(charT[CONFIG.prompt.indexOf(" ai ") + 1]);
1615
+
1616
+ /* ---- 3. send */
1617
+ const tSend = typeEnd + T.sendPad;
1618
+ const sendBtn = document.getElementById("cle-send-btn");
1619
+ tl.to(sendBtn, { scale: 0.86, duration: 0.06, ease: "power2.out" }, tSend);
1620
+ tl.to(sendBtn, { scale: 1, duration: 0.18, ease: "power2.out" }, tSend + 0.06);
1621
+
1622
+ const tGo = tSend + T.sendReact;
1623
+ tl.to(chEls, { opacity: 0, duration: 0.01 }, tGo);
1624
+ tl.to(curEls, { autoAlpha: 0, duration: 0.01 }, tGo);
1625
+ tl.to(keyboard, { y: 340, duration: 0.3, ease: "power2.out" }, tGo);
1626
+ tl.to(document.getElementById("cle-comp-mic"), { autoAlpha: 0, duration: 0.12 }, tGo + 0.1);
1627
+ // card narrows and re-centres as it docks
1628
+ tl.to(composer, { width: 369.7, x: 8, duration: 0.3, ease: "power2.out" }, tGo);
1629
+ tl.to(composer, { y: 0, duration: 0.3, ease: "power2.out" }, tGo);
1630
+ tl.to(document.getElementById("cle-comp-ph2"), { autoAlpha: 1, duration: 0.2 }, tGo + 0.14);
1631
+ tl.to(sendBtn, { autoAlpha: 0, duration: 0.12 }, tGo + 0.24);
1632
+ tl.to(
1633
+ document.getElementById("cle-stop-btn"),
1634
+ { autoAlpha: 1, scale: 1, duration: 0.2, ease: "power2.out" },
1635
+ tGo + 0.3,
1636
+ );
1637
+ // the empty state leaves as the bubble arrives — one cause, two reactions
1638
+ tl.to(emptyMark, { autoAlpha: 0, scale: 0.8, duration: 0.22, ease: "power2.in" }, tGo);
1639
+ headWords.forEach((w, i) => {
1640
+ tl.to(w, { autoAlpha: 0, y: -10, duration: 0.2, ease: "power2.in" }, tGo + i * 0.02);
1641
+ });
1642
+ // header: incognito circle widens into the actions pill
1643
+ tl.to(
1644
+ document.getElementById("cle-hdr-ghost"),
1645
+ { autoAlpha: 0, duration: 0.12 },
1646
+ tGo + 0.02,
1647
+ );
1648
+ tl.to(
1649
+ document.getElementById("cle-hdr-right"),
1650
+ { width: 100, duration: 0.26, ease: "power2.out" },
1651
+ tGo + 0.06,
1652
+ );
1653
+ tl.to(
1654
+ document.getElementById("cle-hdr-actions"),
1655
+ { autoAlpha: 1, duration: 0.18 },
1656
+ tGo + 0.16,
1657
+ );
1658
+
1659
+ const dyBubble = 874 - 343 - 40 - 34 - bubbleTop; // composer text row -> slot
1660
+ tl.fromTo(
1661
+ bubble,
1662
+ { autoAlpha: 0, y: dyBubble, scale: 0.94, transformOrigin: "100% 50%" },
1663
+ { autoAlpha: 1, y: 0, scale: 1, duration: 0.34, ease: "power3.out" },
1664
+ tGo + 0.02,
1665
+ );
1666
+
1667
+ /* ---- 4. the spinner: Claude's own working indicator, not idle wobble */
1668
+ let tw = tGo + 0.34 + T.spinLead;
1669
+ tl.to(spinWrap, { autoAlpha: 1, scale: 1, duration: 0.26, ease: "power3.out" }, tw);
1670
+ const spinTurns = 30;
1671
+ for (let i = 0; i < spinTurns; i++) {
1672
+ tl.to(
1673
+ spinner,
1674
+ { rotation: (i + 1) * 15, duration: 0.5, ease: "power1.inOut" },
1675
+ tw + i * 0.5,
1676
+ );
1677
+ tl.to(
1678
+ spinner,
1679
+ { scale: i % 2 ? 1 : 0.78, duration: 0.5, ease: "sine.inOut" },
1680
+ tw + i * 0.5,
1681
+ );
1682
+ }
1683
+
1684
+ const scrollTo = (target, at, dur) =>
1685
+ tl.to(thread, { y: target, duration: dur || 0.55, ease: "power2.out" }, at);
1686
+
1687
+ /* ---- 5. tool rows, then the lead sentence, then the search */
1688
+ tw += 0.5;
1689
+ tl.to(
1690
+ boxThink,
1691
+ { height: rowThinkH, autoAlpha: 1, duration: 0.26, ease: "power2.out" },
1692
+ tw,
1693
+ );
1694
+ tw += T.toolStep;
1695
+
1696
+ let lastLine = -1;
1697
+ leadWords.forEach((w, wi) => {
1698
+ const li = leadMeta.lineOf[wi];
1699
+ if (li !== lastLine) {
1700
+ tl.to(
1701
+ leadPara,
1702
+ { height: leadMeta.heights[li], duration: 0.16, ease: "power2.out" },
1703
+ tw,
1704
+ );
1705
+ lastLine = li;
1706
+ }
1707
+ tl.to(w, { opacity: 1, duration: 0.09 }, tw);
1708
+ tw += T.wordStep * 2.2;
1709
+ });
1710
+ scrollTo(anchorLead, tw - 0.3, 0.6);
1711
+
1712
+ tw += 0.3;
1713
+ tl.to(
1714
+ boxSearch,
1715
+ { height: rowSearchH, autoAlpha: 1, duration: 0.26, ease: "power2.out" },
1716
+ tw,
1717
+ );
1718
+ scrollTo(anchorTools, tw, 0.6);
1719
+
1720
+ /* ---- 6. the two tool rows collapse into "2 steps" */
1721
+ tw += 0.85;
1722
+ tl.to([boxThink, boxSearch, leadPara], { autoAlpha: 0, duration: 0.16 }, tw);
1723
+ tl.to(
1724
+ [boxThink, boxSearch, leadPara],
1725
+ { height: 0, duration: 0.3, ease: "power2.inOut" },
1726
+ tw + 0.06,
1727
+ );
1728
+ tl.to(
1729
+ boxCollapsed,
1730
+ { height: rowCollapsedH, autoAlpha: 1, duration: 0.26, ease: "power2.out" },
1731
+ tw + 0.18,
1732
+ );
1733
+ scrollTo(0, tw + 0.06, 0.5);
1734
+
1735
+ /* ---- 7. the usage notice is dismissed, the card shrinks, the answer streams */
1736
+ tw += T.collapseAt;
1737
+ tl.to(document.getElementById("cle-notice"), { autoAlpha: 0, duration: 0.16 }, tw);
1738
+ tl.to(composer, { height: 97.7, duration: 0.32, ease: "power2.inOut" }, tw + 0.04);
1739
+ tw += 0.45;
1740
+ blocks.forEach((b, bi) => {
1741
+ let ll = -1;
1742
+ b.words.forEach((w, wi) => {
1743
+ const li = b.meta.lineOf[wi];
1744
+ if (li !== ll) {
1745
+ tl.to(b.node, { height: b.meta.heights[li], duration: 0.16, ease: "power2.out" }, tw);
1746
+ scrollTo(b.lineAnchor[li], tw, 0.5);
1747
+ ll = li;
1748
+ }
1749
+ tl.to(w, { opacity: 1, duration: 0.08 }, tw);
1750
+ tw += T.wordStep;
1751
+ });
1752
+ if (bi < blocks.length - 1) tw += T.paraGap;
1753
+ });
1754
+
1755
+ /* ---- 8. the answer lands: controls revert, footer arrives */
1756
+ tw += T.tailStep;
1757
+ tl.to(document.getElementById("cle-stop-btn"), { autoAlpha: 0, duration: 0.14 }, tw);
1758
+ tl.to(document.getElementById("cle-comp-mic"), { autoAlpha: 1, duration: 0.18 }, tw + 0.04);
1759
+ tl.to(
1760
+ document.getElementById("cle-voice-btn"),
1761
+ { autoAlpha: 1, scale: 1, duration: 0.22, ease: "power2.out" },
1762
+ tw + 0.06,
1763
+ );
1764
+ tl.to(spinWrap, { autoAlpha: 0, scale: 0.7, duration: 0.2, ease: "power2.in" }, tw);
1765
+ tl.to(spinWrap, { height: 0, duration: 0.24, ease: "power2.inOut" }, tw + 0.1);
1766
+ tl.to(
1767
+ actionsBox,
1768
+ { height: actionsH, autoAlpha: 1, duration: 0.3, ease: "power2.out" },
1769
+ tw + 0.22,
1770
+ );
1771
+ tl.to(
1772
+ disclaimBox,
1773
+ { height: disclaimH, autoAlpha: 1, duration: 0.3, ease: "power2.out" },
1774
+ tw + 0.46,
1775
+ );
1776
+ scrollTo(anchorEnd, tw + 0.3, 0.8);
1777
+ tl.to(
1778
+ chevWrap.firstChild,
1779
+ { autoAlpha: 1, y: 0, duration: 0.3, ease: "back.out(1.5)" },
1780
+ tw + 0.7,
1781
+ );
1782
+ // the minute rolls over between the source frames — keep that
1783
+ tl.to(document.getElementById("cle-clock-early"), { autoAlpha: 0, duration: 0.01 }, 8.4);
1784
+ tl.to(document.getElementById("cle-clock-late"), { autoAlpha: 1, duration: 0.01 }, 8.4);
1785
+
1786
+ /* ---- caret-following scroll in the composer.
1787
+ `prompt` is an editable slot, but `.comp-text` is a fixed-width single line with
1788
+ `white-space: pre` inside a composer that clips, and the packaged prompt already
1789
+ reaches the mic. A longer one therefore slides under the mic and the send button and
1790
+ loses its tail, with the caret hidden behind them. A real single-line input scrolls its
1791
+ text left to keep the caret in view; this does the same, on the very times the reveal
1792
+ already uses. Shrinking the type instead would shrink the packaged prompt too, since
1793
+ that prompt has no headroom, and still could not absorb a prompt twice as long without
1794
+ becoming unreadable. A prompt that fits emits no keyframes, so the packaged
1795
+ composition is untouched. Lives inside build(), which is re-run once the embedded
1796
+ faces are ready, so the measurement is taken against the final font. */
1797
+ const compTextEl = composer.querySelector("#cle-comp-text");
1798
+ // The obstacle is the opaque round button, not the mic glyph the text may abut. Take the
1799
+ // leftmost of the two that occupy that corner, since one swaps in for the other.
1800
+ const compStops = ["#cle-voice-btn", "#cle-send-btn"]
1801
+ .map((sel) => composer.querySelector(sel))
1802
+ .filter(Boolean);
1803
+ const CARET_PAD = 8;
1804
+ if (compTextEl && compStops.length) {
1805
+ // Rects live in the scaled .screen space while offsets are layout px, so convert with
1806
+ // the element's own ratio rather than reading --scale.
1807
+ const box = compTextEl.getBoundingClientRect();
1808
+ const ratio = compTextEl.offsetWidth ? box.width / compTextEl.offsetWidth : 1;
1809
+ const stopLeft = Math.min(...compStops.map((el) => el.getBoundingClientRect().left));
1810
+ const limit = (stopLeft - box.left) / (ratio || 1) - CARET_PAD;
1811
+ if (limit > 0) {
1812
+ // Collect the steps first, so a prompt that fits leaves typedEl alone entirely: even a
1813
+ // zero translate stamps a transform, which changes how the text rasterizes and would
1814
+ // make the packaged render differ from before for no reason.
1815
+ const steps = [];
1816
+ let shift = 0;
1817
+ chars.forEach((c, i) => {
1818
+ const caret = curEls[i + 1];
1819
+ if (!caret) return;
1820
+ const want = Math.max(0, caret.offsetLeft - limit);
1821
+ if (want > shift + 0.5) {
1822
+ shift = want;
1823
+ steps.push([charT[i], -shift]);
1824
+ }
1825
+ });
1826
+ if (steps.length) {
1827
+ steps.forEach(([at, x]) => tl.to(typedEl, { x, duration: 0.08, ease: "none" }, at));
1828
+ // Back to the start when the composer empties, so the collapse animates from x=0.
1829
+ tl.to(typedEl, { x: 0, duration: 0.01 }, tGo);
1830
+ }
1831
+ }
1832
+ }
1833
+ }
1834
+
1835
+ build();
1836
+ if (document.fonts && document.fonts.status !== "loaded") {
1837
+ document.fonts.ready.then(build);
1838
+ }
1839
+
1840
+ window.__timelines["claude-exchange"] = tl;
1841
+ </script>
1842
+ </div>
1843
+ <script>window.__popostFit();</script>
1844
+ </body>
1845
+ </html>