hyperframes 0.8.151 → 0.8.152
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/dist/{add-QKZZG7A2.js → add-SA33REHW.js} +14 -14
- package/dist/{animatedGifPrep-YQDPYGOD.js → animatedGifPrep-3YXJQZ7L.js} +9 -9
- package/dist/api.js +15 -15
- package/dist/{asset-3Q737Y4H.js → asset-PUVPTWPD.js} +2 -2
- package/dist/{assetCataloger-BTHEBJJB.js → assetCataloger-VWE2PLBX.js} +4 -4
- package/dist/{auth-XL7EU3SO.js → auth-PS3M6AI7.js} +1 -1
- package/dist/{autoUpdate-PJFLTQ3U.js → autoUpdate-CMO4SHWU.js} +2 -2
- package/dist/{backgroundChecks-T5TIR5WK.js → backgroundChecks-EDZ2A55J.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-NFLVIDB4.js → batchRender-7PLJISCN.js} +5 -5
- package/dist/{beats-JU4GZ26R.js → beats-2MDSIOE7.js} +14 -14
- package/dist/{benchmark-7U2YWLTW.js → benchmark-KBBXAPI4.js} +10 -10
- package/dist/{browser-D57UPYDA.js → browser-OMWKZRSW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-26MXQOZG.js → bundleWithLocalizedFonts-76DMCRIW.js} +2 -2
- package/dist/{capture-47BV25G3.js → capture-LRUUXH5Q.js} +2 -2
- package/dist/{capture-LT252COQ.js → capture-YGDC7GN3.js} +12 -12
- package/dist/{catalog-BEZXOV4O.js → catalog-SMEBKEVO.js} +14 -14
- package/dist/{catch-up-KVV5X6BF.js → catch-up-OMILX3WE.js} +4 -4
- package/dist/{check-6KQ433E6.js → check-NUZ62LIW.js} +131 -43
- package/dist/{checkBrowser-PRDR6XBY.js → checkBrowser-MSTVEL4V.js} +39 -38
- package/dist/{chunk-L6RIMCMG.js → chunk-3DZBQ7MH.js} +3 -3
- package/dist/{chunk-POEEDPJI.js → chunk-3E4OCOC5.js} +1 -1
- package/dist/{chunk-YZTVHRJ2.js → chunk-3HPJM5IQ.js} +1 -1
- package/dist/{chunk-OZ4K46OV.js → chunk-3LO7BBJX.js} +2 -2
- package/dist/{chunk-APDLWWFG.js → chunk-3VGU2SH7.js} +1 -1
- package/dist/{chunk-RRBKEHST.js → chunk-4UMKAUZI.js} +1 -1
- package/dist/{chunk-DHPFXAUF.js → chunk-57GN6KWT.js} +17 -3
- package/dist/{chunk-374QQGBQ.js → chunk-5CS4T6C6.js} +63 -12
- package/dist/{chunk-XQKVEQNY.js → chunk-5ERVRJMV.js} +2 -2
- package/dist/{chunk-S22FKF6G.js → chunk-5VMSUW4Z.js} +2 -2
- package/dist/{chunk-N4IXP3MY.js → chunk-6Z4YJ5Q3.js} +3 -3
- package/dist/{chunk-FJWEYVEM.js → chunk-7FYFEXD2.js} +658 -198
- package/dist/{chunk-4LE27ST4.js → chunk-7NPSXBIN.js} +2 -2
- package/dist/chunk-7TASSBN2.js +215 -0
- package/dist/{chunk-IP73NMQT.js → chunk-ANS56TPS.js} +10 -10
- package/dist/{chunk-PUIELIFA.js → chunk-BQK3J7XO.js} +1 -1
- package/dist/{chunk-RJRGR5KF.js → chunk-BYJYQWEX.js} +9 -9
- package/dist/{chunk-XXPYZBZ3.js → chunk-C6TPGUWD.js} +2 -2
- package/dist/{chunk-FAIYEIZ4.js → chunk-D6RJXQLD.js} +1 -1
- package/dist/{chunk-N3I6RAOR.js → chunk-DFXK7KUO.js} +11 -11
- package/dist/{chunk-DIOBKUBV.js → chunk-E6EYZ33P.js} +2 -2
- package/dist/{chunk-ZGCRVM5M.js → chunk-EVTHG34H.js} +2 -2
- package/dist/{chunk-IZPN423R.js → chunk-EXH6L2XZ.js} +2 -2
- package/dist/{chunk-AIJS74LG.js → chunk-FFDC5OWV.js} +8 -2
- package/dist/{chunk-KQGWP4KH.js → chunk-FNN5QINS.js} +1 -1
- package/dist/{chunk-DMKI64EZ.js → chunk-FSZAFCU7.js} +1 -1
- package/dist/{chunk-L3N7RJHS.js → chunk-GQETH4PE.js} +3 -3
- package/dist/{chunk-ZD3RDNZI.js → chunk-H2SGM2V2.js} +1 -1
- package/dist/{chunk-OSAH7S5M.js → chunk-H7FXBK3Q.js} +1 -1
- package/dist/{chunk-BRF3O35X.js → chunk-HBCRRCTX.js} +109 -31
- package/dist/{chunk-KXX6NLOT.js → chunk-IBYC3VUA.js} +1 -1
- package/dist/{chunk-IPDS2SWI.js → chunk-IEDT4EXE.js} +1 -1
- package/dist/{chunk-TCWMDCBX.js → chunk-IZIRIDJH.js} +2 -2
- package/dist/{chunk-4PKQEKAI.js → chunk-IZKXUYZE.js} +2 -2
- package/dist/chunk-KCFF4ENE.js +24 -0
- package/dist/{chunk-IZ7L6V76.js → chunk-KZ3L3W4Q.js} +1 -1
- package/dist/{chunk-YEBKEWKB.js → chunk-LECTCGGS.js} +1 -1
- package/dist/{chunk-O3DUX6P2.js → chunk-LVPSWUS6.js} +4 -4
- package/dist/{chunk-LKQS72D5.js → chunk-MNHPG2UO.js} +1 -1
- package/dist/{chunk-XKKBIFE5.js → chunk-NHAG2KCE.js} +7 -7
- package/dist/{chunk-HVXRYMGQ.js → chunk-PKO2EWO7.js} +1 -1
- package/dist/{chunk-XNDXENJQ.js → chunk-PRXAOZWZ.js} +3 -3
- package/dist/{chunk-4YZYYP7V.js → chunk-PTXZDSW5.js} +3 -3
- package/dist/{chunk-QF7AE3DB.js → chunk-QECEOV6W.js} +1 -1
- package/dist/{chunk-XGLNQDLN.js → chunk-QESSGUKX.js} +1 -1
- package/dist/{chunk-3SVC7SW4.js → chunk-RN5I2DP5.js} +3 -3
- package/dist/{chunk-QBYHNRHU.js → chunk-S3RCK56N.js} +1 -1
- package/dist/{chunk-RYL6ZIJP.js → chunk-SWCSL6WS.js} +5 -5
- package/dist/{chunk-2PSPARWP.js → chunk-TYXH3EKP.js} +4 -0
- package/dist/{chunk-FMNVTKX2.js → chunk-U3BCDVZO.js} +1 -1
- package/dist/{chunk-FLVI7FHU.js → chunk-VS732BUG.js} +1 -1
- package/dist/{chunk-LFNQDTSH.js → chunk-VYKPBRCB.js} +63 -12
- package/dist/{chunk-QLGBNGXC.js → chunk-XEFFJRYX.js} +2 -2
- package/dist/{chunk-3ZPFRDEJ.js → chunk-XINGD6MS.js} +4 -4
- package/dist/chunk-XSEGMQYA.js +30 -0
- package/dist/{chunk-GNTVYF7E.js → chunk-YOEGUBBY.js} +5 -5
- package/dist/{chunk-35PWWBGZ.js → chunk-YYEYOFHW.js} +1 -1
- package/dist/{chunk-XYHBVSWD.js → chunk-ZTM3RMAD.js} +2 -2
- package/dist/{clean-RLTHFTQA.js → clean-F75G45BI.js} +52 -31
- package/dist/cli.js +53 -53
- package/dist/{cloud-Q5TGBTW3.js → cloud-KVJAOUWH.js} +4 -4
- package/dist/{cloudrun-4UZF74MV.js → cloudrun-Q7Q7O4GY.js} +6 -6
- package/dist/{compare-Q5UNR2V4.js → compare-DGUJ4QWU.js} +30 -30
- package/dist/{compiler-ZXT27Z62.js → compiler-NCN6PTVH.js} +6 -6
- package/dist/{component-H734P32V.js → component-PSYGT3JV.js} +3 -3
- package/dist/{compositions-YEHDSTDR.js → compositions-J3GAETIC.js} +13 -13
- package/dist/{delete-LDBMPWRT.js → delete-MR7LRGRP.js} +2 -2
- package/dist/{deterministicFonts-C5JQLCTS.js → deterministicFonts-EOMDR6ZF.js} +3 -3
- package/dist/{dist-RGE4QASU.js → dist-2YYJYYPY.js} +3 -3
- package/dist/{dist-7JXLFD6U.js → dist-3MHXG6EJ.js} +4 -4
- package/dist/{doctor-XNJFIWJ7.js → doctor-JOUGR5UK.js} +11 -11
- package/dist/{events-UKCPUWMH.js → events-63BKDWVO.js} +3 -3
- package/dist/{events-G6UFLNXR.js → events-FZFBJCIH.js} +2 -2
- package/dist/{feedback-CK3KZ7DE.js → feedback-QLKWUDXR.js} +8 -8
- package/dist/{figma-3D5C737B.js → figma-YJ7HGVQC.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -12
- package/dist/{get-QGTQUWFT.js → get-54MUUXMR.js} +2 -2
- package/dist/{gpuPolicy-G5QAQDYF.js → gpuPolicy-5OVNR75D.js} +9 -9
- package/dist/{grade-compare-XIHOM62P.js → grade-compare-7IDUF673.js} +30 -30
- package/dist/{gsapParserAcorn-VXZ3ZIF2.js → gsapParserAcorn-7NCK2LVT.js} +2 -2
- package/dist/{help-U5UBXT52.js → help-GQFYO5LU.js} +1 -1
- package/dist/{history-5J73QZSA.js → history-UI3O7CSO.js} +77 -205
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-RJHQQQUP.js → info-VQV3APEX.js} +9 -9
- package/dist/{init-M6UQOYYC.js → init-2UBFV5D7.js} +24 -24
- package/dist/{inspect-PRQWDBTP.js → inspect-36ACJ3CO.js} +31 -31
- package/dist/{installer-ZL7UKYK5.js → installer-GDUZDJG4.js} +7 -7
- package/dist/{keyframes-VMUJYTCQ.js → keyframes-GPBU34BG.js} +227 -82
- package/dist/{lambda-ON42DRQD.js → lambda-CBJVLTHY.js} +7 -7
- package/dist/{layout-QKBFVDVY.js → layout-2IHFV6EI.js} +31 -31
- package/dist/{lint-ZQHHL2SV.js → lint-IR6IYCEO.js} +9 -9
- package/dist/{lintProject-3Z6OJCSO.js → lintProject-XQWXJYSC.js} +3 -3
- package/dist/{list-YBRKIWGF.js → list-UAGKWARH.js} +2 -2
- package/dist/{login-4B2YXGLB.js → login-2GYCNCZF.js} +4 -4
- package/dist/{media-treatment-5C5EJAAP.js → media-treatment-Z553F7XI.js} +12 -12
- package/dist/{models-R7ZDWBJ6.js → models-6AZTNNSO.js} +12 -12
- package/dist/{motionShot-ZHESZNUL.js → motionShot-ARRL7WXT.js} +28 -15
- package/dist/{normalize-audio-EVWZVTBM.js → normalize-audio-CME4NUB6.js} +6 -6
- package/dist/{open-TV6HT4UT.js → open-HU2VXUFD.js} +4 -4
- package/dist/{parakeetRunner-YVVF4CG6.js → parakeetRunner-X5MKFMCB.js} +12 -12
- package/dist/{pipeline-ETR5SEBS.js → pipeline-MNFTEBJU.js} +9 -9
- package/dist/{play-C6WONRZV.js → play-2BBJDDAZ.js} +24 -24
- package/dist/{present-RANXTVPA.js → present-OE2WL2NY.js} +20 -20
- package/dist/{preview-KF6UMBT2.js → preview-RYSCCAWJ.js} +19 -19
- package/dist/{producer-CY2GXBWN.js → producer-SQWNRO66.js} +1 -1
- package/dist/{projectConfig-KPXCNMBM.js → projectConfig-B55Z7YKQ.js} +9 -9
- package/dist/{publication-Y36N4A7E.js → publication-MDZCOBJP.js} +4 -4
- package/dist/{publish-RCQJO35C.js → publish-AILV36BO.js} +12 -12
- package/dist/{remove-background-3ZMXVWLB.js → remove-background-6F72LKHG.js} +10 -10
- package/dist/{render-PTNEFO5U.js → render-2MZKU3L5.js} +10 -10
- package/dist/{render-FKVRCDT2.js → render-5EREH6YD.js} +57 -22
- package/dist/{render-WUSTRMUD.js → render-6GH5FSXU.js} +5 -5
- package/dist/{render-batch-AQHU2JWZ.js → render-batch-UMBUQWWS.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-L5BDZJKU.js → resolver-KO6WWO5P.js} +6 -6
- package/dist/{sherpa-3S3ISG7G.js → sherpa-DADGYWNR.js} +11 -11
- package/dist/skills/hyperframes-cli/SKILL.md +3 -0
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +5 -1
- package/dist/{skills-X4WQEKNF.js → skills-QLKSNU4Y.js} +5 -5
- package/dist/{skillsUpdateCheck-UYCVHDZ6.js → skillsUpdateCheck-Z2QQGF2W.js} +3 -3
- package/dist/{snapshot-YEYHQEZQ.js → snapshot-D5BBFXOS.js} +118 -41
- package/dist/{src-2NN2WB6X.js → src-AVQBAECC.js} +8 -8
- package/dist/{src-OLBDPEG6.js → src-V7263E47.js} +11 -11
- package/dist/{staticProjectServer-7H35NMWB.js → staticProjectServer-HNWSVEWN.js} +20 -20
- package/dist/studio/assets/{hyperframes-player-DJt8E7k4.js → hyperframes-player-0BY7-PK7.js} +1 -1
- package/dist/studio/assets/{index-DWIHrAY2.js → index-COrWdzlj.js} +1 -1
- package/dist/studio/assets/{index-BGks9KLI.js → index-p-VXwuJ2.js} +132 -132
- package/dist/studio/assets/{index-DgbLblGR.js → index-rmD5k_ES.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-HGM2A5I3.js → studio-api-UXKTDWLT.js} +30 -16
- package/dist/{studioServer-M6XFL7N6.js → studioServer-JOVR24O3.js} +43 -43
- package/dist/{synthesize-22B7L5GX.js → synthesize-MBDVUSH3.js} +2 -1
- package/dist/{telemetry-KVCZKVTE.js → telemetry-UW7XAM5W.js} +3 -3
- package/dist/{timeline-VYYKZR4V.js → timeline-JSGTZ3AN.js} +20 -20
- package/dist/{tokens-B5NFFL55.js → tokens-ADDBGTQ7.js} +2 -2
- package/dist/{transcribe-SBETOIWI.js → transcribe-FEHOK626.js} +10 -10
- package/dist/{transcribe-WNFRYZAC.js → transcribe-P6MJGSZJ.js} +16 -16
- package/dist/{tts-QSAQZVEZ.js → tts-POI553RG.js} +1 -1
- package/dist/{updateCheck-5MM2DFUC.js → updateCheck-IBWMLXQ4.js} +2 -2
- package/dist/{upgrade-LWID54R3.js → upgrade-NHZ7AYPO.js} +2 -2
- package/dist/{urlDownloader-CVLNXFDG.js → urlDownloader-ULDRBWS5.js} +8 -8
- package/dist/{validate-V4CGQ6OF.js → validate-NVWNXNBV.js} +25 -25
- package/dist/{video-VJB2KRSS.js → video-74DRD2DN.js} +9 -9
- package/package.json +1 -1
- package/dist/chunk-WBLXWOYK.js +0 -15
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IBYC3VUA.js";
|
|
10
10
|
import "./chunk-K2FLNJVB.js";
|
|
11
11
|
import {
|
|
12
12
|
ensureDOMParser
|
|
13
13
|
} from "./chunk-442JNXRM.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-H2SGM2V2.js";
|
|
15
|
+
import "./chunk-KZ3L3W4Q.js";
|
|
16
16
|
import "./chunk-VWG7OQKU.js";
|
|
17
17
|
import "./chunk-XBSPQ52S.js";
|
|
18
18
|
import {
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
26
26
|
import {
|
|
27
27
|
withMeta
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YYEYOFHW.js";
|
|
29
29
|
import "./chunk-K4WIOZFP.js";
|
|
30
30
|
import "./chunk-XUXGIA7H.js";
|
|
31
31
|
import "./chunk-WERLJGIC.js";
|
|
32
32
|
import "./chunk-ISN5GRYI.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-IZIRIDJH.js";
|
|
34
34
|
import "./chunk-AMKC3AXA.js";
|
|
35
35
|
import "./chunk-JYVGYKXG.js";
|
|
36
36
|
import {
|
|
@@ -46,8 +46,9 @@ import "./chunk-SDYDNHEE.js";
|
|
|
46
46
|
import {
|
|
47
47
|
ancestor,
|
|
48
48
|
parse,
|
|
49
|
+
parseExpressionAt,
|
|
49
50
|
simple
|
|
50
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TYXH3EKP.js";
|
|
51
52
|
import "./chunk-KNU5COPB.js";
|
|
52
53
|
import {
|
|
53
54
|
__toESM
|
|
@@ -873,19 +874,19 @@ function collectIdentifierBindingIndex(ast) {
|
|
|
873
874
|
}
|
|
874
875
|
}
|
|
875
876
|
function addBinding(bindings, scopeNode, name, selector) {
|
|
876
|
-
let scoped = bindings.get(scopeNode);
|
|
877
|
+
let scoped = bindings.byScope.get(scopeNode);
|
|
877
878
|
if (!scoped) {
|
|
878
879
|
scoped = /* @__PURE__ */ new Map();
|
|
879
|
-
bindings.set(scopeNode, scoped);
|
|
880
|
+
bindings.byScope.set(scopeNode, scoped);
|
|
880
881
|
}
|
|
881
882
|
if (!scoped.has(name)) scoped.set(name, selector);
|
|
882
883
|
}
|
|
883
884
|
function lookupBindingFromAncestors(name, ancestors, bindings) {
|
|
884
885
|
for (const scopeNode of scopeChainFromAncestors(ancestors)) {
|
|
885
|
-
const selector = bindings.get(scopeNode)?.get(name);
|
|
886
|
+
const selector = bindings.byScope.get(scopeNode)?.get(name);
|
|
886
887
|
if (selector !== void 0) return selector;
|
|
887
888
|
}
|
|
888
|
-
return bindings.get(null)?.get(name) ?? null;
|
|
889
|
+
return bindings.byScope.get(null)?.get(name) ?? null;
|
|
889
890
|
}
|
|
890
891
|
function isFunctionNode2(node) {
|
|
891
892
|
return node?.type === "ArrowFunctionExpression" || node?.type === "FunctionExpression" || node?.type === "FunctionDeclaration";
|
|
@@ -924,7 +925,7 @@ function collectScopeBindings(ast) {
|
|
|
924
925
|
return bindings;
|
|
925
926
|
}
|
|
926
927
|
function collectTargetBindings(ast, scope, identifierBindings) {
|
|
927
|
-
const bindings = /* @__PURE__ */ new Map();
|
|
928
|
+
const bindings = { byScope: /* @__PURE__ */ new Map(), identifiers: identifierBindings };
|
|
928
929
|
ancestor(ast, {
|
|
929
930
|
VariableDeclarator(node, _, ancestors) {
|
|
930
931
|
const name = node.id?.name;
|
|
@@ -1005,7 +1006,18 @@ function resolveTargetSelector(node, ancestors, scope, bindings) {
|
|
|
1005
1006
|
return typeof node.value === "string" ? node.value : null;
|
|
1006
1007
|
}
|
|
1007
1008
|
if (node.type === "Identifier") {
|
|
1008
|
-
|
|
1009
|
+
const bound = lookupBindingFromAncestors(node.name, ancestors, bindings);
|
|
1010
|
+
if (bound) return bound;
|
|
1011
|
+
const declaration = findVisibleIdentifierDeclaration(
|
|
1012
|
+
node.name,
|
|
1013
|
+
ancestors,
|
|
1014
|
+
bindings.identifiers,
|
|
1015
|
+
node.start
|
|
1016
|
+
);
|
|
1017
|
+
if (declaration?.kind !== "const" || bindings.identifiers.reassignedDeclarations.has(declaration.node))
|
|
1018
|
+
return null;
|
|
1019
|
+
const literal = resolveNode(declaration.node.init, scope);
|
|
1020
|
+
return typeof literal === "string" ? literal : null;
|
|
1009
1021
|
}
|
|
1010
1022
|
if (node.type === "CallExpression") {
|
|
1011
1023
|
return selectorFromQueryCall(node, scope);
|
|
@@ -1030,7 +1042,7 @@ function describeProxyTarget(targetNode, varsNode, scope) {
|
|
|
1030
1042
|
const onUpdate = findPropertyNode(varsNode, "onUpdate");
|
|
1031
1043
|
const driven = onUpdate ? drivenDomChannel(onUpdate) : void 0;
|
|
1032
1044
|
if (driven) return `proxy \u2192 ${driven}`;
|
|
1033
|
-
return "dwell/hold";
|
|
1045
|
+
return objNode.properties.length === 0 && !onUpdate ? "dwell/hold" : "proxy (unresolved DOM association)";
|
|
1034
1046
|
}
|
|
1035
1047
|
function isStyleAssignmentTarget(left) {
|
|
1036
1048
|
return left?.type === "MemberExpression" && left.object?.type === "MemberExpression" && left.object.property?.name === "style" && !!left.property?.name;
|
|
@@ -1549,6 +1561,8 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
1549
1561
|
duration,
|
|
1550
1562
|
ease
|
|
1551
1563
|
};
|
|
1564
|
+
if (["stagger", "repeat", "repeatDelay", "delay"].some((key) => findPropertyNode(call.varsArg, key)))
|
|
1565
|
+
anim.inspectionTiming = inspectionTiming(call.varsArg, scope);
|
|
1552
1566
|
if (targetIdentity) anim.targetIdentity = targetIdentity;
|
|
1553
1567
|
if (!hasPositionArg) anim.implicitPosition = true;
|
|
1554
1568
|
let group = classifyTweenPropertyGroup(properties);
|
|
@@ -1571,14 +1585,51 @@ function tweenCallToAnimation(call, scope, source, identifierBindings) {
|
|
|
1571
1585
|
if (provenance) anim.provenance = provenance;
|
|
1572
1586
|
return anim;
|
|
1573
1587
|
}
|
|
1588
|
+
function inspectionTiming(varsNode, scope) {
|
|
1589
|
+
const numeric = (key) => {
|
|
1590
|
+
const node2 = findPropertyNode(varsNode, key);
|
|
1591
|
+
if (!node2) return 0;
|
|
1592
|
+
const value = resolveNode(node2, scope);
|
|
1593
|
+
return typeof value === "number" && Number.isFinite(value) ? value : null;
|
|
1594
|
+
};
|
|
1595
|
+
const node = findPropertyNode(varsNode, "stagger");
|
|
1596
|
+
let stagger = { each: 0 };
|
|
1597
|
+
if (node) {
|
|
1598
|
+
const value = resolveNode(node, scope);
|
|
1599
|
+
stagger = typeof value === "number" ? { each: value } : null;
|
|
1600
|
+
if (node.type === "ObjectExpression" && !(node.properties ?? []).some(
|
|
1601
|
+
(p) => !["each", "amount", "from", "ease", "axis", "grid"].includes(propKeyName(p) ?? "")
|
|
1602
|
+
)) {
|
|
1603
|
+
const each = resolveNode(findPropertyNode(node, "each"), scope);
|
|
1604
|
+
const amount = resolveNode(findPropertyNode(node, "amount"), scope);
|
|
1605
|
+
if (!findPropertyNode(node, "grid") && !findPropertyNode(node, "axis")) {
|
|
1606
|
+
if (typeof amount === "number") stagger = { amount };
|
|
1607
|
+
else if (typeof each === "number") stagger = { each };
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
return {
|
|
1612
|
+
repeat: numeric("repeat"),
|
|
1613
|
+
repeatDelay: numeric("repeatDelay"),
|
|
1614
|
+
delay: numeric("delay"),
|
|
1615
|
+
stagger
|
|
1616
|
+
};
|
|
1617
|
+
}
|
|
1574
1618
|
function staggerAmount(raw) {
|
|
1575
1619
|
if (typeof raw === "number") return raw;
|
|
1576
1620
|
if (typeof raw !== "string") return void 0;
|
|
1577
1621
|
const src = raw.startsWith("__raw:") ? raw.slice(6) : raw;
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1622
|
+
try {
|
|
1623
|
+
const node = parseExpressionAt(src, 0, { ecmaVersion: "latest" });
|
|
1624
|
+
if (src.slice(node.end).trim()) return void 0;
|
|
1625
|
+
const value = resolveNode(
|
|
1626
|
+
node.type === "ObjectExpression" ? findPropertyNode(node, "each") : node,
|
|
1627
|
+
/* @__PURE__ */ new Map()
|
|
1628
|
+
);
|
|
1629
|
+
return typeof value === "number" && Number.isFinite(value) ? value : void 0;
|
|
1630
|
+
} catch {
|
|
1631
|
+
return void 0;
|
|
1632
|
+
}
|
|
1582
1633
|
}
|
|
1583
1634
|
function restValue(prop) {
|
|
1584
1635
|
return prop === "opacity" || prop.startsWith("scale") ? 1 : 0;
|
|
@@ -1913,7 +1964,7 @@ function inlineStyleText(html) {
|
|
|
1913
1964
|
function num(v) {
|
|
1914
1965
|
if (typeof v === "number") return v;
|
|
1915
1966
|
if (typeof v === "string") {
|
|
1916
|
-
const n = Number
|
|
1967
|
+
const n = Number(v);
|
|
1917
1968
|
return Number.isFinite(n) ? n : null;
|
|
1918
1969
|
}
|
|
1919
1970
|
return null;
|
|
@@ -1926,29 +1977,12 @@ function isPositionTween(anim) {
|
|
|
1926
1977
|
(kf) => "x" in kf.properties || "y" in kf.properties
|
|
1927
1978
|
);
|
|
1928
1979
|
}
|
|
1929
|
-
function baseProps(props) {
|
|
1930
|
-
const base = {};
|
|
1931
|
-
for (const k of Object.keys(props)) {
|
|
1932
|
-
if (k === "ease") continue;
|
|
1933
|
-
base[k] = k === "opacity" || k.startsWith("scale") ? 1 : 0;
|
|
1934
|
-
}
|
|
1935
|
-
return base;
|
|
1936
|
-
}
|
|
1937
1980
|
function flatKeyframes(anim) {
|
|
1938
|
-
if (anim.method === "fromTo") {
|
|
1939
|
-
return [
|
|
1940
|
-
{ pct: 0, time: 0, properties: anim.fromProperties ?? {} },
|
|
1941
|
-
{ pct: 100, time: 0, properties: anim.properties ?? {} }
|
|
1942
|
-
];
|
|
1943
|
-
}
|
|
1944
1981
|
const vars = anim.properties ?? {};
|
|
1945
|
-
|
|
1946
|
-
return
|
|
1947
|
-
{ pct: 0, time: 0, properties: vars },
|
|
1948
|
-
{ pct: 100, time: 0, properties:
|
|
1949
|
-
] : [
|
|
1950
|
-
{ pct: 0, time: 0, properties: base },
|
|
1951
|
-
{ pct: 100, time: 0, properties: vars }
|
|
1982
|
+
if (anim.method === "set") return [{ pct: 100, time: 0, properties: vars }];
|
|
1983
|
+
return [
|
|
1984
|
+
{ pct: 0, time: 0, properties: anim.method === "from" ? vars : anim.fromProperties ?? {} },
|
|
1985
|
+
{ pct: 100, time: 0, properties: anim.method === "from" ? {} : vars }
|
|
1952
1986
|
];
|
|
1953
1987
|
}
|
|
1954
1988
|
function isHoldMarker(anim) {
|
|
@@ -1962,24 +1996,103 @@ function cleanProps(props) {
|
|
|
1962
1996
|
}
|
|
1963
1997
|
return out;
|
|
1964
1998
|
}
|
|
1965
|
-
function
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
if (
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
rawKfs = flatKeyframes(anim).map((k) => ({ percentage: k.pct, properties: k.properties }));
|
|
1999
|
+
function round(value) {
|
|
2000
|
+
return Math.round(value * 1e3) / 1e3;
|
|
2001
|
+
}
|
|
2002
|
+
function knownRepeatCycle(timing) {
|
|
2003
|
+
const { repeat, repeatDelay, stagger } = timing;
|
|
2004
|
+
if (repeat === null || repeat < 0 || repeatDelay === null || stagger === null) return null;
|
|
2005
|
+
return { repeat, repeatDelay, stagger };
|
|
2006
|
+
}
|
|
2007
|
+
function targetCount(html, selector) {
|
|
2008
|
+
try {
|
|
2009
|
+
return queryIncludingTemplates(html, selector).length;
|
|
2010
|
+
} catch {
|
|
2011
|
+
return null;
|
|
1979
2012
|
}
|
|
2013
|
+
}
|
|
2014
|
+
function staggerSpread(html, selector, stagger) {
|
|
2015
|
+
const count = targetCount(html, selector);
|
|
2016
|
+
if (!count) return null;
|
|
2017
|
+
if ("amount" in stagger) return count > 1 ? Math.abs(stagger.amount) : 0;
|
|
2018
|
+
return Math.abs(stagger.each) * (count - 1);
|
|
2019
|
+
}
|
|
2020
|
+
function tweenSpan(anim, duration, html) {
|
|
2021
|
+
if (duration === null) return null;
|
|
2022
|
+
if (!anim.inspectionTiming) return duration;
|
|
2023
|
+
const cycle = knownRepeatCycle(anim.inspectionTiming);
|
|
2024
|
+
if (!cycle) return null;
|
|
2025
|
+
const spread = anim.extras?.stagger === void 0 ? 0 : staggerSpread(html, anim.targetSelector, cycle.stagger);
|
|
2026
|
+
if (spread === null) return null;
|
|
2027
|
+
return round((duration + spread) * (cycle.repeat + 1) + cycle.repeatDelay * cycle.repeat);
|
|
2028
|
+
}
|
|
2029
|
+
function tweenStart(anim) {
|
|
2030
|
+
if (followsTimelineCursor(anim) && typeof anim.resolvedStart !== "number") return null;
|
|
2031
|
+
const position = typeof anim.resolvedStart === "number" ? anim.resolvedStart : num(anim.position);
|
|
2032
|
+
const delay = anim.inspectionTiming ? anim.inspectionTiming.delay : 0;
|
|
2033
|
+
return position === null || delay === null ? null : position + delay;
|
|
2034
|
+
}
|
|
2035
|
+
function tweenDuration(anim) {
|
|
2036
|
+
if (anim.method === "set") return 0;
|
|
2037
|
+
if (anim.durationUnresolved) return null;
|
|
2038
|
+
return anim.duration ?? GSAP_DEFAULT_DURATION;
|
|
2039
|
+
}
|
|
2040
|
+
function syntheticStaggerStops(anim) {
|
|
2041
|
+
const stops = anim.keyframes?.keyframes ?? [];
|
|
2042
|
+
return stops.length > 0 && stops.every((stop) => "stagger" in stop.properties);
|
|
2043
|
+
}
|
|
2044
|
+
function tweenShape(anim) {
|
|
2045
|
+
if (anim.hasUnresolvedKeyframes) return { shape: "keyframes", rawKfs: [] };
|
|
2046
|
+
if (anim.keyframes?.keyframes?.length && !syntheticStaggerStops(anim))
|
|
2047
|
+
return { shape: "keyframes", rawKfs: anim.keyframes.keyframes };
|
|
2048
|
+
if (anim.arcPath?.enabled) return { shape: "motionPath", rawKfs: [] };
|
|
2049
|
+
return {
|
|
2050
|
+
shape: "flat",
|
|
2051
|
+
rawKfs: flatKeyframes(anim).map((k) => ({ percentage: k.pct, properties: k.properties }))
|
|
2052
|
+
};
|
|
2053
|
+
}
|
|
2054
|
+
function keyframeTime(start, duration, pct) {
|
|
2055
|
+
if (start === null || duration === null) return null;
|
|
2056
|
+
return round(start + pct / 100 * duration);
|
|
2057
|
+
}
|
|
2058
|
+
function missesEndpointProperties(anim, keyframes) {
|
|
2059
|
+
if (anim.method === "set") return false;
|
|
2060
|
+
const authored = Object.keys(anim.properties).filter((p) => p !== "ease" && p !== "data");
|
|
2061
|
+
return keyframes.some((k) => authored.some((p) => !(p in k.properties)));
|
|
2062
|
+
}
|
|
2063
|
+
function hasRawExpressions(keyframes) {
|
|
2064
|
+
return keyframes.some(
|
|
2065
|
+
(k) => Object.values(k.properties).some((v) => typeof v === "string" && v.startsWith("__raw:"))
|
|
2066
|
+
);
|
|
2067
|
+
}
|
|
2068
|
+
function hasNoProperties(anim) {
|
|
2069
|
+
return !Object.keys(anim.properties).length && !anim.keyframes;
|
|
2070
|
+
}
|
|
2071
|
+
function unresolvedFields(anim, timing, keyframes) {
|
|
2072
|
+
const checks = [
|
|
2073
|
+
["start", timing.start === null],
|
|
2074
|
+
["duration", timing.duration === null],
|
|
2075
|
+
["target", anim.hasUnresolvedSelector === true],
|
|
2076
|
+
["keyframes", anim.hasUnresolvedKeyframes === true],
|
|
2077
|
+
["properties", hasNoProperties(anim)],
|
|
2078
|
+
["totalDuration", timing.totalDuration === null],
|
|
2079
|
+
["endpointProperties", missesEndpointProperties(anim, keyframes)],
|
|
2080
|
+
["propertyExpressions", hasRawExpressions(keyframes)]
|
|
2081
|
+
];
|
|
2082
|
+
return checks.filter(([, isUnresolved]) => isUnresolved).map(([field]) => field);
|
|
2083
|
+
}
|
|
2084
|
+
function keyframeBasis(shape, anim) {
|
|
2085
|
+
const staggered = anim.keyframes?.keyframes.some((k) => "stagger" in k.properties);
|
|
2086
|
+
return shape === "flat" || staggered ? "tween-endpoints" : "authored-stops";
|
|
2087
|
+
}
|
|
2088
|
+
function surfaceTween(anim, html) {
|
|
2089
|
+
const start = tweenStart(anim);
|
|
2090
|
+
const duration = tweenDuration(anim);
|
|
2091
|
+
const totalDuration = tweenSpan(anim, duration, html);
|
|
2092
|
+
const { shape, rawKfs } = tweenShape(anim);
|
|
1980
2093
|
const keyframes = rawKfs.map((kf) => ({
|
|
1981
2094
|
pct: kf.percentage,
|
|
1982
|
-
time:
|
|
2095
|
+
time: keyframeTime(start, duration, kf.percentage),
|
|
1983
2096
|
properties: cleanProps(kf.properties)
|
|
1984
2097
|
}));
|
|
1985
2098
|
return {
|
|
@@ -1987,16 +2100,22 @@ function surfaceTween(anim) {
|
|
|
1987
2100
|
target: anim.targetSelector,
|
|
1988
2101
|
method: anim.method,
|
|
1989
2102
|
group: anim.propertyGroup,
|
|
1990
|
-
start:
|
|
2103
|
+
start: start === null ? null : round(start),
|
|
1991
2104
|
duration,
|
|
1992
|
-
end:
|
|
2105
|
+
end: start === null || totalDuration === null ? null : round(start + totalDuration),
|
|
2106
|
+
totalDuration,
|
|
2107
|
+
position: anim.position,
|
|
2108
|
+
ease: anim.ease,
|
|
2109
|
+
unresolved: unresolvedFields(anim, { start, duration, totalDuration }, keyframes),
|
|
2110
|
+
keyframeBasis: keyframeBasis(shape, anim),
|
|
1993
2111
|
shape,
|
|
1994
2112
|
keyframes,
|
|
1995
2113
|
path: isPositionTween(anim) ? positionPath(keyframes) : null
|
|
1996
2114
|
};
|
|
1997
2115
|
}
|
|
1998
2116
|
function positionPath(keyframes) {
|
|
1999
|
-
if (keyframes.length === 0)
|
|
2117
|
+
if (keyframes.length === 0 || !keyframes.every((k) => num(k.properties.x) !== null && num(k.properties.y) !== null))
|
|
2118
|
+
return null;
|
|
2000
2119
|
let lastX = 0;
|
|
2001
2120
|
let lastY = 0;
|
|
2002
2121
|
return keyframes.map((kf) => {
|
|
@@ -2007,6 +2126,21 @@ function positionPath(keyframes) {
|
|
|
2007
2126
|
return { x: lastX, y: lastY };
|
|
2008
2127
|
});
|
|
2009
2128
|
}
|
|
2129
|
+
function followsTimelineCursor(anim) {
|
|
2130
|
+
return !anim.global && (anim.implicitPosition === true || typeof anim.position !== "number");
|
|
2131
|
+
}
|
|
2132
|
+
function movesCursorUnpredictably(anim, tween) {
|
|
2133
|
+
if (anim.global) return false;
|
|
2134
|
+
const delay = anim.inspectionTiming?.delay;
|
|
2135
|
+
const delayUnknown = delay === null || typeof delay === "number" && delay !== 0;
|
|
2136
|
+
return tween.totalDuration === null || tween.totalDuration !== tween.duration || delayUnknown;
|
|
2137
|
+
}
|
|
2138
|
+
function forgetStart(tween) {
|
|
2139
|
+
tween.start = null;
|
|
2140
|
+
tween.end = null;
|
|
2141
|
+
for (const point of tween.keyframes) point.time = null;
|
|
2142
|
+
if (!tween.unresolved.includes("start")) tween.unresolved.push("start");
|
|
2143
|
+
}
|
|
2010
2144
|
function surfaceComposition(html, label, source) {
|
|
2011
2145
|
const script = inlineScriptText(html);
|
|
2012
2146
|
let animations = [];
|
|
@@ -2015,7 +2149,13 @@ function surfaceComposition(html, label, source) {
|
|
|
2015
2149
|
} catch {
|
|
2016
2150
|
animations = [];
|
|
2017
2151
|
}
|
|
2018
|
-
|
|
2152
|
+
let cursorChanged = false;
|
|
2153
|
+
const tweens = animations.filter((a) => !isHoldMarker(a)).map((anim) => {
|
|
2154
|
+
const tween = surfaceTween(anim, html);
|
|
2155
|
+
if (cursorChanged && followsTimelineCursor(anim)) forgetStart(tween);
|
|
2156
|
+
if (movesCursorUnpredictably(anim, tween)) cursorChanged = true;
|
|
2157
|
+
return tween;
|
|
2158
|
+
});
|
|
2019
2159
|
attachComposedAncestors(tweens, html);
|
|
2020
2160
|
return {
|
|
2021
2161
|
composition: label,
|
|
@@ -2047,7 +2187,7 @@ function parseDeclarations(body) {
|
|
|
2047
2187
|
function stripRanges(text, ranges) {
|
|
2048
2188
|
let out = "";
|
|
2049
2189
|
let cursor = 0;
|
|
2050
|
-
for (const range of [...ranges].sort((a, b) => a.start - b.start)) {
|
|
2190
|
+
for (const range of [...ranges].sort((a, b) => (a.start ?? 0) - (b.start ?? 0))) {
|
|
2051
2191
|
out += text.slice(cursor, range.start);
|
|
2052
2192
|
cursor = range.end;
|
|
2053
2193
|
}
|
|
@@ -2219,8 +2359,8 @@ function summarizeMotion(tweens, sel) {
|
|
|
2219
2359
|
if (n !== null) bumpRange(ranges, k, n);
|
|
2220
2360
|
}
|
|
2221
2361
|
}
|
|
2222
|
-
const varying = [...ranges.entries()].filter(([, r]) => r.max - r.min >
|
|
2223
|
-
return varying.length ? varying.join(", ") : "(
|
|
2362
|
+
const varying = [...ranges.entries()].filter(([, r]) => r.max - r.min > 1e-6).map(([k, r]) => `${k} ${round(r.min)}..${round(r.max)}`);
|
|
2363
|
+
return varying.length ? varying.join(", ") : "(no resolved variation; runtime verification required)";
|
|
2224
2364
|
}
|
|
2225
2365
|
function bumpRange(ranges, k, n) {
|
|
2226
2366
|
const r = ranges.get(k);
|
|
@@ -2234,29 +2374,28 @@ function pathTravels(points) {
|
|
|
2234
2374
|
if (!first) return false;
|
|
2235
2375
|
return points.some((p) => Math.abs(p.x - first.x) > 0.5 || Math.abs(p.y - first.y) > 0.5);
|
|
2236
2376
|
}
|
|
2377
|
+
function isDrawnStroke(t) {
|
|
2378
|
+
if (t.method === "set" || t.start === null || t.end === null) return false;
|
|
2379
|
+
return !!t.path && t.path.length >= 2 && pathTravels(t.path);
|
|
2380
|
+
}
|
|
2381
|
+
function traceOf(target, list) {
|
|
2382
|
+
const strokes = [...list].sort((a, b) => (a.start ?? 0) - (b.start ?? 0)).map((t) => ({
|
|
2383
|
+
id: t.id,
|
|
2384
|
+
start: t.start,
|
|
2385
|
+
end: t.end,
|
|
2386
|
+
keyframes: t.keyframes,
|
|
2387
|
+
points: t.path
|
|
2388
|
+
}));
|
|
2389
|
+
return { target, strokes };
|
|
2390
|
+
}
|
|
2237
2391
|
function groupTraces(tweens) {
|
|
2238
2392
|
const byTarget = /* @__PURE__ */ new Map();
|
|
2239
|
-
for (const t of tweens) {
|
|
2240
|
-
if (t.method === "set") continue;
|
|
2241
|
-
if (!t.path || t.path.length < 2) continue;
|
|
2242
|
-
if (!pathTravels(t.path)) continue;
|
|
2393
|
+
for (const t of tweens.filter(isDrawnStroke)) {
|
|
2243
2394
|
const list = byTarget.get(t.target);
|
|
2244
2395
|
if (list) list.push(t);
|
|
2245
2396
|
else byTarget.set(t.target, [t]);
|
|
2246
2397
|
}
|
|
2247
|
-
|
|
2248
|
-
for (const [target, list] of byTarget) {
|
|
2249
|
-
if (list.length < 2) continue;
|
|
2250
|
-
const strokes = [...list].sort((a, b) => a.start - b.start).map((t) => ({
|
|
2251
|
-
id: t.id,
|
|
2252
|
-
start: t.start,
|
|
2253
|
-
end: t.end,
|
|
2254
|
-
keyframes: t.keyframes,
|
|
2255
|
-
points: t.path
|
|
2256
|
-
}));
|
|
2257
|
-
traces.push({ target, strokes });
|
|
2258
|
-
}
|
|
2259
|
-
return traces;
|
|
2398
|
+
return [...byTarget].filter(([, list]) => list.length >= 2).map(([target, list]) => traceOf(target, list));
|
|
2260
2399
|
}
|
|
2261
2400
|
function collectCompositions(indexPath) {
|
|
2262
2401
|
const html = readFileSync(indexPath, "utf-8");
|
|
@@ -2279,8 +2418,13 @@ function collectCompositions(indexPath) {
|
|
|
2279
2418
|
function fmtProps(props) {
|
|
2280
2419
|
return Object.entries(props).filter(([k]) => k !== "ease").map(([k, v]) => `${k}:${v}`).join(" ");
|
|
2281
2420
|
}
|
|
2421
|
+
function formatSeconds(value) {
|
|
2422
|
+
return value === null ? "unresolved" : `${value}s`;
|
|
2423
|
+
}
|
|
2282
2424
|
function printTween(t) {
|
|
2283
|
-
const timing = c.dim(
|
|
2425
|
+
const timing = c.dim(
|
|
2426
|
+
`@${formatSeconds(t.start)}\u2192${formatSeconds(t.end)} (${formatSeconds(t.duration)})`
|
|
2427
|
+
);
|
|
2284
2428
|
const group = t.group ? c.dim(` ${t.group}`) : "";
|
|
2285
2429
|
console.log(` ${c.accent(t.target)}${group} ${c.dim(t.method)}/${t.shape} ${timing}`);
|
|
2286
2430
|
if (t.shape === "motionPath") {
|
|
@@ -2289,6 +2433,7 @@ function printTween(t) {
|
|
|
2289
2433
|
const kfLine = t.keyframes.map((k) => `${k.pct}% {${fmtProps(k.properties)}}`).join(" ");
|
|
2290
2434
|
console.log(` ${c.dim(kfLine)}`);
|
|
2291
2435
|
}
|
|
2436
|
+
if (t.unresolved.length) console.log(c.dim(` unresolved: ${t.unresolved.join(", ")}`));
|
|
2292
2437
|
if (t.composedWith?.length) {
|
|
2293
2438
|
for (const a of t.composedWith) {
|
|
2294
2439
|
console.log(c.dim(` \u2191 composed with ${c.accent(a.selector)}${c.dim(": " + a.summary)}`));
|
|
@@ -2297,8 +2442,8 @@ function printTween(t) {
|
|
|
2297
2442
|
console.log();
|
|
2298
2443
|
}
|
|
2299
2444
|
function printTrace(tr) {
|
|
2300
|
-
const start = Math.min(...tr.strokes.
|
|
2301
|
-
const end = Math.max(...tr.strokes.
|
|
2445
|
+
const start = Math.min(...tr.strokes.flatMap((s) => s.start === null ? [] : [s.start]));
|
|
2446
|
+
const end = Math.max(...tr.strokes.flatMap((s) => s.end === null ? [] : [s.end]));
|
|
2302
2447
|
const n = tr.strokes.length;
|
|
2303
2448
|
console.log(
|
|
2304
2449
|
` ${c.accent(tr.target)}${c.dim(" position")} ${c.dim("trace")} ${c.dim(`${n} strokes`)} ${c.dim(`@${start}s\u2192${end}s`)}`
|
|
@@ -2369,7 +2514,7 @@ function printOnionShotSaved(saved, elementCount) {
|
|
|
2369
2514
|
console.log();
|
|
2370
2515
|
}
|
|
2371
2516
|
async function runOnionShot(comps, allComps, projectDir, entryFile, args) {
|
|
2372
|
-
const { captureMotionPathShot } = await import("./motionShot-
|
|
2517
|
+
const { captureMotionPathShot } = await import("./motionShot-ARRL7WXT.js");
|
|
2373
2518
|
const requests = collectShotSelectors(args.selector ? allComps : comps);
|
|
2374
2519
|
const guardError = onionShotGuardError(projectDir, requests, args.ghost ?? false);
|
|
2375
2520
|
if (guardError) {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseOutputResolutionFlag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FSZAFCU7.js";
|
|
10
10
|
import {
|
|
11
11
|
readAllowedCompositionFpsFromDir
|
|
12
12
|
} from "./chunk-WPNE5NEP.js";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
21
21
|
} from "./chunk-ZTZA4UWZ.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-5ERVRJMV.js";
|
|
23
|
+
import "./chunk-S3RCK56N.js";
|
|
24
24
|
import "./chunk-VC76R6W2.js";
|
|
25
25
|
import "./chunk-UJKQWGFF.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-VYKPBRCB.js";
|
|
27
27
|
import "./chunk-OFQWTKPW.js";
|
|
28
28
|
import "./chunk-DPVXBVLL.js";
|
|
29
29
|
import "./chunk-T76PLPD6.js";
|
|
@@ -32,7 +32,7 @@ import "./chunk-RQVDTPGD.js";
|
|
|
32
32
|
import "./chunk-3RM2ETQT.js";
|
|
33
33
|
import "./chunk-BSQ7XANM.js";
|
|
34
34
|
import "./chunk-SDYDNHEE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-TYXH3EKP.js";
|
|
36
36
|
import "./chunk-IXLUTE6N.js";
|
|
37
37
|
import "./chunk-M2WBOQ2Q.js";
|
|
38
38
|
|
|
@@ -289,7 +289,7 @@ Or, for an opt-in dev setup:
|
|
|
289
289
|
console.error(`[lambda render] --fps must be 24, 30, or 60; got ${fpsRaw}.`);
|
|
290
290
|
failCommand();
|
|
291
291
|
}
|
|
292
|
-
const { runRender } = await import("./render-
|
|
292
|
+
const { runRender } = await import("./render-6GH5FSXU.js");
|
|
293
293
|
const renderResolution = parseOutputResolution(args["output-resolution"]);
|
|
294
294
|
await runRender({
|
|
295
295
|
projectDir,
|
|
@@ -343,7 +343,7 @@ Or, for an opt-in dev setup:
|
|
|
343
343
|
console.error(`[lambda render-batch] --fps must be 24, 30, or 60; got ${fpsRaw}.`);
|
|
344
344
|
failCommand();
|
|
345
345
|
}
|
|
346
|
-
const { runRenderBatch } = await import("./render-batch-
|
|
346
|
+
const { runRenderBatch } = await import("./render-batch-UMBUQWWS.js");
|
|
347
347
|
const batchResolution = parseOutputResolution(args["output-resolution"]);
|
|
348
348
|
await runRenderBatch({
|
|
349
349
|
projectDir,
|
|
@@ -10,39 +10,39 @@ import {
|
|
|
10
10
|
layout_default,
|
|
11
11
|
loadBrowserScript,
|
|
12
12
|
parseAt
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-BYJYQWEX.js";
|
|
14
|
+
import "./chunk-GQETH4PE.js";
|
|
15
15
|
import "./chunk-XUHOIDKG.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-XEFFJRYX.js";
|
|
17
17
|
import "./chunk-X7MTZ4T2.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-SWCSL6WS.js";
|
|
19
19
|
import "./chunk-FH7WODJH.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4UMKAUZI.js";
|
|
21
|
+
import "./chunk-PKO2EWO7.js";
|
|
22
22
|
import "./chunk-WPNE5NEP.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HBCRRCTX.js";
|
|
24
|
+
import "./chunk-PRXAOZWZ.js";
|
|
25
|
+
import "./chunk-C6TPGUWD.js";
|
|
26
|
+
import "./chunk-7FYFEXD2.js";
|
|
27
|
+
import "./chunk-XINGD6MS.js";
|
|
28
|
+
import "./chunk-FFDC5OWV.js";
|
|
29
|
+
import "./chunk-IBYC3VUA.js";
|
|
30
30
|
import "./chunk-K2FLNJVB.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-EVTHG34H.js";
|
|
32
32
|
import "./chunk-442JNXRM.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-D6RJXQLD.js";
|
|
34
34
|
import "./chunk-XT7X6QCP.js";
|
|
35
35
|
import "./chunk-4YYJOFKS.js";
|
|
36
36
|
import "./chunk-HVW7ABXD.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-QESSGUKX.js";
|
|
38
|
+
import "./chunk-6Z4YJ5Q3.js";
|
|
39
|
+
import "./chunk-3HPJM5IQ.js";
|
|
40
40
|
import "./chunk-AWDFDFI3.js";
|
|
41
41
|
import "./chunk-P6LJ4Y32.js";
|
|
42
42
|
import "./chunk-GMECXFAN.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-5CS4T6C6.js";
|
|
44
|
+
import "./chunk-H2SGM2V2.js";
|
|
45
|
+
import "./chunk-KZ3L3W4Q.js";
|
|
46
46
|
import "./chunk-VWG7OQKU.js";
|
|
47
47
|
import "./chunk-XBSPQ52S.js";
|
|
48
48
|
import "./chunk-S3S4TGEH.js";
|
|
@@ -51,37 +51,37 @@ import "./chunk-PBN6GBJE.js";
|
|
|
51
51
|
import "./chunk-ZTZA4UWZ.js";
|
|
52
52
|
import "./chunk-EOOEC32M.js";
|
|
53
53
|
import "./chunk-TJSTGSAW.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-YYEYOFHW.js";
|
|
55
55
|
import "./chunk-K4WIOZFP.js";
|
|
56
56
|
import "./chunk-XUXGIA7H.js";
|
|
57
57
|
import "./chunk-WERLJGIC.js";
|
|
58
58
|
import "./chunk-ISN5GRYI.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-IZIRIDJH.js";
|
|
60
60
|
import "./chunk-EOVYQ3IG.js";
|
|
61
61
|
import "./chunk-AMKC3AXA.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-EXH6L2XZ.js";
|
|
63
|
+
import "./chunk-RN5I2DP5.js";
|
|
64
64
|
import "./chunk-NE55C6S5.js";
|
|
65
65
|
import "./chunk-JYVGYKXG.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-5ERVRJMV.js";
|
|
67
|
+
import "./chunk-S3RCK56N.js";
|
|
68
68
|
import "./chunk-VC76R6W2.js";
|
|
69
69
|
import "./chunk-UJKQWGFF.js";
|
|
70
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-VYKPBRCB.js";
|
|
71
71
|
import "./chunk-OFQWTKPW.js";
|
|
72
72
|
import "./chunk-DPVXBVLL.js";
|
|
73
73
|
import "./chunk-T76PLPD6.js";
|
|
74
74
|
import "./chunk-FXMKHHPO.js";
|
|
75
75
|
import "./chunk-RQVDTPGD.js";
|
|
76
76
|
import "./chunk-TWWSYAKJ.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-YOEGUBBY.js";
|
|
78
78
|
import "./chunk-IWFLMU2N.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-3VGU2SH7.js";
|
|
80
80
|
import "./chunk-VAS6HQX3.js";
|
|
81
81
|
import "./chunk-3RM2ETQT.js";
|
|
82
82
|
import "./chunk-BSQ7XANM.js";
|
|
83
83
|
import "./chunk-SDYDNHEE.js";
|
|
84
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-TYXH3EKP.js";
|
|
85
85
|
import "./chunk-IXLUTE6N.js";
|
|
86
86
|
import "./chunk-KNU5COPB.js";
|
|
87
87
|
import "./chunk-3GXQPCJC.js";
|