hyperframes 0.9.6 → 0.9.7
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-FI2ERBMZ.js → add-WLXYFHMC.js} +12 -12
- package/dist/{agentPromptGenerator-DZTXHJV3.js → agentPromptGenerator-2SMADJAL.js} +6 -6
- package/dist/{animatedGifPrep-GXQA4KCD.js → animatedGifPrep-4WCFONEJ.js} +6 -6
- package/dist/api.js +25 -25
- package/dist/{asset-BRSG6JNL.js → asset-UQBTWAMJ.js} +2 -2
- package/dist/{assetCataloger-KVWF4SRK.js → assetCataloger-GOUD7VDG.js} +7 -7
- package/dist/{audio-BVZOX6LU.js → audio-LDVXMRHU.js} +16 -16
- package/dist/{auth-HFFN7USX.js → auth-6LVATNTF.js} +6 -6
- package/dist/{autoUpdate-JNGMUXLZ.js → autoUpdate-X6KZRI5E.js} +2 -2
- package/dist/{backgroundChecks-O4ADPXOL.js → backgroundChecks-3HGGWYLY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-A2HW6QW7.js → batchRender-4ISYYVPQ.js} +3 -3
- package/dist/{beats-F7Q3G6VW.js → beats-WN2KYIK3.js} +9 -9
- package/dist/{benchmark-4BDMIYTW.js → benchmark-HZPGQ2MP.js} +9 -9
- package/dist/{billing-35NVMZWK.js → billing-3Q2EAZFJ.js} +4 -4
- package/dist/{browser-S6ADXSB7.js → browser-6XC7MTQL.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-EE27EYEU.js → bundleWithLocalizedFonts-ZZ6Y4CEO.js} +2 -2
- package/dist/{capture-LWWBL6SH.js → capture-46LJ2VU2.js} +3 -3
- package/dist/{capture-CXDJO524.js → capture-FCLAEX5L.js} +11 -11
- package/dist/{captureCompositionFrame-BB2ZGM6R.js → captureCompositionFrame-SMUDCZ2L.js} +11 -11
- package/dist/{catalog-RQ6HIUBG.js → catalog-72AEDDEG.js} +12 -12
- package/dist/{catch-up-PBAXR7FI.js → catch-up-6WIX7SWV.js} +5 -5
- package/dist/{check-O4V4UWE3.js → check-R2G5OYIA.js} +37 -37
- package/dist/{checkAudio-EUT3AO3L.js → checkAudio-2RP7BNQ3.js} +9 -9
- package/dist/{checkBrowser-QQUBR4QI.js → checkBrowser-OWLF2BT4.js} +31 -31
- package/dist/{chunk-W3G7DNCR.js → chunk-2BARV2ZU.js} +48 -8
- package/dist/{chunk-YUMVQB2F.js → chunk-2X43RFKM.js} +1 -1
- package/dist/{chunk-P5GOQDA2.js → chunk-3AH6KE6F.js} +39 -11
- package/dist/{chunk-ZDQEVQHB.js → chunk-3LHJHMFK.js} +1 -1
- package/dist/{chunk-CUAZHDVV.js → chunk-3Q7UFKFN.js} +3 -3
- package/dist/{chunk-DETBSOYO.js → chunk-3YJB4QVS.js} +1 -1
- package/dist/{chunk-TS4HYR6I.js → chunk-46HMQ4I3.js} +1 -1
- package/dist/{chunk-L6MNWJTL.js → chunk-6IW2HWYI.js} +7 -8
- package/dist/{chunk-OHWVSTNO.js → chunk-74VSOKKS.js} +6 -4
- package/dist/{chunk-FM7VWSN3.js → chunk-7LCZBNX7.js} +1 -1
- package/dist/{chunk-C47ZGVKT.js → chunk-7XRS2NDR.js} +7 -7
- package/dist/{chunk-KJDQS24S.js → chunk-AWQE37H3.js} +2 -2
- package/dist/{chunk-NASVSJQK.js → chunk-BGMMC352.js} +19 -7
- package/dist/{chunk-6NJVSTSY.js → chunk-BVAPHHMQ.js} +7 -3
- package/dist/{chunk-4III3SDC.js → chunk-C3FKYBZ4.js} +10 -10
- package/dist/{chunk-YFISKULK.js → chunk-C7XW5WPZ.js} +2 -2
- package/dist/{chunk-RYNMIBZM.js → chunk-CTPYBHF3.js} +2 -2
- package/dist/{chunk-2FNUCIHD.js → chunk-CUCDUPTA.js} +1 -1
- package/dist/{chunk-VWRIARRR.js → chunk-CX6MGY2B.js} +13 -13
- package/dist/{chunk-44T2V4EW.js → chunk-DOS6S7HW.js} +1 -1
- package/dist/{chunk-PWYAOU4I.js → chunk-DZNJD7BH.js} +1 -1
- package/dist/{chunk-SAWXMCHB.js → chunk-E3IBPTX7.js} +1 -1
- package/dist/{chunk-HTTGTROQ.js → chunk-E4XS2M2E.js} +1 -1
- package/dist/{chunk-TIXW6JWD.js → chunk-EG7FZSEF.js} +1 -1
- package/dist/{chunk-GOPJLAMZ.js → chunk-ETYQYG6Q.js} +78 -19
- package/dist/{chunk-2KYY75JP.js → chunk-FLDSZTHP.js} +2 -2
- package/dist/{chunk-YIWNZ2CI.js → chunk-FYDFHW22.js} +13 -13
- package/dist/{chunk-YDG5LVIK.js → chunk-FYR2GKAA.js} +4 -4
- package/dist/{chunk-AB3ZXWI3.js → chunk-GBEGZOP3.js} +1 -1
- package/dist/{chunk-YY7YI2FW.js → chunk-GK3OROLS.js} +1 -1
- package/dist/{chunk-M4WEGGF7.js → chunk-HBCY63DS.js} +2 -2
- package/dist/{chunk-APVBITVZ.js → chunk-HRSZOW3U.js} +1 -1
- package/dist/{chunk-47IBOMXH.js → chunk-HZG42ZYW.js} +3 -3
- package/dist/{chunk-QDB7EFLI.js → chunk-IAZ2A7D6.js} +5 -3
- package/dist/{chunk-3SB24TVT.js → chunk-IOECRDWX.js} +1 -1
- package/dist/{chunk-GP7OHHXR.js → chunk-IX3R4BKU.js} +1 -1
- package/dist/{chunk-JLLNDU2F.js → chunk-IXGZ6YFZ.js} +4 -4
- package/dist/{chunk-5BCFV2HE.js → chunk-KD22R2UE.js} +3 -3
- package/dist/{chunk-4E7G2GME.js → chunk-KDTOB4TD.js} +1 -1
- package/dist/{chunk-YVUOJW4H.js → chunk-LAZREIJF.js} +1 -1
- package/dist/{chunk-IG3GSBHB.js → chunk-LCDXHXYH.js} +2 -2
- package/dist/{chunk-JLKEXS4I.js → chunk-LFDPOL45.js} +3 -3
- package/dist/{chunk-BQQTZET2.js → chunk-LIA4GZ4F.js} +2 -2
- package/dist/{chunk-6JMNJYYR.js → chunk-N6O2RQLQ.js} +3 -1
- package/dist/{chunk-FP37FSOT.js → chunk-NEI65CWG.js} +2 -2
- package/dist/{chunk-7DKGU6CY.js → chunk-NFNYH6VQ.js} +2 -2
- package/dist/{chunk-FZM6E4S4.js → chunk-OJTXXFYO.js} +2 -2
- package/dist/{chunk-FIIFME5M.js → chunk-OO7U23BR.js} +1 -1
- package/dist/chunk-OUZSRPKC.js +5035 -0
- package/dist/{chunk-BIJBGCF4.js → chunk-P73MHFBX.js} +1 -1
- package/dist/{chunk-IVFZG3CU.js → chunk-P7CVKVPD.js} +2 -2
- package/dist/{chunk-DUSSDJJC.js → chunk-PG356QHK.js} +2 -2
- package/dist/{chunk-GKVERDJ2.js → chunk-PPNA6EBI.js} +1 -1
- package/dist/{chunk-XC3LDNBH.js → chunk-PUMQDN2T.js} +1 -1
- package/dist/{chunk-G4VDT5D7.js → chunk-PYWJGSWO.js} +1 -1
- package/dist/{chunk-KAWNVSAE.js → chunk-QXUDHDJU.js} +7 -7
- package/dist/{chunk-YOZPHSYV.js → chunk-QXVW22VM.js} +1 -1
- package/dist/{chunk-2KO357TJ.js → chunk-RJ6LXDUC.js} +1 -1
- package/dist/{chunk-WCET3OHQ.js → chunk-RWHCRVZV.js} +5 -5
- package/dist/{chunk-I47SIQGX.js → chunk-RY7Z6KFS.js} +4 -4
- package/dist/{chunk-JFIBO4CZ.js → chunk-SE6O4APZ.js} +2 -2
- package/dist/{chunk-VG4JPJMI.js → chunk-SEJ7UBR2.js} +2 -2
- package/dist/{chunk-BUDP4GF4.js → chunk-SIJYH7XM.js} +1 -1
- package/dist/{chunk-4VOK22DG.js → chunk-SXGXJAA7.js} +1 -1
- package/dist/{chunk-ODKXNWDL.js → chunk-T252SG67.js} +2 -2
- package/dist/{chunk-E2VWKW2A.js → chunk-TBCRTIXP.js} +2 -2
- package/dist/{chunk-6GZB32Q5.js → chunk-TSCO4XR4.js} +1 -1
- package/dist/{chunk-QEQEKBL7.js → chunk-TSQZ3DSC.js} +20 -5
- package/dist/{chunk-ZP3LPFTA.js → chunk-UDY3FS6G.js} +9 -9
- package/dist/{chunk-BMRZP6X6.js → chunk-ULH6TLE3.js} +1 -1
- package/dist/{chunk-ZR2GMFNH.js → chunk-UQH3MOES.js} +2 -2
- package/dist/{chunk-6UOHLXVU.js → chunk-V6MZZEA7.js} +5 -5
- package/dist/{chunk-ZV5GD5LV.js → chunk-WAURLEUO.js} +3 -3
- package/dist/{chunk-FDZXVTBY.js → chunk-WZGVBZY6.js} +1 -1
- package/dist/{chunk-SWWDVPVO.js → chunk-X2PPRHKO.js} +1 -1
- package/dist/{chunk-T57ARBNR.js → chunk-X3DTUYKZ.js} +7 -7
- package/dist/{chunk-I2OMLFBJ.js → chunk-X4K7Q5PT.js} +1 -1
- package/dist/{chunk-GR3LU4D5.js → chunk-XEP7PGXS.js} +1 -1
- package/dist/{chunk-GYPSZFRF.js → chunk-XFA6NPMP.js} +3 -3
- package/dist/{chunk-27AVZR7K.js → chunk-XKTLYF4N.js} +18 -18
- package/dist/{chunk-LS4CCRTK.js → chunk-XXEOJXXY.js} +2 -2
- package/dist/{chunk-KXAGCBVO.js → chunk-Y2R4N6HQ.js} +9 -9
- package/dist/{chunk-VFOCEFRZ.js → chunk-YHO5SKUR.js} +5 -5
- package/dist/{chunk-FB366S4I.js → chunk-YTWTG67C.js} +2 -2
- package/dist/{chunk-KJLZZ4MY.js → chunk-ZVERYNYS.js} +1 -1
- package/dist/{clean-2AFJGFIG.js → clean-52TVJH4U.js} +16 -16
- package/dist/cli.js +58 -58
- package/dist/{cloud-JM5MFMVV.js → cloud-FEPPMA5F.js} +4 -4
- package/dist/{cloudrun-PNVETMPA.js → cloudrun-DFWQ7ZJW.js} +4 -4
- package/dist/{compare-ST4DXEMX.js → compare-UBQUKWOB.js} +28 -28
- package/dist/{compiler-UCX3MZVN.js → compiler-UCJ4KC75.js} +3 -3
- package/dist/{component-ECFJIDUD.js → component-6YUQ2XAM.js} +3 -3
- package/dist/{compositions-ZCAD47PD.js → compositions-KGZO4UYR.js} +11 -11
- package/dist/{curve-NYXZWGPO.js → curve-VISYHZKL.js} +10 -10
- package/dist/{cuts-CKUCNNOX.js → cuts-HCWYCBI2.js} +11 -11
- package/dist/{delete-MVGSOWSC.js → delete-CNKHLEDS.js} +6 -6
- package/dist/{deploy-WBKPSWPG.js → deploy-TS3R7DTD.js} +1 -1
- package/dist/{describeProject-ZDI5B6JO.js → describeProject-6TNE4FY4.js} +7 -7
- package/dist/{diff-3UYDXIEZ.js → diff-YRBYR56R.js} +25 -25
- package/dist/{dist-IHPMKRYN.js → dist-H4C7ZCFU.js} +1 -1
- package/dist/{dist-XRAW3URT.js → dist-T57O7KXT.js} +4 -2
- package/dist/{doctor-A4HMMBII.js → doctor-PLA77GFC.js} +10 -10
- package/dist/{energy-RN6KTYH6.js → energy-7BTNGNR7.js} +11 -11
- package/dist/{events-6NE2NRCQ.js → events-25FIG2O6.js} +13 -13
- package/dist/{events-AO3FEPL3.js → events-IMWCEFSZ.js} +4 -4
- package/dist/{events-LSEMS2LO.js → events-QTM2OEFB.js} +3 -3
- package/dist/{extract-6UO4QR77.js → extract-C66C5A22.js} +11 -11
- package/dist/{face-FTKPGC2O.js → face-MDOI2JO5.js} +11 -11
- package/dist/{feedback-GSKVBGA7.js → feedback-26OSAZF3.js} +11 -11
- package/dist/{ffmpeg-HPMQUKY4.js → ffmpeg-R5ND25AV.js} +6 -6
- package/dist/{figma-UIWB3XSX.js → figma-276JAPS4.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-U3LLSXSV.js → frames-AMLBNI5B.js} +12 -12
- package/dist/{generate-AFCKBHGB.js → generate-YIZS4JFA.js} +17 -17
- package/dist/{get-J3TJCAZW.js → get-HFEFIRAJ.js} +6 -6
- package/dist/{gpuPolicy-W2OEEW7Y.js → gpuPolicy-7JA66MJG.js} +6 -6
- package/dist/{grade-compare-AOXNJ53Z.js → grade-compare-7NH6XYIY.js} +29 -29
- package/dist/{heifImagePrep-4RSVCLPX.js → heifImagePrep-WCL36MHY.js} +7 -7
- package/dist/{help-5NYIBLJJ.js → help-HHIAUMBQ.js} +1 -1
- package/dist/{history-KAXYCLVT.js → history-SLWPRU6Q.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-Z6KNUMH6.js → info-MIPROXSM.js} +8 -8
- package/dist/{init-GSMXQX3U.js → init-T56UGI6Z.js} +27 -27
- package/dist/{ink-IPPBJFH3.js → ink-TY7CKC6Q.js} +11 -11
- package/dist/{inspect-MXIGEN6Z.js → inspect-TIF7YHGN.js} +29 -29
- package/dist/{installer-JXI2JC3T.js → installer-72QUKTPE.js} +4 -4
- package/dist/{keyframes-Z53YGH5F.js → keyframes-I4JRA37J.js} +7 -7
- package/dist/{lambda-KD7ZRYVK.js → lambda-VGFSEG56.js} +10 -10
- package/dist/{layout-NLDWEPDQ.js → layout-K776Z2IS.js} +29 -29
- package/dist/{lint-MSZMGQO5.js → lint-XLTSC66T.js} +8 -8
- package/dist/{lintProject-SG4KRUAV.js → lintProject-NZADSVSU.js} +1 -1
- package/dist/{list-OLNBKKB4.js → list-6V3IKLXF.js} +6 -6
- package/dist/{localPage-BQ2LKHED.js → localPage-RM6EXBBT.js} +6 -6
- package/dist/{login-TBJVG5PZ.js → login-HD47X3JE.js} +12 -13
- package/dist/{logout-B6H5F5YP.js → logout-UMDA3HDE.js} +3 -3
- package/dist/{look-T5V6JBD5.js → look-KUDJYDTK.js} +11 -11
- package/dist/{manager-FHVSGJNR.js → manager-TUKVGY7O.js} +7 -7
- package/dist/{measure-KI3XY2MJ.js → measure-6BRNY3II.js} +11 -11
- package/dist/{media-treatment-UZI55RS3.js → media-treatment-MLME5LNQ.js} +13 -13
- package/dist/{media-use-2PIPVWX4.js → media-use-3YTDQKGR.js} +9 -5
- package/dist/{models-MV4HBZKZ.js → models-IUX642FY.js} +10 -10
- package/dist/{motionShot-A3TWOBRE.js → motionShot-INNVFSPU.js} +14 -14
- package/dist/{normalize-audio-37WYHLP4.js → normalize-audio-ZMJIN2OV.js} +9 -9
- package/dist/{open-4PPPV45S.js → open-FDQ3NDSX.js} +12 -12
- package/dist/{parakeetRunner-J22MMWSM.js → parakeetRunner-WZ6JW3QQ.js} +11 -11
- package/dist/{pipeline-GE4LBTRO.js → pipeline-V3TOATHS.js} +9 -9
- package/dist/{play-MZSW7GIL.js → play-5WIU4CZL.js} +20 -20
- package/dist/{preflight-NXMN7P4B.js → preflight-JXEVL63B.js} +7 -7
- package/dist/{present-TWZLASXI.js → present-UHWGVCP4.js} +16 -16
- package/dist/{preview-OEXP2RPO.js → preview-W75P6D7E.js} +18 -18
- package/dist/{probe-HNAD6ACH.js → probe-O2ADL5FX.js} +11 -11
- package/dist/{producer-E4AN4ADM.js → producer-6GQQQT7M.js} +1 -1
- package/dist/{projectConfig-HKWVTV5Q.js → projectConfig-FQ7CAOXL.js} +6 -6
- package/dist/{publication-DTIE7G2E.js → publication-YRVC6D56.js} +2 -2
- package/dist/{publish-CUU5W6CP.js → publish-4IN3WW5G.js} +15 -15
- package/dist/{refresh-T6JLFCS4.js → refresh-4FQFQ2SW.js} +3 -3
- package/dist/{remove-background-2MRQ3YH4.js → remove-background-L4KWXVMH.js} +10 -10
- package/dist/{render-JP6JUXWP.js → render-73VGDCCH.js} +5 -5
- package/dist/{render-EEIQAOGV.js → render-GZ4DBQ5E.js} +25 -34
- package/dist/{render-QRWGJUCD.js → render-IP7KBRD7.js} +32 -32
- package/dist/{render-batch-46SYPMYV.js → render-batch-RX3TJ4NY.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-DPRCISSD.js → resolver-SNTBG6O2.js} +4 -4
- package/dist/{reverse-MY6DSOXL.js → reverse-5SHT4TC6.js} +1 -1
- package/dist/{run-2VGZ3URU.js → run-GV6MEM2M.js} +4 -4
- package/dist/{sherpa-5LOEXZ46.js → sherpa-LJJHQNQ6.js} +10 -10
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/SKILL.md +5 -5
- package/dist/skills/media-use/audio/references/requirements.md +7 -7
- package/dist/skills/media-use/audio/references/tts.md +7 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +16 -10
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +32 -0
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-BBHR4SHX.js → skills-NVNRQU7K.js} +6 -6
- package/dist/{skillsUpdateCheck-HBOVCIXG.js → skillsUpdateCheck-QNFIPFLX.js} +3 -3
- package/dist/{snapshot-S264O54Z.js → snapshot-75S4SIRK.js} +173 -66
- package/dist/{src-G2EK32ZO.js → src-KS6W3WRC.js} +8 -8
- package/dist/{src-GLO4X3WA.js → src-MTLH4YHV.js} +9 -5
- package/dist/{start-6AFMEXPO.js → start-4UCLBL76.js} +19 -19
- package/dist/{staticProjectServer-KWSV5IRS.js → staticProjectServer-USD7TCZH.js} +17 -17
- package/dist/{status-5ZRM4R4N.js → status-MPCREDMQ.js} +9 -6
- package/dist/studio/assets/{hyperframes-player-CGO8wE5a.js → hyperframes-player-CQLtM2zB.js} +1 -1
- package/dist/studio/assets/{index-COtefOSM.js → index-CKnGNPHF.js} +1 -1
- package/dist/studio/assets/{index-DHPJjAUV.js → index-CdWK2GVp.js} +101 -101
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-JJO6VEFD.js → studio-api-447CJUUM.js} +9 -9
- package/dist/{studioServer-YFZIESIH.js → studioServer-TMPKQRQA.js} +48 -48
- package/dist/{sync-DBMNZ32Z.js → sync-V456U5AA.js} +11 -11
- package/dist/{telemetry-OPZTKPDG.js → telemetry-NK6K3VRH.js} +4 -4
- package/dist/{timeline-MCJUCDME.js → timeline-M5URP7QS.js} +18 -18
- package/dist/{tokens-3DREMPWC.js → tokens-5OIFB4MD.js} +2 -2
- package/dist/{transcribe-TMGPK6FM.js → transcribe-N3E7T7AW.js} +21 -21
- package/dist/{transcribe-AU7TPKMU.js → transcribe-ON5WTZV3.js} +9 -9
- package/dist/{updateCheck-YKTRFFFV.js → updateCheck-JQOAKPNR.js} +2 -2
- package/dist/{upgrade-UAKM3KAT.js → upgrade-737POFN4.js} +2 -2
- package/dist/{urlDownloader-77YL7TXO.js → urlDownloader-ZIPT6PZC.js} +5 -5
- package/dist/{validate-SR35R3QM.js → validate-6IPCQFXI.js} +23 -23
- package/dist/{video-GNMQTE4D.js → video-BEZHDPH2.js} +7 -7
- package/dist/warmCheck.js +37 -37
- package/package.json +1 -1
- package/dist/chunk-TNWWLO4T.js +0 -5030
|
@@ -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-46HMQ4I3.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C3FKYBZ4.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KD22R2UE.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XEP7PGXS.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TBCRTIXP.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OUZSRPKC.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-C2KEGBR3.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6IW2HWYI.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-6GQQQT7M.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-UCJ4KC75.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-SAXHANEY.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-USD7TCZH.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-NZADSVSU.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-MTLH4YHV.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-7JA66MJG.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -6,7 +6,7 @@ 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-XEP7PGXS.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-T5ELONXY.js";
|
|
@@ -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-T252SG67.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveClientId,
|
|
23
23
|
revokeEndpoint,
|
|
24
24
|
tokenEndpoint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BVAPHHMQ.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
28
28
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -750,7 +750,15 @@ function retryAfterSeconds(response, nowMs) {
|
|
|
750
750
|
if (!Number.isFinite(retryAt)) return void 0;
|
|
751
751
|
return Math.min(Math.max(Math.ceil((retryAt - nowMs) / 1e3), 0), MAX_DEVICE_POLL_SECONDS);
|
|
752
752
|
}
|
|
753
|
-
|
|
753
|
+
var refreshing = /* @__PURE__ */ new Map();
|
|
754
|
+
function refreshTokens(refresh_token, opts = {}) {
|
|
755
|
+
const pending = refreshing.get(refresh_token);
|
|
756
|
+
if (pending) return pending;
|
|
757
|
+
const request = refreshOnce(refresh_token, opts).finally(() => refreshing.delete(refresh_token));
|
|
758
|
+
refreshing.set(refresh_token, request);
|
|
759
|
+
return request;
|
|
760
|
+
}
|
|
761
|
+
async function refreshOnce(refresh_token, opts) {
|
|
754
762
|
const { credentials } = await readStore();
|
|
755
763
|
if (credentials.oauth?.refresh_token !== refresh_token) throw ErrLoginChanged();
|
|
756
764
|
assertOAuthIdentity(credentials.oauth);
|
|
@@ -770,7 +778,7 @@ async function refreshTokens(refresh_token, opts = {}) {
|
|
|
770
778
|
body: body.toString()
|
|
771
779
|
});
|
|
772
780
|
if (res.status === 400 || res.status === 401) {
|
|
773
|
-
throw ErrRefreshFailed(await safeText2(res));
|
|
781
|
+
throw ErrRefreshFailed(await safeText2(res), { refused: true });
|
|
774
782
|
}
|
|
775
783
|
if (!res.ok) {
|
|
776
784
|
throw ErrApi(res.status, await safeText2(res) || res.statusText);
|
|
@@ -1087,30 +1095,80 @@ var envCredentialVar = (source) => source in ENV_CREDENTIAL_VAR ? ENV_CREDENTIAL
|
|
|
1087
1095
|
var EXPIRY_SKEW_MS = 60 * 1e3;
|
|
1088
1096
|
async function resolveCredential(opts = {}) {
|
|
1089
1097
|
const now = (opts.now ?? (() => /* @__PURE__ */ new Date()))();
|
|
1090
|
-
const
|
|
1091
|
-
if (
|
|
1092
|
-
return { type: "api_key", key: heygenEnv, source: "env" };
|
|
1093
|
-
}
|
|
1094
|
-
const hfEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env_alias);
|
|
1095
|
-
if (hfEnv) {
|
|
1096
|
-
return { type: "api_key", key: hfEnv, source: "env_alias" };
|
|
1097
|
-
}
|
|
1098
|
+
const envKey = envApiKey();
|
|
1099
|
+
if (envKey && !heygenApiHost()) return envKey;
|
|
1098
1100
|
const accessToken = headerSafeEnv(ENV_CREDENTIAL_VAR.env_oauth);
|
|
1099
1101
|
if (accessToken) {
|
|
1100
1102
|
return { type: "oauth", access_token: accessToken, source: "env_oauth", refreshable: false };
|
|
1101
1103
|
}
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
+
if (envKey && loginRefreshFailed) return envKey;
|
|
1105
|
+
return await fromStore(now, envKey);
|
|
1106
|
+
}
|
|
1107
|
+
async function fromStore(now, envKey) {
|
|
1108
|
+
const store = await readStore().catch((err) => {
|
|
1109
|
+
if (envKey) return null;
|
|
1110
|
+
throw err;
|
|
1111
|
+
});
|
|
1112
|
+
if (!store || store.source === "absent") {
|
|
1113
|
+
if (envKey) return envKey;
|
|
1114
|
+
throw ErrNotConfigured();
|
|
1115
|
+
}
|
|
1116
|
+
const { credentials, source } = store;
|
|
1104
1117
|
const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
if (credentials.
|
|
1110
|
-
|
|
1118
|
+
const login = credentials.oauth && boundToThisClient(credentials.oauth) ? pickOAuth(credentials.oauth, now, fileSource) : null;
|
|
1119
|
+
return login ?? envKey ?? storedApiKey(credentials, fileSource);
|
|
1120
|
+
}
|
|
1121
|
+
function storedApiKey(credentials, source) {
|
|
1122
|
+
if (credentials.oauth) {
|
|
1123
|
+
assertOAuthIdentity(credentials.oauth);
|
|
1124
|
+
throw ErrLoginExpired();
|
|
1111
1125
|
}
|
|
1126
|
+
if (credentials.api_key) return { type: "api_key", key: credentials.api_key, source };
|
|
1112
1127
|
throw ErrNotConfigured();
|
|
1113
1128
|
}
|
|
1129
|
+
function envApiKey() {
|
|
1130
|
+
const heygenEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env);
|
|
1131
|
+
if (heygenEnv) return { type: "api_key", key: heygenEnv, source: "env" };
|
|
1132
|
+
const hfEnv = headerSafeEnv(ENV_CREDENTIAL_VAR.env_alias);
|
|
1133
|
+
if (hfEnv) return { type: "api_key", key: hfEnv, source: "env_alias" };
|
|
1134
|
+
return void 0;
|
|
1135
|
+
}
|
|
1136
|
+
function heygenApiHost() {
|
|
1137
|
+
const mediaBase = process.env["HEYGEN_API_BASE"]?.trim();
|
|
1138
|
+
return [apiBaseUrl(), ...mediaBase ? [mediaBase] : []].every((base) => {
|
|
1139
|
+
try {
|
|
1140
|
+
const host = new URL(base).hostname;
|
|
1141
|
+
return host === "heygen.com" || host.endsWith(".heygen.com");
|
|
1142
|
+
} catch {
|
|
1143
|
+
return false;
|
|
1144
|
+
}
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
function boundToThisClient(tokens) {
|
|
1148
|
+
try {
|
|
1149
|
+
assertOAuthIdentity(tokens);
|
|
1150
|
+
return true;
|
|
1151
|
+
} catch {
|
|
1152
|
+
return false;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
var loginRefreshFailed = false;
|
|
1156
|
+
async function afterRefreshFailure(err, refreshToken) {
|
|
1157
|
+
if (!isAuthError(err)) throw err;
|
|
1158
|
+
if (err.code === "LOGIN_CHANGED" || err.code === "REFRESH_FAILED") {
|
|
1159
|
+
const stored = await readStore().catch(() => null);
|
|
1160
|
+
const current = stored?.credentials.oauth?.refresh_token;
|
|
1161
|
+
if (current && current !== refreshToken) {
|
|
1162
|
+
const next = await resolveCredential();
|
|
1163
|
+
if (next.type !== "oauth" || !next.refreshable) return next;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
if (!err.refused && err.code !== "LOGIN_EXPIRED") throw err;
|
|
1167
|
+
const key = envApiKey();
|
|
1168
|
+
if (!key) throw err;
|
|
1169
|
+
loginRefreshFailed = true;
|
|
1170
|
+
return key;
|
|
1171
|
+
}
|
|
1114
1172
|
function headerSafeEnv(name) {
|
|
1115
1173
|
const value = process.env[name];
|
|
1116
1174
|
if (value && !isHeaderSafe(value)) {
|
|
@@ -1172,6 +1230,7 @@ export {
|
|
|
1172
1230
|
ENV_CREDENTIAL_VAR,
|
|
1173
1231
|
envCredentialVar,
|
|
1174
1232
|
resolveCredential,
|
|
1233
|
+
afterRefreshFailure,
|
|
1175
1234
|
tryResolveCredential,
|
|
1176
1235
|
isTokenExpired
|
|
1177
1236
|
};
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CTPYBHF3.js";
|
|
12
12
|
import {
|
|
13
13
|
Fix,
|
|
14
14
|
ffmpegBin,
|
|
15
15
|
probeVideo,
|
|
16
16
|
round,
|
|
17
17
|
runFfmpeg
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RJ6LXDUC.js";
|
|
19
19
|
import {
|
|
20
20
|
defineCommand
|
|
21
21
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UDY3FS6G.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CX6MGY2B.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QXUDHDJU.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3AH6KE6F.js";
|
|
23
23
|
import {
|
|
24
24
|
FfmpegUnavailableError,
|
|
25
25
|
decideMediaProxyEligibility,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
resolveProxies,
|
|
29
29
|
scanProjectMediaCodecMap,
|
|
30
30
|
shouldPrewarmProxy
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2BARV2ZU.js";
|
|
32
32
|
import {
|
|
33
33
|
artifactDirectory,
|
|
34
34
|
finishSnapshotRun
|
|
@@ -46,24 +46,24 @@ import {
|
|
|
46
46
|
seekCompositionTimeline,
|
|
47
47
|
seekInPage,
|
|
48
48
|
waitForPreferredSeekTarget
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-C3FKYBZ4.js";
|
|
50
50
|
import {
|
|
51
51
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
52
52
|
} from "./chunk-YGGZ23BB.js";
|
|
53
53
|
import {
|
|
54
54
|
findStageProxyBox
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-XEP7PGXS.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveAutoProxy
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HRSZOW3U.js";
|
|
59
59
|
import {
|
|
60
60
|
BrowserCleanupError,
|
|
61
61
|
closeManagedBrowser,
|
|
62
62
|
onStopSignal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-TBCRTIXP.js";
|
|
64
64
|
import {
|
|
65
65
|
injectTagsAtHeadStart
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-OUZSRPKC.js";
|
|
67
67
|
import {
|
|
68
68
|
normalizeErrorMessage
|
|
69
69
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -582,7 +582,7 @@ function proxyFailedDraft(message) {
|
|
|
582
582
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
583
583
|
}
|
|
584
584
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
585
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
585
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZZ6Y4CEO.js");
|
|
586
586
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
587
587
|
}
|
|
588
588
|
function withCapturePreviewMark(html) {
|
|
@@ -644,7 +644,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
644
644
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
645
645
|
}));
|
|
646
646
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
647
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
647
|
+
const { analyzeClipMediaFit } = await import("./src-MTLH4YHV.js");
|
|
648
648
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
649
649
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
650
650
|
}
|
|
@@ -785,7 +785,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
785
785
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
786
786
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
787
787
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
788
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
788
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZZ6Y4CEO.js");
|
|
789
789
|
return withCapturePreviewMark(
|
|
790
790
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
791
791
|
);
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PUMQDN2T.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CTPYBHF3.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
keepVoice,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
publicVoices,
|
|
21
21
|
runJob,
|
|
22
22
|
senderScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-V6MZZEA7.js";
|
|
24
24
|
import {
|
|
25
25
|
Fix,
|
|
26
26
|
probeVideo,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
round,
|
|
29
29
|
runFfmpeg,
|
|
30
30
|
videoClip
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RJ6LXDUC.js";
|
|
32
32
|
import {
|
|
33
33
|
defineCommand
|
|
34
34
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ULH6TLE3.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-UCJ4KC75.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EG7FZSEF.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-GBEGZOP3.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-DZNJD7BH.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderFrameIdForRenderId,
|
|
43
43
|
resolveAuthoredTimingWindow,
|
|
44
44
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-N6O2RQLQ.js";
|
|
46
46
|
import {
|
|
47
47
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
48
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
sourceTimeAt,
|
|
86
86
|
timeAtSourceTime,
|
|
87
87
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-OUZSRPKC.js";
|
|
89
89
|
import {
|
|
90
90
|
redactTelemetryString,
|
|
91
91
|
redactUrlQueryStrings
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-WE42NVH7.js";
|
|
104
104
|
import {
|
|
105
105
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-BGMMC352.js";
|
|
107
107
|
import {
|
|
108
108
|
FFMPEG_PATH_ENV,
|
|
109
109
|
FFPROBE_PATH_ENV,
|
|
@@ -19479,6 +19479,7 @@ export {
|
|
|
19479
19479
|
augmentPageNavigationTimeoutError,
|
|
19480
19480
|
isPageNavigationTimeoutError,
|
|
19481
19481
|
forcePreservedDrawingBuffer,
|
|
19482
|
+
holdRenderFrameVideos,
|
|
19482
19483
|
DrawElementCaptureError,
|
|
19483
19484
|
isDrawElementCaptureError,
|
|
19484
19485
|
decodePng,
|
|
@@ -19525,6 +19526,7 @@ export {
|
|
|
19525
19526
|
buildZeroDurationDiagnostic,
|
|
19526
19527
|
evaluateHfDiagnostic,
|
|
19527
19528
|
waitForImagesReady,
|
|
19529
|
+
applyVideoMetadataHints,
|
|
19528
19530
|
VfxFailureError,
|
|
19529
19531
|
initializeSession,
|
|
19530
19532
|
captureFrame,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
rewriteHtmlAttributes,
|
|
13
13
|
rewriteStyleBlocks,
|
|
14
14
|
stagedSize
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-74VSOKKS.js";
|
|
16
16
|
import {
|
|
17
17
|
probeAudio
|
|
18
18
|
} from "./chunk-SWC3QIEH.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
findFFmpeg,
|
|
21
21
|
findFFprobe,
|
|
22
22
|
getFFmpegInstallHint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DZNJD7BH.js";
|
|
24
24
|
import {
|
|
25
25
|
formatBytes
|
|
26
26
|
} from "./chunk-5LOZWO2M.js";
|
|
27
27
|
import {
|
|
28
28
|
parseAnimatedGifMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N6O2RQLQ.js";
|
|
30
30
|
import {
|
|
31
31
|
cleanAssetUrl,
|
|
32
32
|
isRemoteOrInlineUrl,
|
|
@@ -619,7 +619,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
619
619
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
620
620
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
621
621
|
if (!sourceAssets) return;
|
|
622
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
622
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-KS6W3WRC.js")).prepareAnimatedGifInputs;
|
|
623
623
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
624
624
|
ctx.tempFiles.push(outputDir);
|
|
625
625
|
const result = await prep(html, {
|
|
@@ -6,17 +6,17 @@ 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-TSCO4XR4.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-5LOZWO2M.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IAZ2A7D6.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N6O2RQLQ.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X2PPRHKO.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N6O2RQLQ.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SE6O4APZ.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-N6O2RQLQ.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BGMMC352.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|