hyperframes 0.8.191 → 0.8.192
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-S2ZQYG52.js → add-TZU2UW7A.js} +17 -17
- package/dist/{animatedGifPrep-3JA2CQ3U.js → animatedGifPrep-NLAXC3VV.js} +11 -10
- package/dist/api.js +24 -23
- package/dist/{appHistory-TH3TL6N6.js → appHistory-QVCSAOI4.js} +1 -1
- package/dist/{asset-2CNTAPOC.js → asset-JAJXA6LB.js} +2 -2
- package/dist/{assetCataloger-5HXLXL7C.js → assetCataloger-4WTX3J4I.js} +13 -12
- package/dist/{audio-DZTSYHXS.js → audio-XLWC7JKS.js} +22 -21
- package/dist/{auth-GX3M6TJ4.js → auth-5K6X3NPJ.js} +4 -4
- package/dist/{autoUpdate-EDIWE4Z5.js → autoUpdate-RNV7SKGB.js} +4 -4
- package/dist/{backgroundChecks-VPUPJ7UI.js → backgroundChecks-QXLVZVGX.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-JHIIDBJR.js → batchRender-THKSPDZR.js} +14 -7
- package/dist/{beats-PZRVTRYW.js → beats-K7CGCFVL.js} +53 -15
- package/dist/{benchmark-22UFDW2N.js → benchmark-PHRDIXNL.js} +18 -14
- package/dist/{browser-VRDWYIUM.js → browser-GN6R5ZSK.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-23QDKFSN.js → bundleWithLocalizedFonts-C325UNR4.js} +3 -3
- package/dist/{capture-TOCLXYMJ.js → capture-6UBQFHZQ.js} +76 -68
- package/dist/{capture-NFCBXHDE.js → capture-BZ7APOGQ.js} +3 -3
- package/dist/{captureCompositionFrame-BEM6MF7F.js → captureCompositionFrame-VORSCTWC.js} +17 -16
- package/dist/{catalog-NXS35KM7.js → catalog-PHU2RUZ3.js} +18 -18
- package/dist/{catch-up-6WJBUI2C.js → catch-up-HCNRM46J.js} +7 -7
- package/dist/{check-WVEBMWN5.js → check-TJ5ZLB4I.js} +43 -42
- package/dist/{checkBrowser-RT45HJ36.js → checkBrowser-DWP7ZXJ7.js} +38 -37
- package/dist/{chunk-KAC2WR7P.js → chunk-2HP5GIQ3.js} +3 -3
- package/dist/{chunk-2WNVHZHA.js → chunk-2J3NA3OB.js} +13 -13
- package/dist/{chunk-B2A56S5C.js → chunk-2MCXIY4B.js} +13 -10
- package/dist/{chunk-DCAI5DBR.js → chunk-2ST4WAFY.js} +9 -1
- package/dist/{chunk-3NRB7YXW.js → chunk-2VXY3PEF.js} +96 -67
- package/dist/{chunk-LBNEH6IQ.js → chunk-32NB4VMH.js} +1 -1
- package/dist/{chunk-IXLUTE6N.js → chunk-3422KMTD.js} +5 -1
- package/dist/{chunk-JTPHFYZI.js → chunk-3CXIX6XS.js} +68 -7
- package/dist/{chunk-MSM6VRQ4.js → chunk-3FV5BVWS.js} +2 -2
- package/dist/{chunk-7ZJEQY7Q.js → chunk-4E75LHAL.js} +23 -3
- package/dist/{chunk-TMBUBLZB.js → chunk-4HCJOFMB.js} +166 -46
- package/dist/{chunk-JJJCFKMF.js → chunk-5IPKQHOL.js} +17 -6
- package/dist/{chunk-WQ3X5OH4.js → chunk-5TRFLZ5Z.js} +2 -2
- package/dist/{chunk-HRPWRZGF.js → chunk-6N65ZMC5.js} +1 -1
- package/dist/{chunk-XUXGIA7H.js → chunk-6NLPPKBO.js} +1 -2
- package/dist/{chunk-RE3EEBWC.js → chunk-6WNLQI63.js} +4 -4
- package/dist/{chunk-7FF36MAD.js → chunk-6XVKMBUA.js} +9 -6
- package/dist/{chunk-7NKJS5KM.js → chunk-7JJMT6LN.js} +1 -1
- package/dist/{chunk-JOLZ3BSL.js → chunk-7LLRMYP6.js} +2 -2
- package/dist/{chunk-COETAXRN.js → chunk-7RSY7SZN.js} +2 -2
- package/dist/{chunk-JGTRVG32.js → chunk-7UZC4N62.js} +1 -1
- package/dist/{chunk-XWOCXIKR.js → chunk-A4OI5ZNX.js} +1 -1
- package/dist/{chunk-VYQYVYQ5.js → chunk-AEXVVABM.js} +83 -45
- package/dist/{chunk-DOOSC34Z.js → chunk-AMZJFCOX.js} +8 -8
- package/dist/{chunk-OV6KHXLX.js → chunk-AR46ND2Q.js} +1 -1
- package/dist/chunk-B2XLXD7V.js +3897 -0
- package/dist/{chunk-XMSQRDAK.js → chunk-BEOK6F26.js} +2 -2
- package/dist/{chunk-U5GTDAQL.js → chunk-BPKLUHFT.js} +7 -7
- package/dist/{chunk-TFGO5YMI.js → chunk-BV6YE455.js} +2 -2
- package/dist/{chunk-XGHHVYC7.js → chunk-BY6OQ6XP.js} +2 -2
- package/dist/{chunk-JQYJXUJW.js → chunk-C6KE4AFW.js} +1 -1
- package/dist/{chunk-TMK4Q7JA.js → chunk-CFUCHO4T.js} +20 -5
- package/dist/{chunk-KV72BP7O.js → chunk-CXRZBWSH.js} +11 -11
- package/dist/chunk-CZGHFATT.js +31 -0
- package/dist/{chunk-CYBXXSC4.js → chunk-DIKAPMMF.js} +2 -2
- package/dist/{chunk-7L37AB57.js → chunk-E3P3LJG6.js} +9 -9
- package/dist/{chunk-JYSSPQDT.js → chunk-E5V6WEMK.js} +11 -11
- package/dist/{chunk-T5YF32WV.js → chunk-EKGGSAWR.js} +6 -5
- package/dist/{chunk-7KVVNF7B.js → chunk-ELP5QZWL.js} +1 -1
- package/dist/{chunk-QH3T4WI2.js → chunk-EXAX37XR.js} +8 -2
- package/dist/{chunk-EI7FP7F3.js → chunk-FBVUAH7N.js} +12 -2
- package/dist/{chunk-W3CS2KFV.js → chunk-GANST5K3.js} +2 -2
- package/dist/{chunk-3WJT2JCX.js → chunk-IMSI7IFW.js} +52 -23
- package/dist/{chunk-W64L7IFS.js → chunk-IW5G323T.js} +1 -1
- package/dist/{chunk-RWYUK7LM.js → chunk-J2ASTCU6.js} +2 -2
- package/dist/{chunk-3XI7MIZB.js → chunk-J2BSUF6X.js} +1 -1
- package/dist/{chunk-WY3TQ2PT.js → chunk-JCDYDF54.js} +2 -2
- package/dist/{chunk-ALEF2F5N.js → chunk-K2AKVYNR.js} +2 -2
- package/dist/{chunk-TADJOIFW.js → chunk-KZOZN4PI.js} +4 -4
- package/dist/{chunk-CINKQY6M.js → chunk-L2YGSAOL.js} +3 -3
- package/dist/{chunk-AQB5M53R.js → chunk-LOKCBZYF.js} +3 -3
- package/dist/{chunk-7A65UCMI.js → chunk-MEE4NTPZ.js} +2 -2
- package/dist/{chunk-GM3WIOO6.js → chunk-MGBUWPXX.js} +2 -2
- package/dist/{chunk-ZHKUIC7X.js → chunk-MVIJTXN5.js} +21 -14
- package/dist/{chunk-SMEF3TRJ.js → chunk-ODBYZIOH.js} +15 -15
- package/dist/{chunk-NJGTNWQY.js → chunk-OQL4AJ4X.js} +6 -6
- package/dist/{chunk-5C7R55BJ.js → chunk-P2I4RLJE.js} +1 -1
- package/dist/{chunk-7LUJE3II.js → chunk-PFRG5P32.js} +1 -1
- package/dist/{chunk-RUOG4VB7.js → chunk-PKZ7RK5N.js} +5 -4
- package/dist/{chunk-LLFQA7XF.js → chunk-QFPBRZJD.js} +1 -1
- package/dist/{chunk-TJKE4EYX.js → chunk-QWLES6YV.js} +3 -3
- package/dist/{chunk-NMDUSCCE.js → chunk-QX4TB4NH.js} +160 -56
- package/dist/{chunk-CXMXJEVY.js → chunk-R2U2G4OS.js} +1 -1
- package/dist/{chunk-46HEFGXJ.js → chunk-REUL2KH2.js} +1 -1
- package/dist/{chunk-KGMHMYWI.js → chunk-RHYOWDI6.js} +2 -2
- package/dist/{chunk-DYAPHNV6.js → chunk-RWGASWT7.js} +1 -1
- package/dist/chunk-RXATE6FZ.js +385 -0
- package/dist/{chunk-EFCKV7MY.js → chunk-SBBQFPCJ.js} +1 -1
- package/dist/{chunk-KHCTBZGJ.js → chunk-SK7TR7BL.js} +4 -4
- package/dist/{chunk-KNU5COPB.js → chunk-T2EUWCJE.js} +1 -1
- package/dist/{chunk-TRZVS6TL.js → chunk-T6O5OLN2.js} +3 -3
- package/dist/{chunk-TFMZ4RKM.js → chunk-ULTKB5FC.js} +23 -12
- package/dist/{chunk-UNR3P7IF.js → chunk-VNPADTDD.js} +3 -3
- package/dist/{chunk-BFFLKQVB.js → chunk-VOM2HLUI.js} +4 -4
- package/dist/{chunk-GLG5JWLI.js → chunk-VRAXIQ6I.js} +2 -2
- package/dist/{chunk-NAUKCKCJ.js → chunk-W24SZ5FL.js} +4 -4
- package/dist/{chunk-COWQITWP.js → chunk-WOKVXK4J.js} +1 -1
- package/dist/{chunk-WJEVUPVD.js → chunk-XF77MK3J.js} +1 -1
- package/dist/{chunk-HYW6HTAK.js → chunk-XX2PA4L3.js} +2 -2
- package/dist/{chunk-RQBB7PYT.js → chunk-YMQQXPD5.js} +2 -2
- package/dist/{chunk-WHAEJX26.js → chunk-YWRQHRDY.js} +17 -12
- package/dist/{chunk-FBDOHH3Q.js → chunk-ZEMDV6W2.js} +29 -59
- package/dist/{clean-3VIU2BSK.js → clean-2RNCTDBT.js} +40 -27
- package/dist/cli.js +69 -67
- package/dist/{cloud-NA3J4XW2.js → cloud-NFIKESNZ.js} +4 -4
- package/dist/{cloudrun-4MHOF7UT.js → cloudrun-7224BCX3.js} +9 -9
- package/dist/commands/contrast-audit.browser.js +1 -1
- package/dist/{compare-ZR7XRPPT.js → compare-HL44MXVX.js} +76 -47
- package/dist/{compiler-MA2ELZPG.js → compiler-WF5QTXV7.js} +8 -7
- package/dist/{component-ZJSOPUAM.js → component-ZBZXSJBR.js} +3 -3
- package/dist/{compositions-WA5V2SHF.js → compositions-76P7LDDX.js} +19 -17
- package/dist/{contactSheet-CAGMKI3E.js → contactSheet-43ISAESM.js} +2 -2
- package/dist/{delete-UC427UEA.js → delete-4YZBYOHJ.js} +7 -7
- package/dist/{deploy-B5UO4UIK.js → deploy-UGUUGYLF.js} +1 -1
- package/dist/{deterministicFonts-EGAAE7QL.js → deterministicFonts-RO2TCMLZ.js} +3 -3
- package/dist/{dist-BPK37SAB.js → dist-5KKCRFPT.js} +5 -5
- package/dist/{dist-XGPSPKKP.js → dist-QQ26RUDV.js} +5 -4
- package/dist/{doctor-ZERCTKEK.js → doctor-GGVUK4NB.js} +20 -19
- package/dist/{events-DCOZQERS.js → events-OXPTHVDB.js} +4 -4
- package/dist/{events-CNIXB2QK.js → events-V2VU4J3B.js} +5 -5
- package/dist/{feedback-YBD5ITTY.js → feedback-HFZ5SCUK.js} +16 -16
- package/dist/{ffmpeg-V4BBFDTG.js → ffmpeg-3VHY7GO3.js} +13 -12
- package/dist/{figma-Z45ZYVGE.js → figma-7SEZTLBJ.js} +3 -3
- package/dist/fontLocalizeCli.js +14 -13
- package/dist/{get-23NXQWCD.js → get-Y2S2PXCM.js} +7 -7
- package/dist/{gpuPolicy-H6ABHVEB.js → gpuPolicy-UHPOWRV5.js} +11 -10
- package/dist/{grade-compare-ZPX2G3UV.js → grade-compare-4VTXSQM5.js} +38 -37
- package/dist/{gsapParserAcorn-SKODXC2N.js → gsapParserAcorn-OOTY2MVN.js} +2 -2
- package/dist/{help-EP4CDPLO.js → help-HXNOACHI.js} +1 -1
- package/dist/{history-E5OSXO74.js → history-XDJUI4LC.js} +39 -16
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +59 -59
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/hyperframes-slideshow.global.js +1 -1
- package/dist/{info-2HHGSW5H.js → info-KYRI3EZV.js} +56 -22
- package/dist/{init-ENEG6RZT.js → init-IL7EWMT5.js} +38 -45
- package/dist/{inspect-PVQK4E2A.js → inspect-TBNH23UC.js} +36 -35
- package/dist/{installer-YGGLEOSF.js → installer-O2YMFSI4.js} +8 -8
- package/dist/{keyframes-UWSYS2SL.js → keyframes-4GF62KAJ.js} +13 -14
- package/dist/{lambda-L3LPXC2M.js → lambda-JFL6M4XZ.js} +11 -11
- package/dist/{layout-JVL4QREC.js → layout-7MAEFR65.js} +36 -35
- package/dist/{lint-JXQ72DDB.js → lint-4AYHKYAM.js} +23 -16
- package/dist/{lintProject-F7IC7WY4.js → lintProject-52SLJPRC.js} +5 -4
- package/dist/{list-UFMLM3VV.js → list-3DP3D3MW.js} +7 -7
- package/dist/{login-CKGMWQJN.js → login-T54WQYRQ.js} +7 -7
- package/dist/{logout-DDC4QLVK.js → logout-JYFWWUGK.js} +3 -3
- package/dist/{manager-UHWEKPXC.js → manager-MZIJY73J.js} +3 -3
- package/dist/{manager-U6OP3EXB.js → manager-QROK2IH3.js} +14 -13
- package/dist/{media-treatment-MFMEWCDY.js → media-treatment-4CXF7MSG.js} +20 -19
- package/dist/{models-QA3TJ75Y.js → models-IS3I6JKU.js} +18 -17
- package/dist/{motionShot-NV2OPJHD.js → motionShot-DVYJZOTQ.js} +21 -20
- package/dist/{normalize-3AYFSN2F.js → normalize-FASIPBUM.js} +1 -1
- package/dist/{normalize-audio-JWJRUKK2.js → normalize-audio-4527JIK4.js} +12 -8
- package/dist/{open-PTJNDRER.js → open-5JE46SAX.js} +18 -18
- package/dist/{parakeetRunner-B5FCWWOO.js → parakeetRunner-7JIJGJJ7.js} +20 -19
- package/dist/{pipeline-N26NA6ZG.js → pipeline-YEN3WFD2.js} +15 -14
- package/dist/{play-45D6X6TV.js → play-WFX67I7M.js} +27 -26
- package/dist/{policies-MBWGLMWB.js → policies-GHVXA5PE.js} +1 -1
- package/dist/{preflight-MFOHPUOI.js → preflight-D377HVUZ.js} +15 -14
- package/dist/{present-IFBUDI4D.js → present-XTSEKAC7.js} +24 -23
- package/dist/{preview-MQRLXQOV.js → preview-5XH7EK6O.js} +27 -26
- package/dist/{producer-2QG7HLAW.js → producer-TFFYF4ZM.js} +1 -1
- package/dist/{projectConfig-I4FTZXHB.js → projectConfig-6YUJHMCL.js} +10 -10
- package/dist/{publication-3GOFXCGU.js → publication-JK33Y55E.js} +5 -5
- package/dist/{publish-3B2TZCFH.js → publish-JHDGXWXU.js} +18 -17
- package/dist/{refresh-RXTOPRBB.js → refresh-USSFPJAU.js} +3 -3
- package/dist/{remove-background-RK4BJDBF.js → remove-background-P44MYAPJ.js} +16 -15
- package/dist/{render-BV6FWFX3.js → render-HJ34EGMN.js} +8 -8
- package/dist/{render-PW3XGS7B.js → render-RBINWWP5.js} +42 -41
- package/dist/{render-SJ4HFPFU.js → render-RJ3I4E3A.js} +26 -25
- package/dist/{render-batch-GKX54O6N.js → render-batch-3D6XQYUC.js} +9 -9
- package/dist/renderSetupWorker.js +9 -8
- package/dist/{resolver-RQJ7CNXD.js → resolver-HCLTFZUW.js} +7 -7
- package/dist/{screenshotCapture-UBY6TT75.js → screenshotCapture-I5EDCITF.js} +6 -3
- package/dist/{sherpa-XZPG7QFF.js → sherpa-IPOUJM6Q.js} +19 -18
- package/dist/skills/hyperframes/references/skill-lifecycle.md +8 -4
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/{skills-EYLB2V6F.js → skills-P67QEERC.js} +13 -75
- package/dist/{skillsUpdateCheck-TE6K5ROM.js → skillsUpdateCheck-IFMLRVIF.js} +5 -5
- package/dist/{slideshow-YTWATJRT.js → slideshow-SJGK4RQS.js} +1 -1
- package/dist/{snapshot-FE4T3SCN.js → snapshot-4YM4NNWJ.js} +48 -45
- package/dist/{src-SEJ7LNNB.js → src-DCD3YMXX.js} +13 -12
- package/dist/{src-ZOXSEJCD.js → src-SSV66L3F.js} +14 -9
- package/dist/{staticProjectServer-LSVIRDRO.js → staticProjectServer-C7PPGLEQ.js} +22 -21
- package/dist/{status-CM7IQTU2.js → status-H5WLKQDS.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Bv9hQ3v7.js → hyperframes-player-ChN3cOr0.js} +3 -3
- package/dist/studio/assets/{index-Df14bh-L.js → index-BYbFcRR0.js} +1 -1
- package/dist/studio/assets/{index-D_QqfWhx.js → index-CHu83hHM.js} +122 -122
- package/dist/studio/assets/{index-CBO8uz7-.css → index-CYbvOVp-.css} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-SL2Z76NU.js → studio-api-6YZ7PIQR.js} +17 -14
- package/dist/{studioServer-BADWVIHU.js → studioServer-EWHSE4GC.js} +60 -59
- package/dist/{telemetry-QG5AANZ4.js → telemetry-4K6CPMNT.js} +2 -2
- package/dist/{telemetry-RN6VYEID.js → telemetry-GGLBHZRZ.js} +5 -5
- package/dist/{timeline-JBTCIPLU.js → timeline-NKHQJXJ2.js} +65 -43
- package/dist/{tokens-A7V7UHNK.js → tokens-FWNNDJ6R.js} +2 -2
- package/dist/{transcribe-NTUCJGFI.js → transcribe-TRPKXZ7L.js} +26 -25
- package/dist/{transcribe-E4BOSNM4.js → transcribe-VD2TMMC2.js} +17 -16
- package/dist/{tts-A2WILYGN.js → tts-5I2AJNLM.js} +1 -1
- package/dist/{updateCheck-M7UAYLUR.js → updateCheck-CUPS6LU3.js} +4 -4
- package/dist/{upgrade-A2COSIMB.js → upgrade-23XO6MEX.js} +4 -4
- package/dist/{urlDownloader-MBSQYART.js → urlDownloader-YOAOONCK.js} +10 -9
- package/dist/{validate-NODZYBHY.js → validate-BWIW24G5.js} +30 -29
- package/dist/{video-LBCUUYK7.js → video-XRXJS4GC.js} +12 -11
- package/dist/warmCheck.js +43 -42
- package/package.json +2 -1
- package/dist/chunk-I5JRXMCV.js +0 -6077
- package/dist/chunk-LM265QNK.js +0 -3896
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
} from "./chunk-57GN6KWT.js";
|
|
12
12
|
import {
|
|
13
13
|
captureArtifactRevision
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MEE4NTPZ.js";
|
|
15
15
|
import {
|
|
16
16
|
loadProducer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7UZC4N62.js";
|
|
18
18
|
import {
|
|
19
19
|
trackLintRun
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-L2YGSAOL.js";
|
|
21
21
|
import {
|
|
22
22
|
beginCheckSnapshots,
|
|
23
23
|
checkSnapshotDirectory,
|
|
24
24
|
finishCheckSnapshots,
|
|
25
25
|
preResolveHostileMediaProxies,
|
|
26
26
|
rectToBbox
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MVIJTXN5.js";
|
|
28
28
|
import {
|
|
29
29
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
30
30
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -47,27 +47,27 @@ import {
|
|
|
47
47
|
mergeSampleTimes,
|
|
48
48
|
parseAt,
|
|
49
49
|
readMotionSpec
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-CXRZBWSH.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveProject
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4E75LHAL.js";
|
|
54
54
|
import {
|
|
55
55
|
recordArtifacts
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4HCJOFMB.js";
|
|
57
57
|
import {
|
|
58
58
|
BrowserCleanupError,
|
|
59
59
|
closeManagedBrowser
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-JCDYDF54.js";
|
|
61
61
|
import {
|
|
62
62
|
withRemainingBudget
|
|
63
63
|
} from "./chunk-EHSBBBR2.js";
|
|
64
64
|
import {
|
|
65
65
|
resolveLocalBrowserGpuMode
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-BEOK6F26.js";
|
|
67
67
|
import {
|
|
68
68
|
trackCheckReport,
|
|
69
69
|
trackCommandFailure
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BV6YE455.js";
|
|
71
71
|
import {
|
|
72
72
|
swallowedFlagUsageError
|
|
73
73
|
} from "./chunk-HTIUNMTP.js";
|
|
@@ -87,20 +87,20 @@ import {
|
|
|
87
87
|
import {
|
|
88
88
|
extractMediaMetadata,
|
|
89
89
|
findHdrAutoPromotion
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-QX4TB4NH.js";
|
|
91
91
|
import {
|
|
92
92
|
lintProject,
|
|
93
93
|
shouldBlockRender
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-2VXY3PEF.js";
|
|
95
95
|
import {
|
|
96
96
|
resolveProjectRelativeSrc
|
|
97
97
|
} from "./chunk-6BNTGNGD.js";
|
|
98
98
|
import {
|
|
99
99
|
withMeta
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-2HP5GIQ3.js";
|
|
101
101
|
import {
|
|
102
102
|
normalizeErrorMessage
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-T2EUWCJE.js";
|
|
104
104
|
|
|
105
105
|
// src/commands/check.ts
|
|
106
106
|
import { randomUUID } from "crypto";
|
|
@@ -143,11 +143,18 @@ var CheckDeadline = class {
|
|
|
143
143
|
phase = "waiting";
|
|
144
144
|
work;
|
|
145
145
|
spent = /* @__PURE__ */ new Map();
|
|
146
|
+
partials = [];
|
|
146
147
|
constructor() {
|
|
147
148
|
this.expiry = new Promise((_, reject) => {
|
|
148
149
|
this.rejectExpiry = reject;
|
|
149
150
|
});
|
|
150
151
|
}
|
|
152
|
+
keepPartial = (read) => {
|
|
153
|
+
this.partials.push(read);
|
|
154
|
+
};
|
|
155
|
+
partialResult() {
|
|
156
|
+
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
157
|
+
}
|
|
151
158
|
enter = (phase) => {
|
|
152
159
|
if (this.expired) return;
|
|
153
160
|
const now = Date.now();
|
|
@@ -613,7 +620,7 @@ function round(value) {
|
|
|
613
620
|
|
|
614
621
|
// src/utils/hdrPromotion.ts
|
|
615
622
|
async function bundleProjectHtml(projectDir) {
|
|
616
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
623
|
+
const { bundleToSingleHtml } = await import("./compiler-WF5QTXV7.js");
|
|
617
624
|
return bundleToSingleHtml(projectDir);
|
|
618
625
|
}
|
|
619
626
|
async function collectBundledRenderMedia(html) {
|
|
@@ -973,7 +980,7 @@ async function collectSampleAt(driver, options, grid, motion, sets, time) {
|
|
|
973
980
|
await collectContrastAt(driver, options, time, issuesAtTime, collected);
|
|
974
981
|
return collected;
|
|
975
982
|
}
|
|
976
|
-
async function collectGridSamples(driver, options, grid, motion, helpers, enter, report) {
|
|
983
|
+
async function collectGridSamples(driver, options, grid, motion, helpers, enter, report, keep) {
|
|
977
984
|
const geometryEnabled = grid.captionSamples.length > 0 || grid.frameSamples.length > 0;
|
|
978
985
|
const sets = {
|
|
979
986
|
layout: new Set(grid.layoutSamples),
|
|
@@ -984,6 +991,17 @@ async function collectGridSamples(driver, options, grid, motion, helpers, enter,
|
|
|
984
991
|
const times = mergeSampleTimes(grid.layoutSamples, motion.times);
|
|
985
992
|
const pending = times.map((_, index) => index);
|
|
986
993
|
const perTime = [];
|
|
994
|
+
keep(() => {
|
|
995
|
+
const so = emptyGridSamples();
|
|
996
|
+
for (const samples of perTime) if (samples) appendGridSamples(so, samples);
|
|
997
|
+
const contrast = buildContrastResults(so.contrastEntries);
|
|
998
|
+
return {
|
|
999
|
+
layoutIssues: so.layoutIssues,
|
|
1000
|
+
contrastFindings: contrast.findings,
|
|
1001
|
+
contrastChecked: so.contrastEntries.length,
|
|
1002
|
+
contrastPassed: contrast.passed
|
|
1003
|
+
};
|
|
1004
|
+
});
|
|
987
1005
|
let finished = 0;
|
|
988
1006
|
const work = async (worker, taken = []) => {
|
|
989
1007
|
for (let index = pending.shift(); index !== void 0; index = pending.shift()) {
|
|
@@ -1607,6 +1625,7 @@ function disabledCraft() {
|
|
|
1607
1625
|
}
|
|
1608
1626
|
async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([]), enter = () => {
|
|
1609
1627
|
}, report = () => {
|
|
1628
|
+
}, keep = () => {
|
|
1610
1629
|
}) {
|
|
1611
1630
|
enter("samples");
|
|
1612
1631
|
await driver.initialize(options.contrast);
|
|
@@ -1617,7 +1636,16 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
|
|
|
1617
1636
|
grid.duration
|
|
1618
1637
|
);
|
|
1619
1638
|
const seekLoopStart = Date.now();
|
|
1620
|
-
const collected = await collectGridSamples(
|
|
1639
|
+
const collected = await collectGridSamples(
|
|
1640
|
+
driver,
|
|
1641
|
+
options,
|
|
1642
|
+
grid,
|
|
1643
|
+
plan,
|
|
1644
|
+
helpers,
|
|
1645
|
+
enter,
|
|
1646
|
+
report,
|
|
1647
|
+
keep
|
|
1648
|
+
);
|
|
1621
1649
|
const seekLoopMs = Date.now() - seekLoopStart;
|
|
1622
1650
|
let motionIssues = plan.preflightIssues;
|
|
1623
1651
|
if (motion.kind === "valid" && plan.assertions.length > 0 && collected.motionFrames.length > 0) {
|
|
@@ -1757,8 +1785,9 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
|
|
|
1757
1785
|
() => dependencies.runBrowserCheck(project, options, motion, deadline, browserAhead)
|
|
1758
1786
|
);
|
|
1759
1787
|
} catch (error) {
|
|
1760
|
-
|
|
1761
|
-
browser.
|
|
1788
|
+
const found = deadline.partialResult();
|
|
1789
|
+
browser = { ...emptyBrowserResult(), ...found, skipped: Object.keys(found).length === 0 };
|
|
1790
|
+
browser.runtimeFindings = [...browser.runtimeFindings, runtimeFailure(error)];
|
|
1762
1791
|
}
|
|
1763
1792
|
const snapshotFiles = options.snapshots ? await writeContrastSnapshots(dependencies, project.dir, browser) : [];
|
|
1764
1793
|
const report = buildReport(
|
|
@@ -2162,7 +2191,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2162
2191
|
};
|
|
2163
2192
|
}
|
|
2164
2193
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2165
|
-
const module = await import("./checkBrowser-
|
|
2194
|
+
const module = await import("./checkBrowser-DWP7ZXJ7.js");
|
|
2166
2195
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2167
2196
|
}
|
|
2168
2197
|
var adoptedBrowser;
|
|
@@ -2176,7 +2205,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2176
2205
|
if (adopted) return adopted;
|
|
2177
2206
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2178
2207
|
if (html === void 0) return void 0;
|
|
2179
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2208
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-VORSCTWC.js");
|
|
2180
2209
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2181
2210
|
}
|
|
2182
2211
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2188,7 +2217,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2188
2217
|
return relative(projectDir, path);
|
|
2189
2218
|
}
|
|
2190
2219
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2191
|
-
const module = await import("./checkBrowser-
|
|
2220
|
+
const module = await import("./checkBrowser-DWP7ZXJ7.js");
|
|
2192
2221
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2193
2222
|
}
|
|
2194
2223
|
var DEFAULT_DEPENDENCIES2 = {
|
|
@@ -2227,7 +2256,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2227
2256
|
}
|
|
2228
2257
|
},
|
|
2229
2258
|
async prepareMedia(project, options) {
|
|
2230
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2259
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-C325UNR4.js");
|
|
2231
2260
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2232
2261
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2233
2262
|
},
|
|
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setHostHandlesSigint
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QX4TB4NH.js";
|
|
10
10
|
import {
|
|
11
11
|
processAncestorSnapshot,
|
|
12
12
|
processIdentity,
|
|
13
13
|
processParentPid
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IW5G323T.js";
|
|
15
15
|
import {
|
|
16
16
|
processIsAlive
|
|
17
17
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
} from "./chunk-DKPNNYBZ.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveCaptureBrowserGpuMode
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BEOK6F26.js";
|
|
18
18
|
import {
|
|
19
19
|
requestCliExit
|
|
20
20
|
} from "./chunk-JVBRJMOP.js";
|
|
21
21
|
import {
|
|
22
22
|
normalizeErrorMessage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-T2EUWCJE.js";
|
|
24
24
|
import {
|
|
25
25
|
processIsAlive
|
|
26
26
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2J3NA3OB.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B2XLXD7V.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VRAXIQ6I.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DIKAPMMF.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RWGASWT7.js";
|
|
22
22
|
import {
|
|
23
23
|
getFreeDiskMb
|
|
24
24
|
} from "./chunk-T6AGUTZJ.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VAS6HQX3.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeErrorMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-T2EUWCJE.js";
|
|
33
33
|
|
|
34
34
|
// src/browser/preflight.ts
|
|
35
35
|
import { existsSync } from "fs";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BV6YE455.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GANST5K3.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2VXY3PEF.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
stoppedByCancelSignal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J2ASTCU6.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_MODEL,
|
|
12
12
|
ensureModel,
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
hasFFmpeg,
|
|
15
15
|
pinnedWhisperModel,
|
|
16
16
|
sha256File
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PFRG5P32.js";
|
|
18
18
|
import {
|
|
19
19
|
findFFmpeg,
|
|
20
20
|
findFFprobe,
|
|
21
21
|
getFFmpegInstallHint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VRAXIQ6I.js";
|
|
23
23
|
import {
|
|
24
24
|
findWavChunk
|
|
25
25
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7LLRMYP6.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4HCJOFMB.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B2XLXD7V.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
isTextElement,
|
|
18
18
|
keyframesToGsapAnimations,
|
|
19
19
|
serializeGsapAnimations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2MCXIY4B.js";
|
|
21
21
|
import {
|
|
22
22
|
COMPOSITION_ATTRIBUTES,
|
|
23
23
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CXRZBWSH.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ODBYZIOH.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EKGGSAWR.js";
|
|
19
19
|
import {
|
|
20
20
|
artifactDirectory,
|
|
21
21
|
finishSnapshotRun
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4HCJOFMB.js";
|
|
23
23
|
import {
|
|
24
24
|
FfmpegUnavailableError,
|
|
25
25
|
decideMediaProxyEligibility,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
proxyVariantFor,
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7RSY7SZN.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIT_SEEK_OPTIONS,
|
|
33
33
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
seekCompositionTimeline,
|
|
42
42
|
seekInPage,
|
|
43
43
|
waitForPreferredSeekTarget
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E5V6WEMK.js";
|
|
45
45
|
import {
|
|
46
46
|
BrowserCleanupError,
|
|
47
47
|
closeManagedBrowser
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JCDYDF54.js";
|
|
49
49
|
import {
|
|
50
50
|
findStageProxyBox
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-WOKVXK4J.js";
|
|
52
52
|
import {
|
|
53
53
|
resolveAutoProxy
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-5IPKQHOL.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-T2EUWCJE.js";
|
|
58
58
|
|
|
59
59
|
// src/utils/checkProgress.ts
|
|
60
60
|
function logCheckProgress(stage, done, total) {
|
|
@@ -389,7 +389,7 @@ function proxyFailedDraft(message) {
|
|
|
389
389
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
390
390
|
}
|
|
391
391
|
async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
|
|
392
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
392
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-C325UNR4.js");
|
|
393
393
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
394
394
|
deadline?.enter("copies");
|
|
395
395
|
const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
|
|
@@ -435,8 +435,14 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
435
435
|
const page = session.page;
|
|
436
436
|
await waitForPreferredSeekTarget(page);
|
|
437
437
|
const rootAnchor = await resolveRootAnchor(page);
|
|
438
|
+
deadline?.keepPartial(() => ({
|
|
439
|
+
runtimeFindings: dropFailedProxyEchoes(
|
|
440
|
+
keepBrokenImageAborts(drafts, /* @__PURE__ */ new Set()),
|
|
441
|
+
failedPaths
|
|
442
|
+
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
443
|
+
}));
|
|
438
444
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
439
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
445
|
+
const { analyzeClipMediaFit } = await import("./src-SSV66L3F.js");
|
|
440
446
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
441
447
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
442
448
|
}
|
|
@@ -454,7 +460,8 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
454
460
|
motion,
|
|
455
461
|
helpers,
|
|
456
462
|
deadline?.enter,
|
|
457
|
-
logCheckProgress
|
|
463
|
+
logCheckProgress,
|
|
464
|
+
deadline?.keepPartial
|
|
458
465
|
);
|
|
459
466
|
helperSession?.stop();
|
|
460
467
|
const helper = await helperOpen?.catch(() => void 0);
|
|
@@ -552,7 +559,7 @@ function mergeHelperDrafts(primary, helper) {
|
|
|
552
559
|
}
|
|
553
560
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
554
561
|
if (requests.length === 0) return [];
|
|
555
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
562
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-C325UNR4.js");
|
|
556
563
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
557
564
|
const server = await serveStaticProjectHtml(
|
|
558
565
|
project.dir,
|
|
@@ -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-4E75LHAL.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E5V6WEMK.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JCDYDF54.js";
|
|
20
20
|
import {
|
|
21
21
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QWLES6YV.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveCompositionViewportFromHtml
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WOKVXK4J.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-B2XLXD7V.js";
|
|
39
39
|
import {
|
|
40
40
|
decodeWellFormedEscapes
|
|
41
41
|
} from "./chunk-BSQ7XANM.js";
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-2HP5GIQ3.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-T2EUWCJE.js";
|
|
49
49
|
|
|
50
50
|
// src/commands/validate.ts
|
|
51
51
|
import { existsSync, mkdtempSync, readFileSync, rmSync } from "fs";
|
|
@@ -239,7 +239,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
239
239
|
async function localizeRemoteAssets(html) {
|
|
240
240
|
let dir;
|
|
241
241
|
try {
|
|
242
|
-
const { loadProducer } = await import("./producer-
|
|
242
|
+
const { loadProducer } = await import("./producer-TFFYF4ZM.js");
|
|
243
243
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
244
244
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
245
245
|
const assetDir = dir;
|
|
@@ -260,10 +260,10 @@ async function localizeRemoteAssets(html) {
|
|
|
260
260
|
}
|
|
261
261
|
async function validateInBrowser(project, opts) {
|
|
262
262
|
const projectDir = project.dir;
|
|
263
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
264
|
-
const { ensureBrowser } = await import("./manager-
|
|
265
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
266
|
-
const { lintProject } = await import("./lintProject-
|
|
263
|
+
const { bundleToSingleHtml } = await import("./compiler-WF5QTXV7.js");
|
|
264
|
+
const { ensureBrowser } = await import("./manager-MZIJY73J.js");
|
|
265
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-C7PPGLEQ.js");
|
|
266
|
+
const { lintProject } = await import("./lintProject-52SLJPRC.js");
|
|
267
267
|
const lintResult = await lintProject(projectDir);
|
|
268
268
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
269
269
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -284,9 +284,9 @@ async function validateInBrowser(project, opts) {
|
|
|
284
284
|
try {
|
|
285
285
|
const browser = await ensureBrowser();
|
|
286
286
|
const puppeteer = await import("puppeteer-core");
|
|
287
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
287
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-SSV66L3F.js");
|
|
288
288
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
289
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
289
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-UHPOWRV5.js");
|
|
290
290
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
291
291
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
292
292
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -14,33 +14,33 @@ import {
|
|
|
14
14
|
} from "./chunk-6JR2XUEE.js";
|
|
15
15
|
import {
|
|
16
16
|
readCompositionFps
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6XVKMBUA.js";
|
|
18
18
|
import {
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QX4TB4NH.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MGBUWPXX.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-B2XLXD7V.js";
|
|
35
35
|
import {
|
|
36
36
|
isSubCompositionHost,
|
|
37
37
|
topLevelElements,
|
|
38
38
|
trackKindOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2MCXIY4B.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveReferencedDuration,
|
|
42
42
|
resolveReferencedStart
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-2VXY3PEF.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveAuthoredAssetFile
|
|
46
46
|
} from "./chunk-6BNTGNGD.js";
|
|
@@ -5,11 +5,12 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
parse,
|
|
9
8
|
simple
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RXATE6FZ.js";
|
|
11
10
|
|
|
12
11
|
// ../parsers/dist/composition.js
|
|
12
|
+
import * as acorn from "acorn";
|
|
13
|
+
import * as acorn2 from "acorn";
|
|
13
14
|
var CANVAS_DIMENSIONS = {
|
|
14
15
|
landscape: { width: 1920, height: 1080 },
|
|
15
16
|
portrait: { width: 1080, height: 1920 },
|
|
@@ -198,9 +199,9 @@ var HTML_BODY_CSS_HEIGHT_FIRST_RE = /(html\s*,\s*body\s*\{[^}]*?height:\s*)(\d+)
|
|
|
198
199
|
var VIEWPORT_META_SIZE_RE = /(<meta[^>]*name=["']viewport["'][^>]*content=["']width=)(\d+)(,\s*height=)(\d+)/i;
|
|
199
200
|
function parseProgram(script) {
|
|
200
201
|
try {
|
|
201
|
-
return parse(script, { ecmaVersion: "latest", sourceType: "script" });
|
|
202
|
+
return acorn2.parse(script, { ecmaVersion: "latest", sourceType: "script" });
|
|
202
203
|
} catch {
|
|
203
|
-
return parse(script, { ecmaVersion: "latest", sourceType: "module" });
|
|
204
|
+
return acorn2.parse(script, { ecmaVersion: "latest", sourceType: "module" });
|
|
204
205
|
}
|
|
205
206
|
}
|
|
206
207
|
function literalString(node) {
|