popost 4.6.1 → 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.
- package/LICENSE +59 -3
- package/README.md +20 -7
- package/SKILL.md +48 -131
- package/THIRD_PARTY_NOTICES +524 -0
- package/agents/openai.yaml +2 -2
- package/assets/video/examples/audio-bars.html +125 -0
- package/assets/video/examples/bouncing-ball.html +182 -0
- package/assets/video/examples/card-flip.html +92 -0
- package/assets/video/examples/catalogue.json +16221 -0
- package/assets/video/examples/counter-stat.html +155 -0
- package/assets/video/examples/folding-doors.html +94 -0
- package/assets/video/examples/glitch-title.html +120 -0
- package/assets/video/examples/goo-blobs.html +127 -0
- package/assets/video/examples/grid-reveal.html +151 -0
- package/assets/video/examples/hf/agent-cursor.html +781 -0
- package/assets/video/examples/hf/ai-answer-rank.html +767 -0
- package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
- package/assets/video/examples/hf/animated-bar-chart.html +312 -0
- package/assets/video/examples/hf/app-showcase.html +1115 -0
- package/assets/video/examples/hf/apple-money-count.html +453 -0
- package/assets/video/examples/hf/arc-motion-path.html +303 -0
- package/assets/video/examples/hf/ascii-render-pass.html +728 -0
- package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
- package/assets/video/examples/hf/aurora-drift.html +439 -0
- package/assets/video/examples/hf/aurora.html +258 -0
- package/assets/video/examples/hf/avatar-cloud.html +667 -0
- package/assets/video/examples/hf/avatar-group-hover.html +342 -0
- package/assets/video/examples/hf/badge-pop.html +400 -0
- package/assets/video/examples/hf/bar-chart-race.html +795 -0
- package/assets/video/examples/hf/beat-accent.html +507 -0
- package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
- package/assets/video/examples/hf/beat-pulse-background.html +422 -0
- package/assets/video/examples/hf/beat-timeline.html +488 -0
- package/assets/video/examples/hf/before-after-wipe.html +681 -0
- package/assets/video/examples/hf/blob.html +258 -0
- package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
- package/assets/video/examples/hf/blur-in.html +624 -0
- package/assets/video/examples/hf/blur-out-up.html +350 -0
- package/assets/video/examples/hf/bottom-up-letters.html +335 -0
- package/assets/video/examples/hf/browser-device-stage.html +847 -0
- package/assets/video/examples/hf/camcorder-hud.html +371 -0
- package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
- package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
- package/assets/video/examples/hf/camera-scan-gate.html +708 -0
- package/assets/video/examples/hf/camera-shake.html +989 -0
- package/assets/video/examples/hf/canopy-part-title.html +2549 -0
- package/assets/video/examples/hf/caption-blend-difference.html +247 -0
- package/assets/video/examples/hf/caption-camera-follow.html +537 -0
- package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
- package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
- package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
- package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
- package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
- package/assets/video/examples/hf/caption-highlight.html +433 -0
- package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
- package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
- package/assets/video/examples/hf/caption-neon-accent.html +684 -0
- package/assets/video/examples/hf/caption-neon-glow.html +373 -0
- package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
- package/assets/video/examples/hf/caption-particle-burst.html +454 -0
- package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
- package/assets/video/examples/hf/caption-texture.html +368 -0
- package/assets/video/examples/hf/caption-weight-shift.html +566 -0
- package/assets/video/examples/hf/card-resize.html +435 -0
- package/assets/video/examples/hf/caret-swap.html +601 -0
- package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
- package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
- package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
- package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
- package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
- package/assets/video/examples/hf/carousel-path-1.html +1219 -0
- package/assets/video/examples/hf/carousel-path-2.html +1176 -0
- package/assets/video/examples/hf/carousel-path-3.html +1190 -0
- package/assets/video/examples/hf/carousel-path-4.html +1219 -0
- package/assets/video/examples/hf/carousel-path-5.html +1218 -0
- package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
- package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
- package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
- package/assets/video/examples/hf/char-slam-explode.html +546 -0
- package/assets/video/examples/hf/chart-story.html +973 -0
- package/assets/video/examples/hf/chat-message.html +635 -0
- package/assets/video/examples/hf/chat-thread.html +953 -0
- package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
- package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
- package/assets/video/examples/hf/chrome-orb.html +258 -0
- package/assets/video/examples/hf/cinemagraph.html +422 -0
- package/assets/video/examples/hf/cinematic-zoom.html +613 -0
- package/assets/video/examples/hf/claude-exchange.html +1845 -0
- package/assets/video/examples/hf/code-3d-extrude.html +755 -0
- package/assets/video/examples/hf/code-diff.html +956 -0
- package/assets/video/examples/hf/code-highlight.html +885 -0
- package/assets/video/examples/hf/code-morph.html +1357 -0
- package/assets/video/examples/hf/code-particle-assemble.html +622 -0
- package/assets/video/examples/hf/code-scroll.html +1700 -0
- package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
- package/assets/video/examples/hf/code-slice-hero.html +1276 -0
- package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
- package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
- package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
- package/assets/video/examples/hf/code-terminal-run.html +766 -0
- package/assets/video/examples/hf/code-typing.html +903 -0
- package/assets/video/examples/hf/color-wheel.html +258 -0
- package/assets/video/examples/hf/colorama-wipe.html +503 -0
- package/assets/video/examples/hf/comparison-split.html +657 -0
- package/assets/video/examples/hf/confetti.html +349 -0
- package/assets/video/examples/hf/conic-progress-ring.html +441 -0
- package/assets/video/examples/hf/constellation-hub.html +662 -0
- package/assets/video/examples/hf/cosmic-orb.html +643 -0
- package/assets/video/examples/hf/count-up.html +552 -0
- package/assets/video/examples/hf/cross-warp-morph.html +624 -0
- package/assets/video/examples/hf/cta-close.html +492 -0
- package/assets/video/examples/hf/cta-lockup.html +470 -0
- package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
- package/assets/video/examples/hf/cursor-annotate.html +827 -0
- package/assets/video/examples/hf/cursor-context-menu.html +757 -0
- package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
- package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
- package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
- package/assets/video/examples/hf/cursor-text-select.html +638 -0
- package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
- package/assets/video/examples/hf/curtain-reveal.html +590 -0
- package/assets/video/examples/hf/cut-the-curve.html +715 -0
- package/assets/video/examples/hf/dart-cursor.html +863 -0
- package/assets/video/examples/hf/data-chart.html +666 -0
- package/assets/video/examples/hf/decision-tree.html +655 -0
- package/assets/video/examples/hf/decline-chart.html +485 -0
- package/assets/video/examples/hf/device-frame-stage.html +661 -0
- package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
- package/assets/video/examples/hf/drift-hold.html +392 -0
- package/assets/video/examples/hf/dynamic-grid.html +336 -0
- package/assets/video/examples/hf/echo-smear.html +994 -0
- package/assets/video/examples/hf/echo-trail.html +557 -0
- package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
- package/assets/video/examples/hf/exploded-stack.html +761 -0
- package/assets/video/examples/hf/extended-keyframe.html +715 -0
- package/assets/video/examples/hf/extruded-logo.html +757 -0
- package/assets/video/examples/hf/facet-morph.html +746 -0
- package/assets/video/examples/hf/fade-through.html +443 -0
- package/assets/video/examples/hf/falling-lines.html +259 -0
- package/assets/video/examples/hf/filmed-screen.html +1065 -0
- package/assets/video/examples/hf/flash-through-white.html +613 -0
- package/assets/video/examples/hf/flowchart-vertical.html +631 -0
- package/assets/video/examples/hf/flowchart.html +630 -0
- package/assets/video/examples/hf/flowing-gradient.html +258 -0
- package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
- package/assets/video/examples/hf/focus-rack.html +542 -0
- package/assets/video/examples/hf/focus-swap.html +496 -0
- package/assets/video/examples/hf/fractal-noise.html +258 -0
- package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
- package/assets/video/examples/hf/frost.html +258 -0
- package/assets/video/examples/hf/gabor-noise.html +258 -0
- package/assets/video/examples/hf/gallery-tunnel.html +652 -0
- package/assets/video/examples/hf/gesture-tap.html +604 -0
- package/assets/video/examples/hf/glass-hero.html +505 -0
- package/assets/video/examples/hf/glass-shard-title.html +1618 -0
- package/assets/video/examples/hf/glitch.html +613 -0
- package/assets/video/examples/hf/gloss-sweep.html +418 -0
- package/assets/video/examples/hf/godrays.html +257 -0
- package/assets/video/examples/hf/goo.html +258 -0
- package/assets/video/examples/hf/gooey-split.html +1092 -0
- package/assets/video/examples/hf/grain-field.html +377 -0
- package/assets/video/examples/hf/grain-overlay.html +295 -0
- package/assets/video/examples/hf/gravitational-lens.html +612 -0
- package/assets/video/examples/hf/grid-card-assemble.html +671 -0
- package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
- package/assets/video/examples/hf/halftone-dissolve.html +696 -0
- package/assets/video/examples/hf/halftone-field.html +598 -0
- package/assets/video/examples/hf/headline-slam.html +455 -0
- package/assets/video/examples/hf/heatmap.html +258 -0
- package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
- package/assets/video/examples/hf/hologram.html +258 -0
- package/assets/video/examples/hf/holographic.html +258 -0
- package/assets/video/examples/hf/hw-arrow.html +835 -0
- package/assets/video/examples/hf/hw-boil.html +632 -0
- package/assets/video/examples/hf/hw-box-label.html +741 -0
- package/assets/video/examples/hf/hw-callout-circle.html +820 -0
- package/assets/video/examples/hf/hw-frame.html +455 -0
- package/assets/video/examples/hf/hw-path-text.html +349 -0
- package/assets/video/examples/hf/hw-pipeline.html +472 -0
- package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
- package/assets/video/examples/hf/hw-text-cloud.html +439 -0
- package/assets/video/examples/hf/hw-title.html +412 -0
- package/assets/video/examples/hf/hw-underline.html +403 -0
- package/assets/video/examples/hf/hw-write-title.html +1389 -0
- package/assets/video/examples/hf/icon-morph-beat.html +463 -0
- package/assets/video/examples/hf/icon-swap.html +380 -0
- package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
- package/assets/video/examples/hf/inline-highlight.html +322 -0
- package/assets/video/examples/hf/input-feedback.html +419 -0
- package/assets/video/examples/hf/instagram-follow.html +460 -0
- package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
- package/assets/video/examples/hf/iris-reveal.html +684 -0
- package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
- package/assets/video/examples/hf/kinetic-center-build.html +538 -0
- package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
- package/assets/video/examples/hf/kinetic-type.html +862 -0
- package/assets/video/examples/hf/lens-flare.html +258 -0
- package/assets/video/examples/hf/light-edge.html +259 -0
- package/assets/video/examples/hf/light-leak.html +612 -0
- package/assets/video/examples/hf/light-sweep-pass.html +684 -0
- package/assets/video/examples/hf/line-by-line-slide.html +345 -0
- package/assets/video/examples/hf/line-swap.html +526 -0
- package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
- package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
- package/assets/video/examples/hf/liquid-metal.html +259 -0
- package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
- package/assets/video/examples/hf/logo-brand-close.html +598 -0
- package/assets/video/examples/hf/logo-outro.html +397 -0
- package/assets/video/examples/hf/logo-sting.html +378 -0
- package/assets/video/examples/hf/logo-wall.html +502 -0
- package/assets/video/examples/hf/lottie-character-walk.html +407 -0
- package/assets/video/examples/hf/lt-accent-underline.html +247 -0
- package/assets/video/examples/hf/lt-bold-block.html +249 -0
- package/assets/video/examples/hf/lt-clean-bar.html +251 -0
- package/assets/video/examples/hf/lt-color-block.html +241 -0
- package/assets/video/examples/hf/lt-dark-card.html +251 -0
- package/assets/video/examples/hf/lt-kicker-name.html +254 -0
- package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
- package/assets/video/examples/hf/lt-neon-border.html +604 -0
- package/assets/video/examples/hf/lt-side-rule.html +254 -0
- package/assets/video/examples/hf/lt-soft-pill.html +259 -0
- package/assets/video/examples/hf/lt-stack-bars.html +249 -0
- package/assets/video/examples/hf/macos-notification.html +372 -0
- package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
- package/assets/video/examples/hf/magnetic-cursor.html +684 -0
- package/assets/video/examples/hf/marble.html +257 -0
- package/assets/video/examples/hf/marker-checklist-card.html +727 -0
- package/assets/video/examples/hf/marker-highlight.html +589 -0
- package/assets/video/examples/hf/match-cut.html +505 -0
- package/assets/video/examples/hf/matrix-decode.html +363 -0
- package/assets/video/examples/hf/menu-morph.html +420 -0
- package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
- package/assets/video/examples/hf/mesh-gradient.html +257 -0
- package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
- package/assets/video/examples/hf/micro-transitions.html +631 -0
- package/assets/video/examples/hf/mk-background.html +376 -0
- package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
- package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
- package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
- package/assets/video/examples/hf/mk-line-graph.html +432 -0
- package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
- package/assets/video/examples/hf/mk-progress-stat.html +324 -0
- package/assets/video/examples/hf/mk-specs-list.html +362 -0
- package/assets/video/examples/hf/mk-usage-arc.html +297 -0
- package/assets/video/examples/hf/modal-morph.html +727 -0
- package/assets/video/examples/hf/morph-swap.html +590 -0
- package/assets/video/examples/hf/morph-text.html +409 -0
- package/assets/video/examples/hf/multi-device-splay.html +934 -0
- package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
- package/assets/video/examples/hf/native-notification-pop.html +670 -0
- package/assets/video/examples/hf/nebula.html +258 -0
- package/assets/video/examples/hf/news-ticker.html +548 -0
- package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
- package/assets/video/examples/hf/notes-reveal.html +2028 -0
- package/assets/video/examples/hf/notes-typing.html +631 -0
- package/assets/video/examples/hf/notification-cascade.html +740 -0
- package/assets/video/examples/hf/notification-pileup.html +667 -0
- package/assets/video/examples/hf/notification-stack.html +610 -0
- package/assets/video/examples/hf/number-pop-in.html +362 -0
- package/assets/video/examples/hf/number-wheel.html +378 -0
- package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
- package/assets/video/examples/hf/nyt-graph.html +715 -0
- package/assets/video/examples/hf/obsidian.html +258 -0
- package/assets/video/examples/hf/offset-path-traveler.html +511 -0
- package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
- package/assets/video/examples/hf/orbit-card.html +2457 -0
- package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
- package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
- package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
- package/assets/video/examples/hf/outline-draw.html +394 -0
- package/assets/video/examples/hf/oversized-cursor.html +851 -0
- package/assets/video/examples/hf/overwhelm-surround.html +557 -0
- package/assets/video/examples/hf/page-slide.html +377 -0
- package/assets/video/examples/hf/pan-stations.html +555 -0
- package/assets/video/examples/hf/panel-reveal.html +370 -0
- package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
- package/assets/video/examples/hf/parallax-device-dive.html +647 -0
- package/assets/video/examples/hf/parallax-unzoom.html +499 -0
- package/assets/video/examples/hf/parallax-zoom.html +515 -0
- package/assets/video/examples/hf/particle-image-reveal.html +595 -0
- package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
- package/assets/video/examples/hf/path-traced-3d.html +508 -0
- package/assets/video/examples/hf/pendulum-swing.html +364 -0
- package/assets/video/examples/hf/per-word-crossfade.html +398 -0
- package/assets/video/examples/hf/per-word-rise.html +556 -0
- package/assets/video/examples/hf/perspective-marquee.html +366 -0
- package/assets/video/examples/hf/physical-exit.html +459 -0
- package/assets/video/examples/hf/plasma.html +258 -0
- package/assets/video/examples/hf/plastic.html +258 -0
- package/assets/video/examples/hf/play-mode.html +1035 -0
- package/assets/video/examples/hf/press-ripple.html +675 -0
- package/assets/video/examples/hf/prism.html +258 -0
- package/assets/video/examples/hf/product-promo.html +1311 -0
- package/assets/video/examples/hf/product-turntable.html +4569 -0
- package/assets/video/examples/hf/pull-back-reveal.html +546 -0
- package/assets/video/examples/hf/pull-to-refresh.html +861 -0
- package/assets/video/examples/hf/push-in.html +379 -0
- package/assets/video/examples/hf/rack-focus.html +779 -0
- package/assets/video/examples/hf/radial-surround.html +653 -0
- package/assets/video/examples/hf/reddit-post.html +515 -0
- package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
- package/assets/video/examples/hf/ridged-burn.html +624 -0
- package/assets/video/examples/hf/ripple-waves.html +613 -0
- package/assets/video/examples/hf/ripples.html +259 -0
- package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
- package/assets/video/examples/hf/scan-band.html +415 -0
- package/assets/video/examples/hf/scramble-reveal.html +510 -0
- package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
- package/assets/video/examples/hf/scroll-camera-story.html +988 -0
- package/assets/video/examples/hf/scroll-feed.html +602 -0
- package/assets/video/examples/hf/sdf-iris.html +613 -0
- package/assets/video/examples/hf/segmentation-flood.html +748 -0
- package/assets/video/examples/hf/separator.html +620 -0
- package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
- package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
- package/assets/video/examples/hf/shared-axis-y.html +370 -0
- package/assets/video/examples/hf/shared-axis-z.html +514 -0
- package/assets/video/examples/hf/sheet-spring-up.html +681 -0
- package/assets/video/examples/hf/shimmer-sweep.html +301 -0
- package/assets/video/examples/hf/signup-flow.html +276 -0
- package/assets/video/examples/hf/sine-wave.html +258 -0
- package/assets/video/examples/hf/skeleton-reveal.html +373 -0
- package/assets/video/examples/hf/slack-notification-ad.html +901 -0
- package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
- package/assets/video/examples/hf/slot-machine-roll.html +391 -0
- package/assets/video/examples/hf/snow.html +499 -0
- package/assets/video/examples/hf/social-proof-card.html +534 -0
- package/assets/video/examples/hf/soft-blur-in.html +322 -0
- package/assets/video/examples/hf/spain-map.html +583 -0
- package/assets/video/examples/hf/spiral-galaxy.html +507 -0
- package/assets/video/examples/hf/spiral.html +258 -0
- package/assets/video/examples/hf/split-flap-board.html +537 -0
- package/assets/video/examples/hf/split-tilt-cards.html +775 -0
- package/assets/video/examples/hf/spotify-card.html +470 -0
- package/assets/video/examples/hf/spotlight-card.html +328 -0
- package/assets/video/examples/hf/spring-pop.html +406 -0
- package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
- package/assets/video/examples/hf/stagger-cascade.html +465 -0
- package/assets/video/examples/hf/stagger-lattice.html +278 -0
- package/assets/video/examples/hf/staggered-fade-up.html +368 -0
- package/assets/video/examples/hf/star-rating-fill.html +511 -0
- package/assets/video/examples/hf/starfield.html +450 -0
- package/assets/video/examples/hf/state-chip-rail.html +585 -0
- package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
- package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
- package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
- package/assets/video/examples/hf/store-badge-lockup.html +521 -0
- package/assets/video/examples/hf/strands.html +258 -0
- package/assets/video/examples/hf/streaming-text.html +581 -0
- package/assets/video/examples/hf/strikethrough-replace.html +356 -0
- package/assets/video/examples/hf/stripes.html +258 -0
- package/assets/video/examples/hf/success-check.html +390 -0
- package/assets/video/examples/hf/sun-burst.html +258 -0
- package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
- package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
- package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
- package/assets/video/examples/hf/swipe-rail.html +564 -0
- package/assets/video/examples/hf/swirl-vortex.html +623 -0
- package/assets/video/examples/hf/swirl.html +258 -0
- package/assets/video/examples/hf/swiss-grid.html +837 -0
- package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
- package/assets/video/examples/hf/telemetry-hud.html +760 -0
- package/assets/video/examples/hf/terminal-simulator.html +293 -0
- package/assets/video/examples/hf/testimonial-card.html +545 -0
- package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
- package/assets/video/examples/hf/text-match-cut.html +1345 -0
- package/assets/video/examples/hf/text-shimmer.html +394 -0
- package/assets/video/examples/hf/text-stagger.html +373 -0
- package/assets/video/examples/hf/text-state-swap.html +421 -0
- package/assets/video/examples/hf/thermal-distortion.html +624 -0
- package/assets/video/examples/hf/thin-film.html +258 -0
- package/assets/video/examples/hf/thread-message-stack.html +377 -0
- package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
- package/assets/video/examples/hf/ticker-takeover.html +534 -0
- package/assets/video/examples/hf/tiktok-follow.html +435 -0
- package/assets/video/examples/hf/tilt-card.html +406 -0
- package/assets/video/examples/hf/titlecard-calm.html +388 -0
- package/assets/video/examples/hf/titlecard-lockup.html +546 -0
- package/assets/video/examples/hf/toggle-flip.html +601 -0
- package/assets/video/examples/hf/top-down-letters.html +326 -0
- package/assets/video/examples/hf/torn-paper-rip.html +762 -0
- package/assets/video/examples/hf/touch-indicator.html +777 -0
- package/assets/video/examples/hf/tracing-beam.html +608 -0
- package/assets/video/examples/hf/tracking-in.html +317 -0
- package/assets/video/examples/hf/transitions-3d.html +434 -0
- package/assets/video/examples/hf/transitions-blur.html +524 -0
- package/assets/video/examples/hf/transitions-cover.html +508 -0
- package/assets/video/examples/hf/transitions-destruction.html +551 -0
- package/assets/video/examples/hf/transitions-dissolve.html +529 -0
- package/assets/video/examples/hf/transitions-distortion.html +522 -0
- package/assets/video/examples/hf/transitions-grid.html +442 -0
- package/assets/video/examples/hf/transitions-light.html +528 -0
- package/assets/video/examples/hf/transitions-mechanical.html +560 -0
- package/assets/video/examples/hf/transitions-other.html +532 -0
- package/assets/video/examples/hf/transitions-push.html +520 -0
- package/assets/video/examples/hf/transitions-radial.html +492 -0
- package/assets/video/examples/hf/transitions-scale.html +487 -0
- package/assets/video/examples/hf/trust-strip.html +445 -0
- package/assets/video/examples/hf/typed-prompt.html +619 -0
- package/assets/video/examples/hf/typewriter.html +350 -0
- package/assets/video/examples/hf/typing-indicator.html +702 -0
- package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
- package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
- package/assets/video/examples/hf/us-map-bubble.html +669 -0
- package/assets/video/examples/hf/us-map-flow.html +621 -0
- package/assets/video/examples/hf/us-map-hex.html +733 -0
- package/assets/video/examples/hf/us-map.html +591 -0
- package/assets/video/examples/hf/variable-font-flex.html +538 -0
- package/assets/video/examples/hf/vector-editor-rig.html +977 -0
- package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
- package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
- package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
- package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
- package/assets/video/examples/hf/vfx-magnetic.html +660 -0
- package/assets/video/examples/hf/vfx-portal.html +1090 -0
- package/assets/video/examples/hf/vfx-shatter.html +1382 -0
- package/assets/video/examples/hf/vignette.html +385 -0
- package/assets/video/examples/hf/voronoi.html +258 -0
- package/assets/video/examples/hf/vox-annotate.html +707 -0
- package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
- package/assets/video/examples/hf/water.html +258 -0
- package/assets/video/examples/hf/waveform.html +258 -0
- package/assets/video/examples/hf/week-in-merges.html +673 -0
- package/assets/video/examples/hf/weight-wave.html +531 -0
- package/assets/video/examples/hf/whip-pan-cut.html +668 -0
- package/assets/video/examples/hf/whip-pan.html +613 -0
- package/assets/video/examples/hf/whiteboard-ink.html +763 -0
- package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
- package/assets/video/examples/hf/wordmark-tiles.html +559 -0
- package/assets/video/examples/hf/world-map.html +623 -0
- package/assets/video/examples/hf/worley-noise.html +259 -0
- package/assets/video/examples/hf/x-follow-card.html +286 -0
- package/assets/video/examples/hf/x-post.html +611 -0
- package/assets/video/examples/hf/yt-camera-move.html +308 -0
- package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
- package/assets/video/examples/hf/yt-comment-card.html +458 -0
- package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
- package/assets/video/examples/hf/yt-lcd-background.html +446 -0
- package/assets/video/examples/hf/yt-logo-intro.html +390 -0
- package/assets/video/examples/hf/yt-lower-third.html +414 -0
- package/assets/video/examples/hf/yt-prism-title.html +343 -0
- package/assets/video/examples/hf/yt-screen-warp.html +257 -0
- package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
- package/assets/video/examples/kinetic-type.html +137 -0
- package/assets/video/examples/motion-blur-streak.html +119 -0
- package/assets/video/examples/object-reveal.html +107 -0
- package/assets/video/examples/parallax-layers.html +130 -0
- package/assets/video/examples/particle-burst.html +157 -0
- package/assets/video/examples/pen-draw.html +146 -0
- package/assets/video/examples/shape-morph.html +151 -0
- package/assets/video/examples/slam-title.html +125 -0
- package/assets/video/examples/speed-lines.html +123 -0
- package/assets/video/examples/spring-pop.html +129 -0
- package/assets/video/examples/streak-wipe.html +78 -0
- package/assets/video/examples/three-chrome-knot.html +155 -0
- package/assets/video/examples/three-clay.html +138 -0
- package/assets/video/examples/three-cube-wave.html +140 -0
- package/assets/video/examples/three-extruded-shape.html +148 -0
- package/assets/video/examples/type-on.html +128 -0
- package/assets/video/motion.js +991 -0
- package/assets/video/screen.js +298 -0
- package/assets/video/sfx/catalogue.json +2283 -0
- package/dist/cli.js +35440 -2563
- package/dist/index.js +35143 -2437
- package/dist/types/args.d.ts +2 -0
- package/dist/types/cloud/service.d.ts +13 -0
- package/dist/types/commands/usage.d.ts +2 -0
- package/dist/types/commands/video.d.ts +10 -0
- package/dist/types/cpu-budget.d.ts +43 -0
- package/dist/types/images/batch-jobs.d.ts +2 -0
- package/dist/types/images/batch-run.d.ts +2 -1
- package/dist/types/images/jobs.d.ts +7 -0
- package/dist/types/images/pending.d.ts +40 -0
- package/dist/types/images/retry.d.ts +4 -1
- package/dist/types/images/run.d.ts +9 -1
- package/dist/types/node-runtime.d.ts +6 -1
- package/dist/types/providers/api.d.ts +9 -0
- package/dist/types/providers/base.d.ts +2 -0
- package/dist/types/providers/cli-generate.d.ts +5 -1
- package/dist/types/providers/cli-pending.d.ts +24 -0
- package/dist/types/providers/errors.d.ts +2 -1
- package/dist/types/providers/ledger.d.ts +10 -6
- package/dist/types/providers/popost-async.d.ts +35 -0
- package/dist/types/providers/popost-tasks.d.ts +16 -5
- package/dist/types/providers/popost.d.ts +16 -1
- package/dist/types/providers/task.d.ts +43 -0
- package/dist/types/render/browser.d.ts +16 -2
- package/dist/types/runtime.d.ts +73 -2
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/align/index.d.ts +43 -0
- package/dist/types/video/capture/director.d.ts +70 -0
- package/dist/types/video/capture/index.d.ts +141 -0
- package/dist/types/video/capture/stage.d.ts +99 -0
- package/dist/types/video/capture/steps.d.ts +138 -0
- package/dist/types/video/commands/cast.d.ts +3 -0
- package/dist/types/video/commands/clips.d.ts +2 -0
- package/dist/types/video/commands/compare-scope.d.ts +7 -0
- package/dist/types/video/commands/credits.d.ts +19 -0
- package/dist/types/video/commands/elements.d.ts +22 -0
- package/dist/types/video/commands/eval.d.ts +2 -0
- package/dist/types/video/commands/example.d.ts +1 -0
- package/dist/types/video/commands/generate.d.ts +14 -0
- package/dist/types/video/commands/loop-shared.d.ts +12 -0
- package/dist/types/video/commands/loop.d.ts +4 -0
- package/dist/types/video/commands/make.d.ts +9 -0
- package/dist/types/video/commands/materials.d.ts +1 -0
- package/dist/types/video/commands/measure.d.ts +2 -0
- package/dist/types/video/commands/media.d.ts +2 -0
- package/dist/types/video/commands/music-plan.d.ts +1 -0
- package/dist/types/video/commands/music.d.ts +2 -0
- package/dist/types/video/commands/read.d.ts +19 -0
- package/dist/types/video/commands/replication.d.ts +2 -0
- package/dist/types/video/commands/sfx-extract.d.ts +2 -0
- package/dist/types/video/commands/sfx-place.d.ts +3 -0
- package/dist/types/video/commands/sfx.d.ts +2 -0
- package/dist/types/video/commands/shared.d.ts +39 -0
- package/dist/types/video/commands/source.d.ts +2 -0
- package/dist/types/video/commands/speech-check.d.ts +1 -0
- package/dist/types/video/commands/speech-kind.d.ts +6 -0
- package/dist/types/video/commands/template.d.ts +10 -0
- package/dist/types/video/commands/voice-profile.d.ts +2 -0
- package/dist/types/video/commands/voice-sample.d.ts +1 -0
- package/dist/types/video/compile/footage.d.ts +36 -0
- package/dist/types/video/compile/index.d.ts +30 -0
- package/dist/types/video/compile/page-bundle.d.ts +1 -0
- package/dist/types/video/compile/page.d.ts +10 -0
- package/dist/types/video/compile/words.d.ts +9 -0
- package/dist/types/video/describe/aim.d.ts +20 -0
- package/dist/types/video/describe/beats.d.ts +53 -0
- package/dist/types/video/describe/curves.d.ts +27 -0
- package/dist/types/video/describe/frames.d.ts +62 -0
- package/dist/types/video/describe/index.d.ts +34 -0
- package/dist/types/video/describe/inset.d.ts +83 -0
- package/dist/types/video/describe/kind.d.ts +29 -0
- package/dist/types/video/describe/known.d.ts +31 -0
- package/dist/types/video/describe/movement.d.ts +17 -0
- package/dist/types/video/describe/parts.d.ts +50 -0
- package/dist/types/video/describe/paths.d.ts +21 -0
- package/dist/types/video/describe/speech-kind.d.ts +144 -0
- package/dist/types/video/describe/unrecovered.d.ts +29 -0
- package/dist/types/video/draft/build.d.ts +34 -0
- package/dist/types/video/draft/export.d.ts +19 -0
- package/dist/types/video/draft/lifecycle.d.ts +9 -0
- package/dist/types/video/draft/native.d.ts +27 -0
- package/dist/types/video/draft/schema.d.ts +316 -0
- package/dist/types/video/draft/targets.d.ts +19 -0
- package/dist/types/video/elements/caption-reading.d.ts +9 -0
- package/dist/types/video/elements/caption-roles.d.ts +6 -0
- package/dist/types/video/elements/carry.d.ts +45 -0
- package/dist/types/video/elements/check.d.ts +14 -0
- package/dist/types/video/elements/findings.d.ts +49 -0
- package/dist/types/video/elements/main.d.ts +54 -0
- package/dist/types/video/elements/picture.d.ts +31 -0
- package/dist/types/video/elements/questions.d.ts +35 -0
- package/dist/types/video/elements/read.d.ts +14 -0
- package/dist/types/video/elements/status.d.ts +23 -0
- package/dist/types/video/elements/types.d.ts +120 -0
- package/dist/types/video/eval/contrast.d.ts +136 -0
- package/dist/types/video/eval/dataset.d.ts +21 -0
- package/dist/types/video/eval/floor.d.ts +27 -0
- package/dist/types/video/eval/ledger.d.ts +27 -0
- package/dist/types/video/eval/legibility.d.ts +33 -0
- package/dist/types/video/eval/readback-frames.d.ts +41 -0
- package/dist/types/video/eval/readback-run.d.ts +54 -0
- package/dist/types/video/eval/readback.d.ts +48 -0
- package/dist/types/video/eval/roundtrip.d.ts +71 -0
- package/dist/types/video/generate/approved.d.ts +74 -0
- package/dist/types/video/generate/cast.d.ts +56 -0
- package/dist/types/video/generate/character.d.ts +14 -0
- package/dist/types/video/generate/clip-sound.d.ts +63 -0
- package/dist/types/video/generate/cloud-image.d.ts +12 -0
- package/dist/types/video/generate/cloud.d.ts +67 -0
- package/dist/types/video/generate/dialogue.d.ts +116 -0
- package/dist/types/video/generate/index.d.ts +265 -0
- package/dist/types/video/generate/provenance.d.ts +11 -0
- package/dist/types/video/generate/speech-lock.d.ts +4 -0
- package/dist/types/video/generate/speech.d.ts +20 -0
- package/dist/types/video/host.d.ts +42 -0
- package/dist/types/video/hosted-api.d.ts +161 -0
- package/dist/types/video/look/index.d.ts +67 -0
- package/dist/types/video/look/like.d.ts +18 -0
- package/dist/types/video/look/sheets.d.ts +58 -0
- package/dist/types/video/measure/align.d.ts +33 -0
- package/dist/types/video/measure/amount.d.ts +52 -0
- package/dist/types/video/measure/bars.d.ts +22 -0
- package/dist/types/video/measure/boundaries.d.ts +18 -0
- package/dist/types/video/measure/cache.d.ts +6 -0
- package/dist/types/video/measure/camera.d.ts +21 -0
- package/dist/types/video/measure/colour.d.ts +12 -0
- package/dist/types/video/measure/curve.d.ts +29 -0
- package/dist/types/video/measure/cuts.d.ts +17 -0
- package/dist/types/video/measure/easing.d.ts +52 -0
- package/dist/types/video/measure/fill.d.ts +20 -0
- package/dist/types/video/measure/fits.d.ts +80 -0
- package/dist/types/video/measure/gradual.d.ts +23 -0
- package/dist/types/video/measure/index.d.ts +28 -0
- package/dist/types/video/measure/kinds.d.ts +71 -0
- package/dist/types/video/measure/motion.d.ts +26 -0
- package/dist/types/video/measure/move.d.ts +90 -0
- package/dist/types/video/measure/moves.d.ts +22 -0
- package/dist/types/video/measure/orientation.d.ts +11 -0
- package/dist/types/video/measure/pixels.d.ts +41 -0
- package/dist/types/video/measure/profile.d.ts +53 -0
- package/dist/types/video/measure/reveal.d.ts +48 -0
- package/dist/types/video/measure/rhythm.d.ts +7 -0
- package/dist/types/video/measure/robust.d.ts +18 -0
- package/dist/types/video/measure/signals.d.ts +48 -0
- package/dist/types/video/measure/signature.d.ts +10 -0
- package/dist/types/video/measure/span.d.ts +28 -0
- package/dist/types/video/measure/still-shots.d.ts +40 -0
- package/dist/types/video/measure/switch.d.ts +101 -0
- package/dist/types/video/measure/tracks.d.ts +20 -0
- package/dist/types/video/measure/unmix.d.ts +20 -0
- package/dist/types/video/media/decode.d.ts +59 -0
- package/dist/types/video/media/ffmpeg.d.ts +48 -0
- package/dist/types/video/media/footage.d.ts +53 -0
- package/dist/types/video/media/screenshot.d.ts +26 -0
- package/dist/types/video/media/selection.d.ts +4 -0
- package/dist/types/video/media/wav.d.ts +26 -0
- package/dist/types/video/music/hosted.d.ts +110 -0
- package/dist/types/video/music/plan.d.ts +103 -0
- package/dist/types/video/music/provenance.d.ts +86 -0
- package/dist/types/video/page/apply.d.ts +9 -0
- package/dist/types/video/page/contract.d.ts +150 -0
- package/dist/types/video/page/css.d.ts +9 -0
- package/dist/types/video/page/dom.d.ts +51 -0
- package/dist/types/video/page/fit.d.ts +13 -0
- package/dist/types/video/page/layout.d.ts +8 -0
- package/dist/types/video/page/main.d.ts +1 -0
- package/dist/types/video/page/scene.d.ts +38 -0
- package/dist/types/video/page/texts.d.ts +10 -0
- package/dist/types/video/page/words.d.ts +39 -0
- package/dist/types/video/paid-download.d.ts +19 -0
- package/dist/types/video/plan/ask.d.ts +77 -0
- package/dist/types/video/plan/generated.d.ts +29 -0
- package/dist/types/video/plan/index.d.ts +6 -0
- package/dist/types/video/plan/materials.d.ts +22 -0
- package/dist/types/video/plan/model.d.ts +59 -0
- package/dist/types/video/plan/prompt.d.ts +41 -0
- package/dist/types/video/plan/see.d.ts +35 -0
- package/dist/types/video/presets/camera.d.ts +27 -0
- package/dist/types/video/presets/easing.d.ts +11 -0
- package/dist/types/video/presets/fill.d.ts +16 -0
- package/dist/types/video/presets/loop.d.ts +20 -0
- package/dist/types/video/presets/motion.d.ts +47 -0
- package/dist/types/video/presets/spoken.d.ts +35 -0
- package/dist/types/video/presets/text-styles.d.ts +44 -0
- package/dist/types/video/presets/transition.d.ts +66 -0
- package/dist/types/video/preview/cloud.d.ts +13 -0
- package/dist/types/video/preview/edit/check.d.ts +15 -0
- package/dist/types/video/preview/edit/editor.d.ts +52 -0
- package/dist/types/video/preview/edit/ops.d.ts +52 -0
- package/dist/types/video/preview/edit/render.d.ts +11 -0
- package/dist/types/video/preview/edit/retime.d.ts +2 -0
- package/dist/types/video/preview/edit/routes.d.ts +1106 -0
- package/dist/types/video/preview/export-settings.d.ts +25 -0
- package/dist/types/video/preview/files.d.ts +25 -0
- package/dist/types/video/preview/html.d.ts +9 -0
- package/dist/types/video/preview/index.d.ts +20 -0
- package/dist/types/video/preview/project.d.ts +48 -0
- package/dist/types/video/preview/protocol.d.ts +91 -0
- package/dist/types/video/preview/server.d.ts +21 -0
- package/dist/types/video/preview/shell/app.d.ts +81 -0
- package/dist/types/video/preview/shell/dom.d.ts +40 -0
- package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
- package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
- package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
- package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
- package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
- package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
- package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
- package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
- package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
- package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
- package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
- package/dist/types/video/preview/shell/footage.d.ts +6 -0
- package/dist/types/video/preview/shell/i18n.d.ts +176 -0
- package/dist/types/video/preview/shell/lanes.d.ts +2 -0
- package/dist/types/video/preview/shell/main.d.ts +1 -0
- package/dist/types/video/preview/shell/model.d.ts +85 -0
- package/dist/types/video/preview/shell/panel.d.ts +3 -0
- package/dist/types/video/preview/shell/readonly.d.ts +1 -0
- package/dist/types/video/preview/shell/stage.d.ts +7 -0
- package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
- package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
- package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
- package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
- package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
- package/dist/types/video/preview/shell/style.d.ts +5 -0
- package/dist/types/video/preview/shell/transport.d.ts +6 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -0
- package/dist/types/video/preview/studio-actions.d.ts +4 -0
- package/dist/types/video/preview/studio-data.d.ts +32 -0
- package/dist/types/video/preview/thumbnails.d.ts +5 -0
- package/dist/types/video/preview/watch.d.ts +23 -0
- package/dist/types/video/progress.d.ts +28 -0
- package/dist/types/video/project/check-camera.d.ts +8 -0
- package/dist/types/video/project/check-caption.d.ts +8 -0
- package/dist/types/video/project/check-common.d.ts +25 -0
- package/dist/types/video/project/check-footage.d.ts +22 -0
- package/dist/types/video/project/check-look.d.ts +19 -0
- package/dist/types/video/project/check-sound.d.ts +54 -0
- package/dist/types/video/project/check-span.d.ts +11 -0
- package/dist/types/video/project/check-tracks.d.ts +8 -0
- package/dist/types/video/project/check-transition.d.ts +11 -0
- package/dist/types/video/project/check-words.d.ts +32 -0
- package/dist/types/video/project/check.d.ts +42 -0
- package/dist/types/video/project/issues.d.ts +43 -0
- package/dist/types/video/project/schema.d.ts +2074 -0
- package/dist/types/video/project/suggest.d.ts +4 -0
- package/dist/types/video/project/words.d.ts +6 -0
- package/dist/types/video/render/browser-step.d.ts +5 -0
- package/dist/types/video/render/encode.d.ts +49 -0
- package/dist/types/video/render/index.d.ts +90 -0
- package/dist/types/video/render/layout.d.ts +26 -0
- package/dist/types/video/render/record.d.ts +80 -0
- package/dist/types/video/render/session.d.ts +64 -0
- package/dist/types/video/render/verify.d.ts +16 -0
- package/dist/types/video/replication/audio-provenance.d.ts +36 -0
- package/dist/types/video/replication/browser.d.ts +1 -0
- package/dist/types/video/replication/check.d.ts +19 -0
- package/dist/types/video/replication/contract.d.ts +683 -0
- package/dist/types/video/replication/io.d.ts +22 -0
- package/dist/types/video/replication/motion-bundle.d.ts +1 -0
- package/dist/types/video/replication/motion.d.ts +109 -0
- package/dist/types/video/replication/pairs.d.ts +69 -0
- package/dist/types/video/replication/prefill.d.ts +34 -0
- package/dist/types/video/replication/production.d.ts +163 -0
- package/dist/types/video/replication/revision.d.ts +2 -0
- package/dist/types/video/replication/schema.d.ts +56 -0
- package/dist/types/video/replication/source-clock.d.ts +24 -0
- package/dist/types/video/replication/speech-observed.d.ts +121 -0
- package/dist/types/video/replication/voice-spans.d.ts +3 -0
- package/dist/types/video/retarget/caption-look.d.ts +14 -0
- package/dist/types/video/retarget/fps.d.ts +7 -0
- package/dist/types/video/retarget/index.d.ts +248 -0
- package/dist/types/video/retarget/items.d.ts +44 -0
- package/dist/types/video/retarget/marks.d.ts +12 -0
- package/dist/types/video/retarget/pace.d.ts +36 -0
- package/dist/types/video/retarget/speak.d.ts +41 -0
- package/dist/types/video/retarget/tempo.d.ts +40 -0
- package/dist/types/video/retarget/titles.d.ts +76 -0
- package/dist/types/video/retarget/words.d.ts +39 -0
- package/dist/types/video/scene/author.d.ts +74 -0
- package/dist/types/video/scene/check.d.ts +64 -0
- package/dist/types/video/scene/copied.d.ts +30 -0
- package/dist/types/video/scene/cues.d.ts +40 -0
- package/dist/types/video/scene/examples.d.ts +129 -0
- package/dist/types/video/scene/findings.d.ts +71 -0
- package/dist/types/video/scene/fonts.d.ts +19 -0
- package/dist/types/video/scene/items.d.ts +23 -0
- package/dist/types/video/scene/library.d.ts +41 -0
- package/dist/types/video/scene/lint.d.ts +15 -0
- package/dist/types/video/scene/numbers.d.ts +39 -0
- package/dist/types/video/scene/pictures.d.ts +12 -0
- package/dist/types/video/scene/write.d.ts +41 -0
- package/dist/types/video/score/index.d.ts +13 -0
- package/dist/types/video/score/pair.d.ts +43 -0
- package/dist/types/video/score/picture.d.ts +14 -0
- package/dist/types/video/score/project-windows.d.ts +9 -0
- package/dist/types/video/score/shot-transition.d.ts +62 -0
- package/dist/types/video/score/shots.d.ts +101 -0
- package/dist/types/video/score/time.d.ts +22 -0
- package/dist/types/video/score/tracks.d.ts +42 -0
- package/dist/types/video/score/weights.d.ts +19 -0
- package/dist/types/video/sfx/cache.d.ts +16 -0
- package/dist/types/video/sfx/catalogue.d.ts +64 -0
- package/dist/types/video/sfx/extract.d.ts +65 -0
- package/dist/types/video/sfx/levels.d.ts +39 -0
- package/dist/types/video/sfx/library.d.ts +26 -0
- package/dist/types/video/sfx/place.d.ts +82 -0
- package/dist/types/video/sfx/project.d.ts +36 -0
- package/dist/types/video/sound/analysis.d.ts +46 -0
- package/dist/types/video/sound/breaks.d.ts +84 -0
- package/dist/types/video/sound/measure.d.ts +106 -0
- package/dist/types/video/sound/modes.d.ts +75 -0
- package/dist/types/video/sound/pcm.d.ts +21 -0
- package/dist/types/video/sound/reading.d.ts +124 -0
- package/dist/types/video/sound/speech-check.d.ts +76 -0
- package/dist/types/video/source/collect.d.ts +64 -0
- package/dist/types/video/source/read.d.ts +57 -0
- package/dist/types/video/source/used.d.ts +4 -0
- package/dist/types/video/speech/hosted.d.ts +36 -0
- package/dist/types/video/speech/index.d.ts +83 -0
- package/dist/types/video/speech/types.d.ts +41 -0
- package/dist/types/video/submit-retry.d.ts +15 -0
- package/dist/types/video/synth/generate.d.ts +53 -0
- package/dist/types/video/synth/truth.d.ts +8 -0
- package/dist/types/video/synth/write.d.ts +13 -0
- package/dist/types/video/template/capacity.d.ts +37 -0
- package/dist/types/video/template/card-elements.d.ts +17 -0
- package/dist/types/video/template/card.d.ts +22 -0
- package/dist/types/video/template/check-captions.d.ts +11 -0
- package/dist/types/video/template/check.d.ts +40 -0
- package/dist/types/video/template/facts.d.ts +90 -0
- package/dist/types/video/template/fill.d.ts +51 -0
- package/dist/types/video/template/fingerprint.d.ts +2 -0
- package/dist/types/video/template/fit.d.ts +60 -0
- package/dist/types/video/template/index.d.ts +8 -0
- package/dist/types/video/template/project.d.ts +21 -0
- package/dist/types/video/template/save.d.ts +52 -0
- package/dist/types/video/template/slots.d.ts +26 -0
- package/dist/types/video/template/speech-rules.d.ts +61 -0
- package/dist/types/video/template/split.d.ts +10 -0
- package/dist/types/video/template/structure.d.ts +81 -0
- package/dist/types/video/template/swap.d.ts +33 -0
- package/dist/types/video/template/types.d.ts +387 -0
- package/dist/types/video/text/bar.d.ts +63 -0
- package/dist/types/video/text/change.d.ts +19 -0
- package/dist/types/video/text/core.d.ts +25 -0
- package/dist/types/video/text/cues.d.ts +26 -0
- package/dist/types/video/text/fold.d.ts +9 -0
- package/dist/types/video/text/frame.d.ts +41 -0
- package/dist/types/video/text/highlight.d.ts +19 -0
- package/dist/types/video/text/index.d.ts +67 -0
- package/dist/types/video/text/letters.d.ts +85 -0
- package/dist/types/video/text/look.d.ts +53 -0
- package/dist/types/video/text/reader-command.d.ts +26 -0
- package/dist/types/video/text/reveal.d.ts +37 -0
- package/dist/types/video/text/rings.d.ts +39 -0
- package/dist/types/video/text/shadow.d.ts +44 -0
- package/dist/types/video/text/share.d.ts +2 -0
- package/dist/types/video/text/speech.d.ts +15 -0
- package/dist/types/video/text/strokes.d.ts +30 -0
- package/dist/types/video/text/types.d.ts +147 -0
- package/dist/types/video/timeline/cue-words.d.ts +27 -0
- package/dist/types/video/timeline/footage.d.ts +25 -0
- package/dist/types/video/timeline/frame.d.ts +55 -0
- package/dist/types/video/timeline/items.d.ts +28 -0
- package/dist/types/video/timeline/mix.d.ts +67 -0
- package/dist/types/video/timeline/resolve.d.ts +20 -0
- package/dist/types/video/timeline/spans.d.ts +32 -0
- package/dist/types/video/timeline/words.d.ts +64 -0
- package/dist/types/video/tool.d.ts +29 -0
- package/dist/types/video/types.d.ts +1057 -0
- package/dist/types/video/voice/create.d.ts +43 -0
- package/dist/types/video/voice/hosted.d.ts +36 -0
- package/dist/types/video/voice/index.d.ts +61 -0
- package/dist/types/video/voice/pace.d.ts +37 -0
- package/dist/types/video/voice/profile.d.ts +26 -0
- package/dist/types/video/voice/sample.d.ts +46 -0
- package/dist/types/video/wallet.d.ts +38 -0
- package/dist/types/video/work.d.ts +10 -0
- package/dist/types/workflow/post-bundle.d.ts +2 -2
- package/package.json +13 -4
- package/references/image-workflow.md +111 -0
- package/references/onboarding.md +50 -19
- package/references/post-bundle.md +1 -1
- package/references/providers.md +5 -2
- package/references/video-draft-export.md +13 -0
- package/references/video-editing.md +43 -0
- package/references/video-effects.md +605 -0
- package/references/video-elements.md +199 -0
- package/references/video-examples/showcase/assets/pattern.svg +18 -0
- package/references/video-examples/showcase/assets/voice.sbg +4 -0
- package/references/video-examples/showcase/assets/voice.words.json +68 -0
- package/references/video-examples/showcase/video.json +550 -0
- package/references/video-examples/template-demo/TEMPLATE.md +30 -0
- package/references/video-examples/template-demo/fill.json +29 -0
- package/references/video-examples/template-demo/slots.json +210 -0
- package/references/video-examples/template-demo/template.json +105 -0
- package/references/video-motion.md +315 -0
- package/references/video-native-observation.md +37 -0
- package/references/video-performers.md +86 -0
- package/references/video-project.md +63 -0
- package/references/video-replication.md +276 -0
- package/references/video-scenes.md +366 -0
- package/references/video-sfx.md +109 -0
- package/references/video-sound.md +207 -0
- package/references/video-templates.md +177 -0
- package/references/video-tools.md +560 -0
- package/references/video.md +756 -0
- package/templates/community/README.md +274 -1
- package/templates/community/index.json +3829 -0
- package/templates/community/instagram-age-expectations/README.md +14 -0
- package/templates/community/instagram-age-expectations/SKILL.md +52 -0
- package/templates/community/instagram-age-expectations/source.json +9 -0
- package/templates/community/instagram-age-expectations/template.json +53 -0
- package/templates/community/instagram-artwork-detail/README.md +19 -0
- package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
- package/templates/community/instagram-artwork-detail/source.json +9 -0
- package/templates/community/instagram-artwork-detail/template.json +61 -0
- package/templates/community/instagram-balanced-traits/README.md +12 -0
- package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
- package/templates/community/instagram-balanced-traits/source.json +9 -0
- package/templates/community/instagram-balanced-traits/template.json +53 -0
- package/templates/community/instagram-behind-the-scenes/README.md +12 -0
- package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
- package/templates/community/instagram-behind-the-scenes/source.json +9 -0
- package/templates/community/instagram-behind-the-scenes/template.json +52 -0
- package/templates/community/instagram-brand-personification/README.md +26 -0
- package/templates/community/instagram-brand-personification/SKILL.md +53 -0
- package/templates/community/instagram-brand-personification/source.json +9 -0
- package/templates/community/instagram-brand-personification/template.json +66 -0
- package/templates/community/instagram-brand-system/README.md +17 -0
- package/templates/community/instagram-brand-system/SKILL.md +53 -0
- package/templates/community/instagram-brand-system/source.json +9 -0
- package/templates/community/instagram-brand-system/template.json +60 -0
- package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
- package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
- package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
- package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
- package/templates/community/instagram-capacity-planning/README.md +12 -0
- package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
- package/templates/community/instagram-capacity-planning/source.json +9 -0
- package/templates/community/instagram-capacity-planning/template.json +55 -0
- package/templates/community/instagram-category-use-guide/README.md +14 -0
- package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
- package/templates/community/instagram-category-use-guide/source.json +9 -0
- package/templates/community/instagram-category-use-guide/template.json +55 -0
- package/templates/community/instagram-character-led-tour/README.md +17 -0
- package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
- package/templates/community/instagram-character-led-tour/source.json +9 -0
- package/templates/community/instagram-character-led-tour/template.json +56 -0
- package/templates/community/instagram-comic-dialogue/README.md +16 -0
- package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
- package/templates/community/instagram-comic-dialogue/source.json +9 -0
- package/templates/community/instagram-comic-dialogue/template.json +59 -0
- package/templates/community/instagram-command-shortcuts/README.md +13 -0
- package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
- package/templates/community/instagram-command-shortcuts/source.json +9 -0
- package/templates/community/instagram-command-shortcuts/template.json +52 -0
- package/templates/community/instagram-context-changes-meaning/README.md +11 -0
- package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
- package/templates/community/instagram-context-changes-meaning/source.json +9 -0
- package/templates/community/instagram-context-changes-meaning/template.json +54 -0
- package/templates/community/instagram-continuous-canvas/README.md +16 -0
- package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
- package/templates/community/instagram-continuous-canvas/source.json +9 -0
- package/templates/community/instagram-continuous-canvas/template.json +59 -0
- package/templates/community/instagram-conversation-questions/README.md +12 -0
- package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
- package/templates/community/instagram-conversation-questions/source.json +9 -0
- package/templates/community/instagram-conversation-questions/template.json +51 -0
- package/templates/community/instagram-copy-alternatives/README.md +11 -0
- package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
- package/templates/community/instagram-copy-alternatives/source.json +9 -0
- package/templates/community/instagram-copy-alternatives/template.json +50 -0
- package/templates/community/instagram-copyable-notes/README.md +13 -0
- package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
- package/templates/community/instagram-copyable-notes/source.json +9 -0
- package/templates/community/instagram-copyable-notes/template.json +51 -0
- package/templates/community/instagram-curated-resources/README.md +13 -0
- package/templates/community/instagram-curated-resources/SKILL.md +52 -0
- package/templates/community/instagram-curated-resources/source.json +9 -0
- package/templates/community/instagram-curated-resources/template.json +54 -0
- package/templates/community/instagram-destination-costs/README.md +17 -0
- package/templates/community/instagram-destination-costs/SKILL.md +52 -0
- package/templates/community/instagram-destination-costs/source.json +9 -0
- package/templates/community/instagram-destination-costs/template.json +56 -0
- package/templates/community/instagram-diagram-reference/README.md +10 -0
- package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
- package/templates/community/instagram-diagram-reference/source.json +9 -0
- package/templates/community/instagram-diagram-reference/template.json +52 -0
- package/templates/community/instagram-different-perspectives/README.md +15 -0
- package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
- package/templates/community/instagram-different-perspectives/source.json +9 -0
- package/templates/community/instagram-different-perspectives/template.json +55 -0
- package/templates/community/instagram-document-reveal/README.md +8 -0
- package/templates/community/instagram-document-reveal/SKILL.md +53 -0
- package/templates/community/instagram-document-reveal/source.json +9 -0
- package/templates/community/instagram-document-reveal/template.json +46 -0
- package/templates/community/instagram-effect-breakdown/README.md +14 -0
- package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
- package/templates/community/instagram-effect-breakdown/source.json +9 -0
- package/templates/community/instagram-effect-breakdown/template.json +55 -0
- package/templates/community/instagram-effort-and-outcome/README.md +13 -0
- package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
- package/templates/community/instagram-effort-and-outcome/source.json +9 -0
- package/templates/community/instagram-effort-and-outcome/template.json +54 -0
- package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
- package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
- package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
- package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
- package/templates/community/instagram-everyday-interface-story/README.md +12 -0
- package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
- package/templates/community/instagram-everyday-interface-story/source.json +9 -0
- package/templates/community/instagram-everyday-interface-story/template.json +51 -0
- package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
- package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
- package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
- package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
- package/templates/community/instagram-evidence-to-method/README.md +13 -0
- package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
- package/templates/community/instagram-evidence-to-method/source.json +9 -0
- package/templates/community/instagram-evidence-to-method/template.json +56 -0
- package/templates/community/instagram-expectation-reality-review/README.md +18 -0
- package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
- package/templates/community/instagram-expectation-reality-review/source.json +9 -0
- package/templates/community/instagram-expectation-reality-review/template.json +57 -0
- package/templates/community/instagram-experiment-story/README.md +20 -0
- package/templates/community/instagram-experiment-story/SKILL.md +54 -0
- package/templates/community/instagram-experiment-story/source.json +9 -0
- package/templates/community/instagram-experiment-story/template.json +58 -0
- package/templates/community/instagram-fill-in-speech/README.md +14 -0
- package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-speech/source.json +9 -0
- package/templates/community/instagram-fill-in-speech/template.json +53 -0
- package/templates/community/instagram-fill-in-workbook/README.md +16 -0
- package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
- package/templates/community/instagram-fill-in-workbook/source.json +9 -0
- package/templates/community/instagram-fill-in-workbook/template.json +57 -0
- package/templates/community/instagram-font-pairing/README.md +14 -0
- package/templates/community/instagram-font-pairing/SKILL.md +52 -0
- package/templates/community/instagram-font-pairing/source.json +9 -0
- package/templates/community/instagram-font-pairing/template.json +53 -0
- package/templates/community/instagram-goal-benchmarks/README.md +12 -0
- package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
- package/templates/community/instagram-goal-benchmarks/source.json +9 -0
- package/templates/community/instagram-goal-benchmarks/template.json +51 -0
- package/templates/community/instagram-identity-match/README.md +19 -0
- package/templates/community/instagram-identity-match/SKILL.md +52 -0
- package/templates/community/instagram-identity-match/source.json +9 -0
- package/templates/community/instagram-identity-match/template.json +64 -0
- package/templates/community/instagram-illustrated-opinion/README.md +16 -0
- package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
- package/templates/community/instagram-illustrated-opinion/source.json +9 -0
- package/templates/community/instagram-illustrated-opinion/template.json +56 -0
- package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
- package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
- package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
- package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
- package/templates/community/instagram-image-to-palette/README.md +17 -0
- package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
- package/templates/community/instagram-image-to-palette/source.json +9 -0
- package/templates/community/instagram-image-to-palette/template.json +58 -0
- package/templates/community/instagram-incremental-assembly/README.md +15 -0
- package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
- package/templates/community/instagram-incremental-assembly/source.json +9 -0
- package/templates/community/instagram-incremental-assembly/template.json +55 -0
- package/templates/community/instagram-interview-storyboard/README.md +25 -0
- package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
- package/templates/community/instagram-interview-storyboard/source.json +9 -0
- package/templates/community/instagram-interview-storyboard/template.json +65 -0
- package/templates/community/instagram-launch-news/README.md +9 -0
- package/templates/community/instagram-launch-news/SKILL.md +53 -0
- package/templates/community/instagram-launch-news/source.json +9 -0
- package/templates/community/instagram-launch-news/template.json +55 -0
- package/templates/community/instagram-layout-anatomy/README.md +12 -0
- package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
- package/templates/community/instagram-layout-anatomy/source.json +9 -0
- package/templates/community/instagram-layout-anatomy/template.json +54 -0
- package/templates/community/instagram-learning-path/README.md +14 -0
- package/templates/community/instagram-learning-path/SKILL.md +53 -0
- package/templates/community/instagram-learning-path/source.json +9 -0
- package/templates/community/instagram-learning-path/template.json +55 -0
- package/templates/community/instagram-local-picks/README.md +16 -0
- package/templates/community/instagram-local-picks/SKILL.md +52 -0
- package/templates/community/instagram-local-picks/source.json +9 -0
- package/templates/community/instagram-local-picks/template.json +55 -0
- package/templates/community/instagram-matched-test/README.md +10 -0
- package/templates/community/instagram-matched-test/SKILL.md +53 -0
- package/templates/community/instagram-matched-test/source.json +9 -0
- package/templates/community/instagram-matched-test/template.json +49 -0
- package/templates/community/instagram-metric-formulas/README.md +15 -0
- package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
- package/templates/community/instagram-metric-formulas/source.json +9 -0
- package/templates/community/instagram-metric-formulas/template.json +55 -0
- package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
- package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
- package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
- package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
- package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
- package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
- package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
- package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
- package/templates/community/instagram-myth-and-fact/README.md +12 -0
- package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
- package/templates/community/instagram-myth-and-fact/source.json +9 -0
- package/templates/community/instagram-myth-and-fact/template.json +51 -0
- package/templates/community/instagram-news-digest/README.md +13 -0
- package/templates/community/instagram-news-digest/SKILL.md +53 -0
- package/templates/community/instagram-news-digest/source.json +9 -0
- package/templates/community/instagram-news-digest/template.json +52 -0
- package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
- package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
- package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
- package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
- package/templates/community/instagram-object-led-activities/README.md +16 -0
- package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
- package/templates/community/instagram-object-led-activities/source.json +9 -0
- package/templates/community/instagram-object-led-activities/template.json +56 -0
- package/templates/community/instagram-object-name-origins/README.md +11 -0
- package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
- package/templates/community/instagram-object-name-origins/source.json +9 -0
- package/templates/community/instagram-object-name-origins/template.json +52 -0
- package/templates/community/instagram-one-input-many-results/README.md +14 -0
- package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
- package/templates/community/instagram-one-input-many-results/source.json +9 -0
- package/templates/community/instagram-one-input-many-results/template.json +52 -0
- package/templates/community/instagram-one-variable-comparison/README.md +11 -0
- package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
- package/templates/community/instagram-one-variable-comparison/source.json +9 -0
- package/templates/community/instagram-one-variable-comparison/template.json +52 -0
- package/templates/community/instagram-opportunity-guide/README.md +18 -0
- package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
- package/templates/community/instagram-opportunity-guide/source.json +9 -0
- package/templates/community/instagram-opportunity-guide/template.json +57 -0
- package/templates/community/instagram-palette-application-board/README.md +11 -0
- package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
- package/templates/community/instagram-palette-application-board/source.json +9 -0
- package/templates/community/instagram-palette-application-board/template.json +52 -0
- package/templates/community/instagram-personal-budget-case/README.md +14 -0
- package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
- package/templates/community/instagram-personal-budget-case/source.json +9 -0
- package/templates/community/instagram-personal-budget-case/template.json +53 -0
- package/templates/community/instagram-personal-experiment/README.md +11 -0
- package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
- package/templates/community/instagram-personal-experiment/source.json +9 -0
- package/templates/community/instagram-personal-experiment/template.json +52 -0
- package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
- package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
- package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
- package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
- package/templates/community/instagram-photo-moment-story/README.md +12 -0
- package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
- package/templates/community/instagram-photo-moment-story/source.json +9 -0
- package/templates/community/instagram-photo-moment-story/template.json +53 -0
- package/templates/community/instagram-product-change/README.md +9 -0
- package/templates/community/instagram-product-change/SKILL.md +53 -0
- package/templates/community/instagram-product-change/source.json +10 -0
- package/templates/community/instagram-product-change/template.json +53 -0
- package/templates/community/instagram-prompt-result-reference/README.md +26 -0
- package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
- package/templates/community/instagram-prompt-result-reference/source.json +9 -0
- package/templates/community/instagram-prompt-result-reference/template.json +68 -0
- package/templates/community/instagram-public-follow-up/README.md +15 -0
- package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
- package/templates/community/instagram-public-follow-up/source.json +9 -0
- package/templates/community/instagram-public-follow-up/template.json +54 -0
- package/templates/community/instagram-reader-question-answer/README.md +10 -0
- package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
- package/templates/community/instagram-reader-question-answer/source.json +9 -0
- package/templates/community/instagram-reader-question-answer/template.json +48 -0
- package/templates/community/instagram-remaining-capacity/README.md +11 -0
- package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
- package/templates/community/instagram-remaining-capacity/source.json +9 -0
- package/templates/community/instagram-remaining-capacity/template.json +52 -0
- package/templates/community/instagram-research-brief/README.md +16 -0
- package/templates/community/instagram-research-brief/SKILL.md +53 -0
- package/templates/community/instagram-research-brief/source.json +9 -0
- package/templates/community/instagram-research-brief/template.json +54 -0
- package/templates/community/instagram-result-and-recipe/README.md +17 -0
- package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
- package/templates/community/instagram-result-and-recipe/source.json +9 -0
- package/templates/community/instagram-result-and-recipe/template.json +56 -0
- package/templates/community/instagram-result-to-steps/README.md +13 -0
- package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
- package/templates/community/instagram-result-to-steps/source.json +9 -0
- package/templates/community/instagram-result-to-steps/template.json +51 -0
- package/templates/community/instagram-reverse-instruction/README.md +15 -0
- package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
- package/templates/community/instagram-reverse-instruction/source.json +9 -0
- package/templates/community/instagram-reverse-instruction/template.json +54 -0
- package/templates/community/instagram-said-and-meant/README.md +9 -0
- package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
- package/templates/community/instagram-said-and-meant/source.json +10 -0
- package/templates/community/instagram-said-and-meant/template.json +46 -0
- package/templates/community/instagram-same-budget-choices/README.md +12 -0
- package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
- package/templates/community/instagram-same-budget-choices/source.json +9 -0
- package/templates/community/instagram-same-budget-choices/template.json +52 -0
- package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
- package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
- package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
- package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
- package/templates/community/instagram-searchable-asset-index/README.md +13 -0
- package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
- package/templates/community/instagram-searchable-asset-index/source.json +9 -0
- package/templates/community/instagram-searchable-asset-index/template.json +53 -0
- package/templates/community/instagram-similar-concepts/README.md +15 -0
- package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
- package/templates/community/instagram-similar-concepts/source.json +9 -0
- package/templates/community/instagram-similar-concepts/template.json +54 -0
- package/templates/community/instagram-single-event-news/README.md +14 -0
- package/templates/community/instagram-single-event-news/SKILL.md +53 -0
- package/templates/community/instagram-single-event-news/source.json +9 -0
- package/templates/community/instagram-single-event-news/template.json +56 -0
- package/templates/community/instagram-style-assembly/README.md +13 -0
- package/templates/community/instagram-style-assembly/SKILL.md +53 -0
- package/templates/community/instagram-style-assembly/source.json +9 -0
- package/templates/community/instagram-style-assembly/template.json +53 -0
- package/templates/community/instagram-style-choice/README.md +14 -0
- package/templates/community/instagram-style-choice/SKILL.md +53 -0
- package/templates/community/instagram-style-choice/source.json +9 -0
- package/templates/community/instagram-style-choice/template.json +58 -0
- package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
- package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
- package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
- package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
- package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
- package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
- package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
- package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
- package/templates/community/instagram-then-now-pairs/README.md +14 -0
- package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
- package/templates/community/instagram-then-now-pairs/source.json +9 -0
- package/templates/community/instagram-then-now-pairs/template.json +52 -0
- package/templates/community/instagram-timed-action-plan/README.md +15 -0
- package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
- package/templates/community/instagram-timed-action-plan/source.json +9 -0
- package/templates/community/instagram-timed-action-plan/template.json +60 -0
- package/templates/community/instagram-tools-by-task/README.md +13 -0
- package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
- package/templates/community/instagram-tools-by-task/source.json +9 -0
- package/templates/community/instagram-tools-by-task/template.json +57 -0
- package/templates/community/instagram-two-perspectives/README.md +8 -0
- package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
- package/templates/community/instagram-two-perspectives/source.json +9 -0
- package/templates/community/instagram-two-perspectives/template.json +47 -0
- package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
- package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
- package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
- package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
- package/templates/community/instagram-version-change-audit/README.md +10 -0
- package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
- package/templates/community/instagram-version-change-audit/source.json +9 -0
- package/templates/community/instagram-version-change-audit/template.json +51 -0
- package/templates/community/instagram-visual-analogy/README.md +13 -0
- package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
- package/templates/community/instagram-visual-analogy/source.json +9 -0
- package/templates/community/instagram-visual-analogy/template.json +53 -0
- package/templates/community/instagram-visual-guess/README.md +15 -0
- package/templates/community/instagram-visual-guess/SKILL.md +53 -0
- package/templates/community/instagram-visual-guess/source.json +9 -0
- package/templates/community/instagram-visual-guess/template.json +54 -0
- package/templates/community/instagram-visual-technique-reference/README.md +18 -0
- package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
- package/templates/community/instagram-visual-technique-reference/source.json +9 -0
- package/templates/community/instagram-visual-technique-reference/template.json +60 -0
- package/templates/community/instagram-worked-examples/README.md +13 -0
- package/templates/community/instagram-worked-examples/SKILL.md +52 -0
- package/templates/community/instagram-worked-examples/source.json +9 -0
- package/templates/community/instagram-worked-examples/template.json +57 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sceneExample: import("../../workflow/subcommands").Subcommand;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PopostClient } from '../../providers/api';
|
|
2
|
+
import { type JsonRecord } from '../../providers/base';
|
|
3
|
+
import type { Runtime } from '../../runtime';
|
|
4
|
+
import { type Commands } from './shared';
|
|
5
|
+
interface Platform {
|
|
6
|
+
readonly client: PopostClient;
|
|
7
|
+
/** The popost section of the private config. */
|
|
8
|
+
readonly config: JsonRecord;
|
|
9
|
+
readonly secrets: string[];
|
|
10
|
+
}
|
|
11
|
+
/** The client as every platform command builds it: the private config's popost section, then the environment. */
|
|
12
|
+
export declare const platform: (rt: Runtime) => Promise<Platform>;
|
|
13
|
+
export declare const generateCommands: Commands;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the loop's commands (template, plan, materials, retarget, readback, look, eval) share: the failures of their
|
|
3
|
+
* library code that the caller can fix, reported as `{"ok": false, "error": …}` with exit code 2.
|
|
4
|
+
*/
|
|
5
|
+
import type { OptionSpec, ParsedArgs } from '../../args';
|
|
6
|
+
import { type Body } from './shared';
|
|
7
|
+
/** A template that cannot be read, an evaluation set that cannot be found: the message says what to do. */
|
|
8
|
+
/** --fit-tempo of the spoken commands: retarget --speak, plan, template fill --speak and template check. */
|
|
9
|
+
export declare const FIT_TEMPO: OptionSpec;
|
|
10
|
+
/** The cap --fit-tempo gives, or undefined when it is not given or is 1; a cap out of range is refused. */
|
|
11
|
+
export declare const fitTempoOf: (args: ParsedArgs) => number | undefined;
|
|
12
|
+
export declare const looping: (body: Body) => Body;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type Model } from '../plan/model';
|
|
3
|
+
import { type Commands } from './shared';
|
|
4
|
+
/** The model POPOST_LLM_* names; a missing or broken setting is an error the user can fix. */
|
|
5
|
+
export declare const configuredModel: (rt: Runtime) => Model;
|
|
6
|
+
/** --brief: the text itself, or a file that holds it. */
|
|
7
|
+
export declare const briefOf: (rt: Runtime, given: string) => Promise<string>;
|
|
8
|
+
export declare const makeCommands: Commands;
|
|
9
|
+
export declare const makeGroups: Readonly<Record<string, Commands>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const materials: import("../../workflow/subcommands").Subcommand;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const musicPlan: import("../../workflow/subcommands").Subcommand;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type MotionComparison, type ShotDifference } from '../score/shots';
|
|
2
|
+
import { type TrackDifference } from '../score/tracks';
|
|
3
|
+
import type { Measure } from '../types';
|
|
4
|
+
import { type Commands } from './shared';
|
|
5
|
+
/** The command that shows a shot of worst, the other video's frame (A) beside the reference's (B), at full width up to 1280. */
|
|
6
|
+
export declare const lookCommand: (typed: {
|
|
7
|
+
reference: string;
|
|
8
|
+
other: string;
|
|
9
|
+
}, m: Measure, d: ShotDifference) => string | undefined;
|
|
10
|
+
/** What the motion amounts say, and what to do about a shot that moves much less or much more than its reference shot. */
|
|
11
|
+
export declare const motionNote: (m: MotionComparison) => string;
|
|
12
|
+
/** What the paths say: how many of the reference's differ, and where the numbers to set a scene from are. */
|
|
13
|
+
export declare const pathsNote: (paths: readonly TrackDifference[]) => string;
|
|
14
|
+
export declare const NOT_RECOVERED_NOTE = "What the reading of the reference did not recover, and what its reader added. The delivery notes list every entry: what was not recovered, and what the re-make does instead (\"assumed\", or what you drew there). An entry you settled since says so.";
|
|
15
|
+
export declare const readCommands: Commands;
|
|
16
|
+
/** Command groups with commands of their own, e.g. `popost video scene check`. */
|
|
17
|
+
export declare const readGroups: Readonly<Record<string, Commands>>;
|
|
18
|
+
/** `popost video measure curve ...`: commands under the name of the `measure` command, told from it by their first word. */
|
|
19
|
+
export declare const measureGroup: Commands;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What every `popost video` command shares: one way to declare a command, and one place that turns the failures a user
|
|
3
|
+
* (or the model driving the CLI) can fix into `{"ok": false, "error": …}` with exit code 2. Anything else is a bug and
|
|
4
|
+
* is left to the generic handler in `main.ts` (exit code 1).
|
|
5
|
+
*/
|
|
6
|
+
import type { OptionSpec, ParsedArgs, PositionalSpec } from '../../args';
|
|
7
|
+
import type { Runtime } from '../../runtime';
|
|
8
|
+
import type { Subcommand } from '../../workflow/subcommands';
|
|
9
|
+
/** A command's body: prints its JSON itself and returns the exit code (nothing returned means 0). */
|
|
10
|
+
export type Body = (args: ParsedArgs, rt: Runtime) => Promise<number | void>;
|
|
11
|
+
/** A named set of commands, e.g. the `check` and `write` of `popost video scene`. */
|
|
12
|
+
export type Commands = Readonly<Record<string, Subcommand>>;
|
|
13
|
+
/** A failure with a message for the user, raised from anywhere in a command: reported with exit code 2. */
|
|
14
|
+
export declare class VideoCommandError extends Error {
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
/** A title for the task of a video project that has none yet, from what a command reads (titleOf). */
|
|
18
|
+
export type TitleOf = (args: ParsedArgs, rt: Runtime) => Promise<string | undefined> | string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* A command. projectOf: the video project it works in, from its arguments; its popost.ai requests then carry the
|
|
21
|
+
* project's task, so that the charges of the video are grouped on the account page (providers/task.ts). titleOf: what
|
|
22
|
+
* the command is about, the task's title while the project has none.
|
|
23
|
+
*/
|
|
24
|
+
export declare const command: (description: string, spec: {
|
|
25
|
+
positionals?: readonly PositionalSpec[];
|
|
26
|
+
options?: readonly OptionSpec[];
|
|
27
|
+
}, body: Body, projectOf?: (args: ParsedArgs) => string | undefined, titleOf?: TitleOf) => Subcommand;
|
|
28
|
+
/** --project of the commands that may pay before the project has files of its own (describe, transcript, voice create). */
|
|
29
|
+
export declare const PROJECT_OPTION: OptionSpec;
|
|
30
|
+
/** The first line of a text, cut to its first 60 characters at a space where there is one. */
|
|
31
|
+
export declare const firstWords: (text: unknown) => string | undefined;
|
|
32
|
+
/** A video's name as a title: its file name without the extension, but not "reference", which says nothing. */
|
|
33
|
+
export declare const videoTitle: TitleOf;
|
|
34
|
+
/** The first words of a brief: the text of the option, or of the file it names. */
|
|
35
|
+
export declare const briefTitle: (option: string) => TitleOf;
|
|
36
|
+
/** The first words of a fill or a plan: its first caption. */
|
|
37
|
+
export declare const captionTitle: (option: string) => TitleOf;
|
|
38
|
+
/** A path the user typed, against the working directory. */
|
|
39
|
+
export declare const userPath: (rt: Runtime, p: string) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const speechCheck: import("../../workflow/subcommands").Subcommand;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import { type SpeechFile } from '../describe/speech-kind';
|
|
3
|
+
import { type Commands } from './shared';
|
|
4
|
+
/** The record in a describe directory, or undefined when describe wrote none (an older describe). */
|
|
5
|
+
export declare const speechIn: (rt: Runtime, dir: string) => Promise<SpeechFile | undefined>;
|
|
6
|
+
export declare const speechKindCommands: Commands;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `popost video template`: a described reference becomes a template (save), what its shots show is read by a model
|
|
3
|
+
* (see), and a fill is shown its limits (show), checked (check), built into a project (fill) or tried with several
|
|
4
|
+
* fills (test). Each prints one JSON document; a fill with errors prints its problems with exit code 2, each with its
|
|
5
|
+
* place and one fix, and `repair`, the same text the plan step sends back to a model.
|
|
6
|
+
*/
|
|
7
|
+
import type { OptionSpec } from '../../args';
|
|
8
|
+
import { type Commands } from './shared';
|
|
9
|
+
export declare const VOICE_ASKED: OptionSpec;
|
|
10
|
+
export declare const templateCommands: Commands;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const voiceSampleCommand: import("../../workflow/subcommands").Subcommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Runtime } from '../../runtime';
|
|
2
|
+
import type { FootageFacts, FootageInfo, Project, Resolved } from '../types';
|
|
3
|
+
import { type FootageColour } from '../media/footage';
|
|
4
|
+
/** Where frame pictures go, relative to the project directory. */
|
|
5
|
+
export declare const FOOTAGE_CACHE = ".cache/video";
|
|
6
|
+
export interface FootageProbe {
|
|
7
|
+
/** For check and resolve. */
|
|
8
|
+
info: Record<string, FootageInfo>;
|
|
9
|
+
colour: Record<string, FootageColour>;
|
|
10
|
+
}
|
|
11
|
+
export interface FootageStats {
|
|
12
|
+
/** Pictures written by this build, and pictures found in the cache. */
|
|
13
|
+
extracted: number;
|
|
14
|
+
reused: number;
|
|
15
|
+
ms: number;
|
|
16
|
+
}
|
|
17
|
+
/** Reads every video material whose file lies inside the project and exists (check reports the others). */
|
|
18
|
+
export declare const probeFootage: (rt: Runtime, project: Project, projectDir: string) => Promise<FootageProbe>;
|
|
19
|
+
/**
|
|
20
|
+
* The size to extract a material's frames at: as large as its largest use needs on the canvas times the render scale
|
|
21
|
+
* (a base fills the canvas, grown by its camera; an item fills its box), never larger than the source.
|
|
22
|
+
*/
|
|
23
|
+
export declare const extractSize: (r: Resolved, id: string, src: Pick<FootageFacts, "width" | "height">, scale?: number) => {
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Extracts the frames the timeline shows (missing ones only) and returns the timeline with each footage's dir set.
|
|
29
|
+
* opts.scale: the render scale, so a half-size render extracts half-size pictures.
|
|
30
|
+
*/
|
|
31
|
+
export declare const extractFootage: (rt: Runtime, r: Resolved, projectDir: string, probed: FootageProbe, opts?: {
|
|
32
|
+
scale?: number;
|
|
33
|
+
}) => Promise<{
|
|
34
|
+
resolved: Resolved;
|
|
35
|
+
stats: FootageStats;
|
|
36
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project directory -> page: read video.json, parse, read the video materials (probe) and the words files, check,
|
|
3
|
+
* resolve, extract the video frames the timeline shows (compile/footage.ts), compile. Errors among the problems mean
|
|
4
|
+
* no page.
|
|
5
|
+
*/
|
|
6
|
+
import type { Runtime } from '../../runtime';
|
|
7
|
+
import type { Problem, Project, Resolved } from '../types';
|
|
8
|
+
import { type FootageStats } from './footage';
|
|
9
|
+
export { compilePage } from './page';
|
|
10
|
+
export { loadWords } from './words';
|
|
11
|
+
export interface BuiltPage {
|
|
12
|
+
html?: string;
|
|
13
|
+
/** The timeline the page plays, with the frame directory of every video material set. */
|
|
14
|
+
resolved?: Resolved;
|
|
15
|
+
/** The parsed project (absent when video.json could not be read or parsed). */
|
|
16
|
+
project?: Project;
|
|
17
|
+
problems: Problem[];
|
|
18
|
+
/** What the build did with video frames (absent when the project shows no video). */
|
|
19
|
+
footage?: FootageStats;
|
|
20
|
+
}
|
|
21
|
+
export interface BuildOptions {
|
|
22
|
+
/** Render scale: the page's size, and the size video frames are extracted at. Default 1. */
|
|
23
|
+
scale?: number;
|
|
24
|
+
/** An immutable JSON snapshot, supplied by Studio exports. Assets still resolve against projectDir. */
|
|
25
|
+
source?: unknown;
|
|
26
|
+
/** Fetch the effects of the catalogue the project names and does not have yet (render, preview, draft export). */
|
|
27
|
+
fetchEffects?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** projectDir: as the user typed it (the problems name it so), against rt.cwd. */
|
|
30
|
+
export declare const buildPage: (rt: Runtime, projectDir: string, opts?: BuildOptions) => Promise<BuiltPage>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PAGE_BUNDLE = "\"use strict\";(()=>{var le=(e,t)=>t<e.start?\"before\":t<e.end?\"spoken\":\"past\",q={padding:.1,radius:.2},D={scale:1,background:!1},de=(e,t)=>!e||t===\"before\"?D:t===\"past\"?e.past?{...D,...e.past.color?{color:e.past.color}:{},...e.past.opacity!==void 0?{opacity:e.past.opacity}:{}}:D:{scale:e.scale??1,background:e.background!==void 0,...e.color?{color:e.color}:{},...e.weight?{weight:e.weight}:{}},at=(e,t,n)=>{let o=0;for(;o<e.length&&(e[o]?.start??1/0)<=n;)o++;return o===0?0:e[o]?.from??t},me=(e,t,n,o)=>{let r=Math.round(t.chars*n);return e.reveal===\"words\"&&e.words?Math.min(r,at(e.words,n,o)):r};var g=e=>e>0?e<1?e:1:0,C=(e,t,n)=>e+(t-e)*n,v=(e,t)=>{let n=g(t);switch(e){case\"linear\":return n;case\"in\":return n*n*n;case\"out\":return 1-(1-n)**3;case\"in-out\":return n<.5?4*n*n*n:1-(-2*n+2)**3/2}},M=e=>{let t=(Math.imul(e|0,2654435761)^1540483477)>>>0;return t=Math.imul(t^t>>>15,2246822507)>>>0,t=Math.imul(t^t>>>13,3266489909)>>>0,((t^t>>>16)>>>0)/4294967296};var J={opacity:1,translate:[0,0],scale:1,rotate:0,blur:0,clip:[0,0,0,0],chars:1};var B={left:[-1,0],right:[1,0],up:[0,-1],down:[0,1]},$={up:0,right:1,down:2,left:3},it={left:\"right\",right:\"left\",up:\"down\",down:\"up\"},ct=.6,O=.6,lt=.25,dt=.04,mt=(e,t)=>e<O?C(ct,1+t,v(\"out\",e/O)):C(1+t,1,v(\"in-out\",(e-O)/(1-O))),ue=(e,t,n)=>{switch(e.preset){case\"none\":return{};case\"fade\":return{opacity:n};case\"pop\":return{scale:mt(n,e.overshoot),opacity:g(n/lt)};case\"scale-in\":return{scale:n};case\"slide\":{let[o,r]=B[t];return{translate:[-o*e.distance*(1-n),-r*e.distance*(1-n)],opacity:g(n*2)}}case\"wipe\":{let o=[0,0,0,0];return o[$[t]]=1-n,{clip:o}}case\"type\":return{chars:n};case\"blur\":return{blur:dt*(1-n),opacity:n}}},Z=(e,t,n)=>{let o=e.preset===\"type\"?g(n):v(e.ease,n),r=t===\"enter\"?ue(e,e.direction,o):ue(e,it[e.direction],1-o);return{...J,...r}};var te={opacity:1,translate:[0,0],scale:1,rotate:0,blur:0,smear:[0,0],clip:[0,0,0,0],z:0},u=(e={})=>({...te,...e}),S=()=>u({opacity:0}),W={black:\"#000000\",white:\"#ffffff\"},fe=1.5,he=.06,be=.5,ge=.25,ye=.08,xe=.05,Q=.08,ut=.15,ve=90,T=e=>e.strength??1,z=e=>1-Math.abs(2*e-1),ee=e=>e<.5?e/.5:(e-.5)/.5,ne=e=>B[e in B?e:\"left\"],Se=(e,t)=>{let n=e*Math.PI/180,o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n));return Math.max((t.width*o+t.height*r)/t.width,(t.width*r+t.height*o)/t.height)},we=(e,t)=>Math.min(t-1,Math.max(0,Math.round(e*(t+1))-1)),pe=(e,t,n)=>({old:n<.5?u():S(),next:u({opacity:n<.5?0:1,z:1}),overlay:{color:e,opacity:t}}),pt=(e,t)=>{if(e.direction===\"center-out\")return{old:u(),next:u({clip:{radius:t},z:1})};if(e.direction===\"edges-in\")return{old:u({clip:{radius:1-t},z:1}),next:u()};let n=[0,0,0,0];return n[$[e.direction]]=1-t,{old:u(),next:u({clip:n,z:1})}},ft=(e,t)=>{let[n,o]=ne(e.direction),r=[n*t,o*t],s=[n*(t-1),o*(t-1)];return e.mode===\"cover\"?{old:u(),next:u({translate:s,z:1})}:e.mode===\"reveal\"?{old:u({translate:r,z:1}),next:u()}:{old:u({translate:r}),next:u({translate:s,z:1})}},ht=(e,t,n,o)=>{let r=v(\"in-out\",ee(t)),s=ve*T(e),a=t<.5?s*r:-s*(1-r),i=u({rotate:a,scale:Se(a,o),z:1});return t<.5?{old:i,next:S()}:{old:S(),next:i}},bt=(e,t,n)=>{let o=we(n,e.frames),r=(o+.5)/e.frames>.3+.4*M(o),s=(M(o+101)-.5)*2*ye*T(e)*z(g(n)),a=u({translate:[s,0],scale:1+2*Math.abs(s),z:1});return r?{old:S(),next:a}:{old:a,next:S()}},gt=(e,t,n)=>{let o=we(n,e.frames),r=xe*T(e)*(t<.5?t/.5:((1-t)/.5)**2),s=o%2===0?1:-1,a=r*s*(.6+.4*M(o)),i=r*(M(o+7)-.5),c=u({translate:[a,i],scale:1+2*r,z:1});return t<.5?{old:c,next:S()}:{old:S(),next:c}},yt=(e,t)=>{let[n,o]=ne(e.direction),r=Q*T(e)*z(t),s=[Math.abs(n)*r,Math.abs(o)*r];return{old:u({translate:[n*t,o*t],smear:s}),next:u({translate:[n*(t-1),o*(t-1)],smear:s,z:1})}},xt={fade:(e,t)=>pe(W[e.via],g(T(e)*z(t)),t),flash:(e,t)=>pe(W.white,g(fe*T(e)*z(t)),t),dissolve:(e,t)=>({old:u(),next:u({opacity:t,z:1})}),wipe:pt,slide:ft,zoom:(e,t)=>({old:u({scale:1+be*T(e)*t,opacity:1-t,z:1}),next:u({scale:1+ge*T(e)*(1-t)})}),spin:ht,blur:(e,t)=>{let n=he*T(e)*(t<.5?ee(t):1-ee(t));return t<.5?{old:u({blur:n,z:1}),next:S()}:{old:S(),next:u({blur:n,z:1})}},glitch:bt,shake:gt,whip:yt},vt=(e,t)=>{let n=t%2===0?1:-1;return{translate:[e*n*(.6+.4*M(t)),e*(M(t+7)-.5)],scale:1+2*e}},St={blur:(e,t)=>({layer:{blur:he*t}}),zoom:(e,t,n,o)=>({layer:{scale:1+(o===\"before\"?be:ge)*t}}),shake:(e,t,n)=>({layer:vt(xe*t,n)}),glitch:(e,t,n)=>{let o=(M(n+101)-.5)*2*ye*t;return{layer:{translate:[o,0],scale:1+2*Math.abs(o)}}},whip:(e,t,n,o)=>{let[r,s]=ne(e.direction),a=ut*t*(o===\"after\"?-1:1);return{layer:{translate:[r*a,s*a],scale:1+2*Math.abs(a),smear:[Math.abs(r)*Q*t,Math.abs(s)*Q*t]}}},spin:(e,t,n,o,r)=>{let s=ve*t*(o===\"after\"?-1:1);return{layer:{rotate:s,scale:Se(s,r)}}},flash:(e,t)=>({layer:{},overlay:{color:W.white,opacity:g(fe*t)}}),fade:(e,t)=>({layer:{},overlay:{color:W[e.via],opacity:g(t)}}),dissolve:()=>({layer:{}}),wipe:()=>({layer:{}}),slide:()=>({layer:{}})},wt=(e,t,n,o)=>{let r=t===\"after\"?1-v(e.ease,n):v(e.ease,n),s=Math.min(e.frames-1,Math.max(0,Math.round(n*e.frames)-(t===\"before\"?1:0))),a=St[e.kind](e,r*T(e),s,t,o),i=u({...a.layer,z:1}),c=t===\"after\"?{old:S(),next:i}:{old:i,next:S()};return a.overlay&&a.overlay.opacity>0?{...c,overlay:a.overlay}:c},Te=(e,t,n)=>{let o=e.side??\"both\";return o===\"both\"?xt[e.kind](e,v(e.ease,t),g(t),n):wt(e,o,t,n)};var G={scale:1,translate:[0,0]};var Tt=(e,t)=>{let n=C(e.scale[0],e.scale[1],t),o=[C(e.shift[0][0],e.shift[1][0],t),C(e.shift[0][1],e.shift[1][1],t)];return{scale:n,translate:[(1-n)*(e.focus[0]-.5)+(o[0]??0),(1-n)*(e.focus[1]-.5)+(o[1]??0)]}},Ee=(e,t)=>{let n=e[0];if(!n)return G;let o=[...e].reverse().find(s=>t>=s.from)??n,r=t<o.from?0:g((t-o.from)/Math.max(1,o.to-o.from));return Tt(o,v(o.ease,r))};var k={opacity:1,scale:1,translate:[0,0],rotate:0};var Me=(e,t)=>{let n=2*Math.PI*t/e.period,o=e.amount;switch(e.preset){case\"pulse\":return{...k,scale:1+o*(1-Math.cos(n))/2};case\"float\":{let r=o*Math.sin(n);return{...k,translate:[0,r===0?0:-r]}}case\"sway\":return{...k,rotate:o*Math.sin(n)};case\"blink\":return{...k,opacity:t%e.period<e.period/2?1:1-o};case\"spin\":return{...k,rotate:360*o*t/e.period}}};var _=(e,t)=>Math.min(Math.max(0,e.frames-1),Math.max(0,Math.floor(t))),ke=(e,t)=>t>=e.a&&t<e.a+e.frames,Et=(e,t)=>{let n=e.side??\"both\";return n===\"after\"?(t-e.a)/e.frames:n===\"before\"?(t-e.a+1)/e.frames:(t-e.a+1)/(e.frames+1)},Ce=(e,t)=>{let n=e.segments[t],o=n?.transition,r=e.segments[t+1]?.transition;if(!n)return[0,0];let s=o&&(o.side??\"both\")===\"both\"?o.a:n.start,a=r&&(r.side??\"both\")===\"both\"?r.a+r.frames-1:n.end-1;return[s,a]},oe=(e,t,n)=>{let o=e.segments[t]?.base;if(!o||o.kind===\"color\"||o.kind===\"scene\")return G;if(o.moves)return Ee(o.moves,n);if(o.zoom===0&&o.pan[0]===0&&o.pan[1]===0)return G;let[r,s]=Ce(e,t),a=(n-r)/e.canvas.fps,i=(s-r)/e.canvas.fps,c=o.zoom>=0?o.zoom*a:-o.zoom*(i-a),d=Math.max(Math.abs(o.pan[0]),Math.abs(o.pan[1]))*i;return{scale:1+c+d,translate:[o.pan[0]*(a-i/2),o.pan[1]*(a-i/2)]}};var Re=(e,t,n,o)=>{let r=Te(n,Et(n,o),e.canvas),s=n.side??\"both\",a={index:t,state:r.old,camera:oe(e,t,o)},i={index:t+1,state:r.next,camera:oe(e,t+1,o)};return{layers:s===\"both\"?[a,i]:s===\"after\"?[i]:[a],...r.overlay?{overlay:r.overlay}:{}}},j=(e,t)=>{let n=_(e,t),o=Math.max(0,e.segments.findIndex(a=>n>=a.start&&n<a.end)),r=e.segments[o]?.transition;if(r&&ke(r,n))return Re(e,o-1,r,n);let s=e.segments[o+1]?.transition;return s&&ke(s,n)?Re(e,o,s,n):{layers:[{index:o,state:te,camera:oe(e,o,n)}]}},Mt=(e,t)=>{let n=t-e.start,o=e.end-e.start;return e.enter.frames>0&&n<e.enter.frames?Z(e.enter,\"enter\",(n+1)/e.enter.frames):e.exit.frames>0&&n>=o-e.exit.frames?Z(e.exit,\"exit\",(n-(o-e.exit.frames))/e.exit.frames):J},kt=(e,t)=>{let n=e.start+e.enter.frames,o=Math.max(n,e.end-e.exit.frames);return Math.min(Math.max(0,t-n),o-n)},Le=(e,t)=>{if(t<e.start||t>=e.end)return;let n=Mt(e,t),o=e.loop?Me(e.loop,kt(e,t)):k;return o===k&&e.opacity===void 0&&e.rotate===void 0?n:{...n,opacity:n.opacity*o.opacity*(e.opacity??1),scale:n.scale*o.scale,translate:[n.translate[0]+o.translate[0],n.translate[1]+o.translate[1]],rotate:n.rotate+o.rotate+(e.rotate??0)}};var Rt=6,Ct=(e,t,n,o)=>{let r=Math.max(0,t.frames-1),s=o-e.start;return s<=0?Math.min(e.in,r):Math.min(r,e.in+Math.round(s*t.fps*e.speed/n))},Lt=(e,t)=>e+\"/\"+String(t).padStart(Rt,\"0\")+\".png\",re=(e,t,n)=>{let o=e.footage?.[t.material];return o?.dir===void 0?void 0:Lt(o.dir,Ct(t,o,e.canvas.fps,n))};var Nt=(e,t)=>{e.querySelectorAll(\"[data-slot]\").forEach(n=>{let o=t[n.getAttribute(\"data-slot\")??\"\"];o!==void 0&&(n instanceof(e.defaultView??globalThis).HTMLImageElement?n.setAttribute(\"src\",o):n.textContent=o)})},Ne=e=>[e?.__popostScene?.timeline,...Object.values(e?.__timelines??{})].filter(t=>typeof t==\"object\"&&t!==null&&(typeof t.seek==\"function\"||typeof t.time==\"function\")),Ae=e=>{let t=e.frame.contentDocument;if(t)for(let n of t.getAnimations())e.animations.includes(n)||e.animations.push(n)},At=e=>e?.picture?'The picture \"'+e.picture.src+'\" of the scene \"'+e.scene+'\" could not be loaded. Check its path: it is relative to the scene file.':'The scene \"'+(e?.scene??\"\")+'\" could not be loaded. Check that the file exists in the project directory and is an HTML page.',L=class extends Error{name=\"SceneLoadError\";failures;constructor(t){super(At(t[0])),this.failures=t}},It=async(e,t,n)=>{let o=Array.from(t.images),r=await Promise.allSettled(o.map(s=>s.decode()));return o.flatMap((s,a)=>{if(r[a]?.status!==\"rejected\")return[];let i=s.getAttribute(\"data-slot\"),c=i!==null&&e.slots?.[i]!==void 0;return[{segment:e.segment,scene:n,picture:{src:s.getAttribute(\"src\")??\"\",url:s.currentSrc||s.src,...c?{slot:i}:{}}}]})},Pt=async e=>{let{frame:t}=e,n=e.source??t.getAttribute(\"src\")??\"\",o=Dt(t);try{await _t(e,n)}finally{o()}},Dt=e=>{let t=e.parentElement;return!t||t.style.display!==\"none\"?()=>{}:(t.style.display=\"block\",t.style.visibility=\"hidden\",()=>{t.style.visibility===\"hidden\"&&(t.style.removeProperty(\"visibility\"),t.style.display=\"none\")})},_t=async(e,t)=>{let{frame:n}=e;await new Promise(s=>{let a=()=>{n.contentDocument?.readyState!==\"complete\"||n.contentDocument.URL===\"about:blank\"||(n.removeEventListener(\"load\",a),s())};n.addEventListener(\"load\",a),e.source&&(n.src=e.source),a()});let o=n.contentDocument;if(!o?.body)throw new L([{segment:e.segment,scene:t}]);e.slots&&Nt(o,e.slots),await o.fonts.ready;let r=await It(e,o,t);if(r.length)throw new L(r);Ae(e),Ft(e)},Ie=e=>e.ready??=Pt(e),Ft=e=>{for(let t of e.animations)t.playState!==\"paused\"&&t.pause(),t.currentTime=0;for(let t of Ne(e.frame.contentWindow))t.pause?.()},Pe=(e,t,n)=>{Ae(e);let o=Math.max(0,t)*1e3,r=!1,s=[];for(let l of e.animations){l.playState!==\"paused\"&&l.pause(),l.currentTime=o;let h=Number(l.effect?.getComputedTiming().endTime??0);s.push(Math.min(o,h)),o>=h||(r=!0)}let a=e.frame.contentWindow,i=Math.max(0,t);for(let l of Ne(a)){l.pause?.(),typeof l.seek==\"function\"?l.seek(i,!1):l.time?.(i);let h=typeof l.totalDuration==\"function\"?l.totalDuration():typeof l.duration==\"function\"?l.duration():1/0;s.push(Math.min(i,h)),i>=h||(r=!0)}let c=a?.__popostScene?.render;typeof c==\"function\"&&(c(Math.max(0,t),n),r=!0);let d=s.join(\"|\"),m=e.clock!==d;return e.clock=d,r||m};var Ht='\"Noto Sans CJK SC\", \"Noto Sans SC\", \"PingFang SC\", \"Microsoft YaHei\", sans-serif',K={font:Ht,size:.045,weight:700,color:\"#ffffff\",align:\"center\",italic:!1},A=1.25;var Jn={headline:{...K,size:.065,weight:800,stroke:{color:\"#000000\",width:.12}},subtitle:{...K,size:.04,weight:700,stroke:{color:\"#000000\",width:.1}},label:{...K,size:.032,weight:700,color:\"#111111\",background:{color:\"#ffffff\",padding:.35,radius:.3}},caption:{...K,size:.036,weight:600,background:{color:\"rgba(0, 0, 0, 0.6)\",padding:.3,radius:.2}}};var De=(e,t)=>{let n=Array.from(e),o=[...t??[]].sort((a,i)=>a.from-i.from),r=[],s=0;for(let a of o){let i=Math.min(n.length,Math.max(s,a.from)),c=Math.min(n.length,a.to);i>s&&r.push({text:n.slice(s,i).join(\"\")}),c>i?(r.push({text:n.slice(i,c).join(\"\"),span:a}),s=c):s=i}return s<n.length&&r.push({text:n.slice(s).join(\"\")}),r};var R=e=>String(Math.round(e*1e4)/1e4),p=e=>R(e)+\"px\",f=(e,t,n,o)=>{let r=e.createElement(t);return r.style.cssText=n,o.appendChild(r),r},I=(e,t,n,o)=>{let r=(e.padding??.3)*t,s=(e.radius??0)*t;return\"background:\"+e.color+\";padding:\"+[r,o?r:0,r,n?r:0].map(p).join(\" \")+\";border-radius:\"+[n?s:0,o?s:0,o?s:0,n?s:0].map(p).join(\" \")+\";\"},V=e=>e?(e.color?\"color:\"+e.color+\";\":\"\")+(e.weight?\"font-weight:\"+e.weight+\";\":\"\")+(e.italic!==void 0?\"font-style:\"+(e.italic?\"italic\":\"normal\")+\";\":\"\"):\"\";var Ot=(e,t)=>{let n=new Array(t).fill(void 0);for(let o of e??[])for(let r=Math.max(0,o.from);r<Math.min(t,o.to);r++)n[r]=o;return n},Fe=(e,t,n,o)=>V(e)+(e?.background?I(e.background,o,t===e.from,t===Math.min(e.to,n)-1):\"\"),He=(e,t,n,o)=>{let r=Fe(e.spans[t],t,e.chars.length,e.size),s=f(e.doc,\"span\",r,n);s.textContent=e.chars[t]??\"\",e.out.chars.push(s),e.out.charCss.push(r),e.out.owner.push(o)},Bt=e=>{let t=e.s.spoken?.background;if(!t)return\"\";let n=(t.padding??q.padding)*e.size,o=((e.s.lineHeight??A)-1.1)/2*e.size-n;return\"position:absolute;left:\"+p(-n)+\";right:\"+p(-n)+\";top:\"+p(o)+\";bottom:\"+p(o)+\";z-index:0;transform-origin:50% 50%;background:\"+t.color+\";border-radius:\"+p((t.radius??q.radius)*e.size)+\";\"},_e=\"position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;white-space:pre;transform-origin:50% 50%;\",Wt=(e,t,n,o,r)=>{let s=f(e.doc,\"span\",\"display:inline-block;position:relative;white-space:nowrap;\",r),a=f(e.doc,\"span\",\"visibility:hidden;\",s),i=e.s.spoken?.weight;for(let l=n;l<o;l++){let h=e.spans[l]?.weight??e.s.weight,b=f(e.doc,\"span\",Fe(e.spans[l],l,e.chars.length,e.size)+(i&&i>h?\"font-weight:\"+i+\";\":\"\"),a);b.textContent=e.chars[l]??\"\"}let c=Bt(e),d=c?f(e.doc,\"span\",c+\"display:none;\",s):void 0,m=f(e.doc,\"span\",_e+\"z-index:1;\",s);m.dataset.glyphs=\"1\";for(let l=n;l<o;l++)He(e,l,m,{token:t,gap:!1});e.out.tokens.push({layer:m,layerCss:_e,...d?{box:d}:{},boxCss:c})},Oe=(e,t,n,o,r)=>{let s=Array.from(t.text??\"\"),a=t.words??[],i={doc:e,chars:s,spans:Ot(n.spans,s.length),s:n,size:o,out:{chars:[],charCss:[],owner:[],tokens:[]}},c=0,d=0;for(;c<s.length;){let m=a[d];if(m&&c>=m.from){Wt(i,d,m.from,Math.max(m.from,Math.min(m.to,s.length)),r),c=Math.max(c,m.to),d++;continue}let l=Math.min(s.length,m?m.from:s.length),h=f(e,\"span\",\"position:relative;z-index:1;\",r);for(let b=c;b<l;b++)He(i,b,h,{token:d-1,gap:!0});c=l}return i.out},zt=e=>e?(e.color?\"color:\"+e.color+\";\":\"\")+(e.weight?\"font-weight:\"+e.weight+\";\":\"\")+(e.opacity!==void 0?\"opacity:\"+R(e.opacity)+\";\":\"\"):\"\",Be=(e,t,n,o)=>{let s=(t.words??[]).map(i=>le(i,n)),a=s.map(i=>de(t.style?.spoken,i));e.tokens.forEach((i,c)=>{let d=a[c]??D,m=\"transform:\"+(d.scale!==1?\"scale(\"+R(d.scale)+\")\":\"none\")+\";\";i.layer.style.cssText=i.layerCss+\"z-index:\"+(s[c]===\"spoken\"?2:1)+\";\"+m,i.box&&(i.box.style.cssText=i.boxCss+\"display:\"+(d.background?\"block\":\"none\")+\";\"+m)}),e.chars.forEach((i,c)=>{let d=e.owner[c]??{token:-1,gap:!0},m=d.token<0?void 0:d.gap?s[d.token]===\"past\"?a[d.token]:void 0:a[d.token];i.style.cssText=(e.charCss[c]??\"\")+zt(m)+\"visibility:\"+(c<o?\"visible\":\"hidden\")+\";\"})};var E=e=>String(Math.round(e*1e4)/1e4),F=e=>E(e)+\"px\",Gt=e=>E(e*100)+\"%\",jt=e=>({W:e.canvas.width,H:e.canvas.height,min:Math.min(e.canvas.width,e.canvas.height),halfDiagonal:Math.hypot(e.canvas.width,e.canvas.height)/2}),ze=e=>e.every(t=>t<=0)?\"none\":\"inset(\"+e.map(Gt).join(\" \")+\")\",Kt=(e,t)=>Array.isArray(e)?ze(e):\"circle(\"+F(Math.max(0,e.radius)*t.halfDiagonal)+\" at 50% 50%)\",se=(e,t,n,o)=>e===0&&t===0&&n===0&&o===1?\"none\":\"translate(\"+F(e)+\",\"+F(t)+\") rotate(\"+E(n)+\"deg) scale(\"+E(o)+\")\",Vt=(e,t,n)=>{if(!t){e.layer.style.cssText=e.layerCss+\"display:none;\",e.smear.setAttribute(\"stdDeviation\",\"0 0\"),e.img&&(e.img.style.cssText=e.imgCss);return}let o=t.state,r=o.smear[0]>0||o.smear[1]>0,s=o.blur>0?\"blur(\"+F(o.blur*n.min)+\")\":r?\"url(#\"+e.filterId+\")\":\"none\";e.layer.style.cssText=e.layerCss+\"display:block;z-index:\"+(o.z+1)+\";opacity:\"+E(o.opacity)+\";transform:\"+se(o.translate[0]*n.W,o.translate[1]*n.H,o.rotate,o.scale)+\";filter:\"+s+\";clip-path:\"+Kt(o.clip,n)+\";\",e.smear.setAttribute(\"stdDeviation\",E(o.smear[0]*n.min)+\" \"+E(o.smear[1]*n.min));let a=t.camera;e.img&&(e.img.style.cssText=e.imgCss+\"transform:\"+se(a.translate[0]*n.W,a.translate[1]*n.H,0,a.scale)+\";\")},Ut=(e,t,n)=>{let o=[e.shadow,t>0?\"blur(\"+F(t*n.min)+\")\":\"\"].filter(r=>r!==\"\");return o.length>0?o.join(\" \"):\"none\"},Yt=(e,t,n)=>e.css+\"display:\"+e.display+\";opacity:\"+E(t.opacity)+\";transform:\"+se(t.translate[0]*n.min,t.translate[1]*n.min,t.rotate,t.scale)+\";filter:\"+Ut(e,t.blur,n)+\";clip-path:\"+ze(t.clip)+\";\",Xt=(e,t,n,o,r)=>{e.el.style.cssText=n?Yt(e,n,o):e.css+\"display:none;\";let s=n?me(t,n,e.chars.length,r):e.chars.length;e.words?Be(e.words,t,r,s):e.chars.forEach((a,i)=>{a.style.visibility=i<s?\"visible\":\"hidden\"})},We=(e,t,n)=>{if(e){if(t===void 0){e.hasAttribute(\"src\")&&e.removeAttribute(\"src\");return}e.getAttribute(\"src\")!==t&&e.setAttribute(\"src\",t),n.push(e)}},ae=(e,t,n,o=!0)=>{let r=jt(t),s=_(t,n),a=j(t,s),i=[];return e.live=!1,e.segments.forEach((c,d)=>{let m=a.layers.find(h=>h.index===d);Vt(c,m,r);let l=t.segments[d]?.base;c.scene&&m&&Pe(c.scene,(s-(t.segments[d]?.start??0))/t.canvas.fps+(t.segments[d]?.base.kind===\"scene\"?(t.segments[d]?.base).offset??0:0),t.canvas.fps)&&(e.live=!0),o&&l?.kind===\"video\"&&We(c.img,m?re(t,l.play,s):void 0,i)}),e.overlay.style.cssText=a.overlay?e.overlayCss+\"display:block;background:\"+a.overlay.color+\";opacity:\"+E(a.overlay.opacity)+\";\":e.overlayCss+\"display:none;\",t.items.forEach((c,d)=>{let m=e.items[d];if(!m)return;let l=Le(c,s);Xt(m,c,l,r,s),o&&c.play&&We(m.img,l?re(t,c.play,s):void 0,i)}),i};var Ge=e=>String(Math.round(e*1e4)/1e4);var ie=e=>{let t=e.stops.map(n=>n.color+\" \"+Ge(n.at*100)+\"%\").join(\", \");return e.type===\"linear\"?\"linear-gradient(\"+Ge(e.angle??180)+\"deg, \"+t+\")\":\"radial-gradient(farthest-corner at 50% 50%, \"+t+\")\"};var Y=\"http://www.w3.org/2000/svg\",U=e=>\"position:absolute;left:0;top:0;width:\"+p(e.canvas.width)+\";height:\"+p(e.canvas.height)+\";\",Ue=e=>Math.min(e.canvas.width,e.canvas.height),je=e=>'\"'+e.replace(/[\"\\\\]/g,\"\\\\$&\").replace(/\\n/g,\"\\\\a \")+'\"',Ye=(e,t)=>p(e.x*t)+\" \"+p(e.y*t)+\" \"+p(e.blur*t)+\" \"+e.color,qt=(e,t,n,o,r)=>{let s=n.base.kind===\"color\"?n.base:n.base.kind===\"scene\"?void 0:n.base.ground,a=s?\"background:\"+(s.gradient?ie(s.gradient):s.color)+\";\":\"\",i=U(t)+\"overflow:hidden;transform-origin:50% 50%;\"+a,c=f(e,\"div\",i+\"display:none;\",o);c.dataset.segment=n.id;let d=\"popost-smear-\"+n.index,m=e.createElementNS(Y,\"filter\");m.setAttribute(\"id\",d),m.setAttribute(\"color-interpolation-filters\",\"sRGB\");let l=e.createElementNS(Y,\"feGaussianBlur\");if(l.setAttribute(\"stdDeviation\",\"0 0\"),l.setAttribute(\"edgeMode\",\"duplicate\"),m.appendChild(l),r.appendChild(m),n.base.kind===\"color\")return{layer:c,layerCss:i,imgCss:\"\",smear:l,filterId:d};if(n.base.kind===\"scene\"){let x=f(e,\"iframe\",\"position:absolute;left:0;top:0;width:100%;height:100%;border:0;display:block;pointer-events:none;background:transparent;\",c);return x.setAttribute(\"sandbox\",\"allow-scripts allow-same-origin\"),x.setAttribute(\"scrolling\",\"no\"),x.setAttribute(\"tabindex\",\"-1\"),{layer:c,layerCss:i,imgCss:\"\",smear:l,filterId:d,scene:{frame:x,source:n.base.src,segment:n.index,animations:[],...n.base.slots?{slots:n.base.slots}:{}}}}let h=\"position:absolute;left:0;top:0;width:100%;height:100%;display:block;transform-origin:50% 50%;object-fit:\"+n.base.fit+\";\",b=f(e,\"img\",h,c);return b.alt=\"\",n.base.kind===\"image\"&&(b.src=n.base.src),{layer:c,layerCss:i,img:b,imgCss:h,smear:l,filterId:d}},Jt={left:\"flex-start\",center:\"center\",right:\"flex-end\"},Ke=e=>V(e.span),$t=(e,t,n,o,r)=>t.flatMap(s=>{let a=s.span?.background;if(!o){let d=f(e,\"span\",Ke(s)+(a?I(a,n,!0,!0)+\"-webkit-box-decoration-break:clone;box-decoration-break:clone;\":\"\"),r);return d.textContent=s.text,[]}let i=f(e,\"span\",Ke(s),r),c=Array.from(s.text);return c.map((d,m)=>{let l=f(e,\"span\",a?I(a,n,m===0,m===c.length-1):\"\",i);return l.textContent=d,l})}),Zt=(e,t)=>\"width:100%;text-align:\"+e.align+\";font-family:\"+e.font+\";font-size:\"+p(t)+\";font-weight:\"+e.weight+\";font-style:\"+(e.italic?\"italic\":\"normal\")+\";color:\"+e.color+\";line-height:\"+R(e.lineHeight??A)+\";white-space:pre-wrap;overflow-wrap:break-word;\"+(e.letterSpacing?\"letter-spacing:\"+p(e.letterSpacing*t)+\";\":\"\")+(e.shadow?\"text-shadow:\"+Ye(e.shadow,t)+\";\":\"\")+(e.opacity!==void 0&&e.opacity!==1?\"opacity:\"+R(e.opacity)+\";\":\"\"),Qt=(e,t,n,o)=>{let r=n.style;if(!r||n.text===void 0)return{chars:[]};let s=r.size*t.canvas.height,a=f(e,\"div\",Zt(r,s),o),i=r.stroke?\"-webkit-text-stroke:\"+p(r.stroke.width*s)+\" \"+r.stroke.color+\";paint-order:stroke fill;\":\"\",c=r.background?I(r.background,s,!0,!0)+\"-webkit-box-decoration-break:clone;box-decoration-break:clone;\":\"\",d=f(e,\"span\",i+c,a);if(n.words){let l=Oe(e,n,r,s,d);return{chars:l.chars,block:a,words:l}}let m=n.enter.preset===\"type\"||n.exit.preset===\"type\";return{chars:$t(e,De(n.text,r.spans),s,m,d),block:a}},en=(e,t)=>{let[n,o,r,s]=t.box,a=e.canvas.width,i=e.canvas.height,c=t.border?\"border:\"+p(t.border.width*Ue(e))+\" solid \"+t.border.color+\";\":\"\";return\"position:absolute;left:\"+p(n*a)+\";top:\"+p(o*i)+\";width:\"+p(r*a)+\";height:\"+p(s*i)+\";z-index:\"+t.z+\";transform-origin:50% 50%;\"+c},Ve=(e,t)=>{if(t.shape===\"ellipse\"||t.mask===\"ellipse\")return\"border-radius:50%;\";let n=(t.radius??0)*Math.min(t.box[2]*e.canvas.width,t.box[3]*e.canvas.height);return n>0?\"border-radius:\"+p(n)+\";\":\"\"},tn=(e,t,n,o)=>{let r=en(t,n),s=n.shadow?\"drop-shadow(\"+Ye(n.shadow,Ue(t))+\")\":\"\";if(n.type===\"text\"){let c=r+\"align-items:center;justify-content:\"+Jt[n.style?.align??\"center\"]+\";\",d=f(e,\"div\",c+\"display:none;\",o);return d.dataset.item=n.id,{el:d,css:c,display:\"flex\",shadow:s,...Qt(e,t,n,d)}}if(n.type===\"image\"||n.type===\"video\"){let c=Ve(t,n),d=r+(c||n.type===\"video\"?\"overflow:hidden;\"+c:\"\"),m=f(e,\"div\",d+\"display:none;\",o);m.dataset.item=n.id;let l=f(e,\"img\",\"width:100%;height:100%;display:block;object-fit:\"+(n.fit??\"contain\")+\";\",m);return l.alt=\"\",n.type===\"image\"&&(l.src=n.src??\"\"),{el:m,css:d,display:\"block\",shadow:s,chars:[],img:l}}let a=r+\"background:\"+(n.gradient?ie(n.gradient):n.color??\"#ffffff\")+\";\"+Ve(t,n),i=f(e,\"div\",a+\"display:none;\",o);return i.dataset.item=n.id,{el:i,css:a,display:\"block\",shadow:s,chars:[]}},nn=e=>(e.fonts??[]).map(t=>\"@font-face{font-family:\"+je(t.family)+\";src:url(\"+je(t.src)+\");font-weight:1 1000;font-display:block}\").join(`\n`),Xe=(e,t,n,o)=>{let r=n.canvas.width,s=n.canvas.height;if((n.fonts??[]).length>0){let y=e.createElement(\"style\");y.textContent=nn(n),e.head.appendChild(y)}let a=f(e,\"div\",\"position:relative;overflow:hidden;width:\"+p(Math.round(r*o))+\";height:\"+p(Math.round(s*o))+\";\",t),i=f(e,\"div\",\"position:relative;overflow:hidden;background:#000;width:\"+p(r)+\";height:\"+p(s)+\";transform-origin:0 0;\"+(o===1?\"\":\"transform:scale(\"+R(o)+\");\"),a),c=e.createElementNS(Y,\"svg\");c.setAttribute(\"width\",\"0\"),c.setAttribute(\"height\",\"0\"),c.setAttribute(\"style\",\"position:absolute;width:0;height:0;\");let d=e.createElementNS(Y,\"defs\");c.appendChild(d),i.appendChild(c);let m=f(e,\"div\",U(n)+\"z-index:0;isolation:isolate;\",i),l=n.segments.map(y=>qt(e,n,y,m,d)),h=U(n)+\"z-index:1;\",b=f(e,\"div\",h+\"display:none;\",i),x=f(e,\"div\",U(n)+\"z-index:2;isolation:isolate;\",i),H=n.items.map(y=>tn(e,n,y,x)),N=[...l.filter((y,P)=>n.segments[P]?.base.kind===\"image\"),...H.filter((y,P)=>n.items[P]?.type===\"image\")].flatMap(y=>y.img?[y.img]:[]);return{stage:i,segments:l,overlay:b,overlayCss:h,items:H,images:N,live:!1}};var on=.3333333333333333,rn=80,sn=new Set([\"SCRIPT\",\"STYLE\",\"NOSCRIPT\",\"TEMPLATE\",\"TITLE\"]),an=e=>Array.from(e.childNodes).some(t=>t.nodeType===3&&(t.textContent??\"\").trim()!==\"\"),qe=(e,t)=>e.right>t.left&&e.left<t.right&&e.bottom>t.top&&e.top<t.bottom,cn=(e,t)=>{let n=e,o=n.offsetWidth??0,r=n.offsetHeight??0;return o>0&&r>0?Math.min(t.width/o,t.height/r):1},ln=(e,t,n)=>{if(e.getClientRects().length===0||t.getComputedStyle(e).visibility!==\"visible\")return!1;let o=e.getBoundingClientRect();if(!(o.width>0&&o.height>0)||!qe(o,n)||cn(e,o)<on)return!1;let r=e.ownerDocument.documentElement,s=e.ownerDocument.body,a=1;for(let i=e;i;i=i.parentElement){let c=t.getComputedStyle(i);if(a*=Number(c.opacity),i!==e&&i!==r&&i!==s&&c.display!==\"inline\"&&(c.overflowX!==\"visible\"||c.overflowY!==\"visible\")&&!qe(o,i.getBoundingClientRect()))return!1}return a>=.5},Je=e=>{let t=e.defaultView;if(!t||!e.body)return[];let n={left:0,top:0,right:t.innerWidth,bottom:t.innerHeight},o=[];return Array.from(e.body.querySelectorAll(\"*\")).forEach((r,s)=>{if(sn.has(r.tagName.toUpperCase())||!an(r))return;let a=(r.textContent??\"\").replace(/\\s+/g,\" \").trim().slice(0,rn);o.push({index:s,text:a,visible:ln(r,t,n)})}),o};var dn=1,mn=(e,t)=>e?{left:Math.min(e.left,t.left),top:Math.min(e.top,t.top),right:Math.max(e.right,t.right),bottom:Math.max(e.bottom,t.bottom)}:t,un=(e,t,n)=>{if(!e)return{top:0,bottom:0,box:0};e.font=t.fontStyle+\" \"+t.fontWeight+\" \"+t.fontSize+\" \"+t.fontFamily;let o=e.measureText(n.replace(/\\s+/g,\"\"));return{top:Math.max(0,o.fontBoundingBoxAscent-o.actualBoundingBoxAscent),bottom:Math.max(0,o.fontBoundingBoxDescent-o.actualBoundingBoxDescent),box:o.fontBoundingBoxAscent+o.fontBoundingBoxDescent}},pn=e=>{let t=e.ownerDocument,n=t.defaultView,o=t.createElement(\"canvas\").getContext(\"2d\"),r=t.createRange(),s=t.createTreeWalker(e,NodeFilter.SHOW_TEXT),a;for(let i=s.nextNode();i;i=s.nextNode()){let c=i.textContent??\"\",d=i.parentElement;if(!c.trim()||!d||!n)continue;let m=un(o,n.getComputedStyle(d),c);for(let l=0;l<c.length;l++){if(/\\s/.test(c.charAt(l)))continue;let h=(c.codePointAt(l)??0)>65535?2:1;r.setStart(i,l),r.setEnd(i,l+h),l+=h-1;let b=r.getBoundingClientRect();if(b.width<=0||b.height<=0)continue;let x=m.box>0?b.height/m.box:1;a=mn(a,{left:b.left,right:b.right,top:b.top+m.top*x,bottom:b.bottom-m.bottom*x})}}return a},$e=e=>{let t=e.getBoundingClientRect(),n=e.offsetWidth>0?t.width/e.offsetWidth:1,o=e.offsetHeight>0?t.height/e.offsetHeight:1,r=t.left+e.clientLeft*n,s=t.top+e.clientTop*o;return{left:r,top:s,right:r+e.clientWidth*n,bottom:s+e.clientHeight*o}},Ze=(e,t,n,o)=>{let s=[...n?[[\"left\",t.left-e.left],[\"right\",e.right-t.right]]:[],...o?[[\"top\",t.top-e.top],[\"bottom\",e.bottom-t.bottom]]:[]].reduce((a,i)=>!a||i[1]>a[1]?i:a,void 0);return s&&s[1]>dn?{side:s[0],px:Math.round(s[1])}:void 0},fn=e=>{let t=e.tagName.toLowerCase();if(e.id)return t+\"#\"+e.id;let n=Array.from(e.classList);return n.length?t+\".\"+n.join(\".\"):t},hn=(e,t)=>{let n=e.ownerDocument.defaultView,o=e.ownerDocument.body;for(let r=e.parentElement;r&&n&&r!==o&&r!==e.ownerDocument.documentElement;r=r.parentElement){let s=n.getComputedStyle(r),a=s.overflowX!==\"visible\",i=s.overflowY!==\"visible\";if(s.display===\"inline\"||!a&&!i)continue;let c=Ze(t,$e(r),a,i);if(c)return{ancestor:fn(r),...c}}},bn=e=>{let t=[],n=[];for(let o of Array.from(e.querySelectorAll(\"[data-slot]\"))){if(!(o instanceof(e.defaultView??globalThis).HTMLElement)||o.tagName===\"IMG\")continue;let r=pn(o);if(!r)continue;let s={slot:o.getAttribute(\"data-slot\")??\"\",text:(o.textContent??\"\").trim().slice(0,40)},a=o.clientWidth>0&&o.clientHeight>0?Ze(r,$e(o),!0,!0):void 0,i=a?void 0:hn(o,r);a?t.push({...s,...a}):i&&n.push({...s,...i})}return{overflowing:t,clipped:n}},gn=e=>{let t=e;if(!t||typeof t.at!=\"number\"||!Number.isFinite(t.at)||t.at<0||typeof t.cue!=\"string\"||!t.cue)return[];let n=typeof t.gain==\"number\"&&Number.isFinite(t.gain)?Math.min(1,Math.max(0,t.gain)):.7;return[{at:Math.round(t.at*1e3)/1e3,cue:t.cue,gain:Math.round(n*1e3)/1e3,...typeof t.effect==\"string\"?{effect:t.effect}:{}}]},yn=e=>{let t=e.defaultView?.__popostScene?.cues,n=[];try{n=JSON.parse(e.getElementById(\"popost-cues\")?.textContent??\"[]\")}catch{n=[]}return[...Array.isArray(t)?t:[],...Array.isArray(n)?n:[]].flatMap(gn).sort((o,r)=>o.at-r.at)},Qe=(e,t)=>e.segments.flatMap(n=>{let o=n.scene?.frame.contentDocument;if(!n.scene||!o||t!==void 0&&n.scene.segment!==t)return[];let r=o.documentElement;return[{segment:n.scene.segment,src:n.scene.frame.getAttribute(\"src\")??\"\",width:Math.max(r.scrollWidth,o.body?.scrollWidth??0),height:Math.max(r.scrollHeight,o.body?.scrollHeight??0),...bn(o),elements:o.body?o.body.querySelectorAll(\"*\").length:0,texts:Je(o),cues:yn(o)}]});var et=.5,xn=e=>{let t=[],n=document.createRange(),o=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);for(let r=o.nextNode();r;r=o.nextNode()){if(r.parentElement?.closest(\"[data-glyphs]\"))continue;let s=r.textContent??\"\";for(let a=0;a<s.length;a++){if(/\\s/.test(s.charAt(a)))continue;let i=s.codePointAt(a)!==void 0&&(s.codePointAt(a)??0)>65535?2:1;n.setStart(r,a),n.setEnd(r,a+i);let c=n.getBoundingClientRect();c.width>0&&c.height>0&&t.push({left:c.left,top:c.top,right:c.right,bottom:c.bottom}),a+=i-1}}return t},vn=(e,t)=>{let n=e.map(o=>(o.top+o.bottom)/2).sort((o,r)=>o-r);return n.reduce((o,r,s)=>s===0||r-(n[s-1]??r)>t/2?o+1:o,0)},Sn=(e,t)=>{let n=e.style,o=document.createElement(\"canvas\").getContext(\"2d\");if(!n||!o)return[0,0];o.font=(n.italic?\"italic \":\"\")+n.weight+\" \"+t+\"px \"+n.font;let r=o.measureText((e.text??\"\").replace(/\\s+/g,\"\"));return[Math.max(0,r.fontBoundingBoxAscent-r.actualBoundingBoxAscent),Math.max(0,r.fontBoundingBoxDescent-r.actualBoundingBoxDescent)]},wn=(e,t,n,o,r,s)=>{let a=o.canvas.width*s,i=o.canvas.height*s,c=(n.style?.size??0)*o.canvas.height,d=e.el.getBoundingClientRect(),m=t.getBoundingClientRect(),l=xn(t),h=Math.min(...l.map(w=>w.left)),b=Math.max(...l.map(w=>w.right)),[x,H]=Sn(n,c),N=(n.style?.stroke?.width??0)*c*s/2,y=Math.min(...l.map(w=>w.top))+x*s-N,P=Math.max(...l.map(w=>w.bottom))-H*s+N,X=(w,ce,rt,st)=>[(w-r.left)/a,(ce-r.top)/i,(rt-w)/a,(st-ce)/i],ot=l.length>0?b-h:0;return{id:n.id,fits:m.height<=d.height+et*s&&ot<=d.width+et*s,lines:vn(l,(n.style?.lineHeight??A)*c*s),ink:l.length>0?X(h-N,y,b+N,P):[0,0,0,0],block:l.length>0?X(h,m.top,b,m.bottom):X(m.left,m.top,m.left,m.bottom)}},tt=(e,t,n)=>{let o=e.stage.getBoundingClientRect();return t.items.flatMap((r,s)=>{let a=e.items[s];if(r.type!==\"text\"||!a?.block)return[];let i=a.el.style.cssText;a.el.style.cssText=a.css+\"display:\"+a.display+\";\";try{return[wn(a,a.block,r,t,o,n)]}finally{a.el.style.cssText=i}})};var Tn=()=>{let e=document.getElementById(\"popost-data\");if(!e?.textContent)throw new Error('popost video page: the <script id=\"popost-data\"> element with the timeline is missing. Build the page with compilePage.');return JSON.parse(e.textContent)},En=e=>[...new Set(e.resolved.items.flatMap(t=>{let n=t.style;return t.type!==\"text\"||!n?[]:[n.weight,...t.words&&n.spoken?.weight?[n.spoken.weight]:[]].map(r=>(n.italic?\"italic \":\"\")+r+\" \"+Math.round(n.size*e.resolved.canvas.height)+\"px \"+n.font)}))],Mn=e=>e.replace(/^[\"']|[\"']$/g,\"\"),kn=async e=>{let t=e.resolved.fonts??[];if(t.length===0)return;let n=[];document.fonts.forEach(o=>{n.push(o)}),await Promise.all(t.map(async o=>{let r=n.filter(a=>Mn(a.family)===o.family),s=()=>new Error('Font \"'+o.family+'\" ('+o.src+\") could not be loaded. Check that the file exists in the project directory and is a WOFF2, WOFF, TTF or OTF font.\");if(r.length===0)throw s();await Promise.all(r.map(a=>a.load())).catch(()=>{throw s()})}))},Rn=async(e,t)=>{let n=Object.entries(t.resolved.footage??{}).filter(([,r])=>r.dir===void 0).map(([r])=>'\"'+r+'\"');if(n.length>0)throw new Error(\"Video material \"+n.join(\", \")+\" has no extracted frames: the page was compiled from resolve() alone. Build it with buildPage, which extracts them into the project's .cache directory.\");await Promise.all(e.images.map(r=>r.decode().catch(()=>{throw new Error('Image \"'+(r.getAttribute(\"src\")??\"\")+'\" could not be loaded. Check that the file exists in the project directory and is a PNG, JPEG or WebP picture.')}))),await kn(t);let o=t.resolved.items.map(r=>r.text??\"\").join(\"\");await Promise.all(En(t).map(r=>document.fonts.load(r,o).catch(()=>[]))),await document.fonts.ready},nt=async e=>{let t=await Promise.allSettled(e.map(Ie)),n=t.flatMap(r=>r.status===\"rejected\"&&r.reason instanceof L?r.reason.failures:[]);if(n.length>0)throw new L(n);let o=t.find(r=>r.status===\"rejected\");if(o)throw o.reason},Cn=()=>{let e=[],t=async()=>{let n=e,o=await Promise.allSettled(n.map(s=>s.decode()));if(n!==e)return t();let r=o.findIndex(s=>s.status===\"rejected\");if(r>=0)throw new Error('The video frame picture \"'+(n[r]?.getAttribute(\"src\")??\"\")+`\" could not be loaded. Build the page again: buildPage extracts the frames into the project's .cache directory.`)};return{settle:t,set:n=>{e=n}}},Ln=(e,t)=>{let n,o=()=>n??=Rn(e,t),r=e.segments.flatMap(s=>s.scene?[s.scene]:[]);return{all:async()=>{await o(),await nt(r)},frame:async s=>{await o();let a=j(t.resolved,_(t.resolved,s)).layers.map(i=>i.index);await nt(r.filter(i=>a.includes(i.segment)))}}},Nn=()=>{let e=Tn(),t=e.resolved,n=Xe(document,document.body,t,e.scale),o=Cn(),r=Ln(n,e),s,a={frames:t.frames,fps:t.canvas.fps,width:t.canvas.width,height:t.canvas.height,scale:e.scale,prepare:async()=>{await r.all(),await o.settle()},preparePreview:r.frame,applyFrame:i=>o.set(ae(n,t,i)),previewFrame:i=>o.set(ae(n,t,i,!1)),settle:()=>o.settle(),layout:()=>tt(n,t,e.scale),scenes:i=>Qe(n,i),changed:()=>{let i=n.stage.innerHTML,c=i===s;return s=i,!c||n.live}};a.applyFrame(0),window.__popostVideo=a};Nn();})();\n";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolved -> one self-contained HTML page: the page runtime (page/main.ts, bundled ahead of time into page-bundle.ts by
|
|
3
|
+
* bundles/build-video.mjs), the timeline as JSON, minimal CSS. Image src values stay relative URLs; whoever serves the
|
|
4
|
+
* page serves the project directory next to it.
|
|
5
|
+
*/
|
|
6
|
+
import type { Resolved } from '../types';
|
|
7
|
+
/** opts.scale (0 < scale <= 4, default 1) renders the same picture at width*scale x height*scale pixels. */
|
|
8
|
+
export declare const compilePage: (resolved: Resolved, opts?: {
|
|
9
|
+
scale?: number;
|
|
10
|
+
}) => Promise<string>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The build step of words: before check and resolve, read the words file of every audio material that names one
|
|
3
|
+
* (types.ts WordsFile) and check its content (project/words.ts). A file outside the project or missing is left out;
|
|
4
|
+
* check reports it with the other files.
|
|
5
|
+
*/
|
|
6
|
+
import type { Runtime } from '../../runtime';
|
|
7
|
+
import type { Project, WordsInfo } from '../types';
|
|
8
|
+
/** What every words file says, by material id: for check (problems) and resolve (frames). projectDir: as typed. */
|
|
9
|
+
export declare const loadWords: (rt: Runtime, project: Project, projectDir: string) => Promise<Record<string, WordsInfo>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a zoom or a pan of a reference shot goes: the part of the picture the camera ends on, as a box of the canvas,
|
|
3
|
+
* so that a capture plan's zoom or a scene's camera can aim at the same part of the frame. Read from the measured
|
|
4
|
+
* camera (measure/camera.ts): a keyframed move (a scale between two values around a focus point) or a steady rate (the
|
|
5
|
+
* scale grows as 1 + zoom x seconds about the centre while the picture travels pan x canvas per second). Cautious:
|
|
6
|
+
* nothing unless the camera clearly moved (a tenth of the frame or more) and was read with confidence.
|
|
7
|
+
*/
|
|
8
|
+
import type { Box, ShotMeasure } from '../types';
|
|
9
|
+
export interface CameraAim {
|
|
10
|
+
/**
|
|
11
|
+
* 'end': a push-in or a pan; box is what the camera ends on, in the canvas of the shot's first frame (a pan's box
|
|
12
|
+
* lies partly outside 0..1: beyond the first frame). 'start': a pull-out; box is what it starts on, in the canvas of
|
|
13
|
+
* its last frame, where it ends showing everything.
|
|
14
|
+
*/
|
|
15
|
+
at: 'end' | 'start';
|
|
16
|
+
box: Box;
|
|
17
|
+
}
|
|
18
|
+
export declare const cameraAim: (s: ShotMeasure, fps: number) => CameraAim | undefined;
|
|
19
|
+
/** In words, for shots/NN.md and TEMPLATE.md: "ends on [0.45, 0.18, 0.4, 0.4] of its first frame". */
|
|
20
|
+
export declare const aimText: (a: CameraAim) => string;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { Transcript } from '../speech/types';
|
|
2
|
+
import type { TextCue, TextTrack } from '../text/types';
|
|
3
|
+
import type { KindRange } from './speech-kind';
|
|
4
|
+
export interface Beat {
|
|
5
|
+
/** Source frames: the beat lasts start .. end-1. */
|
|
6
|
+
start: number;
|
|
7
|
+
end: number;
|
|
8
|
+
/** The caption's wording when shown; the recognised words when only said. */
|
|
9
|
+
text: string;
|
|
10
|
+
/** false: said with no caption on screen. */
|
|
11
|
+
shown: boolean;
|
|
12
|
+
/** true: its words were heard (a said caption, or speech). */
|
|
13
|
+
said: boolean;
|
|
14
|
+
/** 0..1. A said caption: the share of its words heard; a caption without speech: the reader's confidence; speech: the recogniser's. */
|
|
15
|
+
confidence: number;
|
|
16
|
+
/** 'on-camera': a visible person says its words (a dialogue beat). Absent: narration, or no confirmed kind. */
|
|
17
|
+
speech?: 'on-camera';
|
|
18
|
+
}
|
|
19
|
+
export interface ReferenceBeats {
|
|
20
|
+
/** The text track with roles that agree with the speech (rolesWithSpeech); undefined without text. */
|
|
21
|
+
text?: TextTrack;
|
|
22
|
+
beats: Beat[];
|
|
23
|
+
/** The caption cues, in time order: the caption band is set from them. */
|
|
24
|
+
captions: TextCue[];
|
|
25
|
+
}
|
|
26
|
+
/** A beat whose confidence is below this is marked unsure. */
|
|
27
|
+
export declare const UNSURE = 0.6;
|
|
28
|
+
export interface BeatOptions {
|
|
29
|
+
text?: TextTrack;
|
|
30
|
+
transcript?: Transcript;
|
|
31
|
+
/** The source's frame count. */
|
|
32
|
+
total: number;
|
|
33
|
+
/** Frames at which the shots begin: speech beats are cut there (phrasesOf). */
|
|
34
|
+
boundaries?: number[];
|
|
35
|
+
/** The confirmed kinds of the speech (speech-kind.ts, kindRanges); without them every heard word is read as before. */
|
|
36
|
+
kinds?: readonly KindRange[];
|
|
37
|
+
}
|
|
38
|
+
/** The beats of a reference from its text and its speech; with neither, no beats. */
|
|
39
|
+
export declare const referenceBeats: (o: BeatOptions) => ReferenceBeats;
|
|
40
|
+
/**
|
|
41
|
+
* Seconds of speech in no beat, and how many words that is. Strictly, a word is in a beat when its middle is. With
|
|
42
|
+
* tolerance (frames) the beats are widened by it, and with strays a word left out next to a shown beat (isStray) counts
|
|
43
|
+
* as that caption's: the rules referenceBeats attributes words by.
|
|
44
|
+
*/
|
|
45
|
+
export declare const uncoveredSpeech: (beats: Pick<Beat, "start" | "end" | "shown">[], transcript: Transcript | undefined, o?: {
|
|
46
|
+
tolerance?: number;
|
|
47
|
+
strays?: boolean;
|
|
48
|
+
}) => {
|
|
49
|
+
seconds: number;
|
|
50
|
+
words: number;
|
|
51
|
+
};
|
|
52
|
+
/** The frames by which referenceBeats widens a caption when it decides which words it covers: half the text's sampling step. */
|
|
53
|
+
export declare const coverTolerance: (text: TextTrack | undefined) => number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The curve of the main moving element of the shots that move throughout (measure/move.ts), measured while a
|
|
3
|
+
* reference is described so that the scene of such a shot is written from numbers: where the thing goes, how long it
|
|
4
|
+
* takes, its overshoot, its bounces, its squash and stretch, and the closest easing, ready to paste.
|
|
5
|
+
*
|
|
6
|
+
* The cost is bounded: at most MOST_SHOTS shots (the ones that move most), at most MAX_SECONDS of each, decoded at
|
|
7
|
+
* WIDTH pixels. A shot in which no single thing can be followed (the camera moves, several things move, footage) gets
|
|
8
|
+
* a line that says so and how to measure one element by hand.
|
|
9
|
+
*/
|
|
10
|
+
import type { Runtime } from '../../runtime';
|
|
11
|
+
import type { Measure, ShotCurves } from '../types';
|
|
12
|
+
export declare const MOST_SHOTS = 6;
|
|
13
|
+
export declare const MAX_SECONDS = 4;
|
|
14
|
+
export declare const WIDTH = 320;
|
|
15
|
+
/** The shots (from 0) to measure: those that move throughout with a still camera, the liveliest first. */
|
|
16
|
+
export declare const curveShots: (m: Measure) => number[];
|
|
17
|
+
/** The curves of one shot's main moving thing from its decoded frames. */
|
|
18
|
+
export declare const curvesOfShot: (frames: {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
fps: number;
|
|
22
|
+
frames: readonly Uint8Array[];
|
|
23
|
+
}, shot: number, startFrame: number) => ShotCurves;
|
|
24
|
+
/** The curves of the shots that move throughout; [] when none does. Never fails a describe: a shot that cannot be decoded is left out. */
|
|
25
|
+
export declare const shotCurves: (rt: Runtime, video: string, m: Measure) => Promise<ShotCurves[]>;
|
|
26
|
+
/** The lines of shots/NN.md under "Motion events" for a shot's curves. */
|
|
27
|
+
export declare const curveLines: (c: ShotCurves) => string[];
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pictures describe writes beside its text, and when a label does not explain them. A label such as "slide cover
|
|
3
|
+
* right 50f" can stand for an effect no standard transition makes (an object that flies across and pulls the next
|
|
4
|
+
* picture in behind a curved edge), and three frames a shot, cut at the boundaries, never show it. So every effect is
|
|
5
|
+
* shown as consecutive frames in one picture: the opening, every shot from just before the change into it to its end,
|
|
6
|
+
* and every change that is not a plain cut frame by frame. A label the frames do not fit is said to be one, and a very
|
|
7
|
+
* short shot that is part of an effect is shown and named with its transition. Pure: look/sheets.ts draws the sheets.
|
|
8
|
+
*/
|
|
9
|
+
import type { Boundary, Measure } from '../types';
|
|
10
|
+
import type { SheetSpec } from '../look/sheets';
|
|
11
|
+
/** The opening: its first seconds, so many frames a second. */
|
|
12
|
+
export declare const OPENING_SECONDS = 3;
|
|
13
|
+
export declare const OPENING_PER_SECOND = 6;
|
|
14
|
+
/** A shot's sheet: at most this many frames, from LEAD_IN seconds before the change into it to its last frame. */
|
|
15
|
+
export declare const SHOT_FRAMES = 12;
|
|
16
|
+
export declare const LEAD_IN = 0.1;
|
|
17
|
+
/** A transition's sheet: AROUND seconds either side of its mixed frames; every frame up to EVERY_FRAME, else every second
|
|
18
|
+
* (or more, so that the sheet holds at most MOST_FRAMES). */
|
|
19
|
+
export declare const AROUND = 0.2;
|
|
20
|
+
export declare const EVERY_FRAME = 16;
|
|
21
|
+
export declare const MOST_FRAMES = 24;
|
|
22
|
+
/**
|
|
23
|
+
* A label does not explain the frames when its model leaves a fifth of the change unexplained (the residual of fits.ts;
|
|
24
|
+
* our own and ffmpeg's transitions stay under 0.15, moving content included), a moving edge stands a tenth of the frame
|
|
25
|
+
* apart across its travel (a curved edge, or one a shape leads: a straight one is in one place), or the measurement was
|
|
26
|
+
* unsure. Shaped wipes are read on 48 blocks, whose soft edges leave about a quarter (POOR_REGION); a zoom's scaled blend
|
|
27
|
+
* tries a few scales only (POOR_ZOOM); a switched kind counts the frames no reading explains (POOR_SWITCH).
|
|
28
|
+
*/
|
|
29
|
+
export declare const POOR_RESIDUAL = 0.2;
|
|
30
|
+
export declare const POOR_REGION = 0.3;
|
|
31
|
+
export declare const POOR_ZOOM = 0.45;
|
|
32
|
+
export declare const POOR_SWITCH = 0.34;
|
|
33
|
+
export declare const BENT = 0.1;
|
|
34
|
+
/** Whether the label of a transition does not explain its frames (a cut, or a kind without a fit, never). */
|
|
35
|
+
export declare const fitsPoorly: (b: Boundary) => boolean;
|
|
36
|
+
/** A very short shot: at most this long (seconds). Its ground is flat when its largest colour covers FLAT of it. */
|
|
37
|
+
export declare const SHORT_SHOT = 1;
|
|
38
|
+
/**
|
|
39
|
+
* Very short shots that belong to the transition after them (shot k to transition k), by index: a shot of at most
|
|
40
|
+
* SHORT_SHOT seconds on a flat ground with a moving element, right before a change that is not a plain cut, is most
|
|
41
|
+
* likely part of one effect that crosses the boundary (a shape that flies in and pulls the next picture behind it),
|
|
42
|
+
* not a designed picture of its own.
|
|
43
|
+
*/
|
|
44
|
+
export declare const joinedShots: (m: Measure) => Set<number>;
|
|
45
|
+
export declare const OPENING_FILE = "opening.jpg";
|
|
46
|
+
/** The sheet of shot n (from 1). */
|
|
47
|
+
export declare const shotSheetFile: (n: number) => string;
|
|
48
|
+
/** The sheet of the transition into shot n (from 1). */
|
|
49
|
+
export declare const transitionFile: (n: number) => string;
|
|
50
|
+
/** n frames spread evenly from lo to hi (both kept), or every frame when there are no more than n. */
|
|
51
|
+
export declare const spreadFrames: (lo: number, hi: number, n: number) => number[];
|
|
52
|
+
/** Every frame from lo to hi; every second past EVERY_FRAME, or as many as keep the sheet at MOST_FRAMES. */
|
|
53
|
+
export declare const transitionFrames: (lo: number, hi: number) => number[];
|
|
54
|
+
export interface PictureSheet extends SheetSpec {
|
|
55
|
+
kind: 'opening' | 'shot' | 'transition';
|
|
56
|
+
/** The shot (from 1) the sheet shows, or the one the transition leads into. */
|
|
57
|
+
shot?: number;
|
|
58
|
+
/** A transition's sheet that starts with the very short shot before it (joinedShots): that shot's number. */
|
|
59
|
+
with?: number;
|
|
60
|
+
}
|
|
61
|
+
/** The sheets describe writes for a measured video: the opening, one per shot, one per change that is not a plain cut. */
|
|
62
|
+
export declare const pictureSheets: (m: Measure) => PictureSheet[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The layered description of a reference video, laid out for a model with a small context: a card, the numbered beats
|
|
3
|
+
* and one line per shot, one file per shot. Built from the measurement (and the text cues and the speech when readers
|
|
4
|
+
* were available) by a program; no model writes any of it. A key ending in "~" would be an inference; everything
|
|
5
|
+
* written here is measured.
|
|
6
|
+
*/
|
|
7
|
+
import type { Measure } from '../types';
|
|
8
|
+
import { type Inset } from './inset';
|
|
9
|
+
import type { Transcript } from '../speech/types';
|
|
10
|
+
import type { TextTrack } from '../text/types';
|
|
11
|
+
import type { Unrecovered } from '../types';
|
|
12
|
+
import { type SpeechFile } from './speech-kind';
|
|
13
|
+
import { type SoundFile } from '../sound/reading';
|
|
14
|
+
export interface Description {
|
|
15
|
+
/** File name (relative to reference/) -> content. */
|
|
16
|
+
files: Record<string, string>;
|
|
17
|
+
/** Rough size of each file in tokens, for the map in REFERENCE.md. */
|
|
18
|
+
tokens: Record<string, number>;
|
|
19
|
+
/** What the reading did not recover (unrecovered.ts): the list REFERENCE.md prints, for unrecovered.json. */
|
|
20
|
+
unrecovered: Unrecovered[];
|
|
21
|
+
}
|
|
22
|
+
/** A rough count that is good enough to plan a context: CJK characters count one each, other text four characters a token. */
|
|
23
|
+
export declare const roughTokens: (text: string) => number;
|
|
24
|
+
/**
|
|
25
|
+
* name: what to call the reference in the card (not a file name of a private data set). inset: the frame around the
|
|
26
|
+
* content (inset.ts). o.pictures: the pictures of frames.ts were written beside the text, which then names them.
|
|
27
|
+
* o.speech: the record of the speech's kind (speech-kind.ts): the card says it, and confirmed kinds shape the beats.
|
|
28
|
+
* o.sound: the reading of the sound (sound/reading.ts): the card and timeline.md say it.
|
|
29
|
+
*/
|
|
30
|
+
export declare const describeReference: (m: Measure, text: TextTrack | undefined, name: string, transcript?: Transcript, inset?: Inset, o?: {
|
|
31
|
+
pictures?: boolean;
|
|
32
|
+
speech?: SpeechFile;
|
|
33
|
+
sound?: SoundFile;
|
|
34
|
+
}) => Description;
|