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,1597 @@
1
+ <!doctype html>
2
+ <!--
3
+ Adapted from HyperFrames (https://github.com/heygen-com/hyperframes), registry/blocks/ios26-liquid-glass, 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; fixed for the scene's clock by hand (tools/video/hyperframes-patches.mjs): the phone model (not shipped) replaced by a drawn stand-in handed over by a loader of the same shape; pictures its script loads replaced by drawn stand-ins that the first frame waits for; HTML drawn into a canvas (the experimental drawElementImage) from a picture of the element taken when the page has loaded, where the browser has no such API; its deferred calls (setTimeout) run when the page has loaded, before the first frame; GSAP loaded from the project (../lib/gsap.min.js) instead of a CDN; pictures replaced by slots and drawn stand-ins; the 1920x1080 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 lang="en">
8
+ <head>
9
+ <script>
10
+ /* popost: deferred calls (setTimeout) run in order when the page has loaded, before the first frame. */
11
+ (function () {
12
+ var queue = [], n = 0, done = false;
13
+ var flush = function () { for (var k = 0; queue.length && k < 100000; k++) { var c = queue.shift(); if (!c.cancelled) c.f.apply(null, c.args); } };
14
+ window.__popostLater = function (f, ms) { var c = { f: typeof f === 'function' ? f : function () {}, args: Array.prototype.slice.call(arguments, 2), id: ++n }; queue.push(c); if (done) flush(); return c.id; };
15
+ window.__popostCancel = function (id) { queue.forEach(function (c) { if (c.id === id) c.cancelled = true; }); };
16
+ window.addEventListener('load', function () { done = true; flush(); });
17
+ })();
18
+ </script>
19
+ <script>
20
+ /* popost: HTML drawn into a canvas from a picture of the element taken when the page has loaded. */
21
+ (function () {
22
+ var C2 = window.CanvasRenderingContext2D && CanvasRenderingContext2D.prototype;
23
+ if (!C2 || typeof C2.drawElementImage === 'function') return;
24
+ if (!('layoutSubtree' in HTMLCanvasElement.prototype)) Object.defineProperty(HTMLCanvasElement.prototype, 'layoutSubtree', { configurable: true, get: function () { return this.hasAttribute('layoutsubtree'); }, set: function (v) { if (v) this.setAttribute('layoutsubtree', ''); else this.removeAttribute('layoutsubtree'); } });
25
+ var shots = new Map();
26
+ var inline = function (from, to) {
27
+ var cs = getComputedStyle(from), out = '';
28
+ for (var i = 0; i < cs.length; i++) out += cs[i] + ':' + cs.getPropertyValue(cs[i]) + ';';
29
+ to.setAttribute('style', out);
30
+ for (var k = 0; k < from.children.length; k++) inline(from.children[k], to.children[k]);
31
+ };
32
+ var picture = function (el) {
33
+ var c = el.closest('canvas'), w = (c && c.width) || 1920, h = (c && c.height) || 1080;
34
+ var clone = el.cloneNode(true);
35
+ inline(el, clone);
36
+ clone.style.position = 'absolute'; clone.style.left = '0px'; clone.style.top = '0px'; clone.style.visibility = 'visible';
37
+ var xml = new XMLSerializer().serializeToString(clone);
38
+ var svg = '<svg xmlns="http://www.w3.org/2000/svg" width="' + w + '" height="' + h + '"><foreignObject width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="position:relative;width:' + w + 'px;height:' + h + 'px;overflow:hidden">' + xml + '</div></foreignObject></svg>';
39
+ var img = new Image(w, h);
40
+ img.alt = '';
41
+ img.style.cssText = 'position:absolute;left:-99999px;top:0;width:1px;height:1px;opacity:0;pointer-events:none';
42
+ img.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(svg);
43
+ document.body.appendChild(img);
44
+ return img;
45
+ };
46
+ var shotOf = function (el) { if (!shots.has(el)) shots.set(el, picture(el)); return shots.get(el); };
47
+ var take = function () { document.querySelectorAll('canvas[layoutsubtree] > *').forEach(shotOf); };
48
+ window.addEventListener('DOMContentLoaded', take);
49
+ var when = function (img, draw) { if (img.complete && img.naturalWidth) draw(); else img.decode().then(draw, function () {}); };
50
+ C2.drawElementImage = function (el, x, y, w, h) {
51
+ var ctx = this, img = shotOf(el);
52
+ when(img, function () { ctx.drawImage(img, x || 0, y || 0, w || img.naturalWidth, h || img.naturalHeight); });
53
+ };
54
+ var GL = window.WebGL2RenderingContext && WebGL2RenderingContext.prototype;
55
+ if (GL) GL.texElementImage2D = function (target, level, ifmt, fmt, type, el) {
56
+ var gl = this, img = shotOf(el), tex = gl.getParameter(target === gl.TEXTURE_CUBE_MAP ? gl.TEXTURE_BINDING_CUBE_MAP : gl.TEXTURE_BINDING_2D);
57
+ when(img, function () { var was = gl.getParameter(gl.TEXTURE_BINDING_2D); gl.bindTexture(gl.TEXTURE_2D, tex); gl.texImage2D(target, level, ifmt, fmt, type, img); gl.bindTexture(gl.TEXTURE_2D, was); });
58
+ };
59
+ HTMLCanvasElement.prototype.requestPaint = function () {
60
+ var c = this, imgs = Array.prototype.map.call(c.children, shotOf);
61
+ Promise.all(imgs.map(function (i) { return i.decode().catch(function () {}); })).then(function () { var e = new Event('paint'); if (typeof c.onpaint === 'function') c.onpaint(e); c.dispatchEvent(e); });
62
+ };
63
+ })();
64
+ </script>
65
+ <script>
66
+ /* popost: pictures a script loads are held in the page, so the first frame waits for them. */
67
+ (function () {
68
+ var d = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src'), holder;
69
+ Object.defineProperty(HTMLImageElement.prototype, 'src', { configurable: true, enumerable: true, get: d.get, set: function (v) {
70
+ d.set.call(this, v);
71
+ if (this.isConnected || !document.body) return;
72
+ holder = holder || document.body.appendChild(Object.assign(document.createElement('div'), { hidden: true, id: 'popost-held' }));
73
+ holder.appendChild(this);
74
+ } });
75
+ })();
76
+ </script>
77
+ <meta charset="utf-8" />
78
+ <meta name="viewport" content="width=1920, height=1080" />
79
+ <title>Devices Canvas — HTML-in-Canvas API Showcase</title>
80
+ <script src="../lib/gsap.min.js"></script>
81
+ <script src="../lib/three.min.js"></script>
82
+ <script>
83
+ /* popost: drawn stand-ins for the device models, handed over by a loader of the GLTFLoader's shape. */
84
+ (function () {
85
+ var rounded = function (w, h, r) {
86
+ var s = new THREE.Shape(), x = -w / 2, y = -h / 2;
87
+ s.moveTo(x + r, y); s.lineTo(x + w - r, y); s.quadraticCurveTo(x + w, y, x + w, y + r); s.lineTo(x + w, y + h - r); s.quadraticCurveTo(x + w, y + h, x + w - r, y + h);
88
+ s.lineTo(x + r, y + h); s.quadraticCurveTo(x, y + h, x, y + h - r); s.lineTo(x, y + r); s.quadraticCurveTo(x, y, x + r, y);
89
+ return s;
90
+ };
91
+ var slab = function (w, h, d, r, mat) {
92
+ var g = new THREE.ExtrudeGeometry(rounded(w, h, r), { depth: d, bevelEnabled: true, bevelThickness: d * 0.12, bevelSize: Math.min(w, h) * 0.012, bevelSegments: 4, curveSegments: 12 });
93
+ g.translate(0, 0, -d / 2);
94
+ return new THREE.Mesh(g, mat);
95
+ };
96
+ var plane = function (name, w, h, z, mat) { var m = new THREE.Mesh(new THREE.PlaneGeometry(w, h), mat); m.name = name; m.position.z = z; return m; };
97
+ var metal = function (c) { return new THREE.MeshStandardMaterial({ color: c, metalness: 0.85, roughness: 0.32 }); };
98
+ var phone = function () {
99
+ var g = new THREE.Group(), w = 0.75, h = 1.55, d = 0.085;
100
+ g.add(slab(w, h, d, 0.11, metal(0x2b2d31)));
101
+ g.add(plane('front-glass', w * 0.94, h * 0.965, d / 2 + 0.006, new THREE.MeshStandardMaterial({ color: 0x05060a, roughness: 0.15 })));
102
+ var back = plane('rear-window', w * 0.94, h * 0.965, -d / 2 - 0.006, metal(0x3a3d44)); back.rotation.y = Math.PI; g.add(back);
103
+ var cam = new THREE.Mesh(new THREE.BoxGeometry(0.26, 0.26, 0.02), metal(0x1d1f23)); cam.position.set(-w * 0.25, h * 0.36, -d / 2 - 0.016); g.add(cam);
104
+ return g;
105
+ };
106
+ var laptop = function () {
107
+ var g = new THREE.Group(), w = 3.0, depth = 2.05, t = 0.07;
108
+ var base = new THREE.Mesh(new THREE.BoxGeometry(w, t, depth), metal(0xb9bcc2)); base.position.y = t / 2; g.add(base);
109
+ var lid = new THREE.Group(); lid.position.set(0, t, -depth / 2); lid.rotation.x = -0.18; g.add(lid);
110
+ var shell = new THREE.Mesh(new THREE.BoxGeometry(w, depth * 0.98, 0.045), metal(0xb9bcc2)); shell.position.set(0, depth * 0.49, -0.025); lid.add(shell);
111
+ var bezel = new THREE.Mesh(new THREE.PlaneGeometry(w * 0.98, depth * 0.95), new THREE.MeshStandardMaterial({ color: 0x0b0c0f, roughness: 0.4 })); bezel.name = 'display-bezel'; bezel.position.set(0, depth * 0.49, 0.0005); lid.add(bezel);
112
+ var screen = new THREE.Mesh(new THREE.PlaneGeometry(w * 0.92, depth * 0.88), new THREE.MeshStandardMaterial({ color: 0x05060a })); screen.name = 'display'; screen.position.set(0, depth * 0.5, 0.002); lid.add(screen);
113
+ return g;
114
+ };
115
+ THREE.DRACOLoader = function () {};
116
+ THREE.DRACOLoader.prototype.setDecoderPath = function () { return this; };
117
+ THREE.DRACOLoader.prototype.setDecoderConfig = function () { return this; };
118
+ THREE.GLTFLoader = function () {};
119
+ THREE.GLTFLoader.prototype.setDRACOLoader = function () { return this; };
120
+ THREE.GLTFLoader.prototype.load = function (url, onLoad) { var scene = /macbook|laptop/i.test(url) ? laptop() : phone(); onLoad({ scene: scene, scenes: [scene], animations: [] }); };
121
+ THREE.GLTFLoader.prototype.loadAsync = function (url) { var self = this; return new Promise(function (resolve) { self.load(url, resolve); }); };
122
+ })();
123
+ </script>
124
+ <style>
125
+ * {
126
+ margin: 0;
127
+ padding: 0;
128
+ box-sizing: border-box;
129
+ }
130
+ body {
131
+ background: #050508;
132
+ overflow: hidden;
133
+ }
134
+ #root {
135
+ position: relative;
136
+ width: 1920px;
137
+ height: 1080px;
138
+ overflow: hidden;
139
+ background: #050508;
140
+ }
141
+ .ios-home {
142
+ position: relative;
143
+ height: 844px;
144
+ overflow: hidden;
145
+ background: #010101;
146
+ }
147
+ .ios-wallpaper {
148
+ position: absolute;
149
+ inset: 0;
150
+ background:
151
+ radial-gradient(ellipse at 50% 50%, rgba(12, 16, 24, 0.96), transparent 31%),
152
+ radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.06), transparent 8%),
153
+ linear-gradient(180deg, #020202, #000);
154
+ }
155
+ .ios-wallpaper::before,
156
+ .ios-wallpaper::after {
157
+ content: "";
158
+ position: absolute;
159
+ left: 92px;
160
+ top: 210px;
161
+ width: 210px;
162
+ height: 360px;
163
+ border-radius: 50% 50% 42% 46%;
164
+ border: 4px solid transparent;
165
+ background:
166
+ linear-gradient(#020202, #020202) padding-box,
167
+ conic-gradient(
168
+ from 215deg,
169
+ rgba(255, 255, 255, 0),
170
+ rgba(255, 255, 255, 0.92),
171
+ rgba(53, 131, 255, 0.92),
172
+ rgba(38, 255, 168, 0.8),
173
+ rgba(255, 63, 54, 0.72),
174
+ rgba(255, 255, 255, 0)
175
+ )
176
+ border-box;
177
+ filter: blur(0.35px) saturate(1.25);
178
+ opacity: 0.82;
179
+ transform: rotate(7deg);
180
+ }
181
+ .ios-wallpaper::after {
182
+ left: 118px;
183
+ top: 400px;
184
+ width: 140px;
185
+ height: 190px;
186
+ border-width: 3px;
187
+ opacity: 0.62;
188
+ transform: rotate(-27deg);
189
+ }
190
+ .ios-status {
191
+ position: relative;
192
+ z-index: 2;
193
+ display: flex;
194
+ align-items: center;
195
+ justify-content: space-between;
196
+ padding: 27px 30px 10px;
197
+ color: #f6f6f6;
198
+ font-size: 22px;
199
+ font-weight: 760;
200
+ letter-spacing: 0;
201
+ text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
202
+ }
203
+ .ios-status-left,
204
+ .ios-status-right {
205
+ display: flex;
206
+ align-items: center;
207
+ gap: 8px;
208
+ }
209
+ .ios-location {
210
+ display: grid;
211
+ place-items: center;
212
+ width: 18px;
213
+ height: 18px;
214
+ border-radius: 999px;
215
+ background: #2f80ed;
216
+ color: #fff;
217
+ font-size: 12px;
218
+ line-height: 1;
219
+ }
220
+ .ios-signal {
221
+ display: flex;
222
+ align-items: end;
223
+ gap: 3px;
224
+ height: 18px;
225
+ }
226
+ .ios-signal span {
227
+ width: 5px;
228
+ border-radius: 3px;
229
+ background: rgba(255, 255, 255, 0.92);
230
+ }
231
+ .ios-signal span:nth-child(1) {
232
+ height: 7px;
233
+ }
234
+ .ios-signal span:nth-child(2) {
235
+ height: 10px;
236
+ }
237
+ .ios-signal span:nth-child(3) {
238
+ height: 13px;
239
+ }
240
+ .ios-signal span:nth-child(4) {
241
+ height: 17px;
242
+ background: rgba(255, 255, 255, 0.48);
243
+ }
244
+ .ios-wifi {
245
+ position: relative;
246
+ width: 23px;
247
+ height: 17px;
248
+ }
249
+ .ios-wifi span {
250
+ position: absolute;
251
+ left: 50%;
252
+ border: 4px solid rgba(255, 255, 255, 0.94);
253
+ border-color: rgba(255, 255, 255, 0.94) transparent transparent transparent;
254
+ border-radius: 50%;
255
+ transform: translateX(-50%);
256
+ }
257
+ .ios-wifi span:nth-child(1) {
258
+ top: 0;
259
+ width: 28px;
260
+ height: 28px;
261
+ }
262
+ .ios-wifi span:nth-child(2) {
263
+ top: 6px;
264
+ width: 18px;
265
+ height: 18px;
266
+ }
267
+ .ios-wifi span:nth-child(3) {
268
+ top: 13px;
269
+ width: 7px;
270
+ height: 7px;
271
+ border-radius: 999px;
272
+ background: #fff;
273
+ border: 0;
274
+ }
275
+ .ios-battery {
276
+ position: relative;
277
+ min-width: 34px;
278
+ height: 21px;
279
+ padding: 1px 5px 0;
280
+ border-radius: 6px;
281
+ background: #59d768;
282
+ color: #fff;
283
+ font-size: 15px;
284
+ font-weight: 850;
285
+ line-height: 20px;
286
+ }
287
+ .ios-battery::after {
288
+ content: "";
289
+ position: absolute;
290
+ right: -3px;
291
+ top: 7px;
292
+ width: 3px;
293
+ height: 7px;
294
+ border-radius: 0 3px 3px 0;
295
+ background: rgba(255, 255, 255, 0.5);
296
+ }
297
+ .ios-app-grid {
298
+ position: relative;
299
+ z-index: 2;
300
+ display: grid;
301
+ grid-template-columns: repeat(4, 1fr);
302
+ gap: 14px 22px;
303
+ padding: 20px 28px 0;
304
+ }
305
+ .ios-app {
306
+ position: relative;
307
+ text-align: center;
308
+ }
309
+ .ios-app-icon,
310
+ .ios-dock-icon {
311
+ display: block;
312
+ object-fit: cover;
313
+ box-shadow:
314
+ 0 8px 20px rgba(0, 0, 0, 0.34),
315
+ inset 0 1px 0 rgba(255, 255, 255, 0.24);
316
+ filter: grayscale(1) saturate(0.08) contrast(1.2) brightness(0.86);
317
+ }
318
+ .ios-app-icon {
319
+ width: 62px;
320
+ height: 62px;
321
+ margin: 0 auto 7px;
322
+ border-radius: 18px;
323
+ }
324
+ .ios-app-label {
325
+ color: #fff;
326
+ font-size: 13px;
327
+ font-weight: 640;
328
+ line-height: 1.1;
329
+ text-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
330
+ white-space: nowrap;
331
+ }
332
+ .ios-badge {
333
+ position: absolute;
334
+ top: -8px;
335
+ right: -8px;
336
+ min-width: 24px;
337
+ padding: 3px 7px;
338
+ border-radius: 999px;
339
+ background: #f7f7f7;
340
+ color: #303030;
341
+ font-size: 15px;
342
+ font-weight: 700;
343
+ font-variant-numeric: tabular-nums;
344
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
345
+ }
346
+ .ios-search-pill {
347
+ position: absolute;
348
+ z-index: 2;
349
+ left: 50%;
350
+ bottom: 105px;
351
+ display: flex;
352
+ align-items: center;
353
+ justify-content: center;
354
+ gap: 7px;
355
+ width: 116px;
356
+ padding: 9px 0;
357
+ border-radius: 19px;
358
+ background: rgba(255, 255, 255, 0.11);
359
+ border: 1px solid rgba(255, 255, 255, 0.1);
360
+ color: rgba(255, 255, 255, 0.72);
361
+ font-size: 15px;
362
+ font-weight: 650;
363
+ text-align: center;
364
+ transform: translateX(-50%);
365
+ box-shadow:
366
+ inset 0 1px 0 rgba(255, 255, 255, 0.17),
367
+ 0 10px 22px rgba(0, 0, 0, 0.34);
368
+ }
369
+ .ios-search-pill::before {
370
+ content: "";
371
+ width: 12px;
372
+ height: 12px;
373
+ border: 3px solid rgba(255, 255, 255, 0.72);
374
+ border-radius: 999px;
375
+ box-sizing: border-box;
376
+ }
377
+ .ios-search-pill::after {
378
+ content: "";
379
+ width: 7px;
380
+ height: 3px;
381
+ border-radius: 999px;
382
+ background: rgba(255, 255, 255, 0.72);
383
+ transform: rotate(45deg) translate(-6px, 6px);
384
+ margin-left: -10px;
385
+ }
386
+ .ios-notification-layer {
387
+ display: none;
388
+ position: absolute;
389
+ z-index: 5;
390
+ top: 82px;
391
+ left: 15px;
392
+ right: 15px;
393
+ height: 222px;
394
+ pointer-events: none;
395
+ }
396
+ .ios-notification-card {
397
+ position: absolute;
398
+ left: 0;
399
+ right: 0;
400
+ display: flex;
401
+ align-items: center;
402
+ gap: 10px;
403
+ min-height: 60px;
404
+ padding: 9px 12px;
405
+ border-radius: 23px;
406
+ border: 1px solid rgba(255, 255, 255, 0.27);
407
+ background:
408
+ linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.13)),
409
+ rgba(140, 150, 164, 0.52);
410
+ -webkit-backdrop-filter: blur(22px) saturate(1.35);
411
+ backdrop-filter: blur(22px) saturate(1.35);
412
+ box-shadow:
413
+ inset 0 1px 0 rgba(255, 255, 255, 0.46),
414
+ 0 14px 34px rgba(0, 0, 0, 0.38);
415
+ opacity: 0;
416
+ transform: translateY(-120px) scale(0.98);
417
+ }
418
+ .ios-notification-card:nth-child(2) {
419
+ top: 68px;
420
+ }
421
+ .ios-notification-card:nth-child(3) {
422
+ top: 136px;
423
+ }
424
+ .ios-notification-icon {
425
+ width: 38px;
426
+ height: 38px;
427
+ border-radius: 11px;
428
+ background-position: center;
429
+ background-size: cover;
430
+ flex: 0 0 auto;
431
+ }
432
+ .ios-notification-messages {
433
+ background-image: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);
434
+ }
435
+ .ios-notification-hyperframes {
436
+ background-image: repeating-linear-gradient(45deg, #9c4f2e 0 40px, #f2b880 40px 80px);
437
+ }
438
+ .ios-notification-gmail {
439
+ background-image: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);
440
+ }
441
+ .ios-icon-preload {
442
+ position: absolute;
443
+ width: 1px;
444
+ height: 1px;
445
+ opacity: 0;
446
+ pointer-events: none;
447
+ }
448
+ .ios-notification-copy {
449
+ min-width: 0;
450
+ flex: 1;
451
+ }
452
+ .ios-notification-title {
453
+ display: flex;
454
+ justify-content: space-between;
455
+ gap: 8px;
456
+ color: #fff;
457
+ font-size: 12px;
458
+ font-weight: 750;
459
+ }
460
+ .ios-notification-body {
461
+ margin-top: 2px;
462
+ color: rgba(255, 255, 255, 0.72);
463
+ font-size: 11px;
464
+ line-height: 1.25;
465
+ }
466
+ .ios-dock {
467
+ position: absolute;
468
+ z-index: 2;
469
+ left: 14px;
470
+ right: 14px;
471
+ bottom: 13px;
472
+ display: flex;
473
+ justify-content: space-around;
474
+ padding: 10px 16px;
475
+ border-radius: 37px;
476
+ background: rgba(255, 255, 255, 0.08);
477
+ border: 1px solid rgba(255, 255, 255, 0.16);
478
+ -webkit-backdrop-filter: blur(18px) saturate(1.2);
479
+ backdrop-filter: blur(18px) saturate(1.2);
480
+ box-shadow:
481
+ inset 0 1px 0 rgba(255, 255, 255, 0.16),
482
+ 0 14px 36px rgba(0, 0, 0, 0.24);
483
+ }
484
+ .ios-dock-item {
485
+ position: relative;
486
+ width: 62px;
487
+ height: 62px;
488
+ }
489
+ .ios-dock-icon {
490
+ width: 62px;
491
+ height: 62px;
492
+ border-radius: 18px;
493
+ background-position: center;
494
+ background-size: cover;
495
+ }
496
+ .ios-dock-phone {
497
+ background-image: repeating-linear-gradient(45deg, #5b3f86 0 40px, #c9b6e4 40px 80px);
498
+ }
499
+ .ios-dock-brave {
500
+ background-image: repeating-linear-gradient(45deg, #8a2f4f 0 40px, #f0a6bf 40px 80px);
501
+ }
502
+ .ios-dock-whatsapp {
503
+ background-image: repeating-linear-gradient(45deg, #6b6224 0 40px, #e6dc8c 40px 80px);
504
+ }
505
+ .ios-dock-music {
506
+ background-image: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);
507
+ }
508
+ </style>
509
+ <style id="popost-fit">
510
+ html, body { margin: 0 !important; width: 1280px; height: 720px; overflow: hidden !important; }
511
+ :where(html, body) { background: #000000; }
512
+ #popost-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; }
513
+ </style>
514
+ <script type="application/json" id="popost-params">
515
+ {
516
+ "about": "3D iPhone with a normal iOS 26 home screen, liquid glass app icons, shader wallpaper, dock, and fluid glass notifications that drop from the status area onto a GLTF device model.",
517
+ "class": "ui",
518
+ "tags": [
519
+ "liquid-glass-html-in-canvas",
520
+ "webgpu",
521
+ "3d",
522
+ "iphone",
523
+ "ios26",
524
+ "notifications",
525
+ "gltf",
526
+ "html-in-canvas"
527
+ ],
528
+ "placeholders": "2 pictures its script loads drawn as stand-ins; 25 pictures as slots (picture-1 ...) with a drawn stand-in, 7 CSS pictures as a gradient",
529
+ "seconds": 15,
530
+ "params": [
531
+ {
532
+ "name": "fit",
533
+ "type": "choice",
534
+ "default": "contain",
535
+ "options": [
536
+ "contain",
537
+ "cover"
538
+ ],
539
+ "what": "how the 1920x1080 composition is fitted into the canvas: whole with bars, or filling it and cropped"
540
+ }
541
+ ],
542
+ "values": {}
543
+ }
544
+ </script>
545
+ <script>
546
+ /* popost: the scene's parameters stand in for HyperFrames variables; random numbers are seeded; the composition is
547
+ scaled into the canvas; clips are shown and hidden from the scene's time. */
548
+ (function () {
549
+ var block = document.getElementById('popost-params');
550
+ var values = block ? (JSON.parse(block.textContent).values || {}) : {};
551
+ var vars = {};
552
+ Object.keys(values).forEach(function (k) { if (k !== 'fit') vars[k] = values[k] === 'true' ? true : values[k] === 'false' ? false : values[k]; });
553
+ window.__hyperframes = { getVariables: function () { return vars; } };
554
+ var seed = 20240229;
555
+ 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; };
556
+ // HyperFrames variables as CSS custom properties (runtime/getVariables.ts, compositionLoader.ts). A mounted
557
+ // composition's host lists its variables (data-popost-variables, written by the port): before the composition's
558
+ // scripts run it gets those no rule gives it yet (an inherited value counts), and after them the rest; a value given
559
+ // by a parameter always wins.
560
+ var cssName = function (id) { return '--' + (String(id).toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '') || 'node'); };
561
+ var givenId = function (n) { return Object.keys(values).filter(function (id) { return id !== 'fit' && cssName(id) === n; })[0]; };
562
+ var hostVars = function (h, early) {
563
+ (h.getAttribute('data-popost-variables') || '').split(';').forEach(function (d) {
564
+ var i = d.indexOf(':'), n = d.slice(0, i).trim(), k = givenId(n);
565
+ if (i < 0 || !n) return;
566
+ if (k !== undefined) h.style.setProperty(n, String(vars[k]));
567
+ else if (!(h.style.getPropertyValue(n) || (early ? getComputedStyle(h).getPropertyValue(n) : '')).trim()) h.style.setProperty(n, d.slice(i + 1).trim());
568
+ });
569
+ };
570
+ // Root-level clips laid out as HyperFrames lays them out (runtime/init.ts, applyCompositionSizing and applyClipLayout):
571
+ // its root composition (one marked data-root="true", else the first element with a data-composition-id, which is the
572
+ // page's <html> when that has one) gets its declared size, a position and overflow hidden; each child of it with a
573
+ // data-start is placed absolute unless it is absolute or fixed already, and given its declared size, or 100% where it
574
+ // measures 0. A composition box deeper in the page keeps the position its page gives it.
575
+ var layout = function () {
576
+ var hroot = document.querySelector('[data-composition-id][data-root="true"]') || document.querySelector('[data-composition-id]');
577
+ if (!hroot) return;
578
+ var px = function (v) { var n = parseFloat(v); return isFinite(n) && n > 0 ? n + 'px' : null; };
579
+ var rw = px(hroot.getAttribute('data-width')), rh = px(hroot.getAttribute('data-height'));
580
+ if (rw) { hroot.style.width = rw; hroot.style.setProperty('--comp-width', rw); }
581
+ if (rh) { hroot.style.height = rh; hroot.style.setProperty('--comp-height', rh); }
582
+ if (!hroot.style.position) hroot.style.position = 'relative';
583
+ hroot.style.overflow = 'hidden';
584
+ Array.prototype.forEach.call(hroot.children, function (el) {
585
+ if (/^(SCRIPT|STYLE|LINK|META)$/.test(el.tagName) || !el.hasAttribute('data-start')) return;
586
+ var none = el.style.getPropertyValue('display') === 'none', priority = el.style.getPropertyPriority('display');
587
+ if (none) el.style.removeProperty('display');
588
+ var cs = getComputedStyle(el);
589
+ if (cs.position !== 'absolute' && cs.position !== 'fixed') el.style.position = 'absolute';
590
+ if (el.tagName !== 'AUDIO') {
591
+ var byFile = /^(IMG|VIDEO)$/.test(el.tagName), fw = px(el.getAttribute('data-width')), fh = px(el.getAttribute('data-height'));
592
+ 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%';
593
+ 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%';
594
+ }
595
+ if (none) el.style.setProperty('display', 'none', priority);
596
+ });
597
+ };
598
+ // HyperFrames loads a mounted composition after it has laid out the page, so its scripts see the host placed: each
599
+ // script of a mounted composition calls this first (the port puts the call there).
600
+ window.__popostMount = function (script) {
601
+ var h = script && script.closest ? script.closest('[data-popost-host]') : null;
602
+ if (!h || h.__popostMounted) return;
603
+ h.__popostMounted = true;
604
+ layout();
605
+ hostVars(h, true);
606
+ };
607
+ window.__popostFit = function () {
608
+ // 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.
609
+ var size = /width: (\d+)px; height: (\d+)px;/.exec(document.getElementById('popost-fit').textContent);
610
+ var W = 1920, H = 1080, s = document.getElementById('popost-stage'), cw = Number(size[1]), ch = Number(size[2]);
611
+ var k = (values.fit === 'cover' ? Math.max : Math.min)(cw / W, ch / H);
612
+ s.style.transform = 'translate(' + (cw - W * k) / 2 + 'px,' + (ch - H * k) / 2 + 'px) scale(' + k + ')';
613
+ // The page's own declared variables on its root element (runtime/getVariables.ts, injectCompositionCssVariables):
614
+ // each default where no rule defines its property, a value given by a parameter always.
615
+ Array.prototype.forEach.call(document.querySelectorAll('[data-popost-host]'), function (h) { hostVars(h, false); });
616
+ layout();
617
+ // Timed elements as HyperFrames has them (runtime/clipTree.ts, clipWindow.ts): every element with a data-start but the
618
+ // root composition, from its start plus the starts of the compositions it sits in, for its data-duration (a
619
+ // composition without one: its timeline's length); one that runs to the end of the root keeps its last frame.
620
+ var root = s.querySelector('[data-composition-id]');
621
+ 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'))); });
622
+ var windows = clips.map(function (c) {
623
+ var a = parseFloat(c.getAttribute('data-start')), d = parseFloat(c.getAttribute('data-duration')), id = c.getAttribute('data-composition-id');
624
+ 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'));
625
+ var tl = !(d > 0) && id && window.__timelines && window.__timelines[id];
626
+ return [a, d > 0 ? d : tl && tl.duration ? tl.duration() : Infinity];
627
+ });
628
+ var rootLength = parseFloat(root && root.getAttribute('data-duration'));
629
+ // A mounted composition that starts later in its host runs on its own time.
630
+ [].forEach(function (m) {
631
+ var tl = window.__timelines && window.__timelines[m.id];
632
+ 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; } };
633
+ });
634
+ var scene = (window.__popostScene = window.__popostScene || {}), before = scene.render;
635
+ scene.render = function (seconds, fps) {
636
+ if (before) before(seconds, fps);
637
+ // Its drawing tween comes before later tweens of the same state: seek next to the time, then to it.
638
+ Object.keys(window.__timelines || {}).forEach(function (k) { var t = window.__timelines[k]; if (t && t.seek) { t.seek(seconds + (seconds > 0.001 ? -0.0001 : 0.0001), false); t.seek(seconds, false); } });
639
+ for (var i = 0; i < clips.length; i++) {
640
+ var a = windows[i][0], end = a + windows[i][1];
641
+ clips[i].style.visibility = seconds >= a - 1e-6 && (seconds < end - 1e-6 || end >= rootLength - 1e-6) ? 'visible' : 'hidden';
642
+ }
643
+ };
644
+ };
645
+ })();
646
+ </script>
647
+ <script type="application/json" id="popost-cues">[{"at":0,"cue":"swish","gain":0.4}]</script>
648
+ </head>
649
+ <body>
650
+ <div id="popost-stage">
651
+ <div
652
+ id="root"
653
+ data-composition-id="ios26-liquid-glass"
654
+ data-width="1920"
655
+ data-height="1080"
656
+ data-start="0"
657
+ data-duration="15"
658
+ data-root="true"
659
+ >
660
+
661
+ <canvas
662
+ id="cap-phone"
663
+ layoutsubtree
664
+ width="390"
665
+ height="844"
666
+ style="
667
+ position: absolute;
668
+ top: 0;
669
+ left: 0;
670
+ width: 390px;
671
+ height: 844px;
672
+ z-index: -1;
673
+ pointer-events: none;
674
+ "
675
+ >
676
+ <div
677
+ id="phone-html"
678
+ style="
679
+ width: 390px;
680
+ height: 844px;
681
+ overflow: hidden;
682
+ font-family: Inter, system-ui, sans-serif;
683
+ color: #e2e8f0;
684
+ "
685
+ >
686
+ <div id="phone-scroll" class="ios-home" style="color: #fff; transform: translateY(0)">
687
+ <div id="phone-title" style="display: none"></div>
688
+ <span id="phone-count" style="display: none"></span>
689
+ <div id="phone-cards" style="display: none"></div>
690
+ <img
691
+ id="ios-notify-messages-preload"
692
+ class="ios-icon-preload"
693
+
694
+ alt=""
695
+ / style="background: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6b4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a8d8b9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EC%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-1">
696
+ <div class="ios-wallpaper"></div>
697
+ <div class="ios-status">
698
+ <div class="ios-status-left">
699
+ <span style="font-variant-numeric: tabular-nums">15:16</span>
700
+ <span class="ios-location">▲</span>
701
+ </div>
702
+ <div class="ios-status-right">
703
+ <div class="ios-signal"><span></span><span></span><span></span><span></span></div>
704
+ <div class="ios-wifi"><span></span><span></span><span></span></div>
705
+ <div class="ios-battery">92</div>
706
+ </div>
707
+ </div>
708
+ <div id="ios-app-grid" class="ios-app-grid">
709
+ <div class="ios-app">
710
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #5b3f86 0 40px, #c9b6e4 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235b3f86%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c9b6e4%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3ED%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-2">
711
+ <div class="ios-app-label">Weather</div>
712
+ </div>
713
+ <div class="ios-app">
714
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #8a2f4f 0 40px, #f0a6bf 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a2f4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a6bf%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EE%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-3">
715
+ <div class="ios-app-label">Stocks</div>
716
+ </div>
717
+ <div class="ios-app">
718
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #6b6224 0 40px, #e6dc8c 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236b6224%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6dc8c%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EF%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-4">
719
+ <div class="ios-app-label">Find My</div>
720
+ </div>
721
+ <div class="ios-app">
722
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233d5a80%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2398c1d9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EG%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-5">
723
+ <div class="ios-app-label">Home</div>
724
+ </div>
725
+ <div class="ios-app">
726
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #9c4f2e 0 40px, #f2b880 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239c4f2e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f2b880%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EH%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-6">
727
+ <div class="ios-app-label">Books</div>
728
+ </div>
729
+ <div class="ios-app">
730
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6b4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a8d8b9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EI%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-7">
731
+ <div class="ios-app-label">iTunes Store</div>
732
+ </div>
733
+ <div class="ios-app">
734
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #5b3f86 0 40px, #c9b6e4 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235b3f86%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c9b6e4%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EJ%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-8">
735
+ <div class="ios-app-label">Fitness</div>
736
+ </div>
737
+ <div class="ios-app">
738
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #8a2f4f 0 40px, #f0a6bf 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a2f4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a6bf%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EK%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-9">
739
+ <div class="ios-app-label">Watch</div>
740
+ </div>
741
+ <div class="ios-app">
742
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #6b6224 0 40px, #e6dc8c 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236b6224%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6dc8c%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EL%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-10">
743
+ <div class="ios-app-label">Contacts</div>
744
+ </div>
745
+ <div class="ios-app">
746
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233d5a80%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2398c1d9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EM%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-11">
747
+ <div class="ios-app-label">Files</div>
748
+ </div>
749
+ <div class="ios-app">
750
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #9c4f2e 0 40px, #f2b880 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239c4f2e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f2b880%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EN%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-12">
751
+ <div class="ios-app-label">Translate</div>
752
+ </div>
753
+ <div class="ios-app">
754
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6b4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a8d8b9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EO%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-13">
755
+ <div class="ios-app-label">Calendar</div>
756
+ </div>
757
+ <div class="ios-app">
758
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #5b3f86 0 40px, #c9b6e4 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235b3f86%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c9b6e4%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EP%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-14">
759
+ <div class="ios-app-label">Photos</div>
760
+ </div>
761
+ <div class="ios-app">
762
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #8a2f4f 0 40px, #f0a6bf 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a2f4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a6bf%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EQ%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-15">
763
+ <div class="ios-app-label">ChatGPT</div>
764
+ </div>
765
+ <div class="ios-app">
766
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #6b6224 0 40px, #e6dc8c 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236b6224%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6dc8c%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3ER%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-16">
767
+ <div class="ios-app-label">Slack</div>
768
+ </div>
769
+ <div class="ios-app">
770
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233d5a80%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2398c1d9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3ES%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-17">
771
+ <span class="ios-badge">1</span>
772
+ <div class="ios-app-label">Instagram</div>
773
+ </div>
774
+ <div class="ios-app">
775
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #9c4f2e 0 40px, #f2b880 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239c4f2e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f2b880%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3ET%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-18">
776
+ <span class="ios-badge">4</span>
777
+ <div class="ios-app-label">X</div>
778
+ </div>
779
+ <div class="ios-app">
780
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6b4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a8d8b9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EU%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-19">
781
+ <span class="ios-badge">797</span>
782
+ <div class="ios-app-label">Proton Mail</div>
783
+ </div>
784
+ <div class="ios-app">
785
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #5b3f86 0 40px, #c9b6e4 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235b3f86%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c9b6e4%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EV%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-20">
786
+ <span class="ios-badge">31.8K</span>
787
+ <div class="ios-app-label">Gmail</div>
788
+ </div>
789
+ <div class="ios-app">
790
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #8a2f4f 0 40px, #f0a6bf 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a2f4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a6bf%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EW%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-21">
791
+ <div class="ios-app-label">Revolut</div>
792
+ </div>
793
+ <div class="ios-app">
794
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #6b6224 0 40px, #e6dc8c 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236b6224%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6dc8c%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EX%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-22">
795
+ <span class="ios-badge">9+</span>
796
+ <div class="ios-app-label">Phone</div>
797
+ </div>
798
+ <div class="ios-app">
799
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #3d5a80 0 40px, #98c1d9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233d5a80%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2398c1d9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EY%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-23">
800
+ <div class="ios-app-label">Brave</div>
801
+ </div>
802
+ <div class="ios-app">
803
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #9c4f2e 0 40px, #f2b880 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239c4f2e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f2b880%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EZ%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-24">
804
+ <span class="ios-badge">282</span>
805
+ <div class="ios-app-label">WhatsApp</div>
806
+ </div>
807
+ <div class="ios-app">
808
+ <img class="ios-app-icon" alt="" / style="background: repeating-linear-gradient(45deg, #2f6b4f 0 40px, #a8d8b9 40px 80px);" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6b4f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23a8d8b9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EA%3C%2Ftext%3E%3C%2Fsvg%3E" data-slot="picture-25">
809
+ <div class="ios-app-label">Music</div>
810
+ </div>
811
+ </div>
812
+
813
+ <div class="ios-notification-layer">
814
+ <div id="ios-notification-a" class="ios-notification-card">
815
+ <div class="ios-notification-icon ios-notification-messages"></div>
816
+ <div class="ios-notification-copy">
817
+ <div class="ios-notification-title"><span>Messages</span><span>now</span></div>
818
+ <div class="ios-notification-body">Liquid Glass preview is ready for review.</div>
819
+ </div>
820
+ </div>
821
+ <div id="ios-notification-b" class="ios-notification-card">
822
+ <div class="ios-notification-icon ios-notification-hyperframes"></div>
823
+ <div class="ios-notification-copy">
824
+ <div class="ios-notification-title"><span>HyperFrames</span><span>1m</span></div>
825
+ <div class="ios-notification-body">One-worker render is ready.</div>
826
+ </div>
827
+ </div>
828
+ <div id="ios-notification-c" class="ios-notification-card">
829
+ <div class="ios-notification-icon ios-notification-gmail"></div>
830
+ <div class="ios-notification-copy">
831
+ <div class="ios-notification-title"><span>Gmail</span><span>2m</span></div>
832
+ <div class="ios-notification-body">Preview videos are live on CDN.</div>
833
+ </div>
834
+ </div>
835
+ </div>
836
+
837
+ <div class="ios-search-pill">Search</div>
838
+
839
+ <div id="ios-real-dock" class="ios-dock">
840
+ <div class="ios-dock-item">
841
+ <div class="ios-dock-icon ios-dock-phone"></div>
842
+ <span class="ios-badge">9+</span>
843
+ </div>
844
+ <div class="ios-dock-item">
845
+ <div class="ios-dock-icon ios-dock-brave"></div>
846
+ </div>
847
+ <div class="ios-dock-item">
848
+ <div class="ios-dock-icon ios-dock-whatsapp"></div>
849
+ <span class="ios-badge">282</span>
850
+ </div>
851
+ <div class="ios-dock-item">
852
+ <div class="ios-dock-icon ios-dock-music"></div>
853
+ </div>
854
+ </div>
855
+ </div>
856
+ </div>
857
+ </canvas>
858
+
859
+ <canvas
860
+ id="cap-laptop"
861
+ layoutsubtree
862
+ width="1440"
863
+ height="900"
864
+ style="
865
+ position: absolute;
866
+ top: 0;
867
+ left: 0;
868
+ width: 1440px;
869
+ height: 900px;
870
+ z-index: -1;
871
+ pointer-events: none;
872
+ "
873
+ >
874
+ <div
875
+ id="laptop-html"
876
+ style="
877
+ width: 1440px;
878
+ height: 900px;
879
+ overflow: hidden;
880
+ font-family: Inter, system-ui, sans-serif;
881
+ color: #e2e8f0;
882
+ "
883
+ >
884
+ <div
885
+ id="laptop-scroll"
886
+ style="background: linear-gradient(180deg, #0a0a12, #0f0f1a); transform: translateY(0)"
887
+ >
888
+ <div
889
+ style="
890
+ display: flex;
891
+ align-items: center;
892
+ justify-content: space-between;
893
+ padding: 18px 36px;
894
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
895
+ "
896
+ >
897
+ <span
898
+ style="
899
+ font-weight: 800;
900
+ font-size: 17px;
901
+ background: linear-gradient(135deg, #34d399, #3b82f6);
902
+ -webkit-background-clip: text;
903
+ -webkit-text-fill-color: transparent;
904
+ "
905
+ >HyperFrames</span
906
+ >
907
+ <div
908
+ style="display: flex; gap: 20px; font-size: 12px; color: rgba(255, 255, 255, 0.5)"
909
+ >
910
+ <span>Docs</span><span>Playground</span><span>Pricing</span>
911
+ </div>
912
+ <span
913
+ style="
914
+ font-size: 11px;
915
+ font-weight: 600;
916
+ padding: 6px 14px;
917
+ border-radius: 6px;
918
+ background: #10b981;
919
+ color: #fff;
920
+ "
921
+ >Log in</span
922
+ >
923
+ </div>
924
+ <div
925
+ id="laptop-title"
926
+ style="
927
+ font-size: 40px;
928
+ font-weight: 800;
929
+ letter-spacing: -1px;
930
+ padding: 28px 36px 10px;
931
+ opacity: 0;
932
+ "
933
+ >
934
+ Community Playground
935
+ </div>
936
+ <div style="font-size: 13px; color: rgba(255, 255, 255, 0.4); padding: 0 36px 18px">
937
+ Create videos with HTML — powered by HyperFrames
938
+ </div>
939
+ <div style="display: flex; gap: 8px; padding: 0 36px 20px">
940
+ <span
941
+ style="
942
+ font-size: 10px;
943
+ font-weight: 600;
944
+ padding: 5px 12px;
945
+ border-radius: 16px;
946
+ background: rgba(16, 185, 129, 0.15);
947
+ color: #10b981;
948
+ border: 1px solid rgba(16, 185, 129, 0.3);
949
+ "
950
+ >Examples</span
951
+ ><span
952
+ id="laptop-count"
953
+ style="
954
+ font-size: 10px;
955
+ font-weight: 600;
956
+ padding: 5px 12px;
957
+ border-radius: 16px;
958
+ border: 1px solid rgba(255, 255, 255, 0.1);
959
+ color: rgba(255, 255, 255, 0.5);
960
+ "
961
+ >Catalog 0</span
962
+ >
963
+ </div>
964
+ <div
965
+ id="laptop-cards"
966
+ style="
967
+ display: grid;
968
+ grid-template-columns: repeat(3, 1fr);
969
+ gap: 14px;
970
+ padding: 0 36px 36px;
971
+ "
972
+ ></div>
973
+ </div>
974
+ </div>
975
+ </canvas>
976
+
977
+ <canvas
978
+ id="theater"
979
+ width="1920"
980
+ height="1080"
981
+ style="position: absolute; top: 0; left: 0; width: 1920px; height: 1080px"
982
+ ></canvas>
983
+ <div
984
+ id="driver"
985
+ class="clip"
986
+ data-start="0"
987
+ data-duration="15"
988
+ data-track-index="0"
989
+ style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
990
+ ></div>
991
+ </div>
992
+ <script>
993
+ var W = 1920,
994
+ H = 1080,
995
+ PI = Math.PI;
996
+
997
+ // ── Renderer ───────────────────────────────────────────────────────
998
+ var renderer = new THREE.WebGLRenderer({
999
+ canvas: document.getElementById("theater"),
1000
+ antialias: true,
1001
+ preserveDrawingBuffer: true,
1002
+ });
1003
+ renderer.setSize(W, H, false);
1004
+ renderer.setPixelRatio(1);
1005
+ renderer.toneMapping = THREE.ACESFilmicToneMapping;
1006
+ renderer.toneMappingExposure = 1.15;
1007
+ renderer.outputEncoding = THREE.sRGBEncoding;
1008
+ renderer.setClearColor(0x050508, 1);
1009
+
1010
+ var scene = new THREE.Scene();
1011
+ scene.background = new THREE.Color(0x050508);
1012
+ var camera = new THREE.PerspectiveCamera(34, W / H, 0.1, 100);
1013
+
1014
+ // ── Environment Map ────────────────────────────────────────────────
1015
+ var eC = document.createElement("canvas");
1016
+ eC.width = 1024;
1017
+ eC.height = 512;
1018
+ var ec = eC.getContext("2d");
1019
+ var eg = ec.createLinearGradient(0, 0, 1024, 512);
1020
+ eg.addColorStop(0, "#020307");
1021
+ eg.addColorStop(0.15, "#1a1a2e");
1022
+ eg.addColorStop(0.3, "#ffffff");
1023
+ eg.addColorStop(0.45, "#0a0a1e");
1024
+ eg.addColorStop(0.6, "#ffffff");
1025
+ eg.addColorStop(0.75, "#1e1e2e");
1026
+ eg.addColorStop(1, "#020307");
1027
+ ec.fillStyle = eg;
1028
+ ec.fillRect(0, 0, 1024, 512);
1029
+ ec.globalCompositeOperation = "screen";
1030
+ for (var ei = 0; ei < 7; ei++) {
1031
+ ec.fillStyle = "rgba(255,255,255," + (ei % 2 === 0 ? 0.15 : 0.08) + ")";
1032
+ ec.fillRect((ei % 3) * 100, 60 + ei * 56, 700, 3 + (ei % 2) * 2);
1033
+ }
1034
+ var eT = new THREE.CanvasTexture(eC);
1035
+ eT.mapping = THREE.EquirectangularReflectionMapping;
1036
+ var pm = new THREE.PMREMGenerator(renderer);
1037
+ scene.environment = pm.fromEquirectangular(eT).texture;
1038
+ eT.dispose();
1039
+ pm.dispose();
1040
+
1041
+ // ── Three.js shader backdrop ────────────────────────────────────────
1042
+ var bgUniforms = { uTime: { value: 0 }, uAspect: { value: W / H } };
1043
+ var bgPlane = new THREE.Mesh(
1044
+ new THREE.PlaneGeometry(28, 16),
1045
+ new THREE.ShaderMaterial({
1046
+ uniforms: bgUniforms,
1047
+ vertexShader:
1048
+ "varying vec2 v;void main(){v=uv;gl_Position=projectionMatrix*modelViewMatrix*vec4(position,1.0);}",
1049
+ fragmentShader:
1050
+ "uniform float uTime;uniform float uAspect;varying vec2 v;float wave(vec2 p,float s,float t){return sin(p.x*s+p.y*s*.57+uTime*t);}void main(){vec2 p=v*2.0-1.0;p.x*=uAspect;float w=wave(p,3.0,.22)+.55*wave(p.yx+vec2(.7,-.2),5.1,.16)+.32*wave(p+vec2(-.4,.5),8.0,-.12);float a=smoothstep(-.75,1.05,w);vec3 navy=vec3(.015,.013,.055);vec3 cyan=vec3(.02,.42,.72);vec3 violet=vec3(.30,.08,.55);vec3 amber=vec3(.95,.42,.04);float ribbon=smoothstep(.22,.95,sin(p.x*2.2-p.y*3.1+uTime*.18));vec3 c=mix(navy,cyan,a);c=mix(c,violet,smoothstep(.16,1.1,wave(p+vec2(.8,.1),2.4,.1)));c+=amber*ribbon*.33;float glow=exp(-dot(p+vec2(.62,-.08),p+vec2(.62,-.08))*1.7);c+=vec3(.10,.45,.55)*glow;float vign=smoothstep(1.85,.25,length(p));gl_FragColor=vec4(c*vign,1.0);}",
1051
+ depthTest: false,
1052
+ depthWrite: false,
1053
+ }),
1054
+ );
1055
+ bgPlane.position.z = -7.5;
1056
+ scene.add(bgPlane);
1057
+
1058
+ // Vibrant aurora-colored floor
1059
+ var floor = new THREE.Mesh(
1060
+ new THREE.PlaneGeometry(30, 30),
1061
+ new THREE.MeshStandardMaterial({ color: 0x081427, metalness: 0.86, roughness: 0.22 }),
1062
+ );
1063
+ floor.rotation.x = -PI / 2;
1064
+ floor.position.y = -2.5;
1065
+ scene.add(floor);
1066
+
1067
+ scene.add(new THREE.AmbientLight(0x222233, 0.5));
1068
+ var kL = new THREE.DirectionalLight(0xffffff, 2.2);
1069
+ kL.position.set(-3, 4, 5);
1070
+ scene.add(kL);
1071
+ var rL = new THREE.PointLight(0x6366f1, 3, 15);
1072
+ rL.position.set(4, 2, 3);
1073
+ scene.add(rL);
1074
+ var wL = new THREE.PointLight(0xffc8a8, 1.5, 12);
1075
+ wL.position.set(-3, -1, 4);
1076
+ scene.add(wL);
1077
+
1078
+ // ── Live HTML → WebGL Texture ─
1079
+ var capPhoneCvs = document.getElementById("cap-phone");
1080
+ var capPhoneCtx = capPhoneCvs.getContext("2d");
1081
+ var phoneHtmlEl = document.getElementById("phone-html");
1082
+
1083
+ var capLapCvs = document.getElementById("cap-laptop");
1084
+ var capLapCtx = capLapCvs.getContext("2d");
1085
+ var lapHtmlEl = document.getElementById("laptop-html");
1086
+
1087
+ var apiOk = (function () {
1088
+ var tc = document.createElement("canvas");
1089
+ if (!("layoutSubtree" in tc)) return false;
1090
+ tc.setAttribute("layoutsubtree", "");
1091
+ var ctx = tc.getContext("2d");
1092
+ return ctx && typeof ctx.drawElementImage === "function";
1093
+ })();
1094
+ var paintReady = false;
1095
+
1096
+ function waitForImages() {
1097
+ var images = Array.prototype.slice.call(document.querySelectorAll("img"));
1098
+ return Promise.all(
1099
+ images.map(function (image) {
1100
+ if (image.complete) return Promise.resolve();
1101
+ return new Promise(function (resolveImage) {
1102
+ image.onload = resolveImage;
1103
+ image.onerror = resolveImage;
1104
+ });
1105
+ }),
1106
+ );
1107
+ }
1108
+
1109
+ function waitForPaint(canvas) {
1110
+ return new Promise(function (resolvePaint) {
1111
+ if (!canvas || typeof canvas.requestPaint !== "function") {
1112
+ resolvePaint();
1113
+ return;
1114
+ }
1115
+ var resolved = false;
1116
+ function done() {
1117
+ if (resolved) return;
1118
+ resolved = true;
1119
+ canvas.onpaint = null;
1120
+ resolvePaint();
1121
+ }
1122
+ canvas.onpaint = done;
1123
+ canvas.requestPaint();
1124
+ window.__popostLater(done, 100);
1125
+ });
1126
+ }
1127
+
1128
+ // Generate card HTML for both screens
1129
+ var cardData = [
1130
+ {
1131
+ bg: "linear-gradient(135deg,#1e3a5f,#2563eb)",
1132
+ text: "100M+ AI team",
1133
+ title: "Notion Showcase",
1134
+ meta: "15s · 1920×1080",
1135
+ },
1136
+ {
1137
+ bg: "linear-gradient(135deg,#4a1942,#db2777)",
1138
+ text: "Design System v4",
1139
+ title: "Dribbble Showcase",
1140
+ meta: "12s · 1920×1080",
1141
+ },
1142
+ {
1143
+ bg: "linear-gradient(135deg,#451a03,#f59e0b)",
1144
+ text: "$1.9T Market Cap",
1145
+ title: "Stripe Showcase",
1146
+ meta: "10s · 1920×1080",
1147
+ },
1148
+ {
1149
+ bg: "linear-gradient(135deg,#064e3b,#10b981)",
1150
+ text: "Ship faster with AI",
1151
+ title: "Vercel Promo",
1152
+ meta: "20s · 1080×1920",
1153
+ },
1154
+ {
1155
+ bg: "linear-gradient(135deg,#1e3a5f,#3b82f6)",
1156
+ text: "Privacy App",
1157
+ title: "iPhone App Store",
1158
+ meta: "8s · 1080×1920",
1159
+ },
1160
+ {
1161
+ bg: "linear-gradient(135deg,#4a1942,#a855f7)",
1162
+ text: "Audio Visualizer",
1163
+ title: "Spotify Remix",
1164
+ meta: "15s · 1920×1080",
1165
+ },
1166
+ {
1167
+ bg: "linear-gradient(135deg,#064e3b,#059669)",
1168
+ text: "Code Animation",
1169
+ title: "Terminal Demo",
1170
+ meta: "12s · 1920×1080",
1171
+ },
1172
+ {
1173
+ bg: "linear-gradient(135deg,#451a03,#d97706)",
1174
+ text: "Launch Video",
1175
+ title: "Product Hunt",
1176
+ meta: "30s · 1920×1080",
1177
+ },
1178
+ {
1179
+ bg: "linear-gradient(135deg,#1e3a5f,#6366f1)",
1180
+ text: "3D Devices",
1181
+ title: "Device Mockups",
1182
+ meta: "15s · 1920×1080",
1183
+ },
1184
+ ];
1185
+ function makeCardHTML(cd, isMobile) {
1186
+ var fs = isMobile ? 12 : 16;
1187
+ return (
1188
+ '<div style="background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.06);border-radius:' +
1189
+ (isMobile ? 10 : 12) +
1190
+ 'px;overflow:hidden;opacity:0" class="anim-card">' +
1191
+ '<div style="width:100%;aspect-ratio:16/9;background:' +
1192
+ cd.bg +
1193
+ ';display:flex;align-items:center;justify-content:center"><span style="font-size:' +
1194
+ fs +
1195
+ 'px;font-weight:700;color:rgba(255,255,255,0.7)">' +
1196
+ cd.text +
1197
+ "</span></div>" +
1198
+ '<div style="padding:' +
1199
+ (isMobile ? "8px 10px" : "10px 14px") +
1200
+ '"><div style="font-size:' +
1201
+ (isMobile ? 11 : 13) +
1202
+ 'px;font-weight:600;margin-bottom:2px">' +
1203
+ cd.title +
1204
+ '</div><div style="font-size:' +
1205
+ (isMobile ? 9 : 10) +
1206
+ 'px;color:rgba(255,255,255,0.3)">' +
1207
+ cd.meta +
1208
+ "</div></div></div>"
1209
+ );
1210
+ }
1211
+ var phoneCardsEl = document.getElementById("phone-cards");
1212
+ var laptopCardsEl = document.getElementById("laptop-cards");
1213
+ for (var ci = 0; ci < cardData.length; ci++) {
1214
+ if (ci < 6) phoneCardsEl.innerHTML += makeCardHTML(cardData[ci], true);
1215
+ laptopCardsEl.innerHTML += makeCardHTML(cardData[ci], false);
1216
+ }
1217
+
1218
+ var phoneTex = new THREE.CanvasTexture(capPhoneCvs);
1219
+ phoneTex.minFilter = THREE.LinearFilter;
1220
+ phoneTex.magFilter = THREE.LinearFilter;
1221
+ phoneTex.generateMipmaps = false;
1222
+ var lapTex = new THREE.CanvasTexture(capLapCvs);
1223
+ lapTex.minFilter = THREE.LinearFilter;
1224
+ lapTex.magFilter = THREE.LinearFilter;
1225
+ lapTex.generateMipmaps = false;
1226
+ var glassBuffer = document.createElement("canvas");
1227
+ glassBuffer.width = 390;
1228
+ glassBuffer.height = 844;
1229
+ var glassBufferCtx = glassBuffer.getContext("2d");
1230
+
1231
+ function pathRoundRect(ctx, x, y, w, h, r) {
1232
+ var rr = Math.min(r, w / 2, h / 2);
1233
+ ctx.beginPath();
1234
+ ctx.moveTo(x + rr, y);
1235
+ ctx.lineTo(x + w - rr, y);
1236
+ ctx.quadraticCurveTo(x + w, y, x + w, y + rr);
1237
+ ctx.lineTo(x + w, y + h - rr);
1238
+ ctx.quadraticCurveTo(x + w, y + h, x + w - rr, y + h);
1239
+ ctx.lineTo(x + rr, y + h);
1240
+ ctx.quadraticCurveTo(x, y + h, x, y + h - rr);
1241
+ ctx.lineTo(x, y + rr);
1242
+ ctx.quadraticCurveTo(x, y, x + rr, y);
1243
+ ctx.closePath();
1244
+ }
1245
+
1246
+ function drawNotificationCard(ctx, progress, top, iconSelector, title, time, body) {
1247
+ var p = Math.max(0, Math.min(1, progress));
1248
+ if (p <= 0.001) return;
1249
+ var q = notificationEase(p);
1250
+ var lift = Math.sin(q * PI);
1251
+ var y = 106 + top + (1 - q) * -58 + lift * 6;
1252
+ var x = 13;
1253
+ var w = 364;
1254
+ var h = 66 + lift * 2;
1255
+ ctx.save();
1256
+ ctx.globalAlpha = q * 0.98;
1257
+ ctx.shadowColor = "rgba(0,0,0,0.54)";
1258
+ ctx.shadowBlur = 22;
1259
+ ctx.shadowOffsetY = 14;
1260
+ pathRoundRect(ctx, x, y, w, h, 23);
1261
+ ctx.clip();
1262
+ ctx.filter = "blur(12px) saturate(1.55) brightness(1.24)";
1263
+ ctx.drawImage(glassBuffer, -4, -4, 398, 852);
1264
+ ctx.filter = "none";
1265
+ pathRoundRect(ctx, x, y, w, h, 23);
1266
+ var fill = ctx.createLinearGradient(x, y, x + w, y + h);
1267
+ fill.addColorStop(0, "rgba(255,255,255,0.54)");
1268
+ fill.addColorStop(0.45, "rgba(188,202,219,0.46)");
1269
+ fill.addColorStop(1, "rgba(94,108,130,0.36)");
1270
+ ctx.fillStyle = fill;
1271
+ ctx.fill();
1272
+ ctx.globalCompositeOperation = "screen";
1273
+ var caustic = ctx.createLinearGradient(x + 40, y, x + w - 20, y + h);
1274
+ caustic.addColorStop(0, "rgba(255,255,255,0.18)");
1275
+ caustic.addColorStop(0.36, "rgba(117,230,255,0.15)");
1276
+ caustic.addColorStop(0.64, "rgba(255,143,220,0.12)");
1277
+ caustic.addColorStop(1, "rgba(255,255,255,0.08)");
1278
+ ctx.fillStyle = caustic;
1279
+ ctx.fillRect(x, y, w, h);
1280
+ ctx.globalCompositeOperation = "source-over";
1281
+ ctx.shadowColor = "transparent";
1282
+ pathRoundRect(ctx, x + 0.5, y + 0.5, w - 1, h - 1, 22.5);
1283
+ ctx.strokeStyle = "rgba(255,255,255,0.72)";
1284
+ ctx.lineWidth = 1;
1285
+ ctx.stroke();
1286
+ ctx.beginPath();
1287
+ ctx.moveTo(x + 24, y + 11);
1288
+ ctx.bezierCurveTo(x + 105, y - 2, x + 220, y + 7, x + w - 42, y + 12);
1289
+ ctx.strokeStyle = "rgba(255,255,255,0.38)";
1290
+ ctx.lineWidth = 2;
1291
+ ctx.stroke();
1292
+ pathRoundRect(ctx, x + 10, y + 14, 38, 38, 11);
1293
+ ctx.fillStyle = "rgba(255,255,255,0.58)";
1294
+ ctx.fill();
1295
+ var icon = document.querySelector(iconSelector);
1296
+ if (icon && icon.complete) {
1297
+ ctx.save();
1298
+ pathRoundRect(ctx, x + 10, y + 14, 38, 38, 11);
1299
+ ctx.clip();
1300
+ ctx.drawImage(icon, x + 10, y + 14, 38, 38);
1301
+ ctx.restore();
1302
+ }
1303
+ ctx.fillStyle = "#fff";
1304
+ ctx.shadowColor = "rgba(0,0,0,0.32)";
1305
+ ctx.shadowBlur = 3;
1306
+ ctx.shadowOffsetY = 1;
1307
+ ctx.font = "800 13px Inter, system-ui, sans-serif";
1308
+ ctx.textBaseline = "top";
1309
+ ctx.fillText(title, x + 60, y + 13);
1310
+ ctx.globalAlpha = q * 0.92;
1311
+ ctx.font = "800 12px Inter, system-ui, sans-serif";
1312
+ ctx.fillText(time, x + w - ctx.measureText(time).width - 14, y + 13);
1313
+ ctx.globalAlpha = q * 0.95;
1314
+ ctx.font = "650 12px Inter, system-ui, sans-serif";
1315
+ ctx.fillText(body, x + 60, y + 34);
1316
+ ctx.restore();
1317
+ }
1318
+
1319
+ function drawCanvasNotifications(ctx) {
1320
+ glassBufferCtx.clearRect(0, 0, 390, 844);
1321
+ glassBufferCtx.drawImage(ctx.canvas, 0, 0);
1322
+ drawNotificationCard(
1323
+ ctx,
1324
+ S.iosN1,
1325
+ 0,
1326
+ "#ios-notify-messages-preload",
1327
+ "Messages",
1328
+ "now",
1329
+ "Liquid Glass preview is ready for review.",
1330
+ );
1331
+ drawNotificationCard(
1332
+ ctx,
1333
+ S.iosN2,
1334
+ 68,
1335
+ 'img[src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%233d5a80%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2398c1d9%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EA%3C%2Ftext%3E%3C%2Fsvg%3E"]',
1336
+ "HyperFrames",
1337
+ "1m",
1338
+ "One-worker render is ready.",
1339
+ );
1340
+ drawNotificationCard(
1341
+ ctx,
1342
+ S.iosN3,
1343
+ 136,
1344
+ 'img[src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221280%22%20height%3D%22720%22%20viewBox%3D%220%200%201280%20720%22%20preserveAspectRatio%3D%22xMidYMid%20slice%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239c4f2e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f2b880%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22s%22%20width%3D%2296%22%20height%3D%2296%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%2845%29%22%3E%3Crect%20width%3D%2248%22%20height%3D%2296%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.14%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23g%29%22%2F%3E%3Crect%20width%3D%221280%22%20height%3D%22720%22%20fill%3D%22url%28%23s%29%22%2F%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22360%22%20r%3D%22210%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%2228%22%2F%3E%3Ctext%20x%3D%22640%22%20y%3D%22440%22%20font-family%3D%22Arial%2C%20Helvetica%2C%20sans-serif%22%20font-size%3D%22240%22%20font-weight%3D%22700%22%20text-anchor%3D%22middle%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.9%22%3EB%3C%2Ftext%3E%3C%2Fsvg%3E"]',
1345
+ "Gmail",
1346
+ "2m",
1347
+ "Preview videos are live on CDN.",
1348
+ );
1349
+ }
1350
+
1351
+ function captureScreens() {
1352
+ if (!apiOk || !paintReady) return;
1353
+ try {
1354
+ capPhoneCtx.clearRect(0, 0, 390, 844);
1355
+ capPhoneCtx.drawElementImage(phoneHtmlEl, 0, 0, 390, 844);
1356
+ drawCanvasNotifications(capPhoneCtx);
1357
+ capLapCtx.clearRect(0, 0, 1440, 900);
1358
+ capLapCtx.drawElementImage(lapHtmlEl, 0, 0, 1440, 900);
1359
+ phoneTex.needsUpdate = true;
1360
+ lapTex.needsUpdate = true;
1361
+ } catch (e) {}
1362
+ }
1363
+
1364
+ // ── Turntable Group (both devices rotate together for 360° orbit) ──
1365
+ var turntable = new THREE.Group();
1366
+ scene.add(turntable);
1367
+
1368
+ // ── Model Groups ───────────────────────────────────────────────────
1369
+ var phoneGrp = new THREE.Group();
1370
+ turntable.add(phoneGrp);
1371
+ var lapGrp = new THREE.Group();
1372
+ turntable.add(lapGrp);
1373
+ var ready = 0;
1374
+
1375
+ var draco = new THREE.DRACOLoader();
1376
+ draco.setDecoderPath("https://www.gstatic.com/draco/versioned/decoders/1.5.6/");
1377
+ var loader = new THREE.GLTFLoader();
1378
+ loader.setDRACOLoader(draco);
1379
+
1380
+ // iPhone
1381
+ // The replacement device models carry UVs authored for a tiling material
1382
+ // (the laptop panel runs u -6.3..6.3), so mapping one screen image onto
1383
+ // them clamps at the edges and smears the last row of pixels across the
1384
+ // whole panel. Both screens are flat planes, so derive planar UVs from
1385
+ // the mesh's own bounds instead of trusting what shipped.
1386
+ function planarScreenUv(mesh) {
1387
+ var g = mesh.geometry;
1388
+ g.computeBoundingBox();
1389
+ var bb = g.boundingBox;
1390
+ var pos = g.attributes.position;
1391
+ var w = bb.max.x - bb.min.x || 1;
1392
+ var h = bb.max.y - bb.min.y || 1;
1393
+ var uv = new Float32Array(pos.count * 2);
1394
+ for (var i = 0; i < pos.count; i++) {
1395
+ uv[i * 2] = (pos.getX(i) - bb.min.x) / w;
1396
+ uv[i * 2 + 1] = (pos.getY(i) - bb.min.y) / h;
1397
+ }
1398
+ g.setAttribute("uv", new THREE.BufferAttribute(uv, 2));
1399
+ }
1400
+
1401
+ // These compositions were authored around a model whose screen faced -Z
1402
+ // (the old asset's display plane sat at its minimum Z) and every camera
1403
+ // move and spin in the timeline assumes it. The replacement faces +Z, so
1404
+ // align the model rather than re-time the animation. Reads the model's
1405
+ // own parts, so a re-export facing the other way still lands right.
1406
+ function alignScreenToMinusZ(root, frontName, backName) {
1407
+ var front = root.getObjectByName(frontName);
1408
+ var back = root.getObjectByName(backName);
1409
+ if (!front || !back) return;
1410
+ // matrixWorld is only refreshed during a render, and this runs at load,
1411
+ // so without this the two parts both read as the origin and the test
1412
+ // silently never fires.
1413
+ root.updateWorldMatrix(true, true);
1414
+ var fp = new THREE.Vector3();
1415
+ var bp = new THREE.Vector3();
1416
+ front.getWorldPosition(fp);
1417
+ back.getWorldPosition(bp);
1418
+ if (fp.z > bp.z) root.rotation.y += Math.PI;
1419
+ }
1420
+
1421
+ loader.load("stand-in phone", function (gltf) {
1422
+ var m = gltf.scene;
1423
+ var box = new THREE.Box3().setFromObject(m);
1424
+ var sz = box.getSize(new THREE.Vector3());
1425
+ var s = 3.2 / sz.y;
1426
+ m.scale.setScalar(s);
1427
+ box.setFromObject(m);
1428
+ m.position.sub(box.getCenter(new THREE.Vector3()));
1429
+ m.traverse(function (child) {
1430
+ if (!child.isMesh) return;
1431
+ // `front-glass` is the display face; Blender's exporter suffixes the
1432
+ // mesh name and leaves the node name bare, so match the prefix.
1433
+ if (child.name.indexOf("front-glass") === 0) {
1434
+ planarScreenUv(child);
1435
+ child.material = new THREE.MeshBasicMaterial({ map: phoneTex });
1436
+ }
1437
+ });
1438
+ alignScreenToMinusZ(m, "front-glass", "rear-window");
1439
+ phoneGrp.add(m);
1440
+ ready++;
1441
+ if (ready === 1) onReady();
1442
+ });
1443
+
1444
+ function onReady() {
1445
+ waitForImages()
1446
+ .then(function () {
1447
+ return waitForPaint(capPhoneCvs);
1448
+ })
1449
+ .then(function () {
1450
+ paintReady = true;
1451
+ captureScreens();
1452
+ render();
1453
+ });
1454
+ }
1455
+
1456
+ // ── Cubic Bezier Implementation ────────────────────────────────────
1457
+ function cbz(p1x, p1y, p2x, p2y) {
1458
+ var ax = 3 * p1x - 3 * p2x + 1,
1459
+ bx = 3 * p2x - 6 * p1x,
1460
+ cx = 3 * p1x;
1461
+ var ay = 3 * p1y - 3 * p2y + 1,
1462
+ by = 3 * p2y - 6 * p1y,
1463
+ cy = 3 * p1y;
1464
+ return function (t) {
1465
+ var s = t;
1466
+ for (var i = 0; i < 12; i++) {
1467
+ var x = ((ax * s + bx) * s + cx) * s - t;
1468
+ var dx = (3 * ax * s + 2 * bx) * s + cx;
1469
+ if (Math.abs(dx) < 1e-10) break;
1470
+ s -= x / dx;
1471
+ }
1472
+ s = Math.max(0, Math.min(1, s));
1473
+ return ((ay * s + by) * s + cy) * s;
1474
+ };
1475
+ }
1476
+
1477
+ var enterEase = cbz(0.16, 1.0, 0.3, 1.0);
1478
+ var notificationEase = cbz(0.22, 0.0, 0.16, 1.0);
1479
+ var spinEase = cbz(0.76, 0.0, 0.18, 1.0);
1480
+ var driftEase = cbz(0.45, 0.0, 0.15, 1.0);
1481
+ var snapEase = cbz(0.22, 1.15, 0.36, 1.0);
1482
+ var breatheEase = cbz(0.37, 0.0, 0.63, 1.0);
1483
+
1484
+ // ── Animation State ────────────────────────────────────────────────
1485
+ var S = {
1486
+ phX: 0,
1487
+ phY: 0.1,
1488
+ phZ: 0.5,
1489
+ phRX: 0,
1490
+ phRY: PI,
1491
+ phRZ: 0,
1492
+ lpX: 10,
1493
+ lpY: -0.2,
1494
+ lpZ: -0.6,
1495
+ lpRX: 0,
1496
+ lpRY: 0,
1497
+ lpRZ: 0,
1498
+ cX: 0,
1499
+ cY: 0.18,
1500
+ cZ: 6.15,
1501
+ clX: 0,
1502
+ clY: 0.1,
1503
+ clZ: 0,
1504
+ drift: 0,
1505
+ turn: 0,
1506
+ cardReveal: 0,
1507
+ titleFade: 0,
1508
+ counter: 0,
1509
+ iosN1: 0,
1510
+ iosN2: 0,
1511
+ iosN3: 0,
1512
+ p: 0,
1513
+ };
1514
+
1515
+ function render() {
1516
+ var d = S.drift;
1517
+
1518
+ // ── Animate live HTML content (captured to texture every frame) ──
1519
+ // Title fade-in
1520
+ document.getElementById("phone-title").style.opacity = S.titleFade;
1521
+ document.getElementById("laptop-title").style.opacity = S.titleFade;
1522
+ // Counter
1523
+ var cnt = Math.round(S.counter);
1524
+ document.getElementById("phone-count").textContent = "Catalog " + cnt;
1525
+ document.getElementById("laptop-count").textContent = "Catalog " + cnt;
1526
+ // Staggered card reveal
1527
+ var allCards = document.querySelectorAll(".anim-card");
1528
+ for (var ci2 = 0; ci2 < allCards.length; ci2++) {
1529
+ var cardProgress = Math.max(0, Math.min(1, (S.cardReveal * allCards.length - ci2) * 1.5));
1530
+ allCards[ci2].style.opacity = cardProgress;
1531
+ allCards[ci2].style.transform = "translateY(" + (1 - cardProgress) * 15 + "px)";
1532
+ }
1533
+ function dropNotification(id, progress) {
1534
+ var el = document.getElementById(id);
1535
+ if (!el) return;
1536
+ var p = Math.max(0, Math.min(1, progress));
1537
+ var q = notificationEase(p);
1538
+ var overshoot = Math.sin(q * PI) * 5;
1539
+ el.style.opacity = q;
1540
+ el.style.transform =
1541
+ "translateY(" + ((1 - q) * -125 + overshoot) + "px) scale(" + (0.98 + q * 0.02) + ")";
1542
+ }
1543
+ dropNotification("ios-notification-a", S.iosN1);
1544
+ dropNotification("ios-notification-b", S.iosN2);
1545
+ dropNotification("ios-notification-c", S.iosN3);
1546
+ // Re-capture HTML to texture
1547
+ captureScreens();
1548
+
1549
+ phoneGrp.position.set(
1550
+ S.phX + Math.sin(d * 0.5) * 0.015,
1551
+ S.phY + Math.sin(d * 0.7) * 0.008,
1552
+ S.phZ + Math.cos(d * 0.4) * 0.008,
1553
+ );
1554
+ phoneGrp.rotation.set(S.phRX, S.phRY, S.phRZ);
1555
+ lapGrp.position.set(
1556
+ S.lpX - Math.sin(d * 0.4) * 0.012,
1557
+ S.lpY + Math.sin(d * 0.6) * 0.006,
1558
+ S.lpZ + Math.cos(d * 0.35) * 0.008,
1559
+ );
1560
+ lapGrp.rotation.set(S.lpRX, S.lpRY, S.lpRZ);
1561
+ turntable.rotation.y = S.turn;
1562
+ bgUniforms.uTime.value = d;
1563
+ camera.position.set(S.cX, S.cY, S.cZ);
1564
+ camera.lookAt(S.clX, S.clY, S.clZ);
1565
+ renderer.render(scene, camera);
1566
+ }
1567
+
1568
+ // ── GSAP Timeline — Product Review Edit ────────────────────────────
1569
+ var tl = gsap.timeline({ paused: true });
1570
+ window.__timelines = window.__timelines || {};
1571
+ window.__timelines["ios26-liquid-glass"] = tl;
1572
+
1573
+ tl.to(S, { p: 1, drift: 15, duration: 15, ease: "none" }, 0);
1574
+
1575
+ // ── iOS 26 Showcase: full-device hero with a subtle drift-in ──
1576
+ tl.to(S, { cZ: 6.45, duration: 12, ease: driftEase }, 0.5);
1577
+ tl.to(S, { cY: 0.16, duration: 12, ease: driftEase }, 0.5);
1578
+
1579
+ // Very gentle tilt — shows the glass icon refraction from slightly different angles
1580
+ tl.to(S, { phRY: PI + 0.04, phRX: 0.01, duration: 4, ease: breatheEase }, 0.5);
1581
+ tl.to(S, { phRY: PI - 0.03, phRX: -0.008, duration: 4, ease: breatheEase }, 4.5);
1582
+ tl.to(S, { phRY: PI + 0.02, phRX: 0.005, duration: 4, ease: breatheEase }, 8.5);
1583
+
1584
+ // No scroll — keep the home screen static
1585
+ // No 360° turntable — just the gentle zoom out
1586
+
1587
+ // Move MacBook off screen so it doesn't appear
1588
+ tl.set(S, { lpX: 10 }, 0);
1589
+ tl.to(S, { iosN1: 1, duration: 0.72, ease: "none" }, 0.85);
1590
+ tl.to(S, { iosN2: 1, duration: 0.74, ease: "none" }, 1.7);
1591
+ tl.to(S, { iosN3: 1, duration: 0.76, ease: "none" }, 2.55);
1592
+ tl.to({}, { duration: 15, ease: "none", onUpdate: render }, 0);
1593
+ </script>
1594
+ </div>
1595
+ <script>window.__popostFit();</script>
1596
+ </body>
1597
+ </html>