hyperframes 0.8.219 → 0.8.221
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-2MXC4QCY.js → add-7CVO7K6M.js} +14 -11
- package/dist/{agentPromptGenerator-FIT75HWJ.js → agentPromptGenerator-YFC2SJLF.js} +6 -6
- package/dist/{animatedGifPrep-MFUNECD3.js → animatedGifPrep-YSMY5GU2.js} +6 -6
- package/dist/api.js +16 -16
- package/dist/{asset-T6BI53SJ.js → asset-ZVKHSO3M.js} +2 -2
- package/dist/{assetCataloger-DP4SHXWI.js → assetCataloger-6IBSEOK7.js} +7 -7
- package/dist/{audio-SRQLO7BP.js → audio-JUV3TVSW.js} +14 -13
- package/dist/{auth-JONDB26P.js → auth-2J6FP462.js} +2 -2
- package/dist/{autoUpdate-YKJOOXCI.js → autoUpdate-ML6EZK6D.js} +2 -2
- package/dist/{backgroundChecks-GSTIIVNR.js → backgroundChecks-MAWP2REX.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ESAPNTE3.js → batchRender-Z7MGNJZH.js} +3 -3
- package/dist/{beats-OOVMTM4B.js → beats-LRZOZUUQ.js} +8 -8
- package/dist/{benchmark-WBFYHOSI.js → benchmark-XJWLDTIL.js} +8 -8
- package/dist/{browser-AZZAO24H.js → browser-STEVEWWA.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-GP4MD6DJ.js → bundleWithLocalizedFonts-WH63ZWUT.js} +2 -2
- package/dist/{capture-MGRV5VWE.js → capture-U3ZT3GNI.js} +12 -12
- package/dist/{capture-PN7GEEAB.js → capture-VB5ID7HT.js} +3 -3
- package/dist/{captureCompositionFrame-JYGGPKFZ.js → captureCompositionFrame-MXJ3WO2R.js} +11 -11
- package/dist/{catalog-D42NLFZT.js → catalog-ICGHSRPZ.js} +12 -11
- package/dist/{catch-up-TUL26VOB.js → catch-up-DJPQKXQB.js} +4 -4
- package/dist/{check-DBBH7DI3.js → check-TL7AGWPO.js} +39 -38
- package/dist/{checkAudio-UJ7XTDRD.js → checkAudio-GPTU6EGB.js} +9 -9
- package/dist/{checkBrowser-3YIZYXIR.js → checkBrowser-FG5DAW2R.js} +31 -30
- package/dist/{chunk-NP2QEAEW.js → chunk-2ZNURTH5.js} +9 -9
- package/dist/{chunk-ILCIWNPQ.js → chunk-322M35EB.js} +3 -3
- package/dist/{chunk-DWMI7CKI.js → chunk-3PJ3HVLG.js} +1 -1
- package/dist/{chunk-IGZHC55Z.js → chunk-3STL4WJ6.js} +72 -32
- package/dist/{chunk-3KDODK5M.js → chunk-4ZM727AO.js} +2 -2
- package/dist/{chunk-DMUDI5IH.js → chunk-5YT2KHPO.js} +2 -2
- package/dist/{chunk-473HMKSC.js → chunk-625I5VBE.js} +2 -2
- package/dist/{chunk-WUABYDXU.js → chunk-67CALYTU.js} +1 -1
- package/dist/{chunk-DOZGTBDV.js → chunk-6HKUUBAV.js} +2 -2
- package/dist/{chunk-LIWBGRPD.js → chunk-6YW3FEHC.js} +3 -3
- package/dist/{chunk-XXLG7GCA.js → chunk-74E7EHVH.js} +1 -1
- package/dist/{chunk-LJUFR7G5.js → chunk-7DVR3DL3.js} +7 -7
- package/dist/{chunk-2UT32TJS.js → chunk-AW7A27JM.js} +1 -1
- package/dist/{chunk-TCV7N2UY.js → chunk-AZI2T2KO.js} +1 -1
- package/dist/{chunk-5UIODBMI.js → chunk-AZXDEC2G.js} +1 -1
- package/dist/{chunk-FWWJRJB5.js → chunk-BQNTY7J5.js} +1 -1
- package/dist/{chunk-BT5UT4XT.js → chunk-D2RQVJLZ.js} +2 -2
- package/dist/{chunk-G2E2DHH2.js → chunk-DMCU2ELU.js} +3 -3
- package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
- package/dist/{chunk-GP5X7V6U.js → chunk-F6WHVEUS.js} +1 -1
- package/dist/{chunk-G7ZTD2KJ.js → chunk-FKPJP7KG.js} +5 -5
- package/dist/{chunk-BKHRAHV6.js → chunk-GSCFMG4C.js} +2 -2
- package/dist/{chunk-QE5JXNSW.js → chunk-H3HC6U4I.js} +10 -10
- package/dist/{chunk-U2EUCTYQ.js → chunk-HSHKLYDI.js} +3 -3
- package/dist/{chunk-XUOLKUE7.js → chunk-I45R2REQ.js} +1 -1
- package/dist/{chunk-FAIFPYRO.js → chunk-IDWJJ7PP.js} +1 -1
- package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
- package/dist/{chunk-KENUKJRG.js → chunk-JGZUG5V4.js} +2 -2
- package/dist/{chunk-BRU66Q24.js → chunk-KQPP4NIZ.js} +2 -2
- package/dist/{chunk-33XQUQKN.js → chunk-L63FJVSC.js} +1 -1
- package/dist/{chunk-MHZB6QSC.js → chunk-LYZB5CJN.js} +13 -3
- package/dist/{chunk-3VIICMJF.js → chunk-M2BCU4Y5.js} +1 -1
- package/dist/{chunk-YXZ56JUN.js → chunk-M2F6VGCP.js} +48 -15
- package/dist/{chunk-UGDLT4LZ.js → chunk-MEB6HWBM.js} +2 -2
- package/dist/{chunk-AU7VGKCP.js → chunk-MXVH6UW6.js} +1 -1
- package/dist/{chunk-UWV753SJ.js → chunk-MYNBV7WG.js} +9 -2
- package/dist/{chunk-C2G23WQQ.js → chunk-MYXFBIJO.js} +1 -1
- package/dist/{chunk-CBZN5JIK.js → chunk-NQOCM4KQ.js} +3 -3
- package/dist/{chunk-RYBFHEMZ.js → chunk-NYOQP6DO.js} +1 -1
- package/dist/{chunk-CPKBAMI3.js → chunk-O7WR4AHX.js} +14 -14
- package/dist/{chunk-K5GGTJJV.js → chunk-OMLDAF44.js} +1 -1
- package/dist/{chunk-64MFJSGZ.js → chunk-OOEOJPFY.js} +2 -2
- package/dist/{chunk-576ATOOU.js → chunk-OPKSVV4G.js} +2 -2
- package/dist/{chunk-KUQOUWJ4.js → chunk-P6FGS4U6.js} +2 -2
- package/dist/chunk-Q3PPGPEA.js +5061 -0
- package/dist/{chunk-KK5MZQXG.js → chunk-QLQVQQP6.js} +3 -3
- package/dist/{chunk-LGMRZWJS.js → chunk-QYUXDFJY.js} +1 -1
- package/dist/{chunk-O7YOS36L.js → chunk-ROVRC3CG.js} +2 -2
- package/dist/{chunk-XUTPVELE.js → chunk-RVCWVOXM.js} +3 -3
- package/dist/{chunk-UR6L2DXM.js → chunk-RVIMLJXC.js} +13 -13
- package/dist/{chunk-YATFRFNH.js → chunk-S5GOFDX5.js} +1 -1
- package/dist/{chunk-VTLIN7XN.js → chunk-SAKL7SZH.js} +2 -2
- package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
- package/dist/{chunk-GGDVZ7O4.js → chunk-TMK3MW7B.js} +10 -10
- package/dist/{chunk-UDBW6TK4.js → chunk-TNQCXU37.js} +1 -1
- package/dist/{chunk-4OWVRHSV.js → chunk-TVT465RJ.js} +5 -5
- package/dist/{chunk-VO7IEWOH.js → chunk-U6WH572X.js} +7 -7
- package/dist/{chunk-FC7QIE5X.js → chunk-UNQ3CVKW.js} +19 -19
- package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
- package/dist/chunk-WYKRGEDD.js +62 -0
- package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
- package/dist/{chunk-JH2AO4ZW.js → chunk-XDTCPMR3.js} +1 -1
- package/dist/{chunk-LJB2PF6K.js → chunk-XETZLYGW.js} +1 -1
- package/dist/{chunk-542VETC5.js → chunk-Y4GLFHO5.js} +1 -1
- package/dist/{chunk-Z537IJJH.js → chunk-YISDQ7YP.js} +4 -4
- package/dist/{chunk-BRYOYBO5.js → chunk-YKMFCE5B.js} +1 -1
- package/dist/{chunk-7ZRXSZF6.js → chunk-YSZ4VMXI.js} +1 -1
- package/dist/{chunk-VP5KECBU.js → chunk-YV2QQUTL.js} +2 -2
- package/dist/{chunk-GHWV6PIS.js → chunk-Z7YQEDA5.js} +1 -1
- package/dist/{chunk-QEKP7XCN.js → chunk-ZBLSSWSE.js} +1 -1
- package/dist/{chunk-TNQ4SSTR.js → chunk-ZKPRJPWN.js} +8 -8
- package/dist/{chunk-3MTNYVWM.js → chunk-ZOLKM3VZ.js} +5 -5
- package/dist/{clean-YERX334S.js → clean-3NMJWZXK.js} +19 -19
- package/dist/cli.js +62 -60
- package/dist/{cloud-5XFWROJK.js → cloud-CB3NYNUR.js} +4 -4
- package/dist/{cloudrun-5XEDIP77.js → cloudrun-2CTKCIXV.js} +4 -4
- package/dist/commands/layout-audit.browser.js +29 -5
- package/dist/commands/motion-signature.browser.js +11 -6
- package/dist/{compare-THYM62NL.js → compare-FVY3AMTT.js} +28 -27
- package/dist/{compiler-SLKHXYCO.js → compiler-SEQRWEEN.js} +3 -3
- package/dist/{component-N4FFNYA5.js → component-AEMJRROX.js} +3 -3
- package/dist/{compositions-XCM3Z65K.js → compositions-NRBSIBGZ.js} +10 -10
- package/dist/{delete-6PIKDOKV.js → delete-T4E53ELR.js} +2 -2
- package/dist/{deploy-PT77AP6G.js → deploy-PUF2DW3H.js} +1 -1
- package/dist/{dist-VNOJCTQR.js → dist-B6C3DU6I.js} +2 -2
- package/dist/{dist-XXBCSQYF.js → dist-VARV35QH.js} +1 -1
- package/dist/docs/motion-blur.md +28 -0
- package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
- package/dist/{doctor-KLDSXKUM.js → doctor-FVBU575B.js} +13 -13
- package/dist/{events-OHISH3KL.js → events-DZ5PRR6F.js} +2 -2
- package/dist/{events-KEJFQQDQ.js → events-RSPDI7FX.js} +3 -3
- package/dist/{feedback-VTLWYGLQ.js → feedback-AALA3OA7.js} +7 -7
- package/dist/{ffmpeg-SG3AYA6M.js → ffmpeg-YXKE5CUE.js} +6 -6
- package/dist/{figma-5AHFOYPG.js → figma-37R727XZ.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-5VTBUZIR.js → get-L3VKJ6JF.js} +2 -2
- package/dist/{gpuPolicy-ODODH5JV.js → gpuPolicy-6QIFFWAI.js} +6 -6
- package/dist/{grade-compare-25HQJORH.js → grade-compare-7IN5QDJD.js} +29 -28
- package/dist/{heifImagePrep-SPBGWX2L.js → heifImagePrep-AWII25PM.js} +7 -7
- package/dist/{help-3AZ4ZSWZ.js → help-B4MB7MWW.js} +1 -1
- package/dist/{history-KZFZ2MJI.js → history-TQO6AWEQ.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-XNYSD2SN.js → info-7CBHVXSG.js} +7 -7
- package/dist/{init-C76MX2UE.js → init-D7HKPQ5A.js} +27 -26
- package/dist/{inspect-OWDJTC64.js → inspect-VHDQL55M.js} +29 -28
- package/dist/{installer-OFIDWMYR.js → installer-EJNLL6SV.js} +4 -4
- package/dist/{keyframes-ZBIWACNT.js → keyframes-IFLBMAJP.js} +6 -6
- package/dist/{lambda-XS3E4XSL.js → lambda-I7EQULHC.js} +10 -10
- package/dist/{layout-HLU3IVDX.js → layout-MOCEANRO.js} +29 -28
- package/dist/{lint-DUJ5PM56.js → lint-HFXGSQKN.js} +7 -7
- package/dist/{lintProject-I4XPWIQZ.js → lintProject-VCDI6A2W.js} +1 -1
- package/dist/{list-KRDQLHDH.js → list-OFYIXVON.js} +2 -2
- package/dist/{localPage-KXNSCQIQ.js → localPage-QOOQ5YA2.js} +6 -6
- package/dist/{login-4P7LCOB5.js → login-WAG7B4PM.js} +4 -4
- package/dist/{manager-USFB6SE2.js → manager-34U5CEFB.js} +7 -7
- package/dist/{manager-I4ROBMYK.js → manager-ENFYM32B.js} +1 -1
- package/dist/{media-treatment-JOZB3MTT.js → media-treatment-2TLX6NKS.js} +12 -12
- package/dist/{models-RZRXHIER.js → models-M2F4WTAR.js} +10 -10
- package/dist/{motionShot-3SHLRT3L.js → motionShot-6WCTCV4W.js} +15 -15
- package/dist/{normalize-audio-SL2ATLJM.js → normalize-audio-T6PIPWOT.js} +8 -8
- package/dist/{open-TCGY4NB2.js → open-BC5METIY.js} +12 -11
- package/dist/{parakeetRunner-ZBO4LR7M.js → parakeetRunner-UXVY7PV2.js} +11 -11
- package/dist/{pipeline-7D36B3FW.js → pipeline-GJAJPWPB.js} +9 -9
- package/dist/{play-CTBPJFBX.js → play-UCIRUHCU.js} +20 -19
- package/dist/{preflight-GFWIOUO3.js → preflight-GVRYYIH5.js} +8 -8
- package/dist/{present-GXOHUNFP.js → present-46QLZOK4.js} +15 -15
- package/dist/{preview-BWCEXEII.js → preview-HWXMP7WL.js} +23 -21
- package/dist/{producer-UME4Q4HH.js → producer-2PBHUE5O.js} +1 -1
- package/dist/{projectConfig-I6QNMRVV.js → projectConfig-C4S3LBBX.js} +7 -6
- package/dist/{publication-JET7ZBWG.js → publication-GESNVVMS.js} +2 -2
- package/dist/{publish-ZGW46SKV.js → publish-IBY26S3T.js} +11 -10
- package/dist/{remove-background-YSJ7XFPQ.js → remove-background-3OBWOHVZ.js} +10 -10
- package/dist/{render-QFIWTDK3.js → render-3F6GQ5WW.js} +14 -14
- package/dist/{render-33TSTTN7.js → render-LSI5WXS7.js} +5 -5
- package/dist/{render-Q2VLJGFV.js → render-SR5RISLU.js} +36 -35
- package/dist/{render-batch-SDDZ3LM7.js → render-batch-HV4W3PZM.js} +5 -5
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-VLOUQ7I6.js → resolver-R5X3HAPE.js} +5 -4
- package/dist/{sherpa-YKK3LRSI.js → sherpa-2Q6U4ZFY.js} +10 -10
- package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
- package/dist/{skills-5ENIWSB2.js → skills-FSGXQSHA.js} +5 -5
- package/dist/{skillsUpdateCheck-7GDJNW5A.js → skillsUpdateCheck-UW6643XX.js} +3 -3
- package/dist/{snapshot-O3JXB3VM.js → snapshot-HFPB34Y7.js} +62 -39
- package/dist/{src-6T5KES5G.js → src-ROWFWCEN.js} +5 -5
- package/dist/{src-MT7UQJT5.js → src-VMTQQUUP.js} +8 -8
- package/dist/{staticProjectServer-UP22EGMU.js → staticProjectServer-4TGZJIWN.js} +18 -17
- package/dist/{status-63BKLDVW.js → status-4AAPTTRW.js} +2 -2
- package/dist/studio/assets/{hyperframes-player-B83GGznX.js → hyperframes-player-B_wvwarc.js} +1 -1
- package/dist/studio/assets/{index-B9gVTopE.js → index-BDE7dwov.js} +6 -6
- package/dist/studio/assets/{index-Ca_tSAqR.js → index-D0jGq2dS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q6KSNU77.js → studio-api-TSHXVZ6R.js} +9 -9
- package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
- package/dist/{studioServer-44OR56TK.js → studioServer-74ZBLNP2.js} +52 -57
- package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
- package/dist/{telemetry-2N7DLYCQ.js → telemetry-3NDLZOPR.js} +3 -3
- package/dist/{timeline-MT56A3HB.js → timeline-5IFZJU7M.js} +20 -19
- package/dist/{tokens-V6O4I5IX.js → tokens-UFNPQVLS.js} +2 -2
- package/dist/{transcribe-GGV4YEF3.js → transcribe-7KQAUHEN.js} +9 -9
- package/dist/{transcribe-ZCJ6WB6R.js → transcribe-NAXKBIPW.js} +15 -15
- package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
- package/dist/{updateCheck-ZBBUGX3A.js → updateCheck-KDSFL3XX.js} +2 -2
- package/dist/{upgrade-L7SM3TPB.js → upgrade-EXX4C35N.js} +2 -2
- package/dist/{urlDownloader-HTBT6K5N.js → urlDownloader-4UFCIAPH.js} +5 -5
- package/dist/{validate-WXKYRV2E.js → validate-QYOHY3N6.js} +22 -22
- package/dist/{video-JH5WQC2I.js → video-HRL3V2R5.js} +7 -7
- package/dist/warmCheck.js +39 -38
- package/package.json +1 -1
- package/dist/chunk-4I7KQWZS.js +0 -5061
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QYUXDFJY.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JGZUG5V4.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M2F6VGCP.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-ROWFWCEN.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M2F6VGCP.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MXVH6UW6.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6YW3FEHC.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
requestedProjectPath,
|
|
33
33
|
requiredFfmpeg,
|
|
34
34
|
resolveLocalAudioPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ROVRC3CG.js";
|
|
36
36
|
import {
|
|
37
37
|
HistoryBusyError,
|
|
38
38
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
scanProjectMedia,
|
|
71
71
|
shouldPrewarmProxy,
|
|
72
72
|
waitForProxy
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-P6FGS4U6.js";
|
|
74
74
|
import {
|
|
75
75
|
probeAudioTrack,
|
|
76
76
|
probeMediaMetadata
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-XDTCPMR3.js";
|
|
78
78
|
import {
|
|
79
79
|
STUDIO_MOTION_PATH,
|
|
80
80
|
createStudioMotionRenderBodyScript,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
ensureHfIds,
|
|
116
116
|
stampHfIdsInPlace,
|
|
117
117
|
stripSdrPngColourTags
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-4ZM727AO.js";
|
|
119
119
|
import {
|
|
120
120
|
GSAP_BASE_URL_META,
|
|
121
121
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
normalizeGsapLocalRoot,
|
|
133
133
|
parseFps,
|
|
134
134
|
parsePreviewProxyBox
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-MXVH6UW6.js";
|
|
136
136
|
import {
|
|
137
137
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
138
138
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
resolveRateSpec,
|
|
148
148
|
sourceTimeAt,
|
|
149
149
|
stripEmbeddedRuntimeScripts
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-Q3PPGPEA.js";
|
|
151
151
|
import {
|
|
152
152
|
ProjectRootMissingError,
|
|
153
153
|
folderGone,
|
|
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5592
5592
|
let block = extractGsapScriptBlock(html);
|
|
5593
5593
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5594
5594
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5595
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5595
|
+
const { GSAP_CDN } = await import("./dist-B6C3DU6I.js");
|
|
5596
5596
|
const bootstrap = [
|
|
5597
5597
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5598
5598
|
"<script>",
|
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
} from "./chunk-VZBJ5BQF.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z7YQEDA5.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-M2F6VGCP.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MXVH6UW6.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-Q3PPGPEA.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-LYZB5CJN.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveAuthoredAssetFile
|
|
41
41
|
} from "./chunk-PBNWRWKA.js";
|
|
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-U6WH572X.js";
|
|
10
|
+
import "./chunk-SHOE3UR6.js";
|
|
11
|
+
import "./chunk-J3OVTOVC.js";
|
|
12
|
+
import "./chunk-MEB6HWBM.js";
|
|
13
13
|
import "./chunk-Y65ZU7XY.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QYUXDFJY.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-Y4GLFHO5.js";
|
|
19
|
+
import "./chunk-ZKPRJPWN.js";
|
|
20
|
+
import "./chunk-6YW3FEHC.js";
|
|
21
21
|
import "./chunk-VZBJ5BQF.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ROVRC3CG.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_HISTORY_ROOT,
|
|
25
25
|
listProjectHistories,
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
CACHE_DIR_NAME,
|
|
31
31
|
cleanupProxyCache
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-P6FGS4U6.js";
|
|
33
|
+
import "./chunk-XDTCPMR3.js";
|
|
34
34
|
import "./chunk-ALVXFXUG.js";
|
|
35
35
|
import {
|
|
36
36
|
formatBytes
|
|
@@ -52,27 +52,27 @@ import {
|
|
|
52
52
|
directorySizeBytes,
|
|
53
53
|
gcExtractionCache,
|
|
54
54
|
resolveExtractCacheDir
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-M2F6VGCP.js";
|
|
56
56
|
import "./chunk-Z5J67X44.js";
|
|
57
57
|
import "./chunk-5S7W3TUO.js";
|
|
58
58
|
import "./chunk-D3MUHMFG.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-4ZM727AO.js";
|
|
60
60
|
import "./chunk-YWRUQ7XZ.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-MXVH6UW6.js";
|
|
62
|
+
import "./chunk-Q3PPGPEA.js";
|
|
63
63
|
import "./chunk-VC76R6W2.js";
|
|
64
64
|
import "./chunk-OFQWTKPW.js";
|
|
65
65
|
import "./chunk-RQVDTPGD.js";
|
|
66
66
|
import "./chunk-3GXQPCJC.js";
|
|
67
67
|
import "./chunk-TK7THLRO.js";
|
|
68
68
|
import "./chunk-FXMKHHPO.js";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-FKPJP7KG.js";
|
|
70
70
|
import "./chunk-X6JUUQCM.js";
|
|
71
71
|
import "./chunk-KGPLIH7B.js";
|
|
72
72
|
import "./chunk-LAGZGKKN.js";
|
|
73
73
|
import "./chunk-K4MJX7SR.js";
|
|
74
74
|
import "./chunk-WE42NVH7.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-LYZB5CJN.js";
|
|
76
76
|
import "./chunk-CZGHFATT.js";
|
|
77
77
|
import "./chunk-BIROA7JM.js";
|
|
78
78
|
import "./chunk-PBNWRWKA.js";
|
|
@@ -87,7 +87,7 @@ import "./chunk-WC4MTXGN.js";
|
|
|
87
87
|
import "./chunk-FBN2M2HK.js";
|
|
88
88
|
import {
|
|
89
89
|
withMeta
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-YSZ4VMXI.js";
|
|
91
91
|
import "./chunk-BR2JQQC5.js";
|
|
92
92
|
import "./chunk-BLBMPEBX.js";
|
|
93
93
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
} from "./chunk-DP5LF7GF.js";
|
|
98
98
|
import "./chunk-J3RXEDR2.js";
|
|
99
99
|
import "./chunk-QBXDU24O.js";
|
|
100
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-5YT2KHPO.js";
|
|
101
101
|
import "./chunk-E63BDV4Z.js";
|
|
102
102
|
import "./chunk-G7VEYUZ2.js";
|
|
103
103
|
import "./chunk-XT6MXC7A.js";
|
package/dist/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-4VYPICIA.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveExtraPositionals
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DS372VSV.js";
|
|
14
14
|
import "./chunk-K4WKGXRC.js";
|
|
15
15
|
import {
|
|
16
16
|
isRenderSucceeded,
|
|
@@ -19,10 +19,8 @@ import {
|
|
|
19
19
|
} from "./chunk-UBDO4EHA.js";
|
|
20
20
|
import {
|
|
21
21
|
assertKnownFlags,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
synonymMatch
|
|
25
|
-
} from "./chunk-GLC5XHN5.js";
|
|
22
|
+
guardSwallowedFlagValues
|
|
23
|
+
} from "./chunk-XC3BGWCJ.js";
|
|
26
24
|
import {
|
|
27
25
|
defineCommand
|
|
28
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -30,6 +28,10 @@ import {
|
|
|
30
28
|
parseArgs,
|
|
31
29
|
runCommand
|
|
32
30
|
} from "./chunk-S3S4TGEH.js";
|
|
31
|
+
import {
|
|
32
|
+
closestMatch,
|
|
33
|
+
synonymMatch
|
|
34
|
+
} from "./chunk-WYKRGEDD.js";
|
|
33
35
|
import {
|
|
34
36
|
getRunId
|
|
35
37
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -55,7 +57,7 @@ import {
|
|
|
55
57
|
import "./chunk-J3RXEDR2.js";
|
|
56
58
|
import {
|
|
57
59
|
VERSION
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-5YT2KHPO.js";
|
|
59
61
|
import "./chunk-G7VEYUZ2.js";
|
|
60
62
|
import "./chunk-XT6MXC7A.js";
|
|
61
63
|
import "./chunk-7KDQAD2W.js";
|
|
@@ -109,7 +111,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
109
111
|
}
|
|
110
112
|
async function reportCommandFailure(command2, err) {
|
|
111
113
|
try {
|
|
112
|
-
const { trackCommandFailure } = await import("./events-
|
|
114
|
+
const { trackCommandFailure } = await import("./events-RSPDI7FX.js");
|
|
113
115
|
trackCommandFailure(command2, err);
|
|
114
116
|
} catch {
|
|
115
117
|
}
|
|
@@ -209,55 +211,55 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
209
211
|
});
|
|
210
212
|
}
|
|
211
213
|
var commandLoaders = {
|
|
212
|
-
init: () => import("./init-
|
|
213
|
-
add: () => import("./add-
|
|
214
|
-
catalog: () => import("./catalog-
|
|
214
|
+
init: () => import("./init-D7HKPQ5A.js").then((m) => m.default),
|
|
215
|
+
add: () => import("./add-7CVO7K6M.js").then((m) => m.default),
|
|
216
|
+
catalog: () => import("./catalog-ICGHSRPZ.js").then((m) => m.default),
|
|
215
217
|
"media-use": () => import("./media-use-ZNTB7W6N.js").then((m) => m.default),
|
|
216
|
-
play: () => import("./play-
|
|
217
|
-
present: () => import("./present-
|
|
218
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
219
|
-
publish: () => import("./publish-
|
|
220
|
-
open: () => import("./open-
|
|
221
|
-
"catch-up": () => import("./catch-up-
|
|
222
|
-
render: () => import("./render-
|
|
223
|
-
lint: () => import("./lint-
|
|
224
|
-
check: () => import("./check-
|
|
225
|
-
beats: () => import("./beats-
|
|
226
|
-
audio: () => import("./audio-
|
|
227
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
228
|
-
inspect: () => import("./inspect-
|
|
229
|
-
keyframes: () => import("./keyframes-
|
|
230
|
-
layout: () => import("./layout-
|
|
231
|
-
info: () => import("./info-
|
|
232
|
-
compositions: () => import("./compositions-
|
|
233
|
-
timeline: () => import("./timeline-
|
|
234
|
-
history: () => import("./history-
|
|
235
|
-
benchmark: () => import("./benchmark-
|
|
236
|
-
browser: () => import("./browser-
|
|
237
|
-
"remove-background": () => import("./remove-background-
|
|
238
|
-
transcribe: () => import("./transcribe-
|
|
218
|
+
play: () => import("./play-UCIRUHCU.js").then((m) => m.default),
|
|
219
|
+
present: () => import("./present-46QLZOK4.js").then((m) => m.default),
|
|
220
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-HWXMP7WL.js").then((m) => m.default)),
|
|
221
|
+
publish: () => import("./publish-IBY26S3T.js").then((m) => m.default),
|
|
222
|
+
open: () => import("./open-BC5METIY.js").then((m) => m.default),
|
|
223
|
+
"catch-up": () => import("./catch-up-DJPQKXQB.js").then((m) => m.default),
|
|
224
|
+
render: () => import("./render-SR5RISLU.js").then((m) => m.default),
|
|
225
|
+
lint: () => import("./lint-HFXGSQKN.js").then((m) => m.default),
|
|
226
|
+
check: () => import("./check-TL7AGWPO.js").then((m) => m.default),
|
|
227
|
+
beats: () => import("./beats-LRZOZUUQ.js").then((m) => m.default),
|
|
228
|
+
audio: () => import("./audio-JUV3TVSW.js").then((m) => m.default),
|
|
229
|
+
"normalize-audio": () => import("./normalize-audio-T6PIPWOT.js").then((m) => m.default),
|
|
230
|
+
inspect: () => import("./inspect-VHDQL55M.js").then((m) => m.default),
|
|
231
|
+
keyframes: () => import("./keyframes-IFLBMAJP.js").then((m) => m.default),
|
|
232
|
+
layout: () => import("./layout-MOCEANRO.js").then((m) => m.default),
|
|
233
|
+
info: () => import("./info-7CBHVXSG.js").then((m) => m.default),
|
|
234
|
+
compositions: () => import("./compositions-NRBSIBGZ.js").then((m) => m.default),
|
|
235
|
+
timeline: () => import("./timeline-5IFZJU7M.js").then((m) => m.default),
|
|
236
|
+
history: () => import("./history-TQO6AWEQ.js").then((m) => m.default),
|
|
237
|
+
benchmark: () => import("./benchmark-XJWLDTIL.js").then((m) => m.default),
|
|
238
|
+
browser: () => import("./browser-STEVEWWA.js").then((m) => m.default),
|
|
239
|
+
"remove-background": () => import("./remove-background-3OBWOHVZ.js").then((m) => m.default),
|
|
240
|
+
transcribe: () => import("./transcribe-NAXKBIPW.js").then((m) => m.default),
|
|
239
241
|
usage: () => import("./usage-772JV45U.js").then((m) => m.default),
|
|
240
|
-
models: () => import("./models-
|
|
241
|
-
tts: () => import("./tts-
|
|
242
|
-
docs: () => import("./docs-
|
|
243
|
-
doctor: () => import("./doctor-
|
|
244
|
-
clean: () => import("./clean-
|
|
245
|
-
upgrade: () => import("./upgrade-
|
|
246
|
-
skills: () => import("./skills-
|
|
247
|
-
feedback: () => import("./feedback-
|
|
242
|
+
models: () => import("./models-M2F4WTAR.js").then((m) => m.default),
|
|
243
|
+
tts: () => import("./tts-BVTJEP72.js").then((m) => m.default),
|
|
244
|
+
docs: () => import("./docs-VAF5NM5B.js").then((m) => m.default),
|
|
245
|
+
doctor: () => import("./doctor-FVBU575B.js").then((m) => m.default),
|
|
246
|
+
clean: () => import("./clean-3NMJWZXK.js").then((m) => m.default),
|
|
247
|
+
upgrade: () => import("./upgrade-EXX4C35N.js").then((m) => m.default),
|
|
248
|
+
skills: () => import("./skills-FSGXQSHA.js").then((m) => m.default),
|
|
249
|
+
feedback: () => import("./feedback-AALA3OA7.js").then((m) => m.default),
|
|
248
250
|
telemetry: () => import("./telemetry-QHYJJAJU.js").then((m) => m.default),
|
|
249
|
-
events: () => import("./events-
|
|
250
|
-
validate: () => import("./validate-
|
|
251
|
-
snapshot: () => import("./snapshot-
|
|
252
|
-
"media-treatment": () => import("./media-treatment-
|
|
253
|
-
"grade-compare": () => import("./grade-compare-
|
|
254
|
-
compare: () => import("./compare-
|
|
255
|
-
capture: () => import("./capture-
|
|
256
|
-
lambda: () => import("./lambda-
|
|
257
|
-
cloudrun: () => import("./cloudrun-
|
|
258
|
-
cloud: () => import("./cloud-
|
|
259
|
-
auth: () => import("./auth-
|
|
260
|
-
figma: () => import("./figma-
|
|
251
|
+
events: () => import("./events-DZ5PRR6F.js").then((m) => m.default),
|
|
252
|
+
validate: () => import("./validate-QYOHY3N6.js").then((m) => m.default),
|
|
253
|
+
snapshot: () => import("./snapshot-HFPB34Y7.js").then((m) => m.default),
|
|
254
|
+
"media-treatment": () => import("./media-treatment-2TLX6NKS.js").then((m) => m.mediaTreatmentCommand),
|
|
255
|
+
"grade-compare": () => import("./grade-compare-7IN5QDJD.js").then((m) => m.default),
|
|
256
|
+
compare: () => import("./compare-FVY3AMTT.js").then((m) => m.default),
|
|
257
|
+
capture: () => import("./capture-VB5ID7HT.js").then((m) => m.default),
|
|
258
|
+
lambda: () => import("./lambda-I7EQULHC.js").then((m) => m.default),
|
|
259
|
+
cloudrun: () => import("./cloudrun-2CTKCIXV.js").then((m) => m.default),
|
|
260
|
+
cloud: () => import("./cloud-CB3NYNUR.js").then((m) => m.default),
|
|
261
|
+
auth: () => import("./auth-2J6FP462.js").then((m) => m.default),
|
|
262
|
+
figma: () => import("./figma-37R727XZ.js").then((m) => m.default)
|
|
261
263
|
};
|
|
262
264
|
process.argv = [
|
|
263
265
|
...process.argv.slice(0, 2),
|
|
@@ -287,7 +289,7 @@ var _printStalePinNotice;
|
|
|
287
289
|
var _printSkillsUpdateNotice;
|
|
288
290
|
var telemetryReady = Promise.resolve();
|
|
289
291
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
290
|
-
telemetryReady = import("./telemetry-
|
|
292
|
+
telemetryReady = import("./telemetry-3NDLZOPR.js").then((mod) => {
|
|
291
293
|
_flushSync = mod.flushSync;
|
|
292
294
|
_trackCliError = mod.trackCliError;
|
|
293
295
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -298,24 +300,24 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
298
300
|
}
|
|
299
301
|
if (!isHelp && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
300
302
|
if (!hasJsonFlag) {
|
|
301
|
-
import("./autoUpdate-
|
|
303
|
+
import("./autoUpdate-ML6EZK6D.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
302
304
|
});
|
|
303
|
-
import("./updateCheck-
|
|
305
|
+
import("./updateCheck-KDSFL3XX.js").then(async (mod) => {
|
|
304
306
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
305
307
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
306
308
|
const result = mod.cachedUpdateCheck();
|
|
307
309
|
if (result.updateAvailable) {
|
|
308
|
-
const auto = await import("./autoUpdate-
|
|
310
|
+
const auto = await import("./autoUpdate-ML6EZK6D.js").catch(() => null);
|
|
309
311
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
310
312
|
}
|
|
311
313
|
}).catch(() => {
|
|
312
314
|
});
|
|
313
315
|
}
|
|
314
|
-
import("./skillsUpdateCheck-
|
|
316
|
+
import("./skillsUpdateCheck-UW6643XX.js").then((mod) => {
|
|
315
317
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
316
318
|
}).catch(() => {
|
|
317
319
|
});
|
|
318
|
-
import("./backgroundChecks-
|
|
320
|
+
import("./backgroundChecks-MAWP2REX.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
319
321
|
});
|
|
320
322
|
}
|
|
321
323
|
var _appHistoryNotice = null;
|
|
@@ -440,7 +442,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
440
442
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
441
443
|
});
|
|
442
444
|
async function showUsage(cmd, parent, print) {
|
|
443
|
-
const { showUsage: impl } = await import("./help-
|
|
445
|
+
const { showUsage: impl } = await import("./help-B4MB7MWW.js");
|
|
444
446
|
return impl(cmd, parent, print);
|
|
445
447
|
}
|
|
446
448
|
async function unknownCommandError(requested) {
|
|
@@ -60,10 +60,10 @@ ${c.bold("AUTH:")}
|
|
|
60
60
|
var cloud_default = defineCommand({
|
|
61
61
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
62
62
|
subCommands: {
|
|
63
|
-
render: () => import("./render-
|
|
64
|
-
list: () => import("./list-
|
|
65
|
-
get: () => import("./get-
|
|
66
|
-
delete: () => import("./delete-
|
|
63
|
+
render: () => import("./render-3F6GQ5WW.js").then((m) => m.default),
|
|
64
|
+
list: () => import("./list-OFYIXVON.js").then((m) => m.default),
|
|
65
|
+
get: () => import("./get-L3VKJ6JF.js").then((m) => m.default),
|
|
66
|
+
delete: () => import("./delete-T4E53ELR.js").then((m) => m.default)
|
|
67
67
|
},
|
|
68
68
|
async run({ args }) {
|
|
69
69
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
resolveVariablesArg,
|
|
17
17
|
validateVariablesAgainstProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OMLDAF44.js";
|
|
19
19
|
import "./chunk-ZBAF6L74.js";
|
|
20
20
|
import "./chunk-XFMO3BEN.js";
|
|
21
21
|
import {
|
|
22
22
|
defaultCloudFps
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Z7YQEDA5.js";
|
|
24
24
|
import "./chunk-5ZBMHUY2.js";
|
|
25
25
|
import {
|
|
26
26
|
defineCommand
|
|
@@ -32,8 +32,8 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
DISTRIBUTED_FPS,
|
|
34
34
|
isDistributedFps
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-MXVH6UW6.js";
|
|
36
|
+
import "./chunk-Q3PPGPEA.js";
|
|
37
37
|
import "./chunk-VC76R6W2.js";
|
|
38
38
|
import "./chunk-OFQWTKPW.js";
|
|
39
39
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -1605,22 +1605,46 @@
|
|
|
1605
1605
|
return false;
|
|
1606
1606
|
}
|
|
1607
1607
|
|
|
1608
|
+
const COMPOSITION_HOST = "[data-composition-src], [data-composition-id], [data-composition-file]";
|
|
1609
|
+
|
|
1608
1610
|
// The global window [start, end) the element's own timed clip is on screen, or null when any timing
|
|
1609
|
-
// up the chain is not a plain number.
|
|
1611
|
+
// up the chain is not a plain number. Each timed composition host moves its children's clock to its
|
|
1612
|
+
// start minus its in-point, and an in-point host cuts them to its own slot (startResolver.ts).
|
|
1613
|
+
function nonNegativeNumber(value) {
|
|
1614
|
+
const number = value === null || value.trim() === "" ? NaN : Number(value);
|
|
1615
|
+
return Number.isFinite(number) && number >= 0 ? number : null;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1610
1618
|
function clipLifetime(element) {
|
|
1611
1619
|
const own = element.closest("[data-start]");
|
|
1612
1620
|
if (!own) return null;
|
|
1613
1621
|
const start = Number(own.getAttribute("data-start"));
|
|
1614
1622
|
const duration = Number(own.getAttribute("data-duration"));
|
|
1615
1623
|
if (!Number.isFinite(start) || !(duration > 0)) return null;
|
|
1616
|
-
|
|
1624
|
+
const hosts = [];
|
|
1617
1625
|
for (let host = own.parentElement; host; host = host.parentElement) {
|
|
1618
|
-
if (
|
|
1626
|
+
if (host.matches(COMPOSITION_HOST) && host.hasAttribute("data-start")) hosts.unshift(host);
|
|
1627
|
+
}
|
|
1628
|
+
let offset = 0;
|
|
1629
|
+
let cutStart = -Infinity;
|
|
1630
|
+
let cutEnd = Infinity;
|
|
1631
|
+
for (const host of hosts) {
|
|
1619
1632
|
const hostStart = Number(host.getAttribute("data-start"));
|
|
1620
1633
|
if (!Number.isFinite(hostStart)) return null;
|
|
1621
|
-
|
|
1634
|
+
const inPoint =
|
|
1635
|
+
nonNegativeNumber(host.getAttribute("data-playback-start")) ??
|
|
1636
|
+
nonNegativeNumber(host.getAttribute("data-media-start")) ??
|
|
1637
|
+
0;
|
|
1638
|
+
if (inPoint > 0) {
|
|
1639
|
+
const hostEnd = Number(host.getAttribute("data-end"));
|
|
1640
|
+
const hostDuration = Number(host.getAttribute("data-duration")) || hostEnd - hostStart;
|
|
1641
|
+
cutStart = Math.max(cutStart, offset + hostStart);
|
|
1642
|
+
if (hostDuration > 0) cutEnd = Math.min(cutEnd, offset + hostStart + hostDuration);
|
|
1643
|
+
}
|
|
1644
|
+
offset += hostStart - inPoint;
|
|
1622
1645
|
}
|
|
1623
|
-
|
|
1646
|
+
const from = Math.max(start + offset, cutStart);
|
|
1647
|
+
return { start: from, end: Math.max(from, Math.min(start + duration + offset, cutEnd)) };
|
|
1624
1648
|
}
|
|
1625
1649
|
|
|
1626
1650
|
// text_occluded: atomic labels flag at any hit; prose needs coveredFraction >= proseCoverageFloor (default 0.15).
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
(function () {
|
|
7
7
|
const IGNORE_TAGS = new Set(["SCRIPT", "STYLE", "TEMPLATE", "NOSCRIPT", "META", "LINK"]);
|
|
8
8
|
const MEDIA_TAGS = new Set(["CANVAS", "VIDEO", "IMG"]);
|
|
9
|
+
const COARSE_MEDIA_SAMPLE_SIDE = 8;
|
|
10
|
+
const LIVENESS_MEDIA_SAMPLE_SIDE = 32;
|
|
9
11
|
const FNV_OFFSET_BASIS = 2166136261;
|
|
10
12
|
const FNV_PRIME = 16777619;
|
|
11
13
|
const LIVENESS_POSITION_BUCKET_PX = 2;
|
|
@@ -221,9 +223,10 @@
|
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
// Pixel-only media motion (canvas repaint, playing video, same-size <img> swap) is invisible to DOM channels,
|
|
224
|
-
// so fold in
|
|
226
|
+
// so fold in a downsample: fine for liveness (a small sprite moving), coarse for the frozen-sweep guard,
|
|
227
|
+
// which a wall-clock repaint between seeks would fool. Unreadable media hashes to a constant.
|
|
225
228
|
// fallow-ignore-next-line complexity
|
|
226
|
-
function mediaPixelChannel(element) {
|
|
229
|
+
function mediaPixelChannel(element, ctx) {
|
|
227
230
|
if (!MEDIA_TAGS.has(element.tagName)) return "";
|
|
228
231
|
try {
|
|
229
232
|
const rect = element.getBoundingClientRect();
|
|
@@ -231,12 +234,14 @@
|
|
|
231
234
|
const sourceHeight = element.videoHeight || element.height || rect.height;
|
|
232
235
|
if (!sourceWidth || !sourceHeight) return "x";
|
|
233
236
|
const off = document.createElement("canvas");
|
|
234
|
-
|
|
235
|
-
off.
|
|
237
|
+
const side = ctx && ctx.quantize ? LIVENESS_MEDIA_SAMPLE_SIDE : COARSE_MEDIA_SAMPLE_SIDE;
|
|
238
|
+
off.width = side;
|
|
239
|
+
off.height = side;
|
|
236
240
|
const ctx2d = off.getContext("2d");
|
|
237
241
|
if (!ctx2d) return "x";
|
|
238
|
-
|
|
239
|
-
|
|
242
|
+
if (side === LIVENESS_MEDIA_SAMPLE_SIDE) ctx2d.imageSmoothingQuality = "high";
|
|
243
|
+
ctx2d.drawImage(element, 0, 0, side, side);
|
|
244
|
+
const data = ctx2d.getImageData(0, 0, side, side).data;
|
|
240
245
|
let hash = 0;
|
|
241
246
|
for (let i = 0; i < data.length; i++) hash = (hash * 31 + data[i]) >>> 0;
|
|
242
247
|
return String(hash);
|