@vfrey/vfrey 0.0.1 → 1.0.0-beta.0
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 +33 -0
- package/README.md +78 -3
- package/accounts.example.json +61 -0
- package/accounts.first-run.json +41 -0
- package/bin/vfrey.mjs +36 -0
- package/integration-tools/README.md +43 -0
- package/integration-tools/image/pillow.md +32 -0
- package/integration-tools/image/playwright.md +33 -0
- package/integration-tools/image/resvg.md +36 -0
- package/integration-tools/image/satori.md +36 -0
- package/integration-tools/image/sharp.md +38 -0
- package/integration-tools/video/blender.md +34 -0
- package/integration-tools/video/ffmpeg.md +41 -0
- package/integration-tools/video/manim.md +37 -0
- package/integration-tools/video/motion-canvas.md +37 -0
- package/integration-tools/video/remotion.md +50 -0
- package/integration-tools/video/revideo.md +32 -0
- package/package.json +74 -6
- package/skills/vfrey-orchestrator/SKILL.md +15 -0
- package/skills/vfrey-orchestrator/channel-video/SKILL.md +41 -0
- package/skills/vfrey-product/SKILL.md +63 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/framey/cook-one.svg +14 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/framey/cook-two.svg +22 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/framey/index.html +70 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/remotion/cook-one.svg +14 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/remotion/cook-two.svg +22 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/remotion/index.tsx +49 -0
- package/skills/vfrey-product/examples/concurrency-vs-parallelism/script.json +15 -0
- package/skills/vfrey-product/examples/octopus-facts/index.html +60 -0
- package/skills/vfrey-product/examples/octopus-facts/octopus.svg +8 -0
- package/skills/vfrey-product/examples/octopus-facts/script.json +14 -0
- package/skills/vfrey-product/push/SKILL.md +15 -0
- package/skills/vfrey-product/scenes/NOTICE +5 -0
- package/skills/vfrey-product/scenes/blocks.md +57 -0
- package/skills/vfrey-product/scenes/craft.md +118 -0
- package/skills/vfrey-product/scenes/motion.md +88 -0
- package/src/analytics/dashboard.ts +109 -0
- package/src/analytics/index.ts +260 -0
- package/src/api/client.ts +282 -0
- package/src/api/commands.ts +330 -0
- package/src/api/config.ts +34 -0
- package/src/api/creators.ts +463 -0
- package/src/api/credentials.ts +152 -0
- package/src/api/mail.ts +333 -0
- package/src/api/topics.ts +207 -0
- package/src/api/types.ts +205 -0
- package/src/cli.ts +467 -0
- package/src/cloud/executor.ts +281 -0
- package/src/cloud/job.ts +106 -0
- package/src/cloud/render-job.ts +187 -0
- package/src/config.ts +309 -0
- package/src/dashboard-link.ts +180 -0
- package/src/dashboard-start.ts +103 -0
- package/src/desk/channel.ts +64 -0
- package/src/desk/cli.ts +216 -0
- package/src/desk/creators-route.ts +129 -0
- package/src/desk/fonts/JetBrainsMono-OFL.txt +93 -0
- package/src/desk/fonts/google-sans-flex-latin.woff2 +0 -0
- package/src/desk/fonts/jetbrains-mono-medium.woff2 +0 -0
- package/src/desk/http.ts +460 -0
- package/src/desk/mail-route.ts +103 -0
- package/src/desk/overlay.ts +112 -0
- package/src/desk/preview.ts +422 -0
- package/src/desk/screens.ts +149 -0
- package/src/desk/secrets.ts +143 -0
- package/src/desk/series.ts +127 -0
- package/src/desk/state.ts +77 -0
- package/src/desk/studio-route.ts +119 -0
- package/src/desk/tick-runner.ts +66 -0
- package/src/desk/tick.ts +56 -0
- package/src/desk/topics-route.ts +41 -0
- package/src/desk/ui/app.css +505 -0
- package/src/desk/ui/app.js +185 -0
- package/src/desk/ui/apple-icon.png +0 -0
- package/src/desk/ui/components.js +79 -0
- package/src/desk/ui/core.js +156 -0
- package/src/desk/ui/favicon.ico +0 -0
- package/src/desk/ui/icon.svg +1 -0
- package/src/desk/ui/icons.js +49 -0
- package/src/desk/ui/index.html +41 -0
- package/src/desk/ui/metrics-math.d.ts +22 -0
- package/src/desk/ui/metrics-math.js +135 -0
- package/src/desk/ui/theme.js +5 -0
- package/src/desk/ui/views-creators.js +209 -0
- package/src/desk/ui/views-keys.js +114 -0
- package/src/desk/ui/views-mail.js +188 -0
- package/src/desk/ui/views-misc.js +123 -0
- package/src/desk/ui/views-review.js +119 -0
- package/src/desk/ui/views-runs.js +350 -0
- package/src/desk/ui/views-screens.js +163 -0
- package/src/desk/ui/views-series.js +318 -0
- package/src/desk/ui/views-topics.js +87 -0
- package/src/desk/verbs.ts +361 -0
- package/src/doctor.ts +212 -0
- package/src/drain.ts +14 -0
- package/src/engage/index.ts +217 -0
- package/src/generate/index.ts +110 -0
- package/src/generate/script.ts +152 -0
- package/src/generate/title.ts +78 -0
- package/src/help.ts +233 -0
- package/src/home.ts +45 -0
- package/src/llm/client.ts +177 -0
- package/src/log.ts +7 -0
- package/src/oauth/tokens.ts +189 -0
- package/src/oauth/vault.ts +72 -0
- package/src/pipeline/review.ts +642 -0
- package/src/pipeline/run.ts +443 -0
- package/src/pipeline/series-guard.ts +26 -0
- package/src/pipeline/source-fetch.ts +69 -0
- package/src/pipeline/stages.ts +728 -0
- package/src/pipeline/topics-source.ts +90 -0
- package/src/product/commands.ts +296 -0
- package/src/product/config-file.ts +38 -0
- package/src/product/engine-choice.ts +89 -0
- package/src/product/engines.ts +103 -0
- package/src/product/insights.ts +50 -0
- package/src/product/keys.ts +67 -0
- package/src/product/paths.ts +18 -0
- package/src/product/probes.ts +88 -0
- package/src/product/push-flow.ts +90 -0
- package/src/product/render-video.ts +21 -0
- package/src/product/short.ts +62 -0
- package/src/product/update.ts +32 -0
- package/src/project/canonical.ts +14 -0
- package/src/project/commands.ts +177 -0
- package/src/project/dashboard-status.ts +28 -0
- package/src/project/discover.ts +19 -0
- package/src/project/index-file.ts +73 -0
- package/src/project/marker.ts +87 -0
- package/src/project/migrate.ts +201 -0
- package/src/project/names.ts +27 -0
- package/src/project/notice.ts +16 -0
- package/src/project/open.ts +88 -0
- package/src/project/scaffold.ts +112 -0
- package/src/project/templates.ts +42 -0
- package/src/project/videos.ts +64 -0
- package/src/publish/facebook.ts +91 -0
- package/src/publish/index.ts +12 -0
- package/src/publish/instagram.ts +97 -0
- package/src/publish/rate.ts +62 -0
- package/src/publish/session.ts +242 -0
- package/src/publish/tiktok.ts +202 -0
- package/src/publish/youtube.ts +177 -0
- package/src/queue/desk-ops.ts +1170 -0
- package/src/queue/seal.ts +3 -0
- package/src/queue/store.ts +1006 -0
- package/src/remotion/AiLabel.tsx +26 -0
- package/src/remotion/Root.tsx +73 -0
- package/src/remotion/defaults.ts +26 -0
- package/src/remotion/films/claude/ClaudeFilm.tsx +1014 -0
- package/src/remotion/films/engine/EngineMark.tsx +17 -0
- package/src/remotion/films/rea/ReaShort.tsx +552 -0
- package/src/remotion/films/rea/drawings.tsx +907 -0
- package/src/remotion/films/rea/timing.ts +144 -0
- package/src/remotion/index.ts +4 -0
- package/src/remotion/templates/EditorialSplit.tsx +39 -0
- package/src/remotion/templates/KineticType.tsx +39 -0
- package/src/remotion/templates/SignalBoard.tsx +50 -0
- package/src/remotion/timing.ts +22 -0
- package/src/render/chrome.ts +78 -0
- package/src/render/engine-mark.ts +29 -0
- package/src/render/framey-template.ts +130 -0
- package/src/render/html-engine.ts +149 -0
- package/src/render/node-crypto-stub.ts +11 -0
- package/src/render/probe.ts +29 -0
- package/src/render/props.ts +17 -0
- package/src/render/vertical-short.ts +35 -0
- package/src/render/webpack.ts +33 -0
- package/src/render/worker.ts +65 -0
- package/src/scene/assets/fonts/TitanOne-OFL.txt +94 -0
- package/src/scene/assets/fonts/titan-one.woff2 +0 -0
- package/src/scene/assets/gsap/LICENSE.txt +8 -0
- package/src/scene/assets/gsap/gsap.min.js +11 -0
- package/src/scene/audio.ts +54 -0
- package/src/scene/blocks/LICENSE +190 -0
- package/src/scene/blocks/NOTICE +5 -0
- package/src/scene/blocks/bar-chart-race/bar-chart-race.html +585 -0
- package/src/scene/blocks/beat-freeze-cut/beat-freeze-cut.html +874 -0
- package/src/scene/blocks/camcorder-hud/camcorder-hud.html +164 -0
- package/src/scene/blocks/camera-dolly-zoom/camera-dolly-zoom.html +355 -0
- package/src/scene/blocks/code-diff/code-diff.html +817 -0
- package/src/scene/blocks/code-snippet-apple-terminal-pro/code-snippet-apple-terminal-pro.html +248 -0
- package/src/scene/blocks/code-typing/code-typing.html +764 -0
- package/src/scene/blocks/data-chart/data-chart.html +452 -0
- package/src/scene/blocks/flowchart-vertical/flowchart-vertical.html +454 -0
- package/src/scene/blocks/hw-scribble-transition/hw-scribble-transition.html +153 -0
- package/src/scene/blocks/index.json +824 -0
- package/src/scene/blocks/lt-accent-underline/lt-accent-underline.html +107 -0
- package/src/scene/blocks/lt-bold-block/lt-bold-block.html +109 -0
- package/src/scene/blocks/lt-clean-bar/lt-clean-bar.html +112 -0
- package/src/scene/blocks/lt-dark-card/lt-dark-card.html +111 -0
- package/src/scene/blocks/lt-kicker-name/lt-kicker-name.html +114 -0
- package/src/scene/blocks/lt-mask-reveal/lt-mask-reveal.html +120 -0
- package/src/scene/blocks/lt-neon-border/lt-neon-border.html +391 -0
- package/src/scene/blocks/lt-stack-bars/lt-stack-bars.html +109 -0
- package/src/scene/blocks/macos-notification/macos-notification.html +194 -0
- package/src/scene/blocks/mk-background/mk-background.html +236 -0
- package/src/scene/blocks/mk-callout-highlight/mk-callout-highlight.html +183 -0
- package/src/scene/blocks/mk-clone-wall-transition/mk-clone-wall-transition.html +226 -0
- package/src/scene/blocks/mk-line-graph/mk-line-graph.html +293 -0
- package/src/scene/blocks/mk-progress-stat/mk-progress-stat.html +186 -0
- package/src/scene/blocks/mk-specs-list/mk-specs-list.html +223 -0
- package/src/scene/blocks/news-ticker/news-ticker.html +409 -0
- package/src/scene/blocks/organic-light-leak-overlay/organic-light-leak-overlay.html +126 -0
- package/src/scene/blocks/oscilloscope-trace/oscilloscope-trace.html +519 -0
- package/src/scene/blocks/snow/snow.html +205 -0
- package/src/scene/blocks/split-flap-board/split-flap-board.html +347 -0
- package/src/scene/blocks/spotify-card/spotify-card.html +294 -0
- package/src/scene/blocks/starfield/starfield.html +188 -0
- package/src/scene/blocks/thread-message-stack/thread-message-stack.html +239 -0
- package/src/scene/blocks/week-in-merges/week-in-merges.html +470 -0
- package/src/scene/blocks/x-post/x-post.html +437 -0
- package/src/scene/blocks/yt-comment-card/yt-comment-card.html +319 -0
- package/src/scene/blocks/yt-lcd-background/yt-lcd-background.html +307 -0
- package/src/scene/blocks/yt-prism-title/yt-prism-title.html +205 -0
- package/src/scene/blocks.ts +229 -0
- package/src/scene/command.ts +272 -0
- package/src/scene/figure.ts +181 -0
- package/src/scene/glyphs.ts +107 -0
- package/src/scene/init.ts +86 -0
- package/src/scene/inspect/css-tree.d.ts +6 -0
- package/src/scene/inspect/page-scripts.ts +272 -0
- package/src/scene/inspect/report.ts +405 -0
- package/src/scene/inspect/run.ts +200 -0
- package/src/scene/inspect/source.ts +236 -0
- package/src/scene/label.ts +131 -0
- package/src/scene/net-guard.ts +74 -0
- package/src/scene/render.ts +292 -0
- package/src/scene/runtime/browser.ts +199 -0
- package/src/scene/runtime/core.ts +181 -0
- package/src/scene/runtime/react.tsx +115 -0
- package/src/scene/runtime/transitions.ts +133 -0
- package/src/scene/sanitize.ts +181 -0
- package/src/scene/scene.ts +152 -0
- package/src/scene/studio-command.ts +48 -0
- package/src/scene/studio-skin.ts +59 -0
- package/src/scene/studio.ts +337 -0
- package/src/scene/supply.ts +111 -0
- package/src/scene/timing.ts +288 -0
- package/src/scene/transitions/LICENSE +190 -0
- package/src/scene/transitions/NOTICE +5 -0
- package/src/scene/transitions/SOURCE.json +24 -0
- package/src/scene/transitions/transitions.global.js +38 -0
- package/src/scene/transitions.ts +26 -0
- package/src/service/all-projects.ts +153 -0
- package/src/service/commands.ts +256 -0
- package/src/service/due.ts +82 -0
- package/src/service/lock.ts +101 -0
- package/src/service/log-file.ts +56 -0
- package/src/service/state.ts +41 -0
- package/src/service/units.ts +90 -0
- package/src/service/worker.ts +51 -0
- package/src/skill-agents.ts +74 -0
- package/src/skill-install.ts +334 -0
- package/src/sync-write.ts +21 -0
- package/src/tick-report.ts +205 -0
- package/src/tts.ts +124 -0
- package/vendor/@vfrey/contracts/dist/account.d.ts +97 -0
- package/vendor/@vfrey/contracts/dist/account.js +27 -0
- package/vendor/@vfrey/contracts/dist/checks.d.ts +8 -0
- package/vendor/@vfrey/contracts/dist/checks.js +1 -0
- package/vendor/@vfrey/contracts/dist/credentials/crypto.d.ts +4 -0
- package/vendor/@vfrey/contracts/dist/credentials/crypto.js +38 -0
- package/vendor/@vfrey/contracts/dist/domain/advice-persona.d.ts +10 -0
- package/vendor/@vfrey/contracts/dist/domain/advice-persona.js +24 -0
- package/vendor/@vfrey/contracts/dist/domain/backoff.d.ts +13 -0
- package/vendor/@vfrey/contracts/dist/domain/backoff.js +27 -0
- package/vendor/@vfrey/contracts/dist/domain/cadence.d.ts +29 -0
- package/vendor/@vfrey/contracts/dist/domain/cadence.js +95 -0
- package/vendor/@vfrey/contracts/dist/domain/creators.d.ts +146 -0
- package/vendor/@vfrey/contracts/dist/domain/creators.js +2 -0
- package/vendor/@vfrey/contracts/dist/domain/disclosure.d.ts +127 -0
- package/vendor/@vfrey/contracts/dist/domain/disclosure.js +250 -0
- package/vendor/@vfrey/contracts/dist/domain/errors.d.ts +34 -0
- package/vendor/@vfrey/contracts/dist/domain/errors.js +68 -0
- package/vendor/@vfrey/contracts/dist/domain/redact.d.ts +1 -0
- package/vendor/@vfrey/contracts/dist/domain/redact.js +21 -0
- package/vendor/@vfrey/contracts/dist/domain/revenue.d.ts +13 -0
- package/vendor/@vfrey/contracts/dist/domain/revenue.js +16 -0
- package/vendor/@vfrey/contracts/dist/domain/safety.d.ts +20 -0
- package/vendor/@vfrey/contracts/dist/domain/safety.js +61 -0
- package/vendor/@vfrey/contracts/dist/domain/similarity.d.ts +13 -0
- package/vendor/@vfrey/contracts/dist/domain/similarity.js +100 -0
- package/vendor/@vfrey/contracts/dist/domain/templates.d.ts +18 -0
- package/vendor/@vfrey/contracts/dist/domain/templates.js +67 -0
- package/vendor/@vfrey/contracts/dist/domain/tiktok-chunks.d.ts +19 -0
- package/vendor/@vfrey/contracts/dist/domain/tiktok-chunks.js +52 -0
- package/vendor/@vfrey/contracts/dist/domain/topics.d.ts +78 -0
- package/vendor/@vfrey/contracts/dist/domain/topics.js +4 -0
- package/vendor/@vfrey/contracts/dist/domain/types.d.ts +216 -0
- package/vendor/@vfrey/contracts/dist/domain/types.js +1 -0
- package/vendor/@vfrey/contracts/dist/domain/variation.d.ts +57 -0
- package/vendor/@vfrey/contracts/dist/domain/variation.js +278 -0
- package/vendor/@vfrey/contracts/dist/events.d.ts +20 -0
- package/vendor/@vfrey/contracts/dist/events.js +1 -0
- package/vendor/@vfrey/contracts/dist/http.d.ts +11 -0
- package/vendor/@vfrey/contracts/dist/http.js +37 -0
- package/vendor/@vfrey/contracts/dist/index.d.ts +22 -0
- package/vendor/@vfrey/contracts/dist/index.js +22 -0
- package/vendor/@vfrey/contracts/dist/log.d.ts +2 -0
- package/vendor/@vfrey/contracts/dist/log.js +10 -0
- package/vendor/@vfrey/contracts/dist/mail.d.ts +55 -0
- package/vendor/@vfrey/contracts/dist/mail.js +1 -0
- package/vendor/@vfrey/contracts/package.json +18 -0
- package/vendor/@vfrey/ingest/dist/index.d.ts +41 -0
- package/vendor/@vfrey/ingest/dist/index.js +221 -0
- package/vendor/@vfrey/ingest/dist/parse.d.ts +5 -0
- package/vendor/@vfrey/ingest/dist/parse.js +165 -0
- package/vendor/@vfrey/ingest/package.json +21 -0
- package/vendor/framey/LICENSE +190 -0
- package/vendor/framey/NOTICE +15 -0
- package/vendor/framey/SOURCE.json +24 -0
- package/vendor/framey/STUDIO-SOURCE.json +9 -0
- package/vendor/framey/bin/framey-localize-fonts.mjs +12 -0
- package/vendor/framey/bin/framey.mjs +16 -0
- package/vendor/framey/dist/add-VMJD5KBS.js +75 -0
- package/vendor/framey/dist/animatedGifPrep-QPKGJ6PM.js +43 -0
- package/vendor/framey/dist/api.d.ts +211 -0
- package/vendor/framey/dist/api.js +76 -0
- package/vendor/framey/dist/appHistory-WW56FZTT.js +31 -0
- package/vendor/framey/dist/asset-WQKGOELE.js +26 -0
- package/vendor/framey/dist/audio-RSJWVWRA.js +1936 -0
- package/vendor/framey/dist/batchRender-3HPICDCT.js +366 -0
- package/vendor/framey/dist/beats-HL2BDUZI.js +273 -0
- package/vendor/framey/dist/benchmark-RWCWHI5Z.js +230 -0
- package/vendor/framey/dist/browser-ECYET3Q2.js +206 -0
- package/vendor/framey/dist/bundleWithLocalizedFonts-ALYBQEQT.js +52 -0
- package/vendor/framey/dist/captureCompositionFrame-4DA6SEH2.js +94 -0
- package/vendor/framey/dist/catalog-5JVDEUWK.js +979 -0
- package/vendor/framey/dist/catch-up-NEBCL5NO.js +106 -0
- package/vendor/framey/dist/check-F5N544ML.js +111 -0
- package/vendor/framey/dist/checkBrowser-LZ66CMJG.js +110 -0
- package/vendor/framey/dist/chunk-2K7Z2HVP.js +372 -0
- package/vendor/framey/dist/chunk-2UZQHDM7.js +323 -0
- package/vendor/framey/dist/chunk-2X4PQEYM.js +34 -0
- package/vendor/framey/dist/chunk-3422KMTD.js +168 -0
- package/vendor/framey/dist/chunk-3FYD4YEK.js +72 -0
- package/vendor/framey/dist/chunk-3GXQPCJC.js +682 -0
- package/vendor/framey/dist/chunk-3LM6YPBR.js +179 -0
- package/vendor/framey/dist/chunk-442JNXRM.js +20 -0
- package/vendor/framey/dist/chunk-4BNN5FGX.js +182 -0
- package/vendor/framey/dist/chunk-4P7NX5BM.js +11532 -0
- package/vendor/framey/dist/chunk-4UMPIPCQ.js +88 -0
- package/vendor/framey/dist/chunk-4YYJOFKS.js +28 -0
- package/vendor/framey/dist/chunk-54HJ63Q2.js +29 -0
- package/vendor/framey/dist/chunk-5ETJX6WM.js +89 -0
- package/vendor/framey/dist/chunk-5SG54JRS.js +68 -0
- package/vendor/framey/dist/chunk-634HSJ3J.js +58 -0
- package/vendor/framey/dist/chunk-66LREXGS.js +48 -0
- package/vendor/framey/dist/chunk-6BEFEWFB.js +25 -0
- package/vendor/framey/dist/chunk-6BNTGNGD.js +286 -0
- package/vendor/framey/dist/chunk-6DDPOHMK.js +140 -0
- package/vendor/framey/dist/chunk-6GV5XSOR.js +214 -0
- package/vendor/framey/dist/chunk-6JR2XUEE.js +127 -0
- package/vendor/framey/dist/chunk-73QVATIM.js +362 -0
- package/vendor/framey/dist/chunk-7FMUTGOH.js +279 -0
- package/vendor/framey/dist/chunk-7JQFJ6JJ.js +291 -0
- package/vendor/framey/dist/chunk-AHPGAESX.js +113 -0
- package/vendor/framey/dist/chunk-AHX34EFP.js +15 -0
- package/vendor/framey/dist/chunk-AJ5CSAEZ.js +487 -0
- package/vendor/framey/dist/chunk-B7RJV74O.js +5047 -0
- package/vendor/framey/dist/chunk-BL4U6U52.js +254 -0
- package/vendor/framey/dist/chunk-BSQ7XANM.js +210 -0
- package/vendor/framey/dist/chunk-BZ56MTDX.js +6 -0
- package/vendor/framey/dist/chunk-C5BO7PMT.js +282 -0
- package/vendor/framey/dist/chunk-CFUCHO4T.js +358 -0
- package/vendor/framey/dist/chunk-CZGHFATT.js +31 -0
- package/vendor/framey/dist/chunk-DLA44CMS.js +5649 -0
- package/vendor/framey/dist/chunk-DPVXBVLL.js +31292 -0
- package/vendor/framey/dist/chunk-DQBY7FRR.js +397 -0
- package/vendor/framey/dist/chunk-EAMLBAHA.js +154 -0
- package/vendor/framey/dist/chunk-EOVYQ3IG.js +143 -0
- package/vendor/framey/dist/chunk-EVMY7IPL.js +612 -0
- package/vendor/framey/dist/chunk-FG4BBFZI.js +122 -0
- package/vendor/framey/dist/chunk-FI4I7CME.js +56 -0
- package/vendor/framey/dist/chunk-FLREUEHW.js +2081 -0
- package/vendor/framey/dist/chunk-FUFP7A7S.js +1126 -0
- package/vendor/framey/dist/chunk-FV3PIKGH.js +56 -0
- package/vendor/framey/dist/chunk-FXMKHHPO.js +123 -0
- package/vendor/framey/dist/chunk-GGZAM5VH.js +1187 -0
- package/vendor/framey/dist/chunk-GKZEVJIB.js +39 -0
- package/vendor/framey/dist/chunk-GMECXFAN.js +57 -0
- package/vendor/framey/dist/chunk-GNEFDLFB.js +621 -0
- package/vendor/framey/dist/chunk-GPMLSOEG.js +19274 -0
- package/vendor/framey/dist/chunk-GPYVT5EE.js +59 -0
- package/vendor/framey/dist/chunk-H6IEMZEV.js +40 -0
- package/vendor/framey/dist/chunk-HEFQCIXR.js +170 -0
- package/vendor/framey/dist/chunk-HFQ4CWHA.js +118 -0
- package/vendor/framey/dist/chunk-HPDTCOKE.js +304 -0
- package/vendor/framey/dist/chunk-HTUHQKDB.js +548 -0
- package/vendor/framey/dist/chunk-HU2SPFNG.js +103 -0
- package/vendor/framey/dist/chunk-HVW7ABXD.js +19 -0
- package/vendor/framey/dist/chunk-IG7NDKXO.js +26 -0
- package/vendor/framey/dist/chunk-II3J3WXK.js +246 -0
- package/vendor/framey/dist/chunk-IR35BCLK.js +13 -0
- package/vendor/framey/dist/chunk-ISN5GRYI.js +20 -0
- package/vendor/framey/dist/chunk-IUONB55J.js +669 -0
- package/vendor/framey/dist/chunk-IVSUQR2B.js +161 -0
- package/vendor/framey/dist/chunk-IXU6PQSW.js +259 -0
- package/vendor/framey/dist/chunk-IZCW2NKT.js +29 -0
- package/vendor/framey/dist/chunk-JGXJU5PF.js +68 -0
- package/vendor/framey/dist/chunk-JHOCK3DG.js +27 -0
- package/vendor/framey/dist/chunk-JVBRJMOP.js +121 -0
- package/vendor/framey/dist/chunk-K4MJX7SR.js +17 -0
- package/vendor/framey/dist/chunk-K4WKGXRC.js +18 -0
- package/vendor/framey/dist/chunk-KGPLIH7B.js +127 -0
- package/vendor/framey/dist/chunk-KLIKCX6Q.js +63 -0
- package/vendor/framey/dist/chunk-KXTKKBOC.js +61 -0
- package/vendor/framey/dist/chunk-KZI44OPA.js +185 -0
- package/vendor/framey/dist/chunk-LEKZNRKI.js +45 -0
- package/vendor/framey/dist/chunk-LFGJWOVA.js +61 -0
- package/vendor/framey/dist/chunk-LLMSX6V6.js +17 -0
- package/vendor/framey/dist/chunk-LTGTN2TH.js +195 -0
- package/vendor/framey/dist/chunk-M2WBOQ2Q.js +54 -0
- package/vendor/framey/dist/chunk-MI5FTLYK.js +399 -0
- package/vendor/framey/dist/chunk-MLQP2QUF.js +1809 -0
- package/vendor/framey/dist/chunk-MMQ52NIZ.js +956 -0
- package/vendor/framey/dist/chunk-ND46XKK3.js +742 -0
- package/vendor/framey/dist/chunk-NYEXNSHM.js +504 -0
- package/vendor/framey/dist/chunk-O4YRB27L.js +57 -0
- package/vendor/framey/dist/chunk-O7BGSQ5F.js +92 -0
- package/vendor/framey/dist/chunk-OFQWTKPW.js +117 -0
- package/vendor/framey/dist/chunk-P5ZBLXJ6.js +91 -0
- package/vendor/framey/dist/chunk-P6LJ4Y32.js +4662 -0
- package/vendor/framey/dist/chunk-PKZ7RK5N.js +281 -0
- package/vendor/framey/dist/chunk-PURHAXFL.js +15 -0
- package/vendor/framey/dist/chunk-Q5X2B5WT.js +29 -0
- package/vendor/framey/dist/chunk-QAMKOG67.js +248 -0
- package/vendor/framey/dist/chunk-R6YBK4XX.js +514 -0
- package/vendor/framey/dist/chunk-RGLQURIX.js +2997 -0
- package/vendor/framey/dist/chunk-RNV3DM4S.js +3573 -0
- package/vendor/framey/dist/chunk-ROEW726S.js +4638 -0
- package/vendor/framey/dist/chunk-RQVDTPGD.js +6 -0
- package/vendor/framey/dist/chunk-RVZHGOGR.js +26 -0
- package/vendor/framey/dist/chunk-RXATE6FZ.js +385 -0
- package/vendor/framey/dist/chunk-S3S4TGEH.js +424 -0
- package/vendor/framey/dist/chunk-SDYDNHEE.js +11202 -0
- package/vendor/framey/dist/chunk-SSWBU67I.js +173 -0
- package/vendor/framey/dist/chunk-ST35C4K6.js +28 -0
- package/vendor/framey/dist/chunk-SZNTYTIV.js +990 -0
- package/vendor/framey/dist/chunk-T2EUWCJE.js +29 -0
- package/vendor/framey/dist/chunk-T6AGUTZJ.js +444 -0
- package/vendor/framey/dist/chunk-THJALHFJ.js +11131 -0
- package/vendor/framey/dist/chunk-TIQB63MX.js +18128 -0
- package/vendor/framey/dist/chunk-U242RTCT.js +134 -0
- package/vendor/framey/dist/chunk-UJZREAV6.js +3901 -0
- package/vendor/framey/dist/chunk-UMD3V7CU.js +264 -0
- package/vendor/framey/dist/chunk-UOFAE5RF.js +42 -0
- package/vendor/framey/dist/chunk-UTEIUGAZ.js +29 -0
- package/vendor/framey/dist/chunk-VAS6HQX3.js +138 -0
- package/vendor/framey/dist/chunk-VC76R6W2.js +27 -0
- package/vendor/framey/dist/chunk-VFZ7W5W7.js +226 -0
- package/vendor/framey/dist/chunk-VHNLZAE2.js +348 -0
- package/vendor/framey/dist/chunk-VMC4WSH5.js +278 -0
- package/vendor/framey/dist/chunk-VORQIH64.js +108 -0
- package/vendor/framey/dist/chunk-VTXFRIHO.js +186 -0
- package/vendor/framey/dist/chunk-W2LGJSEN.js +182 -0
- package/vendor/framey/dist/chunk-WKBM7NDG.js +32 -0
- package/vendor/framey/dist/chunk-WMQNIQDJ.js +2057 -0
- package/vendor/framey/dist/chunk-WN4XZC5F.js +504 -0
- package/vendor/framey/dist/chunk-WQ6ZXHFQ.js +133 -0
- package/vendor/framey/dist/chunk-X7HBSTCZ.js +53 -0
- package/vendor/framey/dist/chunk-X7MTZ4T2.js +6 -0
- package/vendor/framey/dist/chunk-XPTOJZJF.js +308 -0
- package/vendor/framey/dist/chunk-XT6MXC7A.js +6 -0
- package/vendor/framey/dist/chunk-XT7X6QCP.js +6 -0
- package/vendor/framey/dist/chunk-XTMDWNEC.js +2820 -0
- package/vendor/framey/dist/chunk-XUHOIDKG.js +6 -0
- package/vendor/framey/dist/chunk-XX7LTW5Y.js +138 -0
- package/vendor/framey/dist/chunk-Y3YGTZEG.js +382 -0
- package/vendor/framey/dist/chunk-Y5SBSGN7.js +346 -0
- package/vendor/framey/dist/chunk-YCMVI4MZ.js +625 -0
- package/vendor/framey/dist/chunk-YOR4CTCE.js +261 -0
- package/vendor/framey/dist/chunk-YPRBGITP.js +2748 -0
- package/vendor/framey/dist/chunk-ZKDMAOFU.js +32 -0
- package/vendor/framey/dist/chunk-ZW6DURPF.js +1318 -0
- package/vendor/framey/dist/clean-ZJOGDKDM.js +336 -0
- package/vendor/framey/dist/cli.js +439 -0
- package/vendor/framey/dist/cloudrun-HGJ3B6ZV.js +767 -0
- package/vendor/framey/dist/commands/contrast-audit.browser.js +643 -0
- package/vendor/framey/dist/commands/layout-audit.browser.js +2914 -0
- package/vendor/framey/dist/commands/motion-sample.browser.js +74 -0
- package/vendor/framey/dist/commands/motion-signature.browser.js +475 -0
- package/vendor/framey/dist/compare-W7UY3BAZ.js +463 -0
- package/vendor/framey/dist/compiler-TM3W6GYF.js +136 -0
- package/vendor/framey/dist/component-QF5VGYMU.js +176 -0
- package/vendor/framey/dist/compositions-XT3PMNDF.js +238 -0
- package/vendor/framey/dist/contactSheet-7W6GYHBQ.js +24 -0
- package/vendor/framey/dist/deploy-6FJPWKF2.js +299 -0
- package/vendor/framey/dist/destroy-HE2RIPKZ.js +57 -0
- package/vendor/framey/dist/deterministicFonts-RADD3BSX.js +50 -0
- package/vendor/framey/dist/dist-4S2FGGVY.js +422 -0
- package/vendor/framey/dist/dist-BE4B2EZE.js +32 -0
- package/vendor/framey/dist/dist-EWXJGN63.js +129 -0
- package/vendor/framey/dist/docs-VKIRFEEX.js +131 -0
- package/vendor/framey/dist/doctor-2UNJ2G7U.js +74 -0
- package/vendor/framey/dist/dom-37K6YOH4.js +14 -0
- package/vendor/framey/dist/dotEnv-7PZQTVIM.js +54 -0
- package/vendor/framey/dist/events-ACY3P2PA.js +76 -0
- package/vendor/framey/dist/events-IHB3B2MK.js +69 -0
- package/vendor/framey/dist/ffmpeg-DR5LGGSK.js +63 -0
- package/vendor/framey/dist/figma-BODVUPHB.js +63 -0
- package/vendor/framey/dist/fontData.generated-NXAOI4GH.js +13 -0
- package/vendor/framey/dist/fontLocalizeCli.js +142 -0
- package/vendor/framey/dist/gpuPolicy-XLEXORZY.js +49 -0
- package/vendor/framey/dist/grade-compare-GAXFQ74C.js +661 -0
- package/vendor/framey/dist/gsapParser-IEUSLYDJ.js +2885 -0
- package/vendor/framey/dist/gsapParserAcorn-LZJKCFQI.js +30 -0
- package/vendor/framey/dist/help-VCB5X2HS.js +184 -0
- package/vendor/framey/dist/history-ENGZEVFT.js +471 -0
- package/vendor/framey/dist/hyperframe.manifest.json +22 -0
- package/vendor/framey/dist/hyperframe.runtime.iife.js +1132 -0
- package/vendor/framey/dist/hyperframes-player.global.js +478 -0
- package/vendor/framey/dist/hyperframes-slideshow.global.js +148 -0
- package/vendor/framey/dist/info-WPCJHBMU.js +182 -0
- package/vendor/framey/dist/init-G4WGLYGD.js +1176 -0
- package/vendor/framey/dist/inspect-5IQ6CNEQ.js +106 -0
- package/vendor/framey/dist/installer-ML4HWUV7.js +40 -0
- package/vendor/framey/dist/keyframes-Q6XJO7VW.js +2755 -0
- package/vendor/framey/dist/lambda-A7JC74JF.js +468 -0
- package/vendor/framey/dist/layout-YET6XNXA.js +95 -0
- package/vendor/framey/dist/lint-I7FZN2VJ.js +162 -0
- package/vendor/framey/dist/lintProject-PDB3UN72.js +30 -0
- package/vendor/framey/dist/manager-CD6LJ7ZN.js +45 -0
- package/vendor/framey/dist/manager-WA4F2GST.js +67 -0
- package/vendor/framey/dist/media-treatment-BXYS4WVA.js +1030 -0
- package/vendor/framey/dist/media-use-LWH3MANK.js +113 -0
- package/vendor/framey/dist/models-K363FYM4.js +195 -0
- package/vendor/framey/dist/motionShot-GPAVWXLH.js +640 -0
- package/vendor/framey/dist/normalize-FASIPBUM.js +24 -0
- package/vendor/framey/dist/normalize-audio-VDWYRHN6.js +268 -0
- package/vendor/framey/dist/open-E3TB6P6J.js +128 -0
- package/vendor/framey/dist/parakeetRunner-UP34UOI2.js +58 -0
- package/vendor/framey/dist/pipeline-VXIUYEBU.js +64 -0
- package/vendor/framey/dist/play-BUTDQ4DV.js +353 -0
- package/vendor/framey/dist/policies-OLDYGFK5.js +309 -0
- package/vendor/framey/dist/preflight-2KZ2GWAZ.js +55 -0
- package/vendor/framey/dist/present-GXYSM7NX.js +353 -0
- package/vendor/framey/dist/preview-EKZ33JOJ.js +1910 -0
- package/vendor/framey/dist/producer-SKU5EV3J.js +13 -0
- package/vendor/framey/dist/progress-ZWB4Z4ET.js +76 -0
- package/vendor/framey/dist/projectConfig-3MZAYVTS.js +60 -0
- package/vendor/framey/dist/publication-DTKWNF74.js +33 -0
- package/vendor/framey/dist/remove-background-OY5L7XN2.js +265 -0
- package/vendor/framey/dist/render-CDV4GDFX.js +187 -0
- package/vendor/framey/dist/render-YE5YAMOD.js +2620 -0
- package/vendor/framey/dist/render-batch-ZAMFPCLL.js +274 -0
- package/vendor/framey/dist/renderSetupWorker.js +120 -0
- package/vendor/framey/dist/resolver-D5BIPSEW.js +42 -0
- package/vendor/framey/dist/runtimeVersion.js +18 -0
- package/vendor/framey/dist/sam-WFZXI4F7.js +23 -0
- package/vendor/framey/dist/shaderTransitionWorker.js +44 -0
- package/vendor/framey/dist/sherpa-RQWLV7I3.js +79 -0
- package/vendor/framey/dist/sherpaWorker.js +84 -0
- package/vendor/framey/dist/sites-AMOVABTK.js +54 -0
- package/vendor/framey/dist/skill-ZHVLH7KX.js +15 -0
- package/vendor/framey/dist/slideshow-SJGK4RQS.js +24 -0
- package/vendor/framey/dist/snapshot-TUXL6LBQ.js +1515 -0
- package/vendor/framey/dist/src-JHQGB2S6.js +215 -0
- package/vendor/framey/dist/src-Z5PGEMXB.js +532 -0
- package/vendor/framey/dist/state-B6H3WHCF.js +28 -0
- package/vendor/framey/dist/staticProjectServer-DFVZOUGI.js +63 -0
- package/vendor/framey/dist/studio/assets/hyperframes-player-DLaKjw0L.js +478 -0
- package/vendor/framey/dist/studio/assets/index-BX3KHhGX.js +71 -0
- package/vendor/framey/dist/studio/assets/index-CYbvOVp-.css +1 -0
- package/vendor/framey/dist/studio/assets/index-Dp3QEUGL.js +402 -0
- package/vendor/framey/dist/studio/assets/index-qrTAXbqc.js +531 -0
- package/vendor/framey/dist/studio/favicon.svg +14 -0
- package/vendor/framey/dist/studio/icons/timeline/audio.svg +7 -0
- package/vendor/framey/dist/studio/icons/timeline/captions.svg +5 -0
- package/vendor/framey/dist/studio/icons/timeline/composition.svg +12 -0
- package/vendor/framey/dist/studio/icons/timeline/image.svg +18 -0
- package/vendor/framey/dist/studio/icons/timeline/music.svg +10 -0
- package/vendor/framey/dist/studio/icons/timeline/text.svg +3 -0
- package/vendor/framey/dist/studio/index.html +23 -0
- package/vendor/framey/dist/studio-api-2NECGRMB.js +179 -0
- package/vendor/framey/dist/studioSelectionClient-IUUPKUHZ.js +25 -0
- package/vendor/framey/dist/studioServer-N2OPUMOQ.js +1569 -0
- package/vendor/framey/dist/synthesize-PKTB5ATG.js +183 -0
- package/vendor/framey/dist/system-7F3UEHQT.js +27 -0
- package/vendor/framey/dist/telemetry-DQGPEKM6.js +145 -0
- package/vendor/framey/dist/telemetry-UN55N6U6.js +77 -0
- package/vendor/framey/dist/timeline-LHUUMK63.js +1295 -0
- package/vendor/framey/dist/tokens-OLECWDFK.js +92 -0
- package/vendor/framey/dist/transcribe-O7HQKMIV.js +331 -0
- package/vendor/framey/dist/transcribe-UJESPBT5.js +76 -0
- package/vendor/framey/dist/tts-YCCQHZD4.js +234 -0
- package/vendor/framey/dist/urlDownloader-H2LXLG4U.js +48 -0
- package/vendor/framey/dist/usage-HG4WMM7A.js +2167 -0
- package/vendor/framey/dist/validate-F2XMN6EV.js +87 -0
- package/vendor/framey/dist/vendor/npm/gsap@3.15.0/GSAP-LICENSE.txt +8 -0
- package/vendor/framey/dist/vendor/npm/gsap@3.15.0/dist/CustomEase.min.js +11 -0
- package/vendor/framey/dist/vendor/npm/gsap@3.15.0/dist/MotionPathPlugin.min.js +11 -0
- package/vendor/framey/dist/vendor/npm/gsap@3.15.0/dist/gsap.min.js +11 -0
- package/vendor/framey/dist/warmCheck.js +220 -0
- package/vendor/framey/dist/warmCheckClient.js +139 -0
- package/vendor/framey/dist/workspaceBuildCheck-XYD2YTFW.js +133 -0
- package/vendor/framey-player/LICENSE +190 -0
- package/vendor/framey-player/NOTICE +16 -0
- package/vendor/framey-player/SOURCE.json +6 -0
- package/vendor/framey-player/hyperframes-player.global.js +478 -0
- package/vendor/framey.pin +1 -0
- package/bin/index.js +0 -3
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!-- vfrey scene block "mk-line-graph": from Framey (HyperFrames by HeyGen, Apache-2.0) registry/blocks/mk-line-graph at 9d893096f7df. GSAP loads from the scene's vfrey/ folder; Google Fonts links were removed (the renderer supplies the font). See ../NOTICE. -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<script src="../../vfrey/gsap.min.js"></script>
|
|
7
|
+
<style>
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
body {
|
|
16
|
+
background: transparent;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
#mk-lg-root {
|
|
20
|
+
/* ---- mk tokens: override in the host to re-skin the family ---- */
|
|
21
|
+
--mk-font: "Inter", -apple-system, sans-serif;
|
|
22
|
+
--mk-ink: #1d1d1f;
|
|
23
|
+
--mk-ink-dim: #6e6e73;
|
|
24
|
+
--mk-accent: #0071e3;
|
|
25
|
+
--mk-paper: #ffffff;
|
|
26
|
+
--mk-blob-2: #45d6c8;
|
|
27
|
+
--mk-axis: rgba(29, 29, 31, 0.22);
|
|
28
|
+
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 1920px;
|
|
31
|
+
height: 1080px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background: transparent; /* overlays footage or mk-background */
|
|
34
|
+
font-family: var(--mk-font);
|
|
35
|
+
}
|
|
36
|
+
#mk-lg-svg {
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 0;
|
|
39
|
+
}
|
|
40
|
+
.mk-lg-line {
|
|
41
|
+
fill: none;
|
|
42
|
+
stroke-width: 5;
|
|
43
|
+
stroke-linecap: round;
|
|
44
|
+
stroke-linejoin: round;
|
|
45
|
+
}
|
|
46
|
+
.mk-lg-dot {
|
|
47
|
+
stroke-width: 4;
|
|
48
|
+
fill: var(--mk-paper);
|
|
49
|
+
}
|
|
50
|
+
.mk-lg-axis {
|
|
51
|
+
stroke: var(--mk-axis);
|
|
52
|
+
stroke-width: 2;
|
|
53
|
+
}
|
|
54
|
+
.mk-lg-value {
|
|
55
|
+
position: absolute;
|
|
56
|
+
font-weight: 600;
|
|
57
|
+
font-size: 30px;
|
|
58
|
+
letter-spacing: -0.01em;
|
|
59
|
+
color: var(--mk-ink);
|
|
60
|
+
font-variant-numeric: tabular-nums;
|
|
61
|
+
/* Horizontal centring only. The label's vertical offset is baked into
|
|
62
|
+
`top` instead of a CSS translate, because the entrance tween animates
|
|
63
|
+
`y` and GSAP rewrites this transform, dropping any vertical shift. */
|
|
64
|
+
transform: translate(-50%, 0);
|
|
65
|
+
line-height: 38px;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
.mk-lg-xlabel {
|
|
69
|
+
position: absolute;
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
font-size: 26px;
|
|
72
|
+
color: var(--mk-ink-dim);
|
|
73
|
+
transform: translateX(-50%);
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
}
|
|
76
|
+
.mk-lg-legend {
|
|
77
|
+
position: absolute;
|
|
78
|
+
display: flex;
|
|
79
|
+
gap: 40px;
|
|
80
|
+
}
|
|
81
|
+
.mk-lg-legend-item {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
gap: 12px;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
font-size: 30px;
|
|
87
|
+
color: var(--mk-ink-dim);
|
|
88
|
+
}
|
|
89
|
+
.mk-lg-legend-dot {
|
|
90
|
+
width: 14px;
|
|
91
|
+
height: 14px;
|
|
92
|
+
border-radius: 50%;
|
|
93
|
+
}
|
|
94
|
+
</style>
|
|
95
|
+
</head>
|
|
96
|
+
<body>
|
|
97
|
+
<div
|
|
98
|
+
id="mk-lg-root"
|
|
99
|
+
data-composition-id="mk-line-graph"
|
|
100
|
+
data-start="0"
|
|
101
|
+
data-duration="7"
|
|
102
|
+
data-width="1920"
|
|
103
|
+
data-height="1080"
|
|
104
|
+
>
|
|
105
|
+
<svg id="mk-lg-svg" viewBox="0 0 1920 1080"></svg>
|
|
106
|
+
<div id="mk-lg-labels"></div>
|
|
107
|
+
<div
|
|
108
|
+
id="mk-lg-drv"
|
|
109
|
+
class="clip"
|
|
110
|
+
data-start="0"
|
|
111
|
+
data-duration="7"
|
|
112
|
+
data-track-index="0"
|
|
113
|
+
style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
|
|
114
|
+
></div>
|
|
115
|
+
</div>
|
|
116
|
+
<script>
|
|
117
|
+
(function () {
|
|
118
|
+
window.__timelines = window.__timelines || {};
|
|
119
|
+
|
|
120
|
+
/* ---- published parameters (inspector-style CONFIG) ----
|
|
121
|
+
A minimal presentation line graph: 1–2 series draw on, dots pop, value labels
|
|
122
|
+
ride their points, axes dimmer than labels (clear hierarchy). */
|
|
123
|
+
var CONFIG = {
|
|
124
|
+
// no scheme param — scheme-agnostic; re-skin via the --mk-* tokens
|
|
125
|
+
series: [
|
|
126
|
+
{ name: "Renders", color: null /* accent */, values: [12, 26, 22, 38, 44, 58] },
|
|
127
|
+
{ name: "Projects", color: null /* blob-2 */, values: [8, 14, 18, 16, 28, 36] },
|
|
128
|
+
],
|
|
129
|
+
xLabels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
|
|
130
|
+
showValues: true,
|
|
131
|
+
area: { x: 160, y: 240, w: 980, h: 500 }, // plot rectangle
|
|
132
|
+
animationIn: true,
|
|
133
|
+
animationOut: true,
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
var DUR = 7;
|
|
137
|
+
var NS = "http://www.w3.org/2000/svg";
|
|
138
|
+
var root = document.getElementById("mk-lg-root");
|
|
139
|
+
var svg = document.getElementById("mk-lg-svg");
|
|
140
|
+
var labels = document.getElementById("mk-lg-labels");
|
|
141
|
+
var A = CONFIG.area;
|
|
142
|
+
|
|
143
|
+
var accent = getComputedStyle(root).getPropertyValue("--mk-accent").trim();
|
|
144
|
+
var blob2 = getComputedStyle(root).getPropertyValue("--mk-blob-2").trim();
|
|
145
|
+
if (CONFIG.series[1] && !CONFIG.series[1].color) CONFIG.series[1].color = blob2;
|
|
146
|
+
|
|
147
|
+
/* scale: 0..max(all values)*1.15 into the plot rect */
|
|
148
|
+
var max = 0;
|
|
149
|
+
CONFIG.series.forEach(function (s) {
|
|
150
|
+
s.values.forEach(function (v) {
|
|
151
|
+
if (v > max) max = v;
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
max *= 1.15;
|
|
155
|
+
var n = CONFIG.series[0].values.length;
|
|
156
|
+
function px(i) {
|
|
157
|
+
return A.x + (i / (n - 1)) * A.w;
|
|
158
|
+
}
|
|
159
|
+
function py(v) {
|
|
160
|
+
return A.y + A.h - (v / max) * A.h;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* baseline axis */
|
|
164
|
+
var axis = document.createElementNS(NS, "line");
|
|
165
|
+
axis.setAttribute("class", "mk-lg-axis");
|
|
166
|
+
axis.setAttribute("x1", A.x - 20);
|
|
167
|
+
axis.setAttribute("y1", A.y + A.h);
|
|
168
|
+
axis.setAttribute("x2", A.x + A.w + 20);
|
|
169
|
+
axis.setAttribute("y2", A.y + A.h);
|
|
170
|
+
axis.id = "mk-lg-axis";
|
|
171
|
+
svg.appendChild(axis);
|
|
172
|
+
|
|
173
|
+
/* series paths, dots, value labels */
|
|
174
|
+
var paths = [],
|
|
175
|
+
dots = [],
|
|
176
|
+
vals = [];
|
|
177
|
+
CONFIG.series.forEach(function (s, si) {
|
|
178
|
+
var color = s.color || accent;
|
|
179
|
+
var d = s.values
|
|
180
|
+
.map(function (v, i) {
|
|
181
|
+
return (i === 0 ? "M" : "L") + px(i) + " " + py(v);
|
|
182
|
+
})
|
|
183
|
+
.join(" ");
|
|
184
|
+
var path = document.createElementNS(NS, "path");
|
|
185
|
+
path.setAttribute("class", "mk-lg-line");
|
|
186
|
+
path.setAttribute("d", d);
|
|
187
|
+
path.setAttribute("stroke", color);
|
|
188
|
+
path.id = "mk-lg-path-" + si;
|
|
189
|
+
svg.appendChild(path);
|
|
190
|
+
paths.push(path);
|
|
191
|
+
|
|
192
|
+
s.values.forEach(function (v, i) {
|
|
193
|
+
var dot = document.createElementNS(NS, "circle");
|
|
194
|
+
dot.setAttribute("class", "mk-lg-dot");
|
|
195
|
+
dot.setAttribute("cx", px(i));
|
|
196
|
+
dot.setAttribute("cy", py(v));
|
|
197
|
+
dot.setAttribute("r", 9);
|
|
198
|
+
dot.setAttribute("stroke", color);
|
|
199
|
+
dot.id = "mk-lg-dot-" + si + "-" + i;
|
|
200
|
+
svg.appendChild(dot);
|
|
201
|
+
dots.push({ el: dot, si: si, i: i });
|
|
202
|
+
|
|
203
|
+
if (CONFIG.showValues) {
|
|
204
|
+
var val = document.createElement("div");
|
|
205
|
+
/* Series after the first label downward. With every series
|
|
206
|
+
labelling upward the numbers collide wherever the lines run
|
|
207
|
+
close together. GAP clears the dot radius plus line stroke. */
|
|
208
|
+
var below = si > 0;
|
|
209
|
+
var GAP = 22;
|
|
210
|
+
val.className = "mk-lg-value";
|
|
211
|
+
val.id = "mk-lg-val-" + si + "-" + i;
|
|
212
|
+
val.textContent = v;
|
|
213
|
+
val.style.left = px(i) + "px";
|
|
214
|
+
val.style.top = py(v) + (below ? GAP : -(GAP + 38)) + "px";
|
|
215
|
+
labels.appendChild(val);
|
|
216
|
+
vals.push({ el: val, si: si, i: i });
|
|
217
|
+
}
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
/* x labels + legend */
|
|
222
|
+
CONFIG.xLabels.slice(0, n).forEach(function (t, i) {
|
|
223
|
+
var xl = document.createElement("div");
|
|
224
|
+
xl.className = "mk-lg-xlabel";
|
|
225
|
+
xl.id = "mk-lg-xl-" + i;
|
|
226
|
+
xl.textContent = t;
|
|
227
|
+
xl.style.left = px(i) + "px";
|
|
228
|
+
xl.style.top = A.y + A.h + 24 + "px";
|
|
229
|
+
labels.appendChild(xl);
|
|
230
|
+
});
|
|
231
|
+
var legend = document.createElement("div");
|
|
232
|
+
legend.className = "mk-lg-legend";
|
|
233
|
+
legend.id = "mk-lg-legend";
|
|
234
|
+
legend.style.left = A.x + "px";
|
|
235
|
+
legend.style.top = A.y + A.h + 90 + "px";
|
|
236
|
+
CONFIG.series.forEach(function (s) {
|
|
237
|
+
var item = document.createElement("div");
|
|
238
|
+
item.className = "mk-lg-legend-item";
|
|
239
|
+
var dot = document.createElement("span");
|
|
240
|
+
dot.className = "mk-lg-legend-dot";
|
|
241
|
+
dot.style.background = s.color || accent;
|
|
242
|
+
item.appendChild(dot);
|
|
243
|
+
item.appendChild(document.createTextNode(s.name));
|
|
244
|
+
legend.appendChild(item);
|
|
245
|
+
});
|
|
246
|
+
labels.appendChild(legend);
|
|
247
|
+
|
|
248
|
+
var tl = gsap.timeline({ paused: true });
|
|
249
|
+
var DRAW = 1.3;
|
|
250
|
+
|
|
251
|
+
/* entrance: axis + x labels settle first */
|
|
252
|
+
gsap.set([axis, legend], { opacity: 0 });
|
|
253
|
+
tl.to(axis, { opacity: 1, duration: 0.5, ease: "power2.out" }, 0.2);
|
|
254
|
+
CONFIG.xLabels.slice(0, n).forEach(function (t, i) {
|
|
255
|
+
var xl = document.getElementById("mk-lg-xl-" + i);
|
|
256
|
+
gsap.set(xl, { opacity: 0, y: 10 });
|
|
257
|
+
tl.to(xl, { opacity: 1, y: 0, duration: 0.4, ease: "power2.out" }, 0.25 + i * 0.05);
|
|
258
|
+
});
|
|
259
|
+
|
|
260
|
+
/* draw each series, dots + values riding the draw front */
|
|
261
|
+
CONFIG.series.forEach(function (s, si) {
|
|
262
|
+
var t0 = (CONFIG.animationIn ? 0.5 : 0) + si * 0.35;
|
|
263
|
+
var path = paths[si];
|
|
264
|
+
var len = path.getTotalLength();
|
|
265
|
+
gsap.set(path, { strokeDasharray: len, strokeDashoffset: len });
|
|
266
|
+
tl.to(path, { strokeDashoffset: 0, duration: DRAW, ease: "power2.inOut" }, t0);
|
|
267
|
+
|
|
268
|
+
s.values.forEach(function (v, i) {
|
|
269
|
+
var dot = document.getElementById("mk-lg-dot-" + si + "-" + i);
|
|
270
|
+
var td = t0 + (i / (n - 1)) * DRAW * 0.92;
|
|
271
|
+
gsap.set(dot, { scale: 0, transformOrigin: "50% 50%" });
|
|
272
|
+
tl.to(dot, { scale: 1, duration: 0.35, ease: "back.out(1.2)" }, td);
|
|
273
|
+
if (CONFIG.showValues) {
|
|
274
|
+
var val = document.getElementById("mk-lg-val-" + si + "-" + i);
|
|
275
|
+
gsap.set(val, { opacity: 0, y: 8 });
|
|
276
|
+
tl.to(val, { opacity: 1, y: 0, duration: 0.35, ease: "power2.out" }, td + 0.06);
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
});
|
|
280
|
+
|
|
281
|
+
tl.to(legend, { opacity: 1, duration: 0.5, ease: "power2.out" }, 2.3);
|
|
282
|
+
|
|
283
|
+
/* exit + hard kill */
|
|
284
|
+
if (CONFIG.animationOut) {
|
|
285
|
+
tl.to([svg, labels], { opacity: 0, y: -20, duration: 0.4, ease: "power2.in" }, DUR - 0.5);
|
|
286
|
+
}
|
|
287
|
+
tl.set(root, { visibility: "hidden" }, DUR - 0.02);
|
|
288
|
+
|
|
289
|
+
window.__timelines["mk-line-graph"] = tl;
|
|
290
|
+
})();
|
|
291
|
+
</script>
|
|
292
|
+
</body>
|
|
293
|
+
</html>
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!-- vfrey scene block "mk-progress-stat": from Framey (HyperFrames by HeyGen, Apache-2.0) registry/blocks/mk-progress-stat at 9d893096f7df. GSAP loads from the scene's vfrey/ folder; Google Fonts links were removed (the renderer supplies the font). See ../NOTICE. -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<script src="../../vfrey/gsap.min.js"></script>
|
|
7
|
+
<style>
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
body {
|
|
16
|
+
background: transparent;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
#mk-ps-root {
|
|
20
|
+
/* ---- mk tokens: override in the host to re-skin the family ---- */
|
|
21
|
+
--mk-font: "Inter", -apple-system, sans-serif;
|
|
22
|
+
--mk-ink: #1d1d1f;
|
|
23
|
+
--mk-ink-dim: #6e6e73;
|
|
24
|
+
--mk-ink-dark: #f5f5f7;
|
|
25
|
+
--mk-ink-dim-dark: #a1a1a6;
|
|
26
|
+
--mk-accent: #0071e3;
|
|
27
|
+
--mk-accent-dark: #7d5cff;
|
|
28
|
+
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 1920px;
|
|
31
|
+
height: 1080px;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background: transparent; /* overlays footage or mk-background */
|
|
34
|
+
}
|
|
35
|
+
#mk-ps-group {
|
|
36
|
+
position: absolute;
|
|
37
|
+
font-family: var(--mk-font);
|
|
38
|
+
}
|
|
39
|
+
#mk-ps-num {
|
|
40
|
+
font-weight: 600;
|
|
41
|
+
font-size: 190px;
|
|
42
|
+
line-height: 1;
|
|
43
|
+
letter-spacing: -0.03em;
|
|
44
|
+
color: var(--mk-ink);
|
|
45
|
+
font-variant-numeric: tabular-nums;
|
|
46
|
+
}
|
|
47
|
+
#mk-ps-label {
|
|
48
|
+
margin-top: 10px;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
font-size: 42px;
|
|
51
|
+
letter-spacing: -0.01em;
|
|
52
|
+
color: var(--mk-ink);
|
|
53
|
+
}
|
|
54
|
+
#mk-ps-track {
|
|
55
|
+
position: relative;
|
|
56
|
+
margin-top: 28px;
|
|
57
|
+
height: 6px;
|
|
58
|
+
border-radius: 3px;
|
|
59
|
+
background: rgba(29, 29, 31, 0.1);
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
}
|
|
62
|
+
#mk-ps-fill {
|
|
63
|
+
position: absolute;
|
|
64
|
+
inset: 0;
|
|
65
|
+
border-radius: 3px;
|
|
66
|
+
background: var(--mk-accent);
|
|
67
|
+
transform-origin: left center;
|
|
68
|
+
}
|
|
69
|
+
#mk-ps-caption {
|
|
70
|
+
margin-top: 22px;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
font-size: 30px;
|
|
73
|
+
color: var(--mk-ink-dim);
|
|
74
|
+
}
|
|
75
|
+
.mk-dark #mk-ps-num,
|
|
76
|
+
.mk-dark #mk-ps-label {
|
|
77
|
+
color: var(--mk-ink-dark);
|
|
78
|
+
}
|
|
79
|
+
.mk-dark #mk-ps-caption {
|
|
80
|
+
color: var(--mk-ink-dim-dark);
|
|
81
|
+
}
|
|
82
|
+
.mk-dark #mk-ps-track {
|
|
83
|
+
background: rgba(245, 245, 247, 0.18);
|
|
84
|
+
}
|
|
85
|
+
.mk-dark #mk-ps-fill {
|
|
86
|
+
background: var(--mk-accent-dark);
|
|
87
|
+
}
|
|
88
|
+
</style>
|
|
89
|
+
</head>
|
|
90
|
+
<body>
|
|
91
|
+
<div
|
|
92
|
+
id="mk-ps-root"
|
|
93
|
+
data-composition-id="mk-progress-stat"
|
|
94
|
+
data-start="0"
|
|
95
|
+
data-duration="7"
|
|
96
|
+
data-width="1920"
|
|
97
|
+
data-height="1080"
|
|
98
|
+
>
|
|
99
|
+
<div id="mk-ps-group">
|
|
100
|
+
<div id="mk-ps-num">0</div>
|
|
101
|
+
<div id="mk-ps-label"></div>
|
|
102
|
+
<div id="mk-ps-track"><div id="mk-ps-fill"></div></div>
|
|
103
|
+
<div id="mk-ps-caption"></div>
|
|
104
|
+
</div>
|
|
105
|
+
<div
|
|
106
|
+
id="mk-ps-drv"
|
|
107
|
+
class="clip"
|
|
108
|
+
data-start="0"
|
|
109
|
+
data-duration="7"
|
|
110
|
+
data-track-index="0"
|
|
111
|
+
style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
|
|
112
|
+
></div>
|
|
113
|
+
</div>
|
|
114
|
+
<script>
|
|
115
|
+
(function () {
|
|
116
|
+
window.__timelines = window.__timelines || {};
|
|
117
|
+
|
|
118
|
+
/* ---- published parameters (inspector-style CONFIG) ----
|
|
119
|
+
A "22 · Goals reached" progress card: big count-up
|
|
120
|
+
numeral, label, thin accent track filling to value/max, caption. */
|
|
121
|
+
var CONFIG = {
|
|
122
|
+
scheme: "light", // "light" | "dark"
|
|
123
|
+
value: 22,
|
|
124
|
+
suffix: "", // e.g. "%", "K"
|
|
125
|
+
label: "Goals reached",
|
|
126
|
+
caption: "Great job, we are getting closer!",
|
|
127
|
+
max: 30, // track fills to value/max
|
|
128
|
+
trackWidth: 480, // px
|
|
129
|
+
x: 1300, // group left edge; null = centered
|
|
130
|
+
y: 250, // group top edge; null = centered
|
|
131
|
+
animationIn: true,
|
|
132
|
+
animationOut: true,
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
var DUR = 7;
|
|
136
|
+
var root = document.getElementById("mk-ps-root");
|
|
137
|
+
var group = document.getElementById("mk-ps-group");
|
|
138
|
+
var num = document.getElementById("mk-ps-num");
|
|
139
|
+
var fill = document.getElementById("mk-ps-fill");
|
|
140
|
+
|
|
141
|
+
if (CONFIG.scheme === "dark") root.classList.add("mk-dark");
|
|
142
|
+
document.getElementById("mk-ps-label").textContent = CONFIG.label;
|
|
143
|
+
document.getElementById("mk-ps-caption").textContent = CONFIG.caption;
|
|
144
|
+
document.getElementById("mk-ps-track").style.width = CONFIG.trackWidth + "px";
|
|
145
|
+
|
|
146
|
+
/* position (measure after filling text) */
|
|
147
|
+
var rect = group.getBoundingClientRect();
|
|
148
|
+
group.style.left =
|
|
149
|
+
(CONFIG.x === null ? Math.round((1920 - rect.width) / 2) : CONFIG.x) + "px";
|
|
150
|
+
group.style.top =
|
|
151
|
+
(CONFIG.y === null ? Math.round((1080 - rect.height) / 2) : CONFIG.y) + "px";
|
|
152
|
+
|
|
153
|
+
var tl = gsap.timeline({ paused: true });
|
|
154
|
+
|
|
155
|
+
if (CONFIG.animationIn) {
|
|
156
|
+
gsap.set(group, { opacity: 0, y: 28 });
|
|
157
|
+
tl.to(group, { opacity: 1, y: 0, duration: 0.7, ease: "power3.out" }, 0.3);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/* count-up + track fill on the same ease (the data-viz recipe) */
|
|
161
|
+
var st = { v: 0 };
|
|
162
|
+
tl.to(
|
|
163
|
+
st,
|
|
164
|
+
{
|
|
165
|
+
v: CONFIG.value,
|
|
166
|
+
duration: 1.6,
|
|
167
|
+
ease: "power2.out",
|
|
168
|
+
onUpdate: function () {
|
|
169
|
+
num.textContent = Math.round(st.v) + CONFIG.suffix;
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
0.5,
|
|
173
|
+
);
|
|
174
|
+
gsap.set(fill, { scaleX: 0 });
|
|
175
|
+
tl.to(fill, { scaleX: CONFIG.value / CONFIG.max, duration: 1.6, ease: "power2.out" }, 0.5);
|
|
176
|
+
|
|
177
|
+
if (CONFIG.animationOut) {
|
|
178
|
+
tl.to(group, { opacity: 0, y: -20, duration: 0.4, ease: "power2.in" }, DUR - 0.5);
|
|
179
|
+
}
|
|
180
|
+
tl.set(root, { visibility: "hidden" }, DUR - 0.02);
|
|
181
|
+
|
|
182
|
+
window.__timelines["mk-progress-stat"] = tl;
|
|
183
|
+
})();
|
|
184
|
+
</script>
|
|
185
|
+
</body>
|
|
186
|
+
</html>
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<!-- vfrey scene block "mk-specs-list": from Framey (HyperFrames by HeyGen, Apache-2.0) registry/blocks/mk-specs-list at 9d893096f7df. GSAP loads from the scene's vfrey/ folder; Google Fonts links were removed (the renderer supplies the font). See ../NOTICE. -->
|
|
3
|
+
<html lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<script src="../../vfrey/gsap.min.js"></script>
|
|
7
|
+
<style>
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
body {
|
|
16
|
+
background: transparent;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
#mk-sl-root {
|
|
20
|
+
/* ---- mk tokens: override in the host to re-skin the family ---- */
|
|
21
|
+
--mk-font: "Inter", -apple-system, sans-serif;
|
|
22
|
+
--mk-ink: #1d1d1f;
|
|
23
|
+
--mk-ink-dim: #6e6e73;
|
|
24
|
+
--mk-ink-dark: #f5f5f7;
|
|
25
|
+
--mk-ink-dim-dark: #a1a1a6;
|
|
26
|
+
--mk-accent: #0071e3;
|
|
27
|
+
--mk-accent-dark: #7d5cff;
|
|
28
|
+
--mk-hairline: 2px;
|
|
29
|
+
|
|
30
|
+
position: relative;
|
|
31
|
+
width: 1920px;
|
|
32
|
+
height: 1080px;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
background: transparent; /* overlays footage or mk-background */
|
|
35
|
+
}
|
|
36
|
+
#mk-sl-scrim {
|
|
37
|
+
position: absolute;
|
|
38
|
+
inset: 0;
|
|
39
|
+
background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 62%);
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
#mk-sl-col {
|
|
43
|
+
position: absolute;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
}
|
|
47
|
+
.mk-sl-row {
|
|
48
|
+
font-family: var(--mk-font);
|
|
49
|
+
line-height: 1;
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
.mk-sl-text {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: baseline;
|
|
55
|
+
gap: 18px;
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
}
|
|
58
|
+
.mk-sl-label {
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
font-size: 46px;
|
|
61
|
+
letter-spacing: -0.015em;
|
|
62
|
+
color: var(--mk-ink);
|
|
63
|
+
}
|
|
64
|
+
.mk-sl-value {
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-size: 40px;
|
|
67
|
+
letter-spacing: -0.01em;
|
|
68
|
+
color: var(--mk-ink-dim);
|
|
69
|
+
}
|
|
70
|
+
.mk-sl-line {
|
|
71
|
+
position: relative;
|
|
72
|
+
margin-top: 22px;
|
|
73
|
+
height: var(--mk-hairline);
|
|
74
|
+
background: rgba(0, 0, 0, 0.1);
|
|
75
|
+
border-radius: 2px;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
.mk-sl-line-fill {
|
|
79
|
+
position: absolute;
|
|
80
|
+
inset: 0;
|
|
81
|
+
background: var(--mk-accent);
|
|
82
|
+
transform-origin: left center;
|
|
83
|
+
}
|
|
84
|
+
/* dark scheme: white rows for use over footage (overlay look) */
|
|
85
|
+
.mk-dark .mk-sl-label {
|
|
86
|
+
color: var(--mk-ink-dark);
|
|
87
|
+
}
|
|
88
|
+
.mk-dark .mk-sl-value {
|
|
89
|
+
color: var(--mk-ink-dim-dark);
|
|
90
|
+
}
|
|
91
|
+
.mk-dark .mk-sl-line {
|
|
92
|
+
background: rgba(255, 255, 255, 0.18);
|
|
93
|
+
}
|
|
94
|
+
.mk-dark .mk-sl-line-fill {
|
|
95
|
+
background: var(--mk-accent-dark);
|
|
96
|
+
}
|
|
97
|
+
</style>
|
|
98
|
+
</head>
|
|
99
|
+
<body>
|
|
100
|
+
<div
|
|
101
|
+
id="mk-sl-root"
|
|
102
|
+
data-composition-id="mk-specs-list"
|
|
103
|
+
data-start="0"
|
|
104
|
+
data-duration="8"
|
|
105
|
+
data-width="1920"
|
|
106
|
+
data-height="1080"
|
|
107
|
+
>
|
|
108
|
+
<div id="mk-sl-scrim"></div>
|
|
109
|
+
<div id="mk-sl-col"></div>
|
|
110
|
+
<div
|
|
111
|
+
id="mk-sl-drv"
|
|
112
|
+
class="clip"
|
|
113
|
+
data-start="0"
|
|
114
|
+
data-duration="8"
|
|
115
|
+
data-track-index="0"
|
|
116
|
+
style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
|
|
117
|
+
></div>
|
|
118
|
+
</div>
|
|
119
|
+
<script>
|
|
120
|
+
(function () {
|
|
121
|
+
window.__timelines = window.__timelines || {};
|
|
122
|
+
|
|
123
|
+
/* ---- published parameters (inspector-style CONFIG) ---- */
|
|
124
|
+
var CONFIG = {
|
|
125
|
+
scheme: "light", // "light" (ink rows) | "dark" (white rows, for footage)
|
|
126
|
+
rows: [
|
|
127
|
+
{ label: "Design", value: "Minimal, clean lines" },
|
|
128
|
+
{ label: "Typography", value: "Inter SemiBold" },
|
|
129
|
+
{ label: "Motion", value: "Restrained, no bounce" },
|
|
130
|
+
{ label: "Color", value: "Stage + one accent" },
|
|
131
|
+
{ label: "Shapes", value: "Capsules & rounded cards" },
|
|
132
|
+
],
|
|
133
|
+
underline: true, // accent sweep under each row
|
|
134
|
+
lineWidth: 660, // px
|
|
135
|
+
scrim: 0, // 0–1 left-edge dark scrim for readability over footage
|
|
136
|
+
x: 160, // column left edge
|
|
137
|
+
rowGap: 44, // px between rows
|
|
138
|
+
stagger: 0.18, // s between row entrances
|
|
139
|
+
animationIn: true,
|
|
140
|
+
animationOut: true,
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
var DUR = 8;
|
|
144
|
+
var root = document.getElementById("mk-sl-root");
|
|
145
|
+
var col = document.getElementById("mk-sl-col");
|
|
146
|
+
var scrim = document.getElementById("mk-sl-scrim");
|
|
147
|
+
|
|
148
|
+
if (CONFIG.scheme === "dark") root.classList.add("mk-dark");
|
|
149
|
+
scrim.style.opacity = String(CONFIG.scrim);
|
|
150
|
+
|
|
151
|
+
/* build rows */
|
|
152
|
+
CONFIG.rows.forEach(function (r, i) {
|
|
153
|
+
var row = document.createElement("div");
|
|
154
|
+
row.id = "mk-sl-row-" + i;
|
|
155
|
+
row.className = "mk-sl-row";
|
|
156
|
+
if (i > 0) row.style.marginTop = CONFIG.rowGap + "px";
|
|
157
|
+
|
|
158
|
+
var text = document.createElement("div");
|
|
159
|
+
text.className = "mk-sl-text";
|
|
160
|
+
var label = document.createElement("span");
|
|
161
|
+
label.className = "mk-sl-label";
|
|
162
|
+
label.textContent = r.label;
|
|
163
|
+
text.appendChild(label);
|
|
164
|
+
if (r.value) {
|
|
165
|
+
var value = document.createElement("span");
|
|
166
|
+
value.className = "mk-sl-value";
|
|
167
|
+
value.textContent = r.value;
|
|
168
|
+
text.appendChild(value);
|
|
169
|
+
}
|
|
170
|
+
row.appendChild(text);
|
|
171
|
+
|
|
172
|
+
if (CONFIG.underline) {
|
|
173
|
+
var line = document.createElement("div");
|
|
174
|
+
line.className = "mk-sl-line";
|
|
175
|
+
line.style.width = CONFIG.lineWidth + "px";
|
|
176
|
+
var fill = document.createElement("div");
|
|
177
|
+
fill.id = "mk-sl-fill-" + i;
|
|
178
|
+
fill.className = "mk-sl-line-fill";
|
|
179
|
+
line.appendChild(fill);
|
|
180
|
+
row.appendChild(line);
|
|
181
|
+
}
|
|
182
|
+
col.appendChild(row);
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
/* center the column vertically */
|
|
186
|
+
var colH =
|
|
187
|
+
CONFIG.rows.length * (46 + 22 + (CONFIG.underline ? 2 : 0)) +
|
|
188
|
+
(CONFIG.rows.length - 1) * CONFIG.rowGap;
|
|
189
|
+
col.style.left = CONFIG.x + "px";
|
|
190
|
+
col.style.top = Math.round((1080 - colH) / 2) + "px";
|
|
191
|
+
|
|
192
|
+
var tl = gsap.timeline({ paused: true });
|
|
193
|
+
|
|
194
|
+
CONFIG.rows.forEach(function (r, i) {
|
|
195
|
+
var row = document.getElementById("mk-sl-row-" + i);
|
|
196
|
+
var t0 = (CONFIG.animationIn ? 0.3 : 0) + i * CONFIG.stagger;
|
|
197
|
+
|
|
198
|
+
if (CONFIG.animationIn) {
|
|
199
|
+
gsap.set(row, { opacity: 0, x: -36 });
|
|
200
|
+
tl.to(row, { opacity: 1, x: 0, duration: 0.7, ease: "power3.out" }, t0);
|
|
201
|
+
} else {
|
|
202
|
+
gsap.set(row, { opacity: 1 });
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (CONFIG.underline) {
|
|
206
|
+
var fill = document.getElementById("mk-sl-fill-" + i);
|
|
207
|
+
gsap.set(fill, { scaleX: 0 });
|
|
208
|
+
tl.to(fill, { scaleX: 1, duration: 0.8, ease: "power2.inOut" }, t0 + 0.15);
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
/* exit + hard kill */
|
|
213
|
+
if (CONFIG.animationOut) {
|
|
214
|
+
tl.to(col, { opacity: 0, y: -20, duration: 0.4, ease: "power2.in" }, DUR - 0.5);
|
|
215
|
+
tl.to(scrim, { opacity: 0, duration: 0.4, ease: "power2.in" }, DUR - 0.5);
|
|
216
|
+
}
|
|
217
|
+
tl.set(root, { visibility: "hidden" }, DUR - 0.02);
|
|
218
|
+
|
|
219
|
+
window.__timelines["mk-specs-list"] = tl;
|
|
220
|
+
})();
|
|
221
|
+
</script>
|
|
222
|
+
</body>
|
|
223
|
+
</html>
|