hyperframes 0.8.209 → 0.8.210
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-VZKUIZEH.js → add-36M7YRR4.js} +14 -14
- package/dist/{animatedGifPrep-PN4G4YPJ.js → animatedGifPrep-RZLTC77F.js} +5 -5
- package/dist/api.js +20 -17
- package/dist/{asset-I4PHGE57.js → asset-HRGZ7ZCB.js} +2 -2
- package/dist/{assetCataloger-LRAUXQ46.js → assetCataloger-LN7RI2IC.js} +6 -6
- package/dist/{audio-T7SAVYED.js → audio-ULOHC2KL.js} +15 -15
- package/dist/{auth-GP6HTQT3.js → auth-K4ZULHQY.js} +4 -4
- package/dist/{autoUpdate-Z6GFPZAG.js → autoUpdate-MUJ4WPP6.js} +4 -4
- package/dist/{backgroundChecks-ZJ7JV52S.js → backgroundChecks-O6JST752.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-J3ETE23Y.js → batchRender-U742UVOD.js} +4 -4
- package/dist/{beats-WF4FJCM5.js → beats-2CSE5WJD.js} +9 -9
- package/dist/{benchmark-B7UPP4PQ.js → benchmark-YJB2YKOE.js} +10 -10
- package/dist/{browser-SIUYD43U.js → browser-WJ5E7RYS.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-RRGFY3XV.js → bundleWithLocalizedFonts-F5VQMFHZ.js} +3 -3
- package/dist/{capture-VYS4PCCJ.js → capture-6OJDKKEZ.js} +21 -18
- package/dist/{capture-J3GLHUKI.js → capture-IYV3OS5W.js} +3 -3
- package/dist/{captureCompositionFrame-SVLMPQYC.js → captureCompositionFrame-7357PUMG.js} +12 -12
- package/dist/{catalog-DVBNR422.js → catalog-CZBK33QH.js} +15 -15
- package/dist/{catch-up-OBPMV7KG.js → catch-up-7IJQ7AUR.js} +6 -6
- package/dist/{check-MEALXNZK.js → check-ISUFX4DK.js} +39 -39
- package/dist/{checkAudio-RZ7WQYVN.js → checkAudio-GAA2SY5E.js} +8 -8
- package/dist/{checkBrowser-2LEQ2LSX.js → checkBrowser-JRADOMED.js} +33 -33
- package/dist/{chunk-TSM67ADU.js → chunk-32BLIKEV.js} +1 -1
- package/dist/{chunk-3A4SB326.js → chunk-35HSGF46.js} +6 -6
- package/dist/{chunk-AQTODJWP.js → chunk-36EOFTVG.js} +1 -1
- package/dist/{chunk-PYVYF64E.js → chunk-4A27M7CJ.js} +1 -1
- package/dist/{chunk-VYRJAQGC.js → chunk-57QUPSP2.js} +1 -1
- package/dist/{chunk-Y2EVJBR6.js → chunk-5IWRGVAX.js} +2 -2
- package/dist/{chunk-CBM4ZUVN.js → chunk-5PCT5DDF.js} +6 -6
- package/dist/{chunk-MI4V4HPE.js → chunk-5ZJGEQGS.js} +3 -1
- package/dist/{chunk-KGBFHYHX.js → chunk-7BOGLQFM.js} +4 -4
- package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
- package/dist/{chunk-WLVHSGVL.js → chunk-A2H5EJZM.js} +2 -2
- package/dist/{chunk-LV4NWCJS.js → chunk-A45HCDG7.js} +2 -2
- package/dist/{chunk-RAONLDN5.js → chunk-AG566TRI.js} +2 -2
- package/dist/{chunk-BYPDKF36.js → chunk-AZGVCQGO.js} +7 -3
- package/dist/{chunk-LJ7H2A2C.js → chunk-BKXC5XHB.js} +1 -1
- package/dist/{chunk-ZPILPVYU.js → chunk-BN22WCAF.js} +1 -1
- package/dist/{chunk-H7B526GH.js → chunk-BW5WYF4N.js} +81 -19
- package/dist/{chunk-66PNSZ7K.js → chunk-BYZPLQSX.js} +1 -1
- package/dist/{chunk-3PUXUIWB.js → chunk-DHTWYTSV.js} +1 -1
- package/dist/{chunk-F4O4G4ZW.js → chunk-DKJAK6JW.js} +4 -4
- package/dist/{chunk-RVG2JNDU.js → chunk-DST7GU2Y.js} +2 -2
- package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
- package/dist/{chunk-D6T5BNSK.js → chunk-EQPXSSNG.js} +24 -21
- package/dist/{chunk-CA3PXWN4.js → chunk-ERVBXEPZ.js} +1 -1
- package/dist/{chunk-RJO4X3AA.js → chunk-EVTBRL37.js} +1 -1
- package/dist/{chunk-R52YM6ZK.js → chunk-EYGWMHXV.js} +2 -2
- package/dist/{chunk-L7MGVFR4.js → chunk-F7IWJMIO.js} +2 -2
- package/dist/{chunk-OML6HQQN.js → chunk-FBIWJ3A4.js} +4 -4
- package/dist/{chunk-QIKZ2HZJ.js → chunk-FCIO4WSW.js} +3 -3
- package/dist/{chunk-P3OKYRGA.js → chunk-FCXEVKFQ.js} +3 -3
- package/dist/{chunk-JJRMN2RV.js → chunk-FHIBBIEZ.js} +5 -7
- package/dist/{chunk-DR47DSOY.js → chunk-GKNTPIFD.js} +17 -9
- package/dist/{chunk-JC6BAQOG.js → chunk-GNESG4XA.js} +1 -1
- package/dist/{chunk-SNLXWCET.js → chunk-HD4KXG5U.js} +15 -10
- package/dist/{chunk-TF7YE7J5.js → chunk-HKCIRH26.js} +2 -2
- package/dist/{chunk-DVIX7UPH.js → chunk-HP7BXJFZ.js} +2 -2
- package/dist/{chunk-IQNS7O4W.js → chunk-I3PNZDKR.js} +71 -20
- package/dist/{chunk-3RATCY3W.js → chunk-I4H5JWND.js} +1 -1
- package/dist/{chunk-W32DVMX3.js → chunk-IMKBZEGT.js} +1 -1
- package/dist/{chunk-M4QZFUMW.js → chunk-JHNBF2HD.js} +1 -1
- package/dist/{chunk-5T4DP25D.js → chunk-JLBJRJO6.js} +2 -2
- package/dist/{chunk-GMECXFAN.js → chunk-K4FVGVA6.js} +5 -2
- package/dist/{chunk-MKALOCDV.js → chunk-KGAPL42S.js} +1 -1
- package/dist/{chunk-U5IZUWBW.js → chunk-KGG2PUZN.js} +91 -17
- package/dist/{chunk-P2FSCR5B.js → chunk-LRE4GDFA.js} +3 -3
- package/dist/{chunk-IJPFVMIE.js → chunk-MA447PNF.js} +25 -17
- package/dist/{chunk-V4VXWOIF.js → chunk-MV3J6ZOP.js} +4 -4
- package/dist/{chunk-I3ICHLHV.js → chunk-NEKKA2DA.js} +1 -1
- package/dist/{chunk-SOXQXX2M.js → chunk-OMLVCHNN.js} +2 -2
- package/dist/{chunk-SWHCYFEF.js → chunk-P2L7NNHT.js} +3 -3
- package/dist/{chunk-NEASABW6.js → chunk-P6EXMN5D.js} +1 -1
- package/dist/{chunk-EVYDKSML.js → chunk-PCPMSUW6.js} +2 -2
- package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
- package/dist/{chunk-CIDCNE2D.js → chunk-QFXF5GXE.js} +2 -2
- package/dist/{chunk-FB5BXGGF.js → chunk-QI5TLQNW.js} +7 -7
- package/dist/{chunk-NXNDHV26.js → chunk-QPX7FJP3.js} +1 -1
- package/dist/chunk-QRC7IVBC.js +4870 -0
- package/dist/{chunk-GQZHLF5P.js → chunk-QRWTVCGH.js} +17 -17
- package/dist/{chunk-56ANHX5U.js → chunk-QXUFQSSK.js} +1 -1
- package/dist/{chunk-KTWGVEN6.js → chunk-RIAWW4G2.js} +2 -2
- package/dist/{chunk-HTZJNQYI.js → chunk-RUW65P3N.js} +1 -1
- package/dist/{chunk-MVNTJGDX.js → chunk-TDEORHFN.js} +3 -3
- package/dist/{chunk-4BXEPVSA.js → chunk-TGFDRZTM.js} +14 -4
- package/dist/{chunk-SPMKVI6H.js → chunk-UA3YNZK6.js} +2 -2
- package/dist/{chunk-A7GDBL6D.js → chunk-UWEGMKKU.js} +1 -1
- package/dist/{chunk-ZMIRSWN6.js → chunk-W3V5EOFA.js} +1 -1
- package/dist/{chunk-L5XVBFUM.js → chunk-W4E3ZOWH.js} +1 -1
- package/dist/{chunk-SE6S4SGZ.js → chunk-WOFTAZSZ.js} +16 -16
- package/dist/{chunk-YCGLT5B4.js → chunk-WWQJYYAB.js} +3 -3
- package/dist/{chunk-EA5FUMJN.js → chunk-X2T5EOI7.js} +2 -2
- package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
- package/dist/{chunk-Z67J3TTU.js → chunk-XIUHHEBS.js} +2 -2
- package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
- package/dist/{chunk-OK3QLJSF.js → chunk-YBY2WVLC.js} +19 -2
- package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
- package/dist/{chunk-NJZRXELC.js → chunk-ZRSQNF4A.js} +32 -22
- package/dist/{clean-VWCYLOVI.js → clean-NVBEXXIS.js} +20 -20
- package/dist/cli.js +54 -54
- package/dist/{cloud-HU3RXCVE.js → cloud-3T6HF7DT.js} +4 -4
- package/dist/{cloudrun-OST6QBYD.js → cloudrun-TXEEZGJ7.js} +5 -5
- package/dist/commands/layout-audit.browser.js +93 -4
- package/dist/{compare-U2MJWZAH.js → compare-Q42Z56P7.js} +32 -32
- package/dist/{compiler-DSP4MVEC.js → compiler-IL2PZJFH.js} +2 -2
- package/dist/{component-EC5XU6KR.js → component-2IWQZYCZ.js} +3 -3
- package/dist/{compositions-AKYCTF4G.js → compositions-3EZ3GBK2.js} +11 -11
- package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
- package/dist/{delete-Z5MOEZM2.js → delete-2UBY2JTM.js} +7 -7
- package/dist/{deploy-Y4LFVYXT.js → deploy-QTS2OM2H.js} +1 -1
- package/dist/{dist-JJL4QUDL.js → dist-XF53LCKD.js} +4 -2
- package/dist/{doctor-7234U557.js → doctor-FIXMXWE6.js} +18 -14
- package/dist/{events-RUIZNTG3.js → events-7WYSDXTE.js} +4 -4
- package/dist/{events-SII53QYO.js → events-NTZSSMBR.js} +5 -5
- package/dist/{feedback-6CCDDQ36.js → feedback-7SOB5GZC.js} +12 -12
- package/dist/{ffmpeg-C4VWK4M2.js → ffmpeg-PYY5FSIX.js} +7 -7
- package/dist/{figma-GAN63U5U.js → figma-DTWA3G22.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{get-RZGUHZB4.js → get-DMGUJPLP.js} +7 -7
- package/dist/{gpuPolicy-BGJRCLP4.js → gpuPolicy-KVYO4OU4.js} +5 -5
- package/dist/{grade-compare-XOBN52WV.js → grade-compare-NCYPJFLI.js} +33 -33
- package/dist/{heifImagePrep-DCHSYGW7.js → heifImagePrep-F7LFUYGC.js} +6 -6
- package/dist/{help-O2IV6PUC.js → help-I4RRBHCW.js} +2 -2
- package/dist/{history-GPTEM4UX.js → history-GVBBXZKQ.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-7Y3JPN7C.js → info-UE2PY5AF.js} +9 -9
- package/dist/{init-L6W5WG5K.js → init-4UGFGJQK.js} +30 -30
- package/dist/{inspect-MQZANGQY.js → inspect-ZRREAUCB.js} +31 -31
- package/dist/{installer-DCIMLYB6.js → installer-ABXPRFIJ.js} +6 -5
- package/dist/{keyframes-WNJIKL4G.js → keyframes-MFR4TYVR.js} +8 -8
- package/dist/{lambda-FEA4SSFK.js → lambda-E3Z6JCIB.js} +10 -10
- package/dist/{layout-AUQAYDJU.js → layout-IO7T5SSU.js} +31 -31
- package/dist/{lint-A33IHYID.js → lint-WYPQK5XA.js} +8 -8
- package/dist/{list-56JHCET6.js → list-7F2LXWOZ.js} +7 -7
- package/dist/{login-HUOM4GNP.js → login-TTMYCXN2.js} +7 -7
- package/dist/{logout-3IID4KXD.js → logout-QRSB4CNH.js} +3 -3
- package/dist/{manager-Z7W4GQGF.js → manager-LQXZTUTJ.js} +3 -3
- package/dist/{manager-SDRJOMPR.js → manager-OQ5J26ST.js} +8 -8
- package/dist/{media-treatment-5TGZOD67.js → media-treatment-ELB6WRA5.js} +14 -14
- package/dist/{models-ABDX6TXI.js → models-D2FNIGNZ.js} +12 -12
- package/dist/{motionShot-AV2WRH2C.js → motionShot-53VDDRIC.js} +19 -19
- package/dist/{normalize-audio-M7T25DST.js → normalize-audio-QHNCFWR2.js} +10 -10
- package/dist/{open-IRNZY5XN.js → open-3KMTT3AV.js} +14 -14
- package/dist/{parakeetRunner-2EJUIMOJ.js → parakeetRunner-T65S6FW3.js} +14 -14
- package/dist/{pipeline-QGKOJKXS.js → pipeline-DUVRZGIM.js} +12 -9
- package/dist/{play-2SQLHM5B.js → play-27R6RBSK.js} +21 -21
- package/dist/{policies-PKLD4UW5.js → policies-NWIEUGGW.js} +1 -1
- package/dist/{preflight-ZHXMG2SM.js → preflight-QB6NKBBL.js} +9 -9
- package/dist/{present-RERVL6R7.js → present-RHV3FKI5.js} +16 -16
- package/dist/{preview-S6RQOMHE.js → preview-IAKIXYLN.js} +23 -23
- package/dist/{producer-DBRGH2FI.js → producer-F6PHB4M4.js} +1 -1
- package/dist/{projectConfig-TUMDULTL.js → projectConfig-MPHWYY5D.js} +7 -7
- package/dist/{publication-7VGXIFVZ.js → publication-CBAEINEG.js} +4 -3
- package/dist/{publish-KJB2AGHL.js → publish-4A2A6V7Z.js} +15 -15
- package/dist/{refresh-3IRHJEQA.js → refresh-F7FUCXLX.js} +3 -3
- package/dist/{remove-background-EFWXPLS4.js → remove-background-3I7RZGVG.js} +12 -10
- package/dist/{render-5O5ARP6C.js → render-2HYATL32.js} +20 -20
- package/dist/{render-HV6AA22W.js → render-BGPUHBFC.js} +6 -5
- package/dist/{render-7S6UBLOE.js → render-BSKLHCZ4.js} +58 -38
- package/dist/{render-batch-7UEOULJJ.js → render-batch-JD6C3BDD.js} +7 -6
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-HFTEER5V.js → resolver-SQYR7LII.js} +6 -5
- package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
- package/dist/{sherpa-HSSM76FL.js → sherpa-VXD3DAH4.js} +13 -13
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/{skills-RQO5K6WL.js → skills-B2SHEHWL.js} +7 -7
- package/dist/{skillsUpdateCheck-S5WL2YLZ.js → skillsUpdateCheck-ST43UUPK.js} +5 -5
- package/dist/{snapshot-4RGI235E.js → snapshot-USJYNKDM.js} +63 -54
- package/dist/{src-D75YYW2M.js → src-5OX35WPG.js} +7 -7
- package/dist/{src-ALOV4D57.js → src-PX3VIS7K.js} +10 -4
- package/dist/{staticProjectServer-DIHWPJ6B.js → staticProjectServer-ET7H5LMV.js} +16 -16
- package/dist/{status-DTP6ZYDU.js → status-QVDRHXW2.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-CMH8OeX2.js → hyperframes-player-DUpxahTX.js} +1 -1
- package/dist/studio/assets/{index-DjHzuJGR.js → index-B4dcZZAm.js} +1 -1
- package/dist/studio/assets/{index-DQam8zzE.js → index-CtrcjpbM.js} +5 -5
- package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-A2VSWTVF.js → studio-api-PLKYSG2X.js} +8 -8
- package/dist/{studioServer-PECYWZHS.js → studioServer-CNUXGRFS.js} +57 -57
- package/dist/{telemetry-YDGXGOLH.js → telemetry-DGDEJLGL.js} +5 -5
- package/dist/{telemetry-6BPSGY5W.js → telemetry-EJS5PXH2.js} +2 -2
- package/dist/{timeline-5WUEEKZ3.js → timeline-VCQC4TLM.js} +18 -18
- package/dist/{tokens-XVFZPIUZ.js → tokens-AEOBCDW5.js} +2 -2
- package/dist/{transcribe-QWDUIJWK.js → transcribe-COFCB3ZB.js} +19 -19
- package/dist/{transcribe-TTJ6CDQT.js → transcribe-X6O5ZSGQ.js} +11 -11
- package/dist/{updateCheck-P7STSJ6Q.js → updateCheck-BW7MDUXZ.js} +4 -4
- package/dist/{upgrade-NEIZ3KVL.js → upgrade-QXOGA54H.js} +4 -4
- package/dist/{urlDownloader-ZZFNGZNG.js → urlDownloader-QB3TBIQ5.js} +4 -4
- package/dist/{validate-T2SLBOXG.js → validate-AU2BZ7D7.js} +24 -24
- package/dist/{video-7OHSBSRT.js → video-GNNYAL5T.js} +6 -6
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
- package/dist/chunk-ZXTSUXSL.js +0 -4870
|
@@ -6,23 +6,23 @@ 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-32BLIKEV.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
launchManagedBrowser,
|
|
18
|
-
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-4BXEPVSA.js";
|
|
15
|
+
} from "./chunk-WOFTAZSZ.js";
|
|
20
16
|
import {
|
|
21
17
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TDEORHFN.js";
|
|
23
19
|
import {
|
|
24
20
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BYZPLQSX.js";
|
|
22
|
+
import {
|
|
23
|
+
launchManagedBrowser,
|
|
24
|
+
resolveManagedGpuMode
|
|
25
|
+
} from "./chunk-TGFDRZTM.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
36
36
|
import {
|
|
37
37
|
resolveNaturalMediaTimelineDuration
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QRC7IVBC.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-SE2MXV2N.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UA3YNZK6.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-E63BDV4Z.js";
|
|
49
49
|
|
|
50
50
|
// src/commands/validate.ts
|
|
51
51
|
import { existsSync, mkdtempSync, readFileSync, rmSync } from "fs";
|
|
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
248
248
|
async function localizeRemoteAssets(html) {
|
|
249
249
|
let dir;
|
|
250
250
|
try {
|
|
251
|
-
const { loadProducer } = await import("./producer-
|
|
251
|
+
const { loadProducer } = await import("./producer-F6PHB4M4.js");
|
|
252
252
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
253
253
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
254
254
|
const assetDir = dir;
|
|
@@ -269,9 +269,9 @@ async function localizeRemoteAssets(html) {
|
|
|
269
269
|
}
|
|
270
270
|
async function validateInBrowser(project, opts) {
|
|
271
271
|
const projectDir = project.dir;
|
|
272
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
273
|
-
const { ensureBrowser } = await import("./manager-
|
|
274
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
272
|
+
const { bundleToSingleHtml } = await import("./compiler-IL2PZJFH.js");
|
|
273
|
+
const { ensureBrowser } = await import("./manager-LQXZTUTJ.js");
|
|
274
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-ET7H5LMV.js");
|
|
275
275
|
const { lintProject } = await import("./lintProject-KCN7MRBN.js");
|
|
276
276
|
const lintResult = await lintProject(projectDir);
|
|
277
277
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
|
|
|
293
293
|
try {
|
|
294
294
|
const browser = await ensureBrowser();
|
|
295
295
|
const puppeteer = await import("puppeteer-core");
|
|
296
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
296
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-PX3VIS7K.js");
|
|
297
297
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
298
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
298
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-KVYO4OU4.js");
|
|
299
299
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
300
300
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
301
301
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
runCancellableProcess,
|
|
9
9
|
runRenderSetupWorker
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-X6JUUQCM.js";
|
|
11
11
|
import {
|
|
12
12
|
getFreeDiskMb
|
|
13
13
|
} from "./chunk-QSFWGZG6.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-ERUQ3S6D.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeErrorMessage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E63BDV4Z.js";
|
|
22
22
|
|
|
23
23
|
// src/browser/manager.ts
|
|
24
24
|
import { execSync, spawnSync } from "child_process";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W4E3ZOWH.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_CONFIG,
|
|
18
18
|
resolvePageNavigationTimeout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-I3PNZDKR.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFps
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5ZJGEQGS.js";
|
|
23
23
|
|
|
24
24
|
// src/browser/windowsCrash.ts
|
|
25
25
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A2H5EJZM.js";
|
|
10
10
|
import {
|
|
11
11
|
requestCliExit
|
|
12
12
|
} from "./chunk-JVBRJMOP.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
oneProcessOverPipe,
|
|
19
19
|
pipeLaunchClosedOnMac,
|
|
20
20
|
sandboxDeniedRemediation
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-I3PNZDKR.js";
|
|
22
22
|
import {
|
|
23
23
|
processIsAlive
|
|
24
24
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -26,8 +26,9 @@ import {
|
|
|
26
26
|
withHyperframesBrowserMarker
|
|
27
27
|
} from "./chunk-K4MJX7SR.js";
|
|
28
28
|
import {
|
|
29
|
-
normalizeErrorMessage
|
|
30
|
-
|
|
29
|
+
normalizeErrorMessage,
|
|
30
|
+
notePageCrash
|
|
31
|
+
} from "./chunk-E63BDV4Z.js";
|
|
31
32
|
|
|
32
33
|
// src/browser/chromeTree.ts
|
|
33
34
|
import { execFile } from "child_process";
|
|
@@ -261,6 +262,8 @@ async function launchOwnedBrowser(puppeteer, options) {
|
|
|
261
262
|
if (watchdog) watchdogs.set(browser, watchdog);
|
|
262
263
|
gracefulClose.set(browser, browser.close.bind(browser));
|
|
263
264
|
browser.close = () => closeManagedBrowser(browser);
|
|
265
|
+
const newPage = browser.newPage;
|
|
266
|
+
browser.newPage = async (...args) => closeOnRendererCrash(await newPage.apply(browser, args));
|
|
264
267
|
child.once("exit", () => {
|
|
265
268
|
browsers.delete(browser);
|
|
266
269
|
destroyBrowserPipes(child);
|
|
@@ -272,6 +275,13 @@ async function launchOwnedBrowser(puppeteer, options) {
|
|
|
272
275
|
pending.delete(launch);
|
|
273
276
|
}
|
|
274
277
|
}
|
|
278
|
+
function closeOnRendererCrash(page) {
|
|
279
|
+
page.once("error", () => {
|
|
280
|
+
notePageCrash();
|
|
281
|
+
page.close().catch(() => void 0);
|
|
282
|
+
});
|
|
283
|
+
return page;
|
|
284
|
+
}
|
|
275
285
|
function untilLaunchOrAbort(launch, signal) {
|
|
276
286
|
const aborted = new Promise((_, reject) => {
|
|
277
287
|
if (signal.aborted) reject(signal.reason);
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
readConfig,
|
|
12
12
|
readConfigFresh,
|
|
13
13
|
writeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P6EXMN5D.js";
|
|
15
15
|
import {
|
|
16
16
|
isDevMode
|
|
17
17
|
} from "./chunk-ISN5GRYI.js";
|
|
18
18
|
import {
|
|
19
19
|
VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AG566TRI.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/updateCheck.ts
|
|
23
23
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AG566TRI.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -4,25 +4,25 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
launchManagedBrowser,
|
|
9
|
-
resolveManagedGpuMode,
|
|
10
|
-
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-4BXEPVSA.js";
|
|
12
7
|
import {
|
|
13
8
|
gotoWhenSent
|
|
14
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7J6LQ3SQ.js";
|
|
15
10
|
import {
|
|
16
11
|
pageNavigationTimeoutMs,
|
|
17
12
|
windowsChromeCrashRemediation
|
|
18
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TDEORHFN.js";
|
|
19
14
|
import {
|
|
20
15
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BYZPLQSX.js";
|
|
17
|
+
import {
|
|
18
|
+
launchManagedBrowser,
|
|
19
|
+
resolveManagedGpuMode,
|
|
20
|
+
rethrowAfterBrowserCleanup
|
|
21
|
+
} from "./chunk-TGFDRZTM.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveLocalBrowserGpuMode,
|
|
24
24
|
resolveLocalWebGpu
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-A2H5EJZM.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
28
28
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
assertWebGpuAdapterAvailable,
|
|
31
31
|
compositionRequiresWebGpu,
|
|
32
32
|
oneProcessOverPipe
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-I3PNZDKR.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-E63BDV4Z.js";
|
|
37
37
|
|
|
38
38
|
// src/capture/captureCompositionFrame.ts
|
|
39
39
|
import { spawn } from "child_process";
|
|
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
138
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
139
139
|
});
|
|
140
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
141
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-PX3VIS7K.js");
|
|
142
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
143
143
|
await waitForImagesReady(
|
|
144
144
|
page,
|
|
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
187
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
188
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
189
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
190
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-ET7H5LMV.js")).inProcessAnswer(url);
|
|
191
191
|
const noListen = answer !== void 0;
|
|
192
192
|
let chromeBrowser;
|
|
193
193
|
try {
|
|
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
198
198
|
options.onBrowserReady?.();
|
|
199
199
|
const page = await chromeBrowser.newPage();
|
|
200
200
|
await installPageFunctionGuard(page);
|
|
201
|
-
const { installMediaRenderIdBridge } = await import("./src-
|
|
201
|
+
const { installMediaRenderIdBridge } = await import("./src-PX3VIS7K.js");
|
|
202
202
|
await installMediaRenderIdBridge(page);
|
|
203
203
|
await page.setViewport(viewport);
|
|
204
204
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
@@ -214,10 +214,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
214
214
|
}
|
|
215
215
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
216
216
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
217
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
217
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-LQXZTUTJ.js");
|
|
218
218
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
219
219
|
const puppeteer = await import("puppeteer-core");
|
|
220
|
-
const { buildChromeArgs } = await import("./src-
|
|
220
|
+
const { buildChromeArgs } = await import("./src-PX3VIS7K.js");
|
|
221
221
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
222
222
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
223
223
|
let softwareWebGpu = false;
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-57QUPSP2.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JHNBF2HD.js";
|
|
17
17
|
import {
|
|
18
18
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QRC7IVBC.js";
|
|
20
20
|
import {
|
|
21
21
|
CSS_URL_RE,
|
|
22
22
|
isNonRelativeUrl,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
readConfig,
|
|
35
35
|
telemetryRuntimeOverride,
|
|
36
36
|
writeConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-P6EXMN5D.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-AG566TRI.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I3PNZDKR.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-XCIHCPJK.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5ZJGEQGS.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -159,24 +159,29 @@ function loadInstalled(dir, name) {
|
|
|
159
159
|
}
|
|
160
160
|
function pinnedPackageBesideCli(name, cliUrl = import.meta.url) {
|
|
161
161
|
const req = createRequire(cliUrl);
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
const pinnedFolder = (req.resolve.paths(name) ?? []).find(
|
|
163
|
+
(dir) => hasPinnedVersion(join(dir, name), name)
|
|
164
|
+
);
|
|
165
|
+
if (pinnedFolder === void 0) return null;
|
|
166
|
+
const copy = realpathSync(join(pinnedFolder, name));
|
|
167
|
+
const inside = (resolve) => {
|
|
164
168
|
try {
|
|
165
|
-
|
|
169
|
+
const entry2 = realpathSync(resolve());
|
|
170
|
+
return entry2.startsWith(copy + sep) ? entry2 : null;
|
|
166
171
|
} catch {
|
|
167
|
-
|
|
168
|
-
return copy2 && hasPinnedVersion(copy2, name) ? { resolution: "package", path: realpathSync(copy2) } : null;
|
|
172
|
+
return null;
|
|
169
173
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} catch {
|
|
174
|
-
return null;
|
|
175
|
-
}
|
|
174
|
+
};
|
|
175
|
+
const entry = inside(() => createRequire(join(copy, "package.json")).resolve(name)) ?? inside(() => req.resolve(copy));
|
|
176
|
+
return entry ? { resolution: "entry", path: entry } : { resolution: "package", path: copy };
|
|
176
177
|
}
|
|
177
178
|
function hasPinnedVersion(copy, name) {
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
try {
|
|
180
|
+
const manifest = readFileSync(join(copy, "package.json"), "utf-8");
|
|
181
|
+
return JSON.parse(manifest).version === PINNED_PACKAGES[name];
|
|
182
|
+
} catch {
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
180
185
|
}
|
|
181
186
|
function loadBesideCli(name, cliUrl = import.meta.url) {
|
|
182
187
|
const copy = pinnedPackageBesideCli(name, cliUrl);
|
|
@@ -11,8 +11,10 @@ import {
|
|
|
11
11
|
failUsage
|
|
12
12
|
} from "./chunk-JVBRJMOP.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
PRORES_PROFILE_NAMES,
|
|
15
|
+
appendRateCapArgs,
|
|
16
|
+
isProresProfile
|
|
17
|
+
} from "./chunk-I3PNZDKR.js";
|
|
16
18
|
|
|
17
19
|
// src/utils/deliveryFlags.ts
|
|
18
20
|
var deliveryFlagArgs = {
|
|
@@ -27,6 +29,10 @@ var deliveryFlagArgs = {
|
|
|
27
29
|
"buffer-size": {
|
|
28
30
|
type: "string",
|
|
29
31
|
description: "Buffer for --max-bitrate, such as 16M (default: twice --max-bitrate)."
|
|
32
|
+
},
|
|
33
|
+
"prores-profile": {
|
|
34
|
+
type: "string",
|
|
35
|
+
description: `MOV ProRes profile: ${PRORES_PROFILE_NAMES.join(", ")} (default 4444, keeps alpha; the others drop it).`
|
|
30
36
|
}
|
|
31
37
|
};
|
|
32
38
|
function parseDeliveryFlags(args) {
|
|
@@ -45,6 +51,17 @@ function parseDeliveryFlags(args) {
|
|
|
45
51
|
}
|
|
46
52
|
values.keyframeIntervalSeconds = seconds;
|
|
47
53
|
}
|
|
54
|
+
const profile = args["prores-profile"]?.trim();
|
|
55
|
+
if (profile !== void 0) {
|
|
56
|
+
if (!isProresProfile(profile)) {
|
|
57
|
+
errorBox(
|
|
58
|
+
"Invalid prores-profile",
|
|
59
|
+
`Got "${profile}". Must be one of ${PRORES_PROFILE_NAMES.join(", ")}.`
|
|
60
|
+
);
|
|
61
|
+
failUsage();
|
|
62
|
+
}
|
|
63
|
+
values.proresProfile = profile;
|
|
64
|
+
}
|
|
48
65
|
if (maxBitrate !== void 0) values.maxBitrate = maxBitrate;
|
|
49
66
|
if (bufferSize !== void 0) values.bufferSize = bufferSize;
|
|
50
67
|
try {
|
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
finishCheckSnapshots,
|
|
18
18
|
preResolveHostileMediaProxies,
|
|
19
19
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EQPXSSNG.js";
|
|
21
21
|
import {
|
|
22
22
|
collectProjectMedia,
|
|
23
23
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HP7BXJFZ.js";
|
|
25
25
|
import {
|
|
26
26
|
captureArtifactRevision
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BN22WCAF.js";
|
|
28
28
|
import {
|
|
29
29
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PCPMSUW6.js";
|
|
31
31
|
import {
|
|
32
32
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
33
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
mergeSampleTimes,
|
|
49
49
|
parseAt,
|
|
50
50
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MA447PNF.js";
|
|
52
52
|
import {
|
|
53
53
|
findingAtRoot,
|
|
54
54
|
findingElementKey,
|
|
@@ -57,26 +57,26 @@ import {
|
|
|
57
57
|
} from "./chunk-TQBQYO4L.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-32BLIKEV.js";
|
|
61
61
|
import {
|
|
62
62
|
recordArtifacts
|
|
63
63
|
} from "./chunk-J7A73K2B.js";
|
|
64
|
+
import {
|
|
65
|
+
withRemainingBudget
|
|
66
|
+
} from "./chunk-EHSBBBR2.js";
|
|
64
67
|
import {
|
|
65
68
|
BrowserCleanupError,
|
|
66
69
|
closeManagedBrowser,
|
|
67
70
|
onStopSignal,
|
|
68
71
|
registerBrowserSessionCleanup
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import {
|
|
71
|
-
withRemainingBudget
|
|
72
|
-
} from "./chunk-EHSBBBR2.js";
|
|
72
|
+
} from "./chunk-TGFDRZTM.js";
|
|
73
73
|
import {
|
|
74
74
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-A2H5EJZM.js";
|
|
76
76
|
import {
|
|
77
77
|
trackCheckReport,
|
|
78
78
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-F7IWJMIO.js";
|
|
80
80
|
import {
|
|
81
81
|
swallowedFlagUsageError
|
|
82
82
|
} from "./chunk-GDZA4ALG.js";
|
|
@@ -96,17 +96,17 @@ import {
|
|
|
96
96
|
import {
|
|
97
97
|
extractMediaMetadata,
|
|
98
98
|
findHdrAutoPromotion
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-I3PNZDKR.js";
|
|
100
100
|
import {
|
|
101
101
|
lintProject,
|
|
102
102
|
shouldBlockRender
|
|
103
103
|
} from "./chunk-P327BIJR.js";
|
|
104
104
|
import {
|
|
105
105
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-UA3YNZK6.js";
|
|
107
107
|
import {
|
|
108
108
|
normalizeErrorMessage
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-E63BDV4Z.js";
|
|
110
110
|
|
|
111
111
|
// src/commands/check.ts
|
|
112
112
|
import { randomUUID } from "crypto";
|
|
@@ -429,7 +429,17 @@ function filmFinding(code, time, message, extra = {}) {
|
|
|
429
429
|
}
|
|
430
430
|
function detectFirstFrameEmpty(frames) {
|
|
431
431
|
const first = frames[0];
|
|
432
|
-
if (!first || first.time > 1e-3
|
|
432
|
+
if (!first || first.time > 1e-3) return [];
|
|
433
|
+
if (first.coveredBy) {
|
|
434
|
+
return [
|
|
435
|
+
filmFinding(
|
|
436
|
+
"first_frame_empty",
|
|
437
|
+
0,
|
|
438
|
+
`Frame 0 is covered by ${first.coveredBy}: an opaque element over the canvas hides every other clip, and the first frame is the thumbnail on social players. Move it below the content; see canvas_covered.`
|
|
439
|
+
)
|
|
440
|
+
];
|
|
441
|
+
}
|
|
442
|
+
if (first.painted) return [];
|
|
433
443
|
return [
|
|
434
444
|
filmFinding(
|
|
435
445
|
"first_frame_empty",
|
|
@@ -2334,7 +2344,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2334
2344
|
};
|
|
2335
2345
|
}
|
|
2336
2346
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2337
|
-
const module = await import("./checkBrowser-
|
|
2347
|
+
const module = await import("./checkBrowser-JRADOMED.js");
|
|
2338
2348
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2339
2349
|
}
|
|
2340
2350
|
var adoptedBrowser;
|
|
@@ -2348,7 +2358,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2348
2358
|
if (adopted) return adopted;
|
|
2349
2359
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2350
2360
|
if (html === void 0) return void 0;
|
|
2351
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2361
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-7357PUMG.js");
|
|
2352
2362
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2353
2363
|
}
|
|
2354
2364
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2360,11 +2370,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2360
2370
|
return relative(projectDir, path);
|
|
2361
2371
|
}
|
|
2362
2372
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2363
|
-
const module = await import("./checkBrowser-
|
|
2373
|
+
const module = await import("./checkBrowser-JRADOMED.js");
|
|
2364
2374
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2365
2375
|
}
|
|
2366
2376
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2367
|
-
const module = await import("./checkBrowser-
|
|
2377
|
+
const module = await import("./checkBrowser-JRADOMED.js");
|
|
2368
2378
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2369
2379
|
}
|
|
2370
2380
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2386,7 +2396,7 @@ function collectMedia(project) {
|
|
|
2386
2396
|
return collectProjectMedia(project.dir);
|
|
2387
2397
|
}
|
|
2388
2398
|
async function inspectAudio(project, media) {
|
|
2389
|
-
const module = await import("./checkAudio-
|
|
2399
|
+
const module = await import("./checkAudio-GAA2SY5E.js");
|
|
2390
2400
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2391
2401
|
}
|
|
2392
2402
|
function audioCheckFailure(project, error) {
|
|
@@ -2438,7 +2448,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2438
2448
|
}
|
|
2439
2449
|
},
|
|
2440
2450
|
async prepareMedia(project, options) {
|
|
2441
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2451
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F5VQMFHZ.js");
|
|
2442
2452
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2443
2453
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2444
2454
|
},
|