hyperframes 0.8.220 → 0.8.222
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-7BJGQPZT.js → add-6MPLIWVP.js} +19 -15
- package/dist/{agentPromptGenerator-NFN3AYLJ.js → agentPromptGenerator-X7SQPCXZ.js} +12 -11
- package/dist/{animatedGifPrep-HC45HF7H.js → animatedGifPrep-ESOJ4FQ7.js} +12 -11
- package/dist/api.js +23 -22
- package/dist/{asset-TSP3CMU4.js → asset-Y735VQV6.js} +2 -2
- package/dist/{assetCataloger-KIN2UKI7.js → assetCataloger-AOJAUEZW.js} +13 -12
- package/dist/{audio-NEJOZZXG.js → audio-VMMCGPOV.js} +22 -20
- package/dist/{auth-7EEBDTBK.js → auth-BD5NHYRA.js} +1 -1
- package/dist/{autoUpdate-67ZMQDED.js → autoUpdate-VTMNHOAJ.js} +2 -2
- package/dist/{backgroundChecks-YN424YG5.js → backgroundChecks-SUDYQZSW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-I2GRQUPY.js → batchRender-4NR7RMT7.js} +11 -8
- package/dist/{beats-VVY6JZEU.js → beats-PKEHQHBY.js} +53 -21
- package/dist/{benchmark-BJJVW6RH.js → benchmark-K55DDFHG.js} +12 -11
- package/dist/{browser-IOP3IU24.js → browser-G2WFWJJ3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TLEZEZXN.js → bundleWithLocalizedFonts-MNG2UVH3.js} +2 -2
- package/dist/{capture-4Z3KBJNP.js → capture-24PIC3TZ.js} +67 -25
- package/dist/{capture-HVIWNBQA.js → capture-U3EEAPI6.js} +3 -3
- package/dist/{captureCompositionFrame-J3OOHGC2.js → captureCompositionFrame-KL4V6ORD.js} +18 -17
- package/dist/{catalog-G65QCBXG.js → catalog-J3BU4TFW.js} +17 -15
- package/dist/{catch-up-VHTDAQYM.js → catch-up-LDGNMEGL.js} +4 -4
- package/dist/{check-W7TCUAXY.js → check-J6HG6EKE.js} +48 -46
- package/dist/{checkAudio-AV7R24FD.js → checkAudio-MAX7JUYG.js} +17 -16
- package/dist/{checkBrowser-QTMNRNPF.js → checkBrowser-3W74WJ26.js} +44 -38
- package/dist/{chunk-KGM6VQ6D.js → chunk-3RXZZIDQ.js} +5 -5
- package/dist/{chunk-6YIBMA6Y.js → chunk-42Q3VX34.js} +9 -9
- package/dist/{chunk-6MHKL2TB.js → chunk-4VEXJTUT.js} +3 -3
- package/dist/{chunk-NSKIGECI.js → chunk-52VXA3SC.js} +1 -1
- package/dist/{chunk-RIG7XBHW.js → chunk-537WSYHU.js} +1 -1
- package/dist/{chunk-A32ZEFZT.js → chunk-5GSEM63G.js} +12 -10
- package/dist/{chunk-SUQ77SEY.js → chunk-6CFBFWLF.js} +9 -2
- package/dist/{chunk-FGGZKCOT.js → chunk-6W3DY5BP.js} +2 -2
- package/dist/{chunk-RHEQ7RXZ.js → chunk-7D2LTSNV.js} +1 -1
- package/dist/{chunk-SW5XTDRD.js → chunk-7IH3RSSG.js} +82 -33
- package/dist/{chunk-YMKTEQIA.js → chunk-AIXH3V5A.js} +86 -51
- package/dist/{chunk-PBNWRWKA.js → chunk-AKMY4QVI.js} +2 -1
- package/dist/{chunk-NEVX7YHH.js → chunk-AN4USOFT.js} +5 -1
- package/dist/{chunk-KJ2ORDQZ.js → chunk-AOHG22HQ.js} +6 -5
- package/dist/{chunk-VZBJ5BQF.js → chunk-AW3XJY4S.js} +1 -1
- package/dist/{chunk-P3XF3ZZF.js → chunk-AXVTL7B6.js} +6 -6
- package/dist/{chunk-DWTFLQ3P.js → chunk-B2ZZYISD.js} +4 -2
- package/dist/{chunk-DA6GOIIA.js → chunk-BDZSH6P3.js} +6 -57
- package/dist/{chunk-RECS6EGQ.js → chunk-BPIY5LB3.js} +9 -8
- package/dist/{chunk-KSC4O2RY.js → chunk-C2KEGBR3.js} +53 -4
- package/dist/{chunk-PIKANFFV.js → chunk-CVY6OIKN.js} +4 -4
- package/dist/{chunk-XPV5K5MD.js → chunk-CZOC7WY7.js} +1 -1
- package/dist/{chunk-PCKWLYKA.js → chunk-D6LGD472.js} +4 -4
- package/dist/{chunk-NSJPSQZ3.js → chunk-DC26QLB7.js} +1 -1
- package/dist/{chunk-LZPNAI7P.js → chunk-DIXTEVWQ.js} +3 -3
- package/dist/{chunk-6CWSMSOC.js → chunk-DNTPNSH5.js} +3 -3
- package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
- package/dist/{chunk-O332YWQV.js → chunk-DSHFKKSZ.js} +3 -3
- package/dist/{chunk-UOIVSNPI.js → chunk-E5IIR67Q.js} +1 -1
- package/dist/{chunk-5RGVBSDS.js → chunk-EE7YWKDY.js} +3 -27
- package/dist/{chunk-XFMO3BEN.js → chunk-EGJ4UECR.js} +11 -5
- package/dist/{chunk-2MDFNL2E.js → chunk-EOUKB53E.js} +1 -1
- package/dist/{chunk-3422KMTD.js → chunk-EPQC3FGZ.js} +4 -0
- package/dist/{chunk-IZBJZBBF.js → chunk-F6QV5N3A.js} +2 -2
- package/dist/{chunk-EUZYVUUS.js → chunk-FMKI7ZLM.js} +2 -2
- package/dist/{chunk-DB6OJRZB.js → chunk-FT3CNACL.js} +5 -5
- package/dist/{chunk-5XOOBNU2.js → chunk-G2EY3MVW.js} +1 -1
- package/dist/{chunk-JIGD5ZXE.js → chunk-G675S644.js} +21 -22
- package/dist/{chunk-AUGHXWJC.js → chunk-GHEYGMKD.js} +2 -2
- package/dist/{chunk-TQ3W64VT.js → chunk-GODT7QDZ.js} +3 -3
- package/dist/{chunk-DBT7CRK4.js → chunk-GOWU3NCE.js} +1 -1
- package/dist/{chunk-SGTEKMJW.js → chunk-HOTXWVVP.js} +93 -5
- package/dist/{chunk-22U7OCYM.js → chunk-HQDHMAUI.js} +1 -1
- package/dist/{chunk-BIROA7JM.js → chunk-HYRPH6LL.js} +7 -6
- package/dist/{chunk-NYSB3CWY.js → chunk-IB7UYGXR.js} +10 -10
- package/dist/{chunk-DJWAL7AW.js → chunk-IGBOFU2Y.js} +3 -3
- package/dist/{chunk-NKNKRN7G.js → chunk-JQWITWVC.js} +2 -2
- package/dist/{chunk-ZS5PARPI.js → chunk-K5UCRKUK.js} +4 -6
- package/dist/{chunk-BASBBBNB.js → chunk-KEY2VA65.js} +1 -1
- package/dist/{chunk-RIYARQ2O.js → chunk-L37AZWB2.js} +2 -2
- package/dist/{chunk-OURH3TLX.js → chunk-L55LAERP.js} +1 -1
- package/dist/chunk-LL3VMDAC.js +5013 -0
- package/dist/chunk-MEJH7VEA.js +63 -0
- package/dist/{chunk-K7APBNPW.js → chunk-NUE44RN2.js} +1 -1
- package/dist/{chunk-VZVRF3JX.js → chunk-OAXWHPNS.js} +2 -2
- package/dist/{chunk-6A7DOGSP.js → chunk-OQLYKDL5.js} +1 -1
- package/dist/{chunk-VJGQLC2A.js → chunk-OROHGC7W.js} +8 -8
- package/dist/{chunk-6OXVMHTB.js → chunk-P5M3AXEP.js} +1 -1
- package/dist/{chunk-N4XNRHFM.js → chunk-QNW43LWB.js} +1 -1
- package/dist/{chunk-ARZGHKST.js → chunk-QOZPWIYV.js} +10 -10
- package/dist/{chunk-3F6EGZ6C.js → chunk-QYRMR45H.js} +2 -2
- package/dist/{chunk-AGFHQTZD.js → chunk-RIGSGNDQ.js} +54 -18
- package/dist/{chunk-CIUEQLWL.js → chunk-RRPO44PE.js} +5 -5
- package/dist/{chunk-YBNF5ZOC.js → chunk-SFS5BTQ3.js} +1 -1
- package/dist/{chunk-CMI2POHT.js → chunk-SKCS4SUZ.js} +4455 -4312
- package/dist/{chunk-J74ZUXVU.js → chunk-SWC3QIEH.js} +1 -1
- package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
- package/dist/{chunk-D5TOH3QI.js → chunk-VJVVWYP6.js} +1 -1
- package/dist/{chunk-5SKC4G26.js → chunk-VMRQDPFL.js} +1 -1
- package/dist/{chunk-MHZB6QSC.js → chunk-VQMHDS2V.js} +123 -12
- package/dist/{chunk-IMVM6E65.js → chunk-WJYFJGYT.js} +3 -3
- package/dist/{chunk-MS2SDIPC.js → chunk-WWT6ETQA.js} +43 -43
- package/dist/chunk-WYKRGEDD.js +62 -0
- package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
- package/dist/{chunk-DEXGPHAZ.js → chunk-XHD7RKEZ.js} +2 -2
- package/dist/{chunk-RK3LW7NO.js → chunk-Y7IV5MAK.js} +2 -2
- package/dist/{chunk-2L645DAG.js → chunk-YEKJOA47.js} +1 -1
- package/dist/{chunk-RF5LOY22.js → chunk-YHL4CVTF.js} +14 -14
- package/dist/{chunk-FK5TW3IM.js → chunk-Z5VQBRU2.js} +1 -1
- package/dist/{chunk-24F7TOW2.js → chunk-ZAJQFY5Q.js} +126 -53
- package/dist/{chunk-X2YBRPCM.js → chunk-ZBNK6X5O.js} +5 -5
- package/dist/{chunk-NQP44XMF.js → chunk-ZLXWRYOO.js} +3 -3
- package/dist/{chunk-WQYLRTVT.js → chunk-ZPTNLDOB.js} +2 -2
- package/dist/{clean-AYZ2RAMN.js → clean-K6IM3LC4.js} +24 -23
- package/dist/cli.js +62 -60
- package/dist/{cloud-A53ZNOO6.js → cloud-OV7EA4BJ.js} +4 -4
- package/dist/{cloudrun-USB736UD.js → cloudrun-ZEMODIOP.js} +10 -9
- package/dist/commands/layout-audit.browser.js +19 -3
- package/dist/commands/motion-signature.browser.js +18 -9
- package/dist/{compare-42CWJXBR.js → compare-MJZ3D3HA.js} +37 -35
- package/dist/{compiler-SV2WYWTI.js → compiler-6KKETX77.js} +8 -8
- package/dist/{component-7JC7NQGM.js → component-EVXMYIP3.js} +3 -3
- package/dist/{compositions-6F6743GP.js → compositions-PZ7FQ7WN.js} +16 -15
- package/dist/{delete-7TRRZI5M.js → delete-DL3XA4QV.js} +2 -2
- package/dist/{deploy-6SSC2FBD.js → deploy-VEYP3IP5.js} +1 -1
- package/dist/{deterministicFonts-2ISM3LMW.js → deterministicFonts-LV2JMOJL.js} +2 -2
- package/dist/{dist-KP2GVAQU.js → dist-M77KFAYW.js} +7 -6
- package/dist/{dist-XXBCSQYF.js → dist-SHMQOKMF.js} +6 -6
- package/dist/docs/motion-blur.md +28 -0
- package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
- package/dist/{doctor-XEG3GZAA.js → doctor-JM2WHH7Y.js} +16 -15
- package/dist/{dotEnv-BGFXSQOA.js → dotEnv-33RDHX7P.js} +1 -1
- package/dist/{events-I7F24HFX.js → events-GW5I5RCG.js} +2 -2
- package/dist/{events-33HQE43K.js → events-S7KVBRSL.js} +3 -3
- package/dist/{feedback-XDTUBZX3.js → feedback-7OR5FVTX.js} +11 -10
- package/dist/{ffmpeg-ABXU2TYH.js → ffmpeg-A7CSIX3U.js} +12 -11
- package/dist/{figma-4JKNWEKN.js → figma-444HKFX5.js} +3 -3
- package/dist/fontLocalizeCli.js +16 -15
- package/dist/{get-EX2INNLN.js → get-6UTF3225.js} +2 -2
- package/dist/{gpuPolicy-7TSXQHK4.js → gpuPolicy-ORPUS5Z2.js} +12 -11
- package/dist/{grade-compare-TLUTRM2K.js → grade-compare-UCTAYN3B.js} +38 -36
- package/dist/{heifImagePrep-UOBBQFA2.js → heifImagePrep-ED6V6RFN.js} +13 -12
- package/dist/{help-BB4FPW2K.js → help-HZR32XWP.js} +1 -1
- package/dist/{history-JNETCPLB.js → history-TQ56MZIA.js} +18 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +69 -69
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/hyperframes-slideshow.global.js +8 -8
- package/dist/{info-7LBANHQG.js → info-RPIIP7RN.js} +11 -10
- package/dist/{init-GZ36UP5K.js → init-ONAWKHFW.js} +34 -32
- package/dist/{inspect-OD54TEQN.js → inspect-A75PYOWJ.js} +38 -36
- package/dist/{installer-4KJ7T3KB.js → installer-ISMCCFBZ.js} +8 -7
- package/dist/{keyframes-KLBNYGYC.js → keyframes-2I75DP3O.js} +7 -7
- package/dist/{lambda-554LSIHM.js → lambda-4QIHGPGJ.js} +17 -16
- package/dist/{layout-EQAJKTIW.js → layout-GW7WE7RT.js} +38 -36
- package/dist/{lint-ZMSIAVMI.js → lint-OWP72OZQ.js} +12 -12
- package/dist/{lintProject-I4XPWIQZ.js → lintProject-XYQ5L7RQ.js} +6 -6
- package/dist/{list-KUZLCZUK.js → list-WVK7ZCPW.js} +2 -2
- package/dist/{localPage-MQJZAR7Z.js → localPage-IQWHN7BH.js} +12 -11
- package/dist/{login-644VKQTJ.js → login-Q5CNHYWU.js} +4 -4
- package/dist/{manager-3C33QHJB.js → manager-JCYVNEWH.js} +13 -12
- package/dist/{media-treatment-XYS2O3JD.js → media-treatment-M5IUP7H4.js} +21 -20
- package/dist/{models-KOTMJX4Z.js → models-CFXKDYZ3.js} +16 -15
- package/dist/{motionShot-YOSDJ26I.js → motionShot-CWUEI4ZM.js} +21 -20
- package/dist/{normalize-audio-FNT6Y4MC.js → normalize-audio-FASY33LR.js} +15 -14
- package/dist/{open-COIGEQCX.js → open-KOVVESYN.js} +16 -14
- package/dist/{parakeetRunner-BBXLGDZW.js → parakeetRunner-E4IP5SL4.js} +18 -17
- package/dist/{pipeline-23GAJEQO.js → pipeline-C6EZVV43.js} +15 -14
- package/dist/{play-GOCWJH7Z.js → play-MZJI6SMH.js} +28 -26
- package/dist/{preflight-7IWI3INL.js → preflight-K4SPUWXP.js} +13 -12
- package/dist/{present-VN2RAATE.js → present-7L7ZTG7F.js} +24 -23
- package/dist/{preview-MD7W5T56.js → preview-QGDVMR3X.js} +29 -26
- package/dist/{producer-IRENEI2Y.js → producer-EJPNNY3E.js} +1 -1
- package/dist/{projectConfig-3IXWY6VF.js → projectConfig-EEF6OPXO.js} +11 -9
- package/dist/{publication-MCDU4VIJ.js → publication-5KF44AKQ.js} +6 -5
- package/dist/{publish-5477WXAK.js → publish-SSKWZ5TE.js} +17 -15
- package/dist/{remove-background-XYO5ENFU.js → remove-background-PCL6I5SZ.js} +16 -15
- package/dist/{render-34GMNN2B.js → render-DH4UA7KW.js} +10 -9
- package/dist/{render-54SCVHMS.js → render-DRWQ6F37.js} +22 -21
- package/dist/{render-L66MXLV2.js → render-UPRWOGLS.js} +158 -43
- package/dist/{render-batch-DOCRB7KQ.js → render-batch-EBW5WHB5.js} +10 -9
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-Q5XTMECS.js → resolver-ZSZXNRFP.js} +9 -7
- package/dist/{screenshotCapture-U3IYWTDB.js → screenshotCapture-4THETOMD.js} +2 -1
- package/dist/{sherpa-E7C2ZGKD.js → sherpa-IKVUCBOW.js} +17 -16
- package/dist/skills/hyperframes-cli/references/beats.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +13 -1
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +10 -0
- 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-DDZCYTVS.js → skills-ZREHX3TU.js} +5 -5
- package/dist/{skillsUpdateCheck-4XX7YYZA.js → skillsUpdateCheck-PPJ5NGAL.js} +3 -3
- package/dist/{slideshow-SJGK4RQS.js → slideshow-ARJR22W4.js} +1 -1
- package/dist/{snapshot-PTLZ25S3.js → snapshot-KPFLZNEL.js} +87 -52
- package/dist/{src-RDWYM4KF.js → src-EPOGDJTT.js} +11 -10
- package/dist/{src-KT325UQS.js → src-QRV3466B.js} +21 -14
- package/dist/{staticProjectServer-JCGTNF4E.js → staticProjectServer-ERKLMZVM.js} +26 -24
- package/dist/studio/assets/{hyperframes-player-CC1Ue2mg.js → hyperframes-player-Dka6e1BG.js} +1 -1
- package/dist/studio/assets/{index-BgjuGqZk.js → index-C8VIUiGz.js} +117 -117
- package/dist/studio/assets/{index-hc5Ru1gB.js → index-CVPNbydK.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GTN767PW.js → studio-api-7WFZIIPL.js} +21 -16
- package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
- package/dist/{studioServer-X6O4WB7E.js → studioServer-3XZTLI26.js} +79 -121
- package/dist/{telemetry-OY2PKIWO.js → telemetry-BMLI4TMC.js} +3 -3
- package/dist/templates/blank/index.html +1 -1
- package/dist/templates/from-file/index.html +1 -1
- package/dist/{timeline-IZZRAXKP.js → timeline-EDCDO2ZR.js} +28 -26
- package/dist/{tokens-JHIYKROF.js → tokens-2ZFLFO3K.js} +2 -2
- package/dist/{transcribe-2MPZHRG5.js → transcribe-3WMH62HH.js} +16 -15
- package/dist/{transcribe-WJ2DIE3W.js → transcribe-Y2LPBT7I.js} +22 -21
- package/dist/{updateCheck-6XMEFB74.js → updateCheck-5LFZGC3P.js} +2 -2
- package/dist/{upgrade-MSNQIWR7.js → upgrade-X7QVSEKP.js} +2 -2
- package/dist/{urlDownloader-CD6NVJE5.js → urlDownloader-TYD6ROKL.js} +11 -10
- package/dist/{validate-7L5LJFTK.js → validate-26KQ5VX7.js} +31 -30
- package/dist/{video-HFIDOIQI.js → video-BPKLZIJK.js} +13 -12
- package/dist/warmCheck.js +48 -46
- package/package.json +1 -1
- package/dist/chunk-2Q7XV4F6.js +0 -5061
- /package/dist/{chunk-NHA4NRBE.js → chunk-T5ELONXY.js} +0 -0
|
@@ -123,6 +123,16 @@ test("HTTP and network failures stay actionable without leaking the key", async
|
|
|
123
123
|
},
|
|
124
124
|
});
|
|
125
125
|
assert.match(timeout.error, /timed out/);
|
|
126
|
+
const socket = await synthesizeGemini(args, {
|
|
127
|
+
fetchImpl: async () => {
|
|
128
|
+
const cause = Object.assign(new Error("other side closed test-gemini-key"), {
|
|
129
|
+
code: "UND_ERR_SOCKET",
|
|
130
|
+
});
|
|
131
|
+
throw new TypeError("fetch failed", { cause });
|
|
132
|
+
},
|
|
133
|
+
});
|
|
134
|
+
assert.match(socket.error, /fetch failed \(UND_ERR_SOCKET: other side closed/);
|
|
135
|
+
assert.ok(!socket.error.includes("test-gemini-key"));
|
|
126
136
|
assert.equal(existsSync(args.wavAbs), false);
|
|
127
137
|
});
|
|
128
138
|
|
|
@@ -9,18 +9,19 @@ const AUDIO_EXT = new Set([".mp3", ".wav", ".ogg", ".m4a", ".aac"]);
|
|
|
9
9
|
const IMAGE_EXT = new Set([".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg", ".ico"]);
|
|
10
10
|
const VIDEO_EXT = new Set([".mp4", ".webm", ".mov"]);
|
|
11
11
|
|
|
12
|
+
function audioKind(filePath) {
|
|
13
|
+
const words = filePath.toLowerCase().split(/[^a-z0-9]+/);
|
|
14
|
+
const has = (test) => words.some(test);
|
|
15
|
+
if (has((w) => w === "bgm" || w === "music" || w === "soundtrack")) return "bgm";
|
|
16
|
+
if (has((w) => w === "sfx" || w === "fx" || (w.startsWith("sound") && w !== "soundtrack")))
|
|
17
|
+
return "sfx";
|
|
18
|
+
if (has((w) => w.startsWith("voice") || w.startsWith("narrat"))) return "voice";
|
|
19
|
+
return "bgm";
|
|
20
|
+
}
|
|
21
|
+
|
|
12
22
|
function inferType(filePath) {
|
|
13
23
|
const ext = extname(filePath).toLowerCase();
|
|
14
|
-
if (AUDIO_EXT.has(ext))
|
|
15
|
-
const lower = filePath.toLowerCase();
|
|
16
|
-
if (lower.includes("/bgm/") || lower.includes("/music/") || lower.startsWith("bgm/"))
|
|
17
|
-
return "bgm";
|
|
18
|
-
if (lower.includes("/sfx/") || lower.includes("/sound") || lower.startsWith("sfx/"))
|
|
19
|
-
return "sfx";
|
|
20
|
-
if (lower.includes("/voice/") || lower.includes("/narrat") || lower.startsWith("voice/"))
|
|
21
|
-
return "voice";
|
|
22
|
-
return "bgm";
|
|
23
|
-
}
|
|
24
|
+
if (AUDIO_EXT.has(ext)) return audioKind(filePath);
|
|
24
25
|
if (IMAGE_EXT.has(ext)) {
|
|
25
26
|
if (ext === ".svg" || ext === ".ico") return "icon";
|
|
26
27
|
return "image";
|
|
@@ -74,6 +74,28 @@ function runTests() {
|
|
|
74
74
|
cleanup();
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
+
test("labels an audio file by its folder or its file name, not always bgm", () => {
|
|
78
|
+
setup();
|
|
79
|
+
drop("voice-intro.mp3");
|
|
80
|
+
drop("sfx-click.mp3");
|
|
81
|
+
drop("narration.mp3");
|
|
82
|
+
drop("soundtrack/main.mp3");
|
|
83
|
+
drop("track.mp3");
|
|
84
|
+
drop("soundfx/pop.mp3");
|
|
85
|
+
const types = Object.fromEntries(
|
|
86
|
+
adoptExistingAssets(tmp).map((record) => [record.path, record.type]),
|
|
87
|
+
);
|
|
88
|
+
assert.deepEqual(types, {
|
|
89
|
+
"assets/voice-intro.mp3": "voice",
|
|
90
|
+
"assets/sfx-click.mp3": "sfx",
|
|
91
|
+
"assets/narration.mp3": "voice",
|
|
92
|
+
"assets/soundtrack/main.mp3": "bgm",
|
|
93
|
+
"assets/track.mp3": "bgm",
|
|
94
|
+
"assets/soundfx/pop.mp3": "sfx",
|
|
95
|
+
});
|
|
96
|
+
cleanup();
|
|
97
|
+
});
|
|
98
|
+
|
|
77
99
|
let passed = 0;
|
|
78
100
|
let failed = 0;
|
|
79
101
|
for (const { name, fn } of tests) {
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
} from "./chunk-6BEFEWFB.js";
|
|
16
16
|
import {
|
|
17
17
|
trackSkillsInstallSkipped
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-AN4USOFT.js";
|
|
19
|
+
import "./chunk-NUE44RN2.js";
|
|
20
20
|
import "./chunk-PXVQOMKL.js";
|
|
21
21
|
import {
|
|
22
22
|
diag
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
isCoreSkill,
|
|
44
44
|
presentSkills,
|
|
45
45
|
retiredSkillNotice
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-G2EY3MVW.js";
|
|
47
47
|
import {
|
|
48
48
|
withMeta
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-L55LAERP.js";
|
|
50
50
|
import "./chunk-BR2JQQC5.js";
|
|
51
51
|
import "./chunk-BLBMPEBX.js";
|
|
52
52
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-DP5LF7GF.js";
|
|
61
61
|
import "./chunk-J3RXEDR2.js";
|
|
62
62
|
import "./chunk-QBXDU24O.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-6W3DY5BP.js";
|
|
64
64
|
import "./chunk-E63BDV4Z.js";
|
|
65
65
|
import "./chunk-G7VEYUZ2.js";
|
|
66
66
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
printSkillsUpdateNotice,
|
|
10
10
|
refreshSkillsCache,
|
|
11
11
|
skillsCheckDue
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-G2EY3MVW.js";
|
|
13
|
+
import "./chunk-L55LAERP.js";
|
|
14
14
|
import "./chunk-BR2JQQC5.js";
|
|
15
15
|
import "./chunk-BLBMPEBX.js";
|
|
16
16
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-SJGE5I5F.js";
|
|
|
18
18
|
import "./chunk-DP5LF7GF.js";
|
|
19
19
|
import "./chunk-J3RXEDR2.js";
|
|
20
20
|
import "./chunk-QBXDU24O.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-6W3DY5BP.js";
|
|
22
22
|
import "./chunk-E63BDV4Z.js";
|
|
23
23
|
import "./chunk-G7VEYUZ2.js";
|
|
24
24
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
findFFmpeg,
|
|
26
26
|
findFFprobe,
|
|
27
27
|
getFFmpegInstallHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5GSEM63G.js";
|
|
29
29
|
import {
|
|
30
30
|
parseTimeoutMs,
|
|
31
31
|
pngDimensions,
|
|
@@ -34,31 +34,31 @@ import {
|
|
|
34
34
|
} from "./chunk-KUXOAS4Z.js";
|
|
35
35
|
import {
|
|
36
36
|
captureArtifactRevision
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-XHD7RKEZ.js";
|
|
38
|
+
import "./chunk-4VEXJTUT.js";
|
|
39
39
|
import "./chunk-X7MTZ4T2.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveProject
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Z5VQBRU2.js";
|
|
43
43
|
import {
|
|
44
44
|
serveStaticProjectHtml
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-OROHGC7W.js";
|
|
46
|
+
import "./chunk-ZLXWRYOO.js";
|
|
47
47
|
import "./chunk-X7MTZ4T2.js";
|
|
48
48
|
import "./chunk-XUHOIDKG.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-WWT6ETQA.js";
|
|
50
|
+
import "./chunk-BPIY5LB3.js";
|
|
51
|
+
import "./chunk-AW3XJY4S.js";
|
|
52
|
+
import "./chunk-ZBNK6X5O.js";
|
|
53
53
|
import {
|
|
54
54
|
artifactDirectory,
|
|
55
55
|
finishSnapshotRun,
|
|
56
56
|
forgetRecordedArtifacts,
|
|
57
57
|
recordArtifacts,
|
|
58
58
|
retainSnapshotOutput
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-ZAJQFY5Q.js";
|
|
60
|
+
import "./chunk-AXVTL7B6.js";
|
|
61
|
+
import "./chunk-QYRMR45H.js";
|
|
62
62
|
import "./chunk-ALVXFXUG.js";
|
|
63
63
|
import {
|
|
64
64
|
DEFAULT_ZOOM_SCALE,
|
|
@@ -70,37 +70,37 @@ import {
|
|
|
70
70
|
runFfmpegOnce,
|
|
71
71
|
seekCompositionTimelineOnly,
|
|
72
72
|
settleCompositionSeek
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-IB7UYGXR.js";
|
|
74
|
+
import "./chunk-HOTXWVVP.js";
|
|
75
|
+
import "./chunk-DNTPNSH5.js";
|
|
76
|
+
import "./chunk-DC26QLB7.js";
|
|
77
77
|
import "./chunk-5ZBMHUY2.js";
|
|
78
78
|
import "./chunk-EHSBBBR2.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-52VXA3SC.js";
|
|
80
|
+
import "./chunk-US4BCRYB.js";
|
|
81
|
+
import "./chunk-P5M3AXEP.js";
|
|
82
82
|
import "./chunk-XT7X6QCP.js";
|
|
83
83
|
import "./chunk-5YPMCCCA.js";
|
|
84
84
|
import "./chunk-HVW7ABXD.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-6CFBFWLF.js";
|
|
86
86
|
import {
|
|
87
87
|
runWithConcurrencyLimit
|
|
88
88
|
} from "./chunk-JHOCK3DG.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-IGBOFU2Y.js";
|
|
90
|
+
import "./chunk-VJVVWYP6.js";
|
|
91
91
|
import "./chunk-AWDFDFI3.js";
|
|
92
92
|
import "./chunk-P6LJ4Y32.js";
|
|
93
93
|
import "./chunk-T2WJO4XM.js";
|
|
94
94
|
import "./chunk-W4DMQZL5.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-L37AZWB2.js";
|
|
96
96
|
import {
|
|
97
97
|
resolveLocalBrowserGpuMode
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-F6QV5N3A.js";
|
|
99
99
|
import "./chunk-A4ZTSQLW.js";
|
|
100
100
|
import {
|
|
101
101
|
trackSnapshotRun
|
|
102
|
-
} from "./chunk-
|
|
103
|
-
import "./chunk-
|
|
102
|
+
} from "./chunk-AN4USOFT.js";
|
|
103
|
+
import "./chunk-NUE44RN2.js";
|
|
104
104
|
import "./chunk-PXVQOMKL.js";
|
|
105
105
|
import "./chunk-EQGKUPBJ.js";
|
|
106
106
|
import "./chunk-VLA6UJGH.js";
|
|
@@ -108,6 +108,7 @@ import {
|
|
|
108
108
|
defineCommand
|
|
109
109
|
} from "./chunk-DL4OD7IA.js";
|
|
110
110
|
import "./chunk-S3S4TGEH.js";
|
|
111
|
+
import "./chunk-WYKRGEDD.js";
|
|
111
112
|
import "./chunk-54HJ63Q2.js";
|
|
112
113
|
import {
|
|
113
114
|
c
|
|
@@ -123,11 +124,11 @@ import {
|
|
|
123
124
|
extractMediaMetadata,
|
|
124
125
|
isHdrColorSpace,
|
|
125
126
|
sdrCanvasColourFilters
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-AIXH3V5A.js";
|
|
127
128
|
import "./chunk-Z5J67X44.js";
|
|
128
129
|
import "./chunk-5S7W3TUO.js";
|
|
129
130
|
import "./chunk-D3MUHMFG.js";
|
|
130
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-3RXZZIDQ.js";
|
|
131
132
|
import "./chunk-YWRUQ7XZ.js";
|
|
132
133
|
import {
|
|
133
134
|
createRuntimeStartTimeResolver,
|
|
@@ -136,12 +137,13 @@ import {
|
|
|
136
137
|
isClipVisibleAt,
|
|
137
138
|
isInClipWindow,
|
|
138
139
|
parseFirstFrameColour
|
|
139
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-BDZSH6P3.js";
|
|
141
|
+
import "./chunk-MEJH7VEA.js";
|
|
140
142
|
import {
|
|
141
143
|
readElementRateSpec,
|
|
142
144
|
sourceTimeAt,
|
|
143
145
|
timeAtSourceTime
|
|
144
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-LL3VMDAC.js";
|
|
145
147
|
import "./chunk-VC76R6W2.js";
|
|
146
148
|
import "./chunk-OFQWTKPW.js";
|
|
147
149
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -161,27 +163,27 @@ import "./chunk-K4MJX7SR.js";
|
|
|
161
163
|
import "./chunk-WE42NVH7.js";
|
|
162
164
|
import {
|
|
163
165
|
lintProject
|
|
164
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-VQMHDS2V.js";
|
|
165
167
|
import "./chunk-CZGHFATT.js";
|
|
166
|
-
import "./chunk-
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
168
|
+
import "./chunk-HYRPH6LL.js";
|
|
169
|
+
import "./chunk-AKMY4QVI.js";
|
|
170
|
+
import "./chunk-C2KEGBR3.js";
|
|
169
171
|
import {
|
|
170
172
|
topLevelElements,
|
|
171
173
|
trackKindOf
|
|
172
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-T5ELONXY.js";
|
|
173
175
|
import "./chunk-FR7YBU3H.js";
|
|
174
176
|
import "./chunk-DPVXBVLL.js";
|
|
175
177
|
import {
|
|
176
178
|
parseHTML
|
|
177
179
|
} from "./chunk-GWTIFRF5.js";
|
|
178
180
|
import "./chunk-2RY2LWAA.js";
|
|
179
|
-
import "./chunk-
|
|
181
|
+
import "./chunk-EPQC3FGZ.js";
|
|
180
182
|
import "./chunk-WC4MTXGN.js";
|
|
181
183
|
import "./chunk-FBN2M2HK.js";
|
|
182
184
|
import {
|
|
183
185
|
withMeta
|
|
184
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-L55LAERP.js";
|
|
185
187
|
import "./chunk-BR2JQQC5.js";
|
|
186
188
|
import "./chunk-BLBMPEBX.js";
|
|
187
189
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -196,7 +198,7 @@ import {
|
|
|
196
198
|
} from "./chunk-DP5LF7GF.js";
|
|
197
199
|
import "./chunk-J3RXEDR2.js";
|
|
198
200
|
import "./chunk-QBXDU24O.js";
|
|
199
|
-
import "./chunk-
|
|
201
|
+
import "./chunk-6W3DY5BP.js";
|
|
200
202
|
import {
|
|
201
203
|
atStep,
|
|
202
204
|
normalizeErrorMessage
|
|
@@ -323,8 +325,9 @@ function countAsked(path, wants) {
|
|
|
323
325
|
}
|
|
324
326
|
async function probeFrames(probe, path, wants) {
|
|
325
327
|
try {
|
|
328
|
+
const horizon = Math.max(...wants.map((want) => want.time));
|
|
326
329
|
const plans = await Promise.all(
|
|
327
|
-
wants.map((want) => probe(path, want.time, want.holdLastFrame))
|
|
330
|
+
wants.map((want) => probe(path, want.time, want.holdLastFrame, horizon))
|
|
328
331
|
);
|
|
329
332
|
return plans.flatMap(
|
|
330
333
|
(plan, i) => plan?.seek !== void 0 && plan.select !== void 0 ? [
|
|
@@ -419,17 +422,28 @@ function resolveReviewTimeline(html, durations, duration, compositionId) {
|
|
|
419
422
|
return to > from ? [roundMs(from), roundMs(to)] : null;
|
|
420
423
|
};
|
|
421
424
|
const scenes = [];
|
|
422
|
-
const
|
|
425
|
+
const notes = [];
|
|
426
|
+
const sceneRows = (root) => topLevelElements(root).filter((node) => {
|
|
423
427
|
const kind = trackKindOf(node).kind;
|
|
424
428
|
return kind === "video" || kind === "graphics";
|
|
425
429
|
});
|
|
426
|
-
|
|
430
|
+
sceneRows(toDomNode(target)).forEach((node, index) => {
|
|
427
431
|
const interval = span(node.el);
|
|
428
|
-
if (interval)
|
|
429
|
-
|
|
432
|
+
if (!interval) return;
|
|
433
|
+
const id = sceneId(node.el, index);
|
|
434
|
+
scenes.push({ id, start: interval[0], end: interval[1] });
|
|
435
|
+
const inner = node.el.getAttribute("data-composition-id");
|
|
436
|
+
const innerScenes = inner ? sceneRows(node).flatMap((row, rowIndex) => {
|
|
437
|
+
const inside = span(row.el);
|
|
438
|
+
return inside ? [{ id: sceneId(row.el, rowIndex), start: inside[0], end: inside[1] }] : [];
|
|
439
|
+
}) : [];
|
|
440
|
+
if (inner && innerScenes.length >= 2 && seamTimes(innerScenes, interval).length > 0) {
|
|
441
|
+
notes.push(
|
|
442
|
+
`${id} holds several timed clips; run --review --composition ${inner} to review its cuts.`
|
|
443
|
+
);
|
|
444
|
+
}
|
|
430
445
|
});
|
|
431
446
|
const beats = [];
|
|
432
|
-
const notes = [];
|
|
433
447
|
for (const el of Array.from(target.querySelectorAll("[data-beat]"))) {
|
|
434
448
|
const name = el.getAttribute("data-beat")?.trim() || sceneId(el, beats.length);
|
|
435
449
|
const timed = el.hasAttribute("data-start") || el.hasAttribute("data-composition-id");
|
|
@@ -758,7 +772,12 @@ async function remoteVideoInput(url, download = downloadToTemp) {
|
|
|
758
772
|
return url;
|
|
759
773
|
}
|
|
760
774
|
}
|
|
761
|
-
|
|
775
|
+
var createSourceProbeCache = () => ({
|
|
776
|
+
streams: /* @__PURE__ */ new Map(),
|
|
777
|
+
packets: /* @__PURE__ */ new Map(),
|
|
778
|
+
landings: /* @__PURE__ */ new Map()
|
|
779
|
+
});
|
|
780
|
+
async function probeContainingSourceFrameSeek(videoPath, time, holdLastFrame, { cache, horizon = time } = {}) {
|
|
762
781
|
const ffprobe = findFFprobe();
|
|
763
782
|
if (!ffprobe) return { seek: time };
|
|
764
783
|
const probe = async (readIntervals, entries) => {
|
|
@@ -779,7 +798,8 @@ async function probeContainingSourceFrameSeek(videoPath, time, holdLastFrame) {
|
|
|
779
798
|
);
|
|
780
799
|
}
|
|
781
800
|
};
|
|
782
|
-
const
|
|
801
|
+
const streamQuery = () => probe("%+#1", "stream=time_base,start_pts:format=start_time,duration");
|
|
802
|
+
const data = await (cache ? cache.streams.get(videoPath) ?? cache.streams.set(videoPath, streamQuery()).get(videoPath) : streamQuery());
|
|
783
803
|
if (data === null || !Array.isArray(data.streams)) return null;
|
|
784
804
|
const stream = data.streams[0];
|
|
785
805
|
if (typeof stream !== "object" || stream === null || !("time_base" in stream) || typeof stream.time_base !== "string")
|
|
@@ -794,7 +814,14 @@ async function probeContainingSourceFrameSeek(videoPath, time, holdLastFrame) {
|
|
|
794
814
|
const formatStart = Number.isFinite(start) ? start : 0;
|
|
795
815
|
const startPts = "start_pts" in stream && typeof stream.start_pts === "number" ? stream.start_pts : NaN;
|
|
796
816
|
const startTicks = Math.abs(startPts * timeBase - formatStart) <= 1e-6 ? startPts : formatStart / timeBase;
|
|
797
|
-
const
|
|
817
|
+
const packetEnd = Math.max(time, horizon) + 1;
|
|
818
|
+
const packetQuery = () => probe(`%${startTicks * timeBase + packetEnd}`, "packet=pts,dts,flags");
|
|
819
|
+
const kept = cache?.packets.get(videoPath);
|
|
820
|
+
const packetData = await (kept && kept.end >= packetEnd ? kept.data : cache ? (() => {
|
|
821
|
+
const data2 = packetQuery();
|
|
822
|
+
cache.packets.set(videoPath, { end: packetEnd, data: data2 });
|
|
823
|
+
return data2;
|
|
824
|
+
})() : packetQuery());
|
|
798
825
|
if (packetData === null || !Array.isArray(packetData.packets)) return null;
|
|
799
826
|
const packets = [];
|
|
800
827
|
for (const packet of packetData.packets) {
|
|
@@ -813,7 +840,10 @@ async function probeContainingSourceFrameSeek(videoPath, time, holdLastFrame) {
|
|
|
813
840
|
const mid = (previous + frame) / 2;
|
|
814
841
|
const ffmpeg = findFFmpeg();
|
|
815
842
|
const landing = async (seek) => {
|
|
816
|
-
const
|
|
843
|
+
const key = `${videoPath}\0${seek}`;
|
|
844
|
+
const asked = cache?.landings.get(key) ?? (ffmpeg ? probeSeekLanding(ffmpeg, videoPath, seek) : Promise.resolve(null));
|
|
845
|
+
cache?.landings.set(key, asked);
|
|
846
|
+
const raw = await asked;
|
|
817
847
|
return raw === null ? null : raw - startTicks * timeBase;
|
|
818
848
|
};
|
|
819
849
|
const candidates = packets.filter(
|
|
@@ -1066,7 +1096,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
1066
1096
|
async function captureSnapshots(projectDir, opts) {
|
|
1067
1097
|
const startedAt = performance.now();
|
|
1068
1098
|
const log = opts.log ?? ((message) => console.log(message));
|
|
1069
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1099
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-MNG2UVH3.js");
|
|
1070
1100
|
const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
1071
1101
|
const invocation = randomUUID();
|
|
1072
1102
|
const artifacts = [];
|
|
@@ -1193,7 +1223,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1193
1223
|
let syncVideoFrameVisibility = null;
|
|
1194
1224
|
let extractMediaMetadata2 = null;
|
|
1195
1225
|
try {
|
|
1196
|
-
const engine = await import("./src-
|
|
1226
|
+
const engine = await import("./src-EPOGDJTT.js");
|
|
1197
1227
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
1198
1228
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
1199
1229
|
extractMediaMetadata2 = engine.extractMediaMetadata;
|
|
@@ -1222,8 +1252,12 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1222
1252
|
if (!hasPlayer) {
|
|
1223
1253
|
console.warn(` ${c.warn("\u26A0")} No player API \u2014 seeks will be skipped`);
|
|
1224
1254
|
}
|
|
1255
|
+
const sourceProbes = createSourceProbeCache();
|
|
1225
1256
|
const frameBank = createFrameBank({
|
|
1226
|
-
probe: probeContainingSourceFrameSeek,
|
|
1257
|
+
probe: (path, time, holdLastFrame, horizon) => probeContainingSourceFrameSeek(path, time, holdLastFrame, {
|
|
1258
|
+
cache: sourceProbes,
|
|
1259
|
+
horizon
|
|
1260
|
+
}),
|
|
1227
1261
|
decode: async (path, frames) => decodeFramesInOnePass(
|
|
1228
1262
|
path,
|
|
1229
1263
|
frames,
|
|
@@ -1951,6 +1985,7 @@ export {
|
|
|
1951
1985
|
clearedNote,
|
|
1952
1986
|
computeSnapshotTimes,
|
|
1953
1987
|
containingSourceFrameIndex,
|
|
1988
|
+
createSourceProbeCache,
|
|
1954
1989
|
decodeFramesInOnePass,
|
|
1955
1990
|
snapshot_default as default,
|
|
1956
1991
|
examples,
|
|
@@ -256,11 +256,11 @@ import {
|
|
|
256
256
|
waitForImagesReady,
|
|
257
257
|
writeCapturedFrame,
|
|
258
258
|
writeUrlDownloadTelemetry
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-AIXH3V5A.js";
|
|
260
260
|
import "./chunk-Z5J67X44.js";
|
|
261
261
|
import "./chunk-5S7W3TUO.js";
|
|
262
262
|
import "./chunk-D3MUHMFG.js";
|
|
263
|
-
import "./chunk-
|
|
263
|
+
import "./chunk-3RXZZIDQ.js";
|
|
264
264
|
import {
|
|
265
265
|
collectScratchLeftovers,
|
|
266
266
|
removeScratch,
|
|
@@ -270,8 +270,9 @@ import {
|
|
|
270
270
|
import {
|
|
271
271
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
272
272
|
quantizeTimeToFrame
|
|
273
|
-
} from "./chunk-
|
|
274
|
-
import "./chunk-
|
|
273
|
+
} from "./chunk-BDZSH6P3.js";
|
|
274
|
+
import "./chunk-MEJH7VEA.js";
|
|
275
|
+
import "./chunk-LL3VMDAC.js";
|
|
275
276
|
import "./chunk-VC76R6W2.js";
|
|
276
277
|
import "./chunk-OFQWTKPW.js";
|
|
277
278
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -292,22 +293,22 @@ import {
|
|
|
292
293
|
import {
|
|
293
294
|
resolveReferencedDuration,
|
|
294
295
|
resolveReferencedStart
|
|
295
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-VQMHDS2V.js";
|
|
296
297
|
import "./chunk-CZGHFATT.js";
|
|
297
298
|
import {
|
|
298
299
|
FFMPEG_PATH_ENV,
|
|
299
300
|
FFPROBE_PATH_ENV
|
|
300
|
-
} from "./chunk-
|
|
301
|
+
} from "./chunk-HYRPH6LL.js";
|
|
301
302
|
import {
|
|
302
303
|
resolveProjectRelativeSrc
|
|
303
|
-
} from "./chunk-
|
|
304
|
-
import "./chunk-
|
|
305
|
-
import "./chunk-
|
|
304
|
+
} from "./chunk-AKMY4QVI.js";
|
|
305
|
+
import "./chunk-C2KEGBR3.js";
|
|
306
|
+
import "./chunk-T5ELONXY.js";
|
|
306
307
|
import "./chunk-FR7YBU3H.js";
|
|
307
308
|
import "./chunk-DPVXBVLL.js";
|
|
308
309
|
import "./chunk-GWTIFRF5.js";
|
|
309
310
|
import "./chunk-2RY2LWAA.js";
|
|
310
|
-
import "./chunk-
|
|
311
|
+
import "./chunk-EPQC3FGZ.js";
|
|
311
312
|
import "./chunk-WC4MTXGN.js";
|
|
312
313
|
import {
|
|
313
314
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
RENDER_REQUEST_VERSION,
|
|
25
25
|
RenderCancelledError,
|
|
26
26
|
RenderQualityError,
|
|
27
|
+
RenderSpanUnsupportedError,
|
|
27
28
|
applyRenderWarningPolicy,
|
|
28
29
|
assemble,
|
|
29
30
|
assembleV2,
|
|
@@ -65,19 +66,21 @@ import {
|
|
|
65
66
|
renderChunkV2,
|
|
66
67
|
renderConfigFromRequest,
|
|
67
68
|
renderRequestFromDistributedConfig,
|
|
69
|
+
renderSpan,
|
|
68
70
|
resolveRenderDebugDir,
|
|
69
71
|
resolveRenderPaths,
|
|
70
72
|
runHyperframeLint,
|
|
71
73
|
serializeRenderRequest,
|
|
74
|
+
spanFrameRange,
|
|
72
75
|
startServer,
|
|
73
76
|
validatePlanV2MaterializedTarget
|
|
74
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SKCS4SUZ.js";
|
|
75
78
|
import {
|
|
76
79
|
prepareHeifImageInputs
|
|
77
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-Y7IV5MAK.js";
|
|
78
81
|
import {
|
|
79
82
|
prepareAnimatedGifInputs
|
|
80
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-ZPTNLDOB.js";
|
|
81
84
|
import "./chunk-X7MTZ4T2.js";
|
|
82
85
|
import "./chunk-BZ56MTDX.js";
|
|
83
86
|
import {
|
|
@@ -86,7 +89,7 @@ import {
|
|
|
86
89
|
FontFetchError,
|
|
87
90
|
FontFetchUnavailableError,
|
|
88
91
|
injectDeterministicFontFaces
|
|
89
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-QNW43LWB.js";
|
|
90
93
|
import "./chunk-FI4I7CME.js";
|
|
91
94
|
import "./chunk-G6OKQMJI.js";
|
|
92
95
|
import "./chunk-EVMY7IPL.js";
|
|
@@ -104,16 +107,17 @@ import {
|
|
|
104
107
|
isTransientBrowserError,
|
|
105
108
|
prepareCaptureSessionForReuse,
|
|
106
109
|
resolveConfig
|
|
107
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-AIXH3V5A.js";
|
|
108
111
|
import "./chunk-Z5J67X44.js";
|
|
109
112
|
import "./chunk-5S7W3TUO.js";
|
|
110
113
|
import "./chunk-D3MUHMFG.js";
|
|
111
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-3RXZZIDQ.js";
|
|
112
115
|
import "./chunk-YWRUQ7XZ.js";
|
|
113
116
|
import {
|
|
114
117
|
quantizeTimeToFrame
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import "./chunk-
|
|
118
|
+
} from "./chunk-BDZSH6P3.js";
|
|
119
|
+
import "./chunk-MEJH7VEA.js";
|
|
120
|
+
import "./chunk-LL3VMDAC.js";
|
|
117
121
|
import "./chunk-VC76R6W2.js";
|
|
118
122
|
import "./chunk-OFQWTKPW.js";
|
|
119
123
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -122,17 +126,17 @@ import "./chunk-TK7THLRO.js";
|
|
|
122
126
|
import "./chunk-FXMKHHPO.js";
|
|
123
127
|
import "./chunk-K4MJX7SR.js";
|
|
124
128
|
import "./chunk-WE42NVH7.js";
|
|
125
|
-
import "./chunk-
|
|
129
|
+
import "./chunk-VQMHDS2V.js";
|
|
126
130
|
import "./chunk-CZGHFATT.js";
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import "./chunk-
|
|
130
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-HYRPH6LL.js";
|
|
132
|
+
import "./chunk-AKMY4QVI.js";
|
|
133
|
+
import "./chunk-C2KEGBR3.js";
|
|
134
|
+
import "./chunk-T5ELONXY.js";
|
|
131
135
|
import "./chunk-FR7YBU3H.js";
|
|
132
136
|
import "./chunk-DPVXBVLL.js";
|
|
133
137
|
import "./chunk-GWTIFRF5.js";
|
|
134
138
|
import "./chunk-2RY2LWAA.js";
|
|
135
|
-
import "./chunk-
|
|
139
|
+
import "./chunk-EPQC3FGZ.js";
|
|
136
140
|
import "./chunk-WC4MTXGN.js";
|
|
137
141
|
import "./chunk-FBN2M2HK.js";
|
|
138
142
|
import "./chunk-QBXDU24O.js";
|
|
@@ -163,6 +167,7 @@ export {
|
|
|
163
167
|
RENDER_REQUEST_VERSION,
|
|
164
168
|
RenderCancelledError,
|
|
165
169
|
RenderQualityError,
|
|
170
|
+
RenderSpanUnsupportedError,
|
|
166
171
|
applyRenderWarningPolicy,
|
|
167
172
|
assemble,
|
|
168
173
|
assembleV2,
|
|
@@ -218,11 +223,13 @@ export {
|
|
|
218
223
|
renderChunkV2,
|
|
219
224
|
renderConfigFromRequest,
|
|
220
225
|
renderRequestFromDistributedConfig,
|
|
226
|
+
renderSpan,
|
|
221
227
|
resolveConfig,
|
|
222
228
|
resolveRenderDebugDir,
|
|
223
229
|
resolveRenderPaths,
|
|
224
230
|
runHyperframeLint,
|
|
225
231
|
serializeRenderRequest,
|
|
232
|
+
spanFrameRange,
|
|
226
233
|
startServer,
|
|
227
234
|
validatePlanV2MaterializedTarget
|
|
228
235
|
};
|