hyperframes 0.9.13 → 0.9.14
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-PXF5OGLI.js → add-JNKCTPWJ.js} +16 -16
- package/dist/{agentPromptGenerator-DWNK722M.js → agentPromptGenerator-DSF7AEVE.js} +8 -8
- package/dist/{animatedGifPrep-FFBCFFIY.js → animatedGifPrep-BIEUMGB3.js} +8 -8
- package/dist/api.js +45 -23
- package/dist/{asset-FZVMLDSY.js → asset-V6JAJRCF.js} +2 -2
- package/dist/{assetCataloger-FXBZK55R.js → assetCataloger-SCLH2WAC.js} +9 -9
- package/dist/{audio-QYNPBNZQ.js → audio-JX76VDCY.js} +15 -15
- package/dist/{auth-2FBS4QC4.js → auth-TRE4ASYT.js} +2 -2
- package/dist/{autoUpdate-VFGRGQTO.js → autoUpdate-D5UUCIOR.js} +2 -2
- package/dist/{avatars-UVZFK2JR.js → avatars-26EUVWXR.js} +12 -12
- package/dist/{backgroundChecks-FN53YXTW.js → backgroundChecks-RM5GWZIW.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JB3D6X7U.js → batchRender-5ZEQ6U4N.js} +5 -5
- package/dist/{beats-5BJMEGGA.js → beats-3YW7MGZY.js} +22 -14
- package/dist/{benchmark-MP4JGPYM.js → benchmark-MYQTWUO3.js} +10 -10
- package/dist/{billing-XSPWEAYT.js → billing-2X3JNNM4.js} +95 -19
- package/dist/{browser-V4EB7UNU.js → browser-CQSY36GL.js} +3 -3
- package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
- package/dist/{capture-L5TGT4SW.js → capture-IK5GIWOS.js} +20 -23
- package/dist/{capture-SQHH4HBC.js → capture-NWBNWBIX.js} +3 -3
- package/dist/{captureCompositionFrame-BAYKFJMM.js → captureCompositionFrame-KR3PELMO.js} +13 -13
- package/dist/{catalog-OLP2O5W6.js → catalog-2Q73F42B.js} +16 -16
- package/dist/{catch-up-LJWHENVV.js → catch-up-JP3FL3FX.js} +4 -4
- package/dist/{check-KGAKP3H5.js → check-UIMXDUPK.js} +46 -46
- package/dist/{checkAudio-QWBAUBJ2.js → checkAudio-CSX4G35O.js} +12 -12
- package/dist/{checkBrowser-J5UUWIPK.js → checkBrowser-MTCJVJYJ.js} +39 -39
- package/dist/{chunk-5Z7YSZRF.js → chunk-2BDSLTEG.js} +9 -9
- package/dist/{chunk-NXQMN7YC.js → chunk-2L4HQ5K4.js} +1 -1
- package/dist/{chunk-SGLX72IQ.js → chunk-2NHPNI42.js} +10 -10
- package/dist/{chunk-2WGAXAM7.js → chunk-2OIONPKY.js} +3 -3
- package/dist/{chunk-MJEE2WSS.js → chunk-2SYOEZ2Z.js} +2 -2
- package/dist/{chunk-O4Q44I77.js → chunk-2YT656R2.js} +6 -6
- package/dist/{chunk-VIEMTLSI.js → chunk-35RZMUTX.js} +7 -7
- package/dist/{chunk-U7AB4D6T.js → chunk-3B7TDQEW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-Z23O7MZ3.js → chunk-3BHDAXDA.js} +4 -8
- package/dist/{chunk-BYWQQMTB.js → chunk-3CXUZSLE.js} +2 -2
- package/dist/{chunk-EP6GCDZ6.js → chunk-4MY6FPX4.js} +1 -1
- package/dist/{chunk-6U6KMYIV.js → chunk-4NE6CBMW.js} +1 -1
- package/dist/{chunk-N2SXD5EG.js → chunk-53UV2EUT.js} +3 -3
- package/dist/{chunk-AR6IO4RY.js → chunk-5ENBFVPD.js} +2 -2
- package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
- package/dist/{chunk-NW5QHUZO.js → chunk-6FOO4QTU.js} +1 -1
- package/dist/{chunk-WCNUB6WU.js → chunk-6OSVMSGV.js} +9 -9
- package/dist/{chunk-XHY36WZF.js → chunk-6UM5C4R6.js} +2 -2
- package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
- package/dist/{chunk-AB6DKVKC.js → chunk-6ZRGEVAM.js} +85 -25
- package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
- package/dist/{chunk-3BLPPIJA.js → chunk-7LQVFIO4.js} +4 -4
- package/dist/{chunk-4HGTJHKB.js → chunk-7NPHPQH5.js} +2 -2
- package/dist/{chunk-CLT3CJKG.js → chunk-AOJBIFKU.js} +1 -1
- package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
- package/dist/{chunk-QVW57TUW.js → chunk-BNUN7KXZ.js} +2 -2
- package/dist/{chunk-2YVIA2BX.js → chunk-BXCPOMS3.js} +9 -7
- package/dist/{chunk-H6FRRSHM.js → chunk-CMPHS5E6.js} +2 -2
- package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
- package/dist/{chunk-CKZVLS3K.js → chunk-CZ5NNJ6H.js} +50 -20
- package/dist/{chunk-F6PFZMQU.js → chunk-D3FZQL5R.js} +8 -8
- package/dist/{chunk-TX3JT67F.js → chunk-DD47NQJZ.js} +1 -1
- package/dist/{chunk-EQSUX64Q.js → chunk-DSIGJUNY.js} +1 -1
- package/dist/{chunk-ZPJVKYDL.js → chunk-DTU4XJNP.js} +3 -3
- package/dist/{chunk-BE7Y3PJZ.js → chunk-DTZSKJV5.js} +3 -3
- package/dist/{chunk-6PGTJG3M.js → chunk-DVJUBMS7.js} +1 -1
- package/dist/{chunk-KUXOAS4Z.js → chunk-DX4OFRBN.js} +41 -37
- package/dist/{chunk-Y3ICFPFK.js → chunk-EAO46VPT.js} +3 -3
- package/dist/{chunk-M6JFR7KF.js → chunk-EOCFNE53.js} +21 -32
- package/dist/{chunk-LTBBFLOM.js → chunk-FC2OXEBQ.js} +1 -1
- package/dist/{chunk-N43XGFAZ.js → chunk-FF3VKFCN.js} +126 -66
- package/dist/{chunk-WSZWPYRG.js → chunk-FQFWGAON.js} +2 -2
- package/dist/{chunk-OPOYDJEW.js → chunk-FZRTCVU6.js} +1 -1
- package/dist/{chunk-FJIN5OWZ.js → chunk-GY7D2OEQ.js} +2 -2
- package/dist/chunk-HNZ2FZIB.js +45 -0
- package/dist/{chunk-7S2LS53F.js → chunk-HVIQQCLM.js} +13 -13
- package/dist/{chunk-7WSL3PT3.js → chunk-HZSAOL5O.js} +2 -2
- package/dist/{chunk-UPI2MZ5L.js → chunk-I5PI43EI.js} +1 -1
- package/dist/{chunk-MGAGDEBC.js → chunk-IO3BC2ZK.js} +1 -1
- package/dist/{chunk-JGTJEQ5X.js → chunk-IPZ3QGDO.js} +2 -2
- package/dist/{chunk-GPHY5R35.js → chunk-K5CK4G75.js} +3 -3
- package/dist/{chunk-RBF3AF7R.js → chunk-L24GJQNZ.js} +16 -12
- package/dist/chunk-LSUM6RTW.js +20 -0
- package/dist/{chunk-KHF5WT6E.js → chunk-LZYXYJMX.js} +1 -1
- package/dist/{chunk-H4VII7WN.js → chunk-M34AOUVK.js} +5 -5
- package/dist/{chunk-ITDHT7AO.js → chunk-MWPPZOY5.js} +4 -4
- package/dist/{chunk-2IB3XVAR.js → chunk-MY2W7VWC.js} +14 -14
- package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
- package/dist/{chunk-3SZZLHHM.js → chunk-NBUPR3ZF.js} +1 -1
- package/dist/{chunk-YHID4CM3.js → chunk-NLEIM52W.js} +83 -21
- package/dist/{chunk-TBXV7O3Z.js → chunk-NWFIYKEI.js} +4 -4
- package/dist/{chunk-N7EA7GWU.js → chunk-O4ONYFY3.js} +1 -1
- package/dist/{chunk-AIK4ETUZ.js → chunk-O4ZD7TVR.js} +17 -1
- package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
- package/dist/{chunk-ZMRRTWKP.js → chunk-PA27AW3Y.js} +1 -1
- package/dist/{chunk-YMP5FTA3.js → chunk-PCY67JUL.js} +303 -29
- package/dist/{chunk-RADODJYB.js → chunk-PYPW33ET.js} +2 -2
- package/dist/{chunk-C5VZTKW2.js → chunk-QSEHVJFA.js} +67 -211
- package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
- package/dist/{chunk-MBX3BHW3.js → chunk-SAAJ2O7A.js} +1 -1
- package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
- package/dist/{chunk-WGQW65DO.js → chunk-SSBAETRX.js} +5 -5
- package/dist/{chunk-LGVUQ4GC.js → chunk-T32JKZX3.js} +3 -3
- package/dist/{chunk-NR2W7HUH.js → chunk-T4FLVFQE.js} +1 -1
- package/dist/{chunk-KWGOABKQ.js → chunk-TESXTEV5.js} +1 -1
- package/dist/{chunk-2IATDUYU.js → chunk-TRK77R5G.js} +1 -1
- package/dist/{chunk-T5ZEMZ3K.js → chunk-TTBCQFRY.js} +2 -2
- package/dist/{chunk-7AMCGJDM.js → chunk-U22NZEQV.js} +1 -1
- package/dist/{chunk-2ASPXS4U.js → chunk-VD5G4Y6U.js} +1 -1
- package/dist/{chunk-RL52TNCM.js → chunk-W7ITBVJE.js} +2 -2
- package/dist/{chunk-SXAZR7M4.js → chunk-WAH2X7FF.js} +2 -2
- package/dist/{chunk-HTSVFS4G.js → chunk-WXYV47JX.js} +2 -2
- package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
- package/dist/{chunk-SM4F4H3T.js → chunk-X46MRJYK.js} +1 -1
- package/dist/{chunk-EZCMP7NJ.js → chunk-XMOWL46H.js} +1 -1
- package/dist/{chunk-SFO4FLUG.js → chunk-YBR4L5JA.js} +1 -1
- package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
- package/dist/{chunk-7Z7SREEU.js → chunk-ZE2QZHUH.js} +1 -1
- package/dist/{chunk-RWQEWEOV.js → chunk-ZNHWAGMH.js} +1 -1
- package/dist/{chunk-NMYRVKIL.js → chunk-ZSAKJRZB.js} +5 -5
- package/dist/{chunk-472XCBCV.js → chunk-ZZBO3GF5.js} +2 -2
- package/dist/{clean-NNYMY7FD.js → clean-P3SZCIFU.js} +20 -20
- package/dist/cli.js +60 -60
- package/dist/{cloud-6FBCPI3B.js → cloud-G7YQIVI7.js} +4 -4
- package/dist/{cloudrun-D4V4TV6S.js → cloudrun-LXZT5UDK.js} +7 -7
- package/dist/{compare-J3JV4AZ3.js → compare-BHQHEOMX.js} +35 -35
- package/dist/{compiler-5ANBCHB7.js → compiler-V72QWKGC.js} +5 -5
- package/dist/{component-QFREWBT5.js → component-6GDCT3GK.js} +3 -3
- package/dist/{compositions-NUTRZGAZ.js → compositions-JM6HKCRF.js} +12 -12
- package/dist/{curve-LR4THVRF.js → curve-Y7JRXLIJ.js} +12 -12
- package/dist/{cuts-5WPLSRM2.js → cuts-LDVDQTRL.js} +13 -13
- package/dist/{delete-KLIVMSTG.js → delete-NCZIKWHU.js} +2 -2
- package/dist/{deploy-CDWKRTWY.js → deploy-R4OEJEB6.js} +5 -2
- package/dist/{describeProject-YJEOPIW7.js → describeProject-4GKZTYHA.js} +10 -10
- package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
- package/dist/{diff-KY6T2E32.js → diff-C53GPSNU.js} +42 -24
- package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
- package/dist/{dist-TQKOMXXI.js → dist-TI44VPHO.js} +3 -3
- package/dist/{dist-GVCHAZJU.js → dist-TJZSSDR2.js} +13 -13
- package/dist/{doctor-HLG4AP3Q.js → doctor-V4RICWU2.js} +12 -12
- package/dist/{energy-3T3DDIEN.js → energy-S5Z7CGSB.js} +13 -13
- package/dist/{events-LB2RDZX3.js → events-6HROTYLC.js} +11 -3
- package/dist/{events-HZG5BWCQ.js → events-QKJE5XRN.js} +2 -2
- package/dist/{events-ZZNUYUCY.js → events-RAJGQK7Y.js} +14 -14
- package/dist/{extract-7STXIEDI.js → extract-RYGWEC5V.js} +13 -13
- package/dist/{face-3DWRLSWO.js → face-IWRDW2QO.js} +13 -13
- package/dist/{feedback-4V2HGHTZ.js → feedback-HQTDLLPE.js} +9 -9
- package/dist/{ffmpeg-5BWHEWVW.js → ffmpeg-BX334YEK.js} +8 -8
- package/dist/{figma-4SSCW6YU.js → figma-P6U76KGI.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-V3OUCXX6.js → frames-G2WYTVWV.js} +14 -14
- package/dist/{generate-W4HW4MJQ.js → generate-ZUE2AVOB.js} +35 -16
- package/dist/{get-FXFV3VDQ.js → get-7C3UC46A.js} +2 -2
- package/dist/{gpuPolicy-X4BOE2HD.js → gpuPolicy-5ZVYYWXN.js} +8 -8
- package/dist/{grade-compare-PV62LISL.js → grade-compare-IS3OVI7R.js} +39 -39
- package/dist/{heifImagePrep-2K2I4SCP.js → heifImagePrep-FBLLKI3P.js} +9 -9
- package/dist/{help-R2ASMVJB.js → help-2MPB27YU.js} +1 -1
- package/dist/{history-X24EZSOO.js → history-Q5EBBFPW.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-DJ6TZSEF.js → info-TNG5QGFC.js} +9 -9
- package/dist/{init-GQ2GRVQS.js → init-UFPBBWC7.js} +37 -32
- package/dist/{ink-L4VRIFJ7.js → ink-UTPJHGZR.js} +13 -13
- package/dist/{inspect-5IXDDOJN.js → inspect-KXKKPWKX.js} +37 -37
- package/dist/{installer-ZIBXFENP.js → installer-UTFXM6KP.js} +7 -7
- package/dist/{keyframes-ASFH5XYJ.js → keyframes-S6V36BW6.js} +6 -6
- package/dist/{lambda-ELYE5XIZ.js → lambda-XWHALRKM.js} +13 -13
- package/dist/{layout-NNGVQWY4.js → layout-SSVKZKCZ.js} +37 -37
- package/dist/{lint-GYJFRDI2.js → lint-OQWGRKG5.js} +9 -9
- package/dist/{lintProject-NGMRZDNT.js → lintProject-Z2TEXMY4.js} +3 -3
- package/dist/{list-UBFDCTVO.js → list-FYLBMEL7.js} +2 -2
- package/dist/{localPage-DHAVU3EM.js → localPage-4GSU6N3J.js} +8 -8
- package/dist/{login-OKJT7QWG.js → login-JKFCYHRS.js} +4 -4
- package/dist/{look-4GINLBBO.js → look-WQ2DOKXH.js} +13 -13
- package/dist/{manager-Q5X74T5D.js → manager-F4F4A734.js} +9 -9
- package/dist/{measure-LICRA4FH.js → measure-XIFLTAMC.js} +11 -11
- package/dist/{media-treatment-PM3WLJZ4.js → media-treatment-S3LHQSQQ.js} +16 -16
- package/dist/{media-use-NUORYIBQ.js → media-use-NFM3ZXCF.js} +3 -3
- package/dist/{models-V2XJYFY5.js → models-G4KNLV66.js} +12 -12
- package/dist/{motionShot-YBJB6L3C.js → motionShot-IJGA5CBH.js} +16 -16
- package/dist/{normalize-audio-LUAEDEUM.js → normalize-audio-UP54N6J4.js} +11 -11
- package/dist/{open-RTL2AU5C.js → open-TAEKCYDB.js} +16 -16
- package/dist/{parakeetRunner-FBEL64JM.js → parakeetRunner-WFA4K7BH.js} +13 -13
- package/dist/{pipeline-2VN2FDAL.js → pipeline-SNENB5MZ.js} +11 -11
- package/dist/{play-U3EXVEC7.js → play-QTYMY453.js} +27 -27
- package/dist/{preflight-Z3U5OGW3.js → preflight-CZUKW3CW.js} +9 -9
- package/dist/{present-NXEDFMC4.js → present-KVHQECWG.js} +19 -19
- package/dist/{preview-AUDJW3KE.js → preview-6U62DM4P.js} +24 -24
- package/dist/{probe-QQXAWDZG.js → probe-UCVL3JDC.js} +13 -13
- package/dist/{producer-DNWWPGFA.js → producer-A4RPG3XL.js} +1 -1
- package/dist/{projectConfig-FMXOJBJY.js → projectConfig-FIW6FPZW.js} +10 -10
- package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
- package/dist/{publish-7HSXMQEF.js → publish-VKSABRA4.js} +18 -15
- package/dist/{remove-background-AIYMKXZW.js → remove-background-CJJ54SHA.js} +12 -12
- package/dist/{render-RMPWJTY4.js → render-2YY64XPU.js} +346 -64
- package/dist/{render-SAAQKFHE.js → render-G54RA46B.js} +202 -35
- package/dist/{render-FD7LHCCC.js → render-I2MWX5GH.js} +7 -7
- package/dist/{render-batch-WPHP27VT.js → render-batch-X562GNRH.js} +10 -10
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-E7IHSWCQ.js → resolver-GC4ZLQPV.js} +7 -7
- package/dist/{reverse-GHX5LUSV.js → reverse-2KZQ65Y7.js} +1 -1
- package/dist/{sherpa-QQZMXXO5.js → sherpa-SLRKS4SR.js} +12 -12
- package/dist/skills/hyperframes/SKILL.md +3 -1
- package/dist/skills/hyperframes/references/format.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/media-use/SKILL.md +2 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +2 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +2 -2
- package/dist/{skills-WCXVUM6C.js → skills-SOXKW42T.js} +6 -6
- package/dist/{skillsUpdateCheck-PEVW2JO6.js → skillsUpdateCheck-4RUEBT6B.js} +3 -3
- package/dist/{snapshot-2ACZXDLZ.js → snapshot-KIWJWZGW.js} +48 -48
- package/dist/{src-WISBTYBV.js → src-ABVBEVVK.js} +12 -12
- package/dist/{src-DA2HOM3K.js → src-DYWF24IK.js} +7 -7
- package/dist/{start-DDOWW7K5.js → start-EADJCDST.js} +49 -27
- package/dist/{staticProjectServer-MQ7H4MGQ.js → staticProjectServer-UCHJYCR6.js} +24 -24
- package/dist/{status-74IZXJKQ.js → status-E4OUQSHN.js} +45 -2
- package/dist/studio/assets/{hyperframes-player-B2_9tPTr.js → hyperframes-player-CfYFgHV8.js} +1 -1
- package/dist/studio/assets/{index-DToBQdGg.js → index-COfhX0Gz.js} +4 -4
- package/dist/studio/assets/{index-BHe_y2lu.js → index-Cj5x3rVD.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-UABUZ3PZ.js → studio-api-RGOTUJXP.js} +13 -13
- package/dist/{studioServer-FGXZA75B.js → studioServer-72COILB5.js} +61 -61
- package/dist/{sync-AVGYYG4D.js → sync-5Z5OQFB3.js} +13 -13
- package/dist/{telemetry-7IM2NV22.js → telemetry-OQ2JM37Y.js} +3 -3
- package/dist/{templates-5CWKOSBX.js → templates-YH5CUHHN.js} +45 -2
- package/dist/{timeline-A7R54T7C.js → timeline-IWU2T2BX.js} +21 -21
- package/dist/{tokens-W6RQVKWV.js → tokens-F7IBDWGE.js} +2 -2
- package/dist/{transcribe-N2C2MYCG.js → transcribe-GL3J3JB3.js} +11 -11
- package/dist/{transcribe-GPOMREHS.js → transcribe-YXDOCF32.js} +32 -20
- package/dist/{update-X643YOPS.js → update-MR5NL567.js} +7 -7
- package/dist/{updateCheck-O7IUSOXN.js → updateCheck-ONT2ZVAF.js} +2 -2
- package/dist/{upgrade-6NWYJUFT.js → upgrade-BJEGLKQS.js} +3 -3
- package/dist/{urlDownloader-PFHIVGDF.js → urlDownloader-3PV5WURP.js} +7 -7
- package/dist/{validate-IIFU6OEG.js → validate-GTTWJYCS.js} +26 -26
- package/dist/{video-R6TSXZMN.js → video-VP6X6YL5.js} +9 -9
- package/dist/{voices-Y572PKNN.js → voices-3EO2NQ5Q.js} +33 -14
- package/dist/warmCheck.js +46 -46
- package/package.json +1 -1
- package/dist/chunk-TSCUYZ4B.js +0 -29
|
@@ -6,28 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseTimeoutMs,
|
|
9
|
-
pngDimensions
|
|
10
|
-
|
|
11
|
-
reportArtifacts,
|
|
12
|
-
withProjectLock
|
|
13
|
-
} from "./chunk-KUXOAS4Z.js";
|
|
9
|
+
pngDimensions
|
|
10
|
+
} from "./chunk-HNZ2FZIB.js";
|
|
14
11
|
import {
|
|
12
|
+
CheckCopiesUnfinishedError,
|
|
13
|
+
CheckDeadline,
|
|
14
|
+
CheckDeadlineError,
|
|
15
|
+
CheckStoppedError,
|
|
15
16
|
beginCheckSnapshots,
|
|
16
17
|
checkSnapshotDirectory,
|
|
17
18
|
finishCheckSnapshots,
|
|
19
|
+
idleWindow,
|
|
18
20
|
preResolveHostileMediaProxies,
|
|
19
21
|
rectToBbox
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PCY67JUL.js";
|
|
21
23
|
import {
|
|
22
24
|
collectProjectMedia,
|
|
23
25
|
mediaPath
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3CXUZSLE.js";
|
|
25
27
|
import {
|
|
26
|
-
captureArtifactRevision
|
|
27
|
-
|
|
28
|
+
captureArtifactRevision,
|
|
29
|
+
readToolContext,
|
|
30
|
+
reportArtifacts,
|
|
31
|
+
withProjectLock
|
|
32
|
+
} from "./chunk-DX4OFRBN.js";
|
|
28
33
|
import {
|
|
29
34
|
trackLintRun
|
|
30
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DTZSKJV5.js";
|
|
31
36
|
import {
|
|
32
37
|
CONTENT_OVERLAP_HELD_ERROR_MS,
|
|
33
38
|
DEFAULT_MAX_STATIC_SEC,
|
|
@@ -48,7 +53,7 @@ import {
|
|
|
48
53
|
mergeSampleTimes,
|
|
49
54
|
parseAt,
|
|
50
55
|
readMotionSpec
|
|
51
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-2BDSLTEG.js";
|
|
52
57
|
import {
|
|
53
58
|
findingAtRoot,
|
|
54
59
|
findingElementKey,
|
|
@@ -57,26 +62,22 @@ import {
|
|
|
57
62
|
} from "./chunk-TQBQYO4L.js";
|
|
58
63
|
import {
|
|
59
64
|
resolveProject
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import {
|
|
62
|
-
withRemainingBudget
|
|
63
|
-
} from "./chunk-YGGZ23BB.js";
|
|
65
|
+
} from "./chunk-AOJBIFKU.js";
|
|
64
66
|
import {
|
|
65
67
|
recordArtifacts
|
|
66
68
|
} from "./chunk-XLPCBE2Q.js";
|
|
67
69
|
import {
|
|
68
70
|
BrowserCleanupError,
|
|
69
|
-
closeManagedBrowser,
|
|
70
71
|
onStopSignal,
|
|
71
72
|
registerBrowserSessionCleanup
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-HZSAOL5O.js";
|
|
73
74
|
import {
|
|
74
75
|
resolveLocalBrowserGpuMode
|
|
75
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WAH2X7FF.js";
|
|
76
77
|
import {
|
|
77
78
|
trackCheckReport,
|
|
78
79
|
trackCommandFailure
|
|
79
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-O4ZD7TVR.js";
|
|
80
81
|
import {
|
|
81
82
|
swallowedFlagUsageError
|
|
82
83
|
} from "./chunk-UXS7VE75.js";
|
|
@@ -97,13 +98,13 @@ import {
|
|
|
97
98
|
extractMediaMetadata,
|
|
98
99
|
findHdrAutoPromotion,
|
|
99
100
|
gradingKeepsSdr
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
101
102
|
import {
|
|
102
103
|
lintProject
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-CZ5NNJ6H.js";
|
|
104
105
|
import {
|
|
105
106
|
withMeta
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-IO3BC2ZK.js";
|
|
107
108
|
import {
|
|
108
109
|
recordLastCheck
|
|
109
110
|
} from "./chunk-CKEOCCMK.js";
|
|
@@ -125,162 +126,6 @@ import { randomUUID } from "crypto";
|
|
|
125
126
|
import { mkdirSync as mkdirSync2, writeFileSync as writeFileSync2 } from "fs";
|
|
126
127
|
import { join as join2, resolve } from "path";
|
|
127
128
|
|
|
128
|
-
// src/utils/checkDeadline.ts
|
|
129
|
-
var CHECK_IDLE_MS = 12e4;
|
|
130
|
-
var idleWindow = (timeoutMs) => Math.max(CHECK_IDLE_MS, timeoutMs + 1e4);
|
|
131
|
-
var SCRIPT_START = "[hyperframes:script:start] ";
|
|
132
|
-
var SCRIPT_FINISH = "[hyperframes:script:finish] ";
|
|
133
|
-
var PHASE_LABELS = {
|
|
134
|
-
copies: "making video copies",
|
|
135
|
-
launch: "starting Chrome",
|
|
136
|
-
load: "loading the page",
|
|
137
|
-
settle: "waiting for the page to be ready",
|
|
138
|
-
samples: "checking samples",
|
|
139
|
-
analysis: "analyzing the samples",
|
|
140
|
-
overlap: "running the overlap pass",
|
|
141
|
-
crops: "capturing finding crops",
|
|
142
|
-
frames: "capturing finding frames"
|
|
143
|
-
};
|
|
144
|
-
var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
|
|
145
|
-
var CheckDeadlineError = class extends Error {
|
|
146
|
-
constructor(sourceFile, phases = "") {
|
|
147
|
-
super(
|
|
148
|
-
(sourceFile === void 0 ? "Check did not finish within its deadline" : `${sourceFile}: its script did not finish within the check deadline`) + (phases || ".")
|
|
149
|
-
);
|
|
150
|
-
this.sourceFile = sourceFile;
|
|
151
|
-
}
|
|
152
|
-
sourceFile;
|
|
153
|
-
};
|
|
154
|
-
var CheckStoppedError = class extends Error {
|
|
155
|
-
constructor(signal) {
|
|
156
|
-
super(`Check stopped before finishing (${signal}).`);
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
var CheckDeadline = class {
|
|
160
|
-
constructor(idleMs = CHECK_IDLE_MS) {
|
|
161
|
-
this.idleMs = idleMs;
|
|
162
|
-
this.expiry = new Promise((_, reject) => {
|
|
163
|
-
this.rejectExpiry = reject;
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
idleMs;
|
|
167
|
-
abort = new AbortController();
|
|
168
|
-
operations = /* @__PURE__ */ new Set();
|
|
169
|
-
signal = this.abort.signal;
|
|
170
|
-
browsers = /* @__PURE__ */ new Set();
|
|
171
|
-
scripts = [];
|
|
172
|
-
expired;
|
|
173
|
-
timer;
|
|
174
|
-
expiry;
|
|
175
|
-
rejectExpiry;
|
|
176
|
-
phase = "waiting";
|
|
177
|
-
work;
|
|
178
|
-
spent = /* @__PURE__ */ new Map();
|
|
179
|
-
partials = [];
|
|
180
|
-
keepPartial = (read) => {
|
|
181
|
-
this.partials.push(read);
|
|
182
|
-
};
|
|
183
|
-
partialResult() {
|
|
184
|
-
return Object.assign({}, ...this.partials.map((read) => read()));
|
|
185
|
-
}
|
|
186
|
-
enter = (phase, detail) => {
|
|
187
|
-
if (this.expired) return;
|
|
188
|
-
const now = Date.now();
|
|
189
|
-
if (this.work) this.spend(this.work.phase, now - this.work.since);
|
|
190
|
-
this.work = { phase, since: now, detail };
|
|
191
|
-
this.spend(phase, 0);
|
|
192
|
-
this.rearm();
|
|
193
|
-
};
|
|
194
|
-
spend(phase, ms) {
|
|
195
|
-
this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
|
|
196
|
-
}
|
|
197
|
-
describe() {
|
|
198
|
-
if (!this.work) return "";
|
|
199
|
-
const open = Date.now() - this.work.since;
|
|
200
|
-
const parts = [...this.spent].map(([phase, ms]) => {
|
|
201
|
-
const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
|
|
202
|
-
return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
|
|
203
|
-
});
|
|
204
|
-
return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
|
|
205
|
-
}
|
|
206
|
-
start = () => {
|
|
207
|
-
if (this.phase !== "waiting") return;
|
|
208
|
-
this.phase = "started";
|
|
209
|
-
this.enter("load");
|
|
210
|
-
};
|
|
211
|
-
rearm() {
|
|
212
|
-
if (this.phase !== "started" || this.expired) return;
|
|
213
|
-
clearTimeout(this.timer);
|
|
214
|
-
this.timer = setTimeout(
|
|
215
|
-
() => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
|
|
216
|
-
this.idleMs
|
|
217
|
-
);
|
|
218
|
-
}
|
|
219
|
-
expire(error) {
|
|
220
|
-
clearTimeout(this.timer);
|
|
221
|
-
this.expired = error;
|
|
222
|
-
this.rejectExpiry(error);
|
|
223
|
-
this.abort.abort(error);
|
|
224
|
-
}
|
|
225
|
-
stop = (signal) => {
|
|
226
|
-
if (this.expired || this.phase === "closed") return;
|
|
227
|
-
this.expire(new CheckStoppedError(signal));
|
|
228
|
-
};
|
|
229
|
-
ownBrowser = (browser) => {
|
|
230
|
-
if (this.expired) throw this.expired;
|
|
231
|
-
if (this.phase === "closed") throw new Error("Check has already finished.");
|
|
232
|
-
this.browsers.add(browser);
|
|
233
|
-
};
|
|
234
|
-
async preparePage(page) {
|
|
235
|
-
page.on("console", (message) => {
|
|
236
|
-
const text = message.text();
|
|
237
|
-
if (text.startsWith(SCRIPT_START)) this.scripts.push(text.slice(SCRIPT_START.length));
|
|
238
|
-
if (text.startsWith(SCRIPT_FINISH)) {
|
|
239
|
-
const index = this.scripts.lastIndexOf(text.slice(SCRIPT_FINISH.length));
|
|
240
|
-
if (index !== -1) this.scripts.splice(index, 1);
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
await page.evaluateOnNewDocument(
|
|
244
|
-
(start, finish) => {
|
|
245
|
-
Reflect.set(window, "__hfScriptState", (phase, source) => {
|
|
246
|
-
console.debug((phase === "start" ? start : finish) + source);
|
|
247
|
-
});
|
|
248
|
-
},
|
|
249
|
-
SCRIPT_START,
|
|
250
|
-
SCRIPT_FINISH
|
|
251
|
-
);
|
|
252
|
-
}
|
|
253
|
-
run(operation) {
|
|
254
|
-
if (this.expired) return Promise.reject(this.expired);
|
|
255
|
-
const pending = operation();
|
|
256
|
-
this.operations.add(pending);
|
|
257
|
-
const settled = () => this.rearm();
|
|
258
|
-
pending.then(settled, settled);
|
|
259
|
-
return Promise.race([pending, this.expiry]);
|
|
260
|
-
}
|
|
261
|
-
async close() {
|
|
262
|
-
this.phase = "closed";
|
|
263
|
-
clearTimeout(this.timer);
|
|
264
|
-
const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
|
|
265
|
-
const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
|
|
266
|
-
try {
|
|
267
|
-
const drained = await withRemainingBudget(
|
|
268
|
-
Promise.allSettled(this.operations),
|
|
269
|
-
1e3,
|
|
270
|
-
"draining check cleanup"
|
|
271
|
-
);
|
|
272
|
-
for (const entry of drained) {
|
|
273
|
-
if (entry.status === "rejected" && entry.reason instanceof BrowserCleanupError)
|
|
274
|
-
errors.push(entry.reason);
|
|
275
|
-
}
|
|
276
|
-
} catch (error) {
|
|
277
|
-
errors.push(error);
|
|
278
|
-
}
|
|
279
|
-
if (errors.length > 0)
|
|
280
|
-
throw new BrowserCleanupError(errors, errors.map(normalizeErrorMessage).join("; "));
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
|
|
284
129
|
// src/utils/checkFindingFrames.ts
|
|
285
130
|
import { basename } from "path";
|
|
286
131
|
var MAX_FINDING_FRAME_TIMES = 60;
|
|
@@ -565,8 +410,8 @@ function indexRuns(indices) {
|
|
|
565
410
|
}
|
|
566
411
|
return runs;
|
|
567
412
|
}
|
|
568
|
-
function windowSeconds(
|
|
569
|
-
return (
|
|
413
|
+
function windowSeconds(window) {
|
|
414
|
+
return (window.endIn + window.endOut) / 2 - (window.startOut + window.startIn) / 2;
|
|
570
415
|
}
|
|
571
416
|
function runWindow(frames, [first, last], duration) {
|
|
572
417
|
const timeAt = (index) => frames[Math.min(Math.max(index, 0), frames.length - 1)]?.time ?? 0;
|
|
@@ -588,13 +433,13 @@ function lineCandidates(frames, duration, canvas) {
|
|
|
588
433
|
const runs = indexRuns([...track.seen.keys()]);
|
|
589
434
|
const finalLine = lastEnd(track) === latest;
|
|
590
435
|
const windows = runs.map((run2) => runWindow(frames, run2, duration));
|
|
591
|
-
const chosen = finalLine ? windows.length - 1 : windows.reduce((best,
|
|
436
|
+
const chosen = finalLine ? windows.length - 1 : windows.reduce((best, window2, index) => {
|
|
592
437
|
const bestWindow = windows[best];
|
|
593
|
-
return bestWindow && windowSeconds(
|
|
438
|
+
return bestWindow && windowSeconds(window2) > windowSeconds(bestWindow) ? index : best;
|
|
594
439
|
}, 0);
|
|
595
|
-
const
|
|
440
|
+
const window = windows[chosen];
|
|
596
441
|
const run = runs[chosen];
|
|
597
|
-
if (!
|
|
442
|
+
if (!window || !run) continue;
|
|
598
443
|
const texts = [...track.seen.values()].map((seen) => seen.text);
|
|
599
444
|
const text = texts.reduce(
|
|
600
445
|
(longest, next) => readingWords(next) > readingWords(longest) ? next : longest
|
|
@@ -602,42 +447,42 @@ function lineCandidates(frames, duration, canvas) {
|
|
|
602
447
|
const words = readingWords(text);
|
|
603
448
|
if (words === 0) continue;
|
|
604
449
|
const floor = lineFloorSec(words, finalLine);
|
|
605
|
-
if (
|
|
606
|
-
candidates.push({ track, words, text, finalLine, floor, window
|
|
450
|
+
if (window.endIn - window.startIn >= floor) continue;
|
|
451
|
+
candidates.push({ track, words, text, finalLine, floor, window, firstIndex: run[0] });
|
|
607
452
|
}
|
|
608
453
|
return candidates;
|
|
609
454
|
}
|
|
610
455
|
async function refineWindow(candidate, probe, canvas) {
|
|
611
456
|
const readHeight = T.readHeightAt1080 * (Math.min(canvas.width, canvas.height) / 1080);
|
|
612
457
|
const visibleAt = async (time) => readableBlocks(await probe(time), readHeight).has(candidate.track.key);
|
|
613
|
-
const
|
|
458
|
+
const window = { ...candidate.window };
|
|
614
459
|
for (let step = 0; step < T.refineSteps; step += 1) {
|
|
615
|
-
if (
|
|
616
|
-
const mid = (
|
|
617
|
-
if (await visibleAt(mid))
|
|
618
|
-
else
|
|
460
|
+
if (window.startIn > window.startOut) {
|
|
461
|
+
const mid = (window.startOut + window.startIn) / 2;
|
|
462
|
+
if (await visibleAt(mid)) window.startIn = mid;
|
|
463
|
+
else window.startOut = mid;
|
|
619
464
|
}
|
|
620
|
-
if (
|
|
621
|
-
const mid = (
|
|
622
|
-
if (await visibleAt(mid))
|
|
623
|
-
else
|
|
465
|
+
if (window.endOut > window.endIn) {
|
|
466
|
+
const mid = (window.endIn + window.endOut) / 2;
|
|
467
|
+
if (await visibleAt(mid)) window.endIn = mid;
|
|
468
|
+
else window.endOut = mid;
|
|
624
469
|
}
|
|
625
470
|
}
|
|
626
|
-
return
|
|
471
|
+
return window;
|
|
627
472
|
}
|
|
628
473
|
async function detectLineUnread(frames, duration, canvas, probe) {
|
|
629
474
|
const findings = [];
|
|
630
475
|
const candidates = lineCandidates(frames, duration, canvas);
|
|
631
476
|
for (const [index, candidate] of candidates.entries()) {
|
|
632
|
-
const
|
|
633
|
-
const held = windowSeconds(
|
|
477
|
+
const window = probe && index < T.maxRefinedLines ? await refineWindow(candidate, probe, canvas) : candidate.window;
|
|
478
|
+
const held = windowSeconds(window);
|
|
634
479
|
if (held >= candidate.floor - T.measureToleranceSec) continue;
|
|
635
|
-
const error = Math.max(
|
|
636
|
-
findings.push(lineUnreadFinding(candidate,
|
|
480
|
+
const error = Math.max(window.startIn - window.startOut, window.endOut - window.endIn) / 2;
|
|
481
|
+
findings.push(lineUnreadFinding(candidate, window, held, error));
|
|
637
482
|
}
|
|
638
483
|
return findings;
|
|
639
484
|
}
|
|
640
|
-
function lineUnreadFinding(candidate,
|
|
485
|
+
function lineUnreadFinding(candidate, window, held, error) {
|
|
641
486
|
const { track, words, text, finalLine, floor } = candidate;
|
|
642
487
|
const quoted = quote(text, 60);
|
|
643
488
|
const wordLabel = `${words} word${words === 1 ? "" : "s"}`;
|
|
@@ -655,7 +500,7 @@ function lineUnreadFinding(candidate, window2, held, error) {
|
|
|
655
500
|
dataAttributes: {},
|
|
656
501
|
sourceFile: track.sourceFile,
|
|
657
502
|
bbox: rect ? { x: rect.left, y: rect.top, width: rect.right - rect.left, height: rect.bottom - rect.top } : ZERO_BBOX,
|
|
658
|
-
time: round(
|
|
503
|
+
time: round(window.startIn),
|
|
659
504
|
words,
|
|
660
505
|
seconds: round(held),
|
|
661
506
|
floorSeconds: round(floor)
|
|
@@ -1272,12 +1117,15 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1272
1117
|
if (craft) {
|
|
1273
1118
|
const craftStart = performance.now();
|
|
1274
1119
|
const craftTimes = buildCraftSampleTimes(grid.duration).filter((time) => time < grid.duration);
|
|
1275
|
-
|
|
1120
|
+
const last = craftTimes.length - 1;
|
|
1121
|
+
for (let index = 0, sampled = 1; index <= last; sampled += 1) {
|
|
1122
|
+
const time = craftTimes[index];
|
|
1276
1123
|
progress(`craft frame at ${time}s`);
|
|
1277
1124
|
await driver.seekGeometry(time, { draws: true });
|
|
1278
1125
|
collected.craftFrames.push(...await collectCraftFrame(driver, time));
|
|
1279
1126
|
progress();
|
|
1280
1127
|
report("craft", index + 1, craftTimes.length);
|
|
1128
|
+
index = index === last ? last + 1 : Math.min(last, index + craftStride(craftStart, sampled, last - index));
|
|
1281
1129
|
}
|
|
1282
1130
|
collected.craftMs = Math.round(performance.now() - craftStart);
|
|
1283
1131
|
}
|
|
@@ -1297,6 +1145,14 @@ async function collectMotionOverlapSamples(driver, grid, collected, range, craft
|
|
|
1297
1145
|
}
|
|
1298
1146
|
var CRAFT_SAMPLE_FPS = 8;
|
|
1299
1147
|
var CRAFT_MAX_SAMPLES = 600;
|
|
1148
|
+
var CRAFT_BUDGET_MS = 9e4;
|
|
1149
|
+
var CRAFT_MAX_STRIDE = 12;
|
|
1150
|
+
function craftStride(startedAt, sampled, remaining) {
|
|
1151
|
+
const spent = performance.now() - startedAt;
|
|
1152
|
+
const left = CRAFT_BUDGET_MS - spent;
|
|
1153
|
+
const wanted = left <= 0 ? remaining : Math.ceil(spent / sampled * remaining / left);
|
|
1154
|
+
return Math.min(CRAFT_MAX_STRIDE, Math.max(1, wanted));
|
|
1155
|
+
}
|
|
1300
1156
|
function buildCraftSampleTimes(duration) {
|
|
1301
1157
|
if (!Number.isFinite(duration) || duration <= 0) return [];
|
|
1302
1158
|
const count = Math.min(
|
|
@@ -2346,9 +2202,9 @@ function emptyBrowserResult() {
|
|
|
2346
2202
|
renderReadyTimedOut: false
|
|
2347
2203
|
};
|
|
2348
2204
|
}
|
|
2349
|
-
function runtimeFailure(error, code
|
|
2205
|
+
function runtimeFailure(error, code) {
|
|
2350
2206
|
return findingAtRoot(
|
|
2351
|
-
code,
|
|
2207
|
+
code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : "check_runtime_failure"),
|
|
2352
2208
|
"error",
|
|
2353
2209
|
normalizeErrorMessage(error),
|
|
2354
2210
|
error instanceof CheckDeadlineError ? error.sourceFile ?? "index.html" : "index.html"
|
|
@@ -2379,7 +2235,7 @@ function resolveMotionSpec(projectDir) {
|
|
|
2379
2235
|
};
|
|
2380
2236
|
}
|
|
2381
2237
|
async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
|
|
2382
|
-
const module = await import("./checkBrowser-
|
|
2238
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2383
2239
|
return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
|
|
2384
2240
|
}
|
|
2385
2241
|
var adoptedBrowser;
|
|
@@ -2393,7 +2249,7 @@ async function prelaunchBrowser(project, options) {
|
|
|
2393
2249
|
if (adopted) return adopted;
|
|
2394
2250
|
const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
|
|
2395
2251
|
if (html === void 0) return void 0;
|
|
2396
|
-
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-
|
|
2252
|
+
const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-KR3PELMO.js");
|
|
2397
2253
|
return prelaunchCompositionBrowser(html, options.browserGpuMode);
|
|
2398
2254
|
}
|
|
2399
2255
|
async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
@@ -2405,11 +2261,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
|
|
|
2405
2261
|
return relative(projectDir, path);
|
|
2406
2262
|
}
|
|
2407
2263
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
2408
|
-
const module = await import("./checkBrowser-
|
|
2264
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2409
2265
|
return module.captureFindingFrames(project, options, requests, deadline);
|
|
2410
2266
|
}
|
|
2411
2267
|
async function captureFindingCrops(project, options, requests, deadline) {
|
|
2412
|
-
const module = await import("./checkBrowser-
|
|
2268
|
+
const module = await import("./checkBrowser-MTCJVJYJ.js");
|
|
2413
2269
|
return module.captureFindingCrops(project, options, requests, deadline);
|
|
2414
2270
|
}
|
|
2415
2271
|
async function inspectProjectMedia(project, dependencies) {
|
|
@@ -2431,7 +2287,7 @@ function collectMedia(project) {
|
|
|
2431
2287
|
return collectProjectMedia(project.dir);
|
|
2432
2288
|
}
|
|
2433
2289
|
async function inspectAudio(project, media) {
|
|
2434
|
-
const module = await import("./checkAudio-
|
|
2290
|
+
const module = await import("./checkAudio-CSX4G35O.js");
|
|
2435
2291
|
return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
|
|
2436
2292
|
}
|
|
2437
2293
|
function audioCheckFailure(project, error) {
|
|
@@ -2505,7 +2361,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
|
|
|
2505
2361
|
}
|
|
2506
2362
|
},
|
|
2507
2363
|
async prepareMedia(project, options) {
|
|
2508
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
2364
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
|
|
2509
2365
|
const html = await bundleWithLocalizedFonts(project.dir);
|
|
2510
2366
|
return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
|
|
2511
2367
|
},
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7AVR3VZE.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EAO46VPT.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
24
24
|
readMediaOffsetSeconds
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OHQRQE7F.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCP7FKH.js";
|
|
29
29
|
|
|
30
30
|
// ../studio-server/dist/chunk-H4NVSSDJ.js
|
|
31
31
|
import { execFile } from "child_process";
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FC2OXEBQ.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CUCP7FKH.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/lambda/_dimensions.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DVJUBMS7.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GY7D2OEQ.js";
|
|
16
16
|
import {
|
|
17
17
|
makeOutputFolder
|
|
18
18
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
publicVoices,
|
|
24
24
|
runJob,
|
|
25
25
|
senderScope
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BXCPOMS3.js";
|
|
27
27
|
import {
|
|
28
28
|
Fix,
|
|
29
29
|
probeSeconds,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
round,
|
|
33
33
|
runFfmpeg,
|
|
34
34
|
videoClip
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-T4FLVFQE.js";
|
|
36
36
|
import {
|
|
37
37
|
loadSharp
|
|
38
38
|
} from "./chunk-5UT3R43E.js";
|
|
@@ -313,7 +313,7 @@ async function uploaded(paths) {
|
|
|
313
313
|
if (!paths.length) return ids;
|
|
314
314
|
const { createCloudClient } = await import("./cloud-RFM3PYTR.js");
|
|
315
315
|
const { uploadAssetViaDirectUpload } = await import("./upload-HMRWGZIO.js");
|
|
316
|
-
const { getMimeType } = await import("./dist-
|
|
316
|
+
const { getMimeType } = await import("./dist-TJZSSDR2.js");
|
|
317
317
|
const client = await createCloudClient();
|
|
318
318
|
for (const path of paths) {
|
|
319
319
|
const asset = await uploadAssetViaDirectUpload({
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DD47NQJZ.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FZRTCVU6.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZNHWAGMH.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CMPHS5E6.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
isNonRelativeUrl,
|
|
22
22
|
isPathInside,
|
|
23
23
|
rewriteSrcsetUrls
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OHQRQE7F.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeUrlPathVariants,
|
|
27
27
|
encodeUrlPath
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CUCP7FKH.js";
|
|
29
29
|
import {
|
|
30
30
|
parseHTML
|
|
31
31
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ZRGEVAM.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-DYWF24IK.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|