hyperframes 0.8.228 → 0.8.230
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-5BRVXGZV.js → add-ZFTVMGJ2.js} +11 -11
- package/dist/{agentPromptGenerator-UZ3FX4D3.js → agentPromptGenerator-EEBHEUEF.js} +8 -7
- package/dist/{animatedGifPrep-2XRRZPQO.js → animatedGifPrep-UMPPCLWN.js} +8 -7
- package/dist/api.js +27 -26
- package/dist/{asset-P7AMFWJH.js → asset-A3OP633F.js} +2 -2
- package/dist/{assetCataloger-OZZ5MJBG.js → assetCataloger-PEJSHMPN.js} +10 -9
- package/dist/{audio-SJ2FVL2U.js → audio-TLYTPBM3.js} +17 -16
- package/dist/{auth-HKMZPPR7.js → auth-BXAJN6RK.js} +4 -4
- package/dist/{autoUpdate-LL3OOBWP.js → autoUpdate-K7LZBRTU.js} +2 -2
- package/dist/{backgroundChecks-XQO65DJE.js → backgroundChecks-QWFCJ6TK.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-XZYDF2FG.js → batchRender-BCJRGQHY.js} +3 -3
- package/dist/{beats-3IGHLEBF.js → beats-NOIQZVH5.js} +9 -9
- package/dist/{benchmark-IW6RD4YW.js → benchmark-L2HQTYWL.js} +8 -8
- package/dist/{billing-WNOAP6KO.js → billing-FFWAEIQ6.js} +3 -3
- package/dist/{browser-H53R7G4S.js → browser-EDJ5MBKD.js} +5 -4
- package/dist/{bundleWithLocalizedFonts-I7PYCJHZ.js → bundleWithLocalizedFonts-TPVRBZIK.js} +2 -2
- package/dist/{capture-CONXFELZ.js → capture-3SANI4UY.js} +18 -17
- package/dist/{capture-VS5ZCDVK.js → capture-QWZ5QODO.js} +3 -3
- package/dist/{captureCompositionFrame-CXMJFFT6.js → captureCompositionFrame-MS2HZXRW.js} +14 -13
- package/dist/{catalog-T35EYURG.js → catalog-R5K6MWIG.js} +13 -12
- package/dist/{catch-up-5ADD6TS2.js → catch-up-7BNUPGJ6.js} +4 -4
- package/dist/{check-I2O6NZY4.js → check-GYXWKYE5.js} +40 -39
- package/dist/{checkAudio-TL5G6H6R.js → checkAudio-DHHNBUVG.js} +11 -10
- package/dist/{checkBrowser-IBLU6INC.js → checkBrowser-LNXZAIEZ.js} +34 -33
- package/dist/{chunk-TZOQFBBQ.js → chunk-2D2RRZT7.js} +2 -2
- package/dist/{chunk-7THO7IAN.js → chunk-2JVDORVD.js} +2 -2
- package/dist/{chunk-J5D43JAY.js → chunk-2TVJN55K.js} +2 -2
- package/dist/{chunk-MIJSNZCK.js → chunk-3BWYSXMK.js} +3 -3
- package/dist/{chunk-MD4ITN4F.js → chunk-3PZ4A3EL.js} +14 -14
- package/dist/{chunk-CKS7JLWO.js → chunk-4NWPFZ3L.js} +11 -8
- package/dist/chunk-4PNFWK4W.js +5030 -0
- package/dist/{chunk-TIRQAJTW.js → chunk-56CHSBGE.js} +14 -14
- package/dist/{chunk-BYU5BWLS.js → chunk-5KW5SITK.js} +11 -11
- package/dist/{chunk-Y65ZU7XY.js → chunk-5UT3R43E.js} +21 -18
- package/dist/{chunk-CPFOW5I3.js → chunk-5Y36ONBR.js} +1 -1
- package/dist/{chunk-4EZVX3S4.js → chunk-6PVFGNKW.js} +43 -19
- package/dist/{chunk-3ZKTX4RA.js → chunk-6UYYXEUT.js} +1 -1
- package/dist/chunk-766MOTIZ.js +18 -0
- package/dist/{chunk-FG4BBFZI.js → chunk-7YCF2F5M.js} +4 -1
- package/dist/{chunk-DRIXZXHR.js → chunk-A2YVTHFV.js} +1 -1
- package/dist/{chunk-LDAKZ65G.js → chunk-AJE3DDAK.js} +2 -2
- package/dist/{chunk-7T2OIXVQ.js → chunk-ARJDVDDW.js} +1 -1
- package/dist/{chunk-44H3ZPQ2.js → chunk-B4EC7MLH.js} +3 -3
- package/dist/{chunk-X6JPD24H.js → chunk-BGBSNRZN.js} +2 -2
- package/dist/{chunk-WIK27NBN.js → chunk-CJQK4ZIE.js} +7 -7
- package/dist/{chunk-CK4PLF77.js → chunk-CLKV7JFF.js} +1 -1
- package/dist/{chunk-WMLUEEKU.js → chunk-CNI6P4N3.js} +3 -3
- package/dist/{chunk-ELECXYY6.js → chunk-DRNRROYF.js} +2 -2
- package/dist/{chunk-MKCTDPSJ.js → chunk-DUAWYFWW.js} +5 -3
- package/dist/{chunk-AUKCANZ5.js → chunk-EIYQX23K.js} +1 -1
- package/dist/{chunk-EWUQH2H2.js → chunk-EJPKTQIL.js} +1 -1
- package/dist/{chunk-OYR33QMF.js → chunk-FNDKV2AD.js} +1 -1
- package/dist/{chunk-53ZOVLGJ.js → chunk-FZM6E4S4.js} +1 -1
- package/dist/{chunk-OVMEEYHH.js → chunk-GJ2ESZC4.js} +3 -3
- package/dist/{chunk-UWS3BKTB.js → chunk-GO3BLPTW.js} +1 -1
- package/dist/{chunk-V4SD6HQ6.js → chunk-GOPJLAMZ.js} +21 -19
- package/dist/{chunk-QFXT2ZJ4.js → chunk-GVUXSS6R.js} +7 -7
- package/dist/{chunk-KP2YSOJ5.js → chunk-I5RUZETZ.js} +2 -2
- package/dist/{chunk-HZ7QD54G.js → chunk-I6BKRA57.js} +6 -6
- package/dist/{chunk-AHCAIKBH.js → chunk-ISJ2W4CG.js} +1 -1
- package/dist/{chunk-DCLGVVR7.js → chunk-IUUQ22F4.js} +8 -5
- package/dist/{chunk-TFJSU4IV.js → chunk-IWMVCOUX.js} +8 -6
- package/dist/{chunk-FHBWBQMS.js → chunk-J6NBMUDH.js} +2 -2
- package/dist/{chunk-GR2T3BOX.js → chunk-JAU6XH2U.js} +1 -1
- package/dist/{chunk-KZPMI6BZ.js → chunk-K3SQVEIB.js} +8 -12
- package/dist/{chunk-UWM22NR5.js → chunk-L47UDYP3.js} +1 -1
- package/dist/{chunk-MMHM3KKV.js → chunk-LBVU3TVN.js} +2 -2
- package/dist/{chunk-2TL6R2B5.js → chunk-M6ZPTCQF.js} +6 -6
- package/dist/{chunk-GGH5MQHG.js → chunk-MCVX4UXA.js} +1 -1
- package/dist/{chunk-GHPR346W.js → chunk-MPRXE6II.js} +3 -3
- package/dist/{chunk-FSTBQD2F.js → chunk-MYAB3HNP.js} +1 -1
- package/dist/{chunk-C4YBIKYO.js → chunk-NPPXBR26.js} +1 -1
- package/dist/{chunk-MOZ5DSCP.js → chunk-OBVTIR2F.js} +3 -3
- package/dist/{chunk-VUDMPRZN.js → chunk-OHWVSTNO.js} +2 -2
- package/dist/{chunk-YZTGIVCU.js → chunk-OPLR3AWT.js} +10 -10
- package/dist/{chunk-RUKYGXUW.js → chunk-P7SEWZV5.js} +1 -1
- package/dist/{chunk-4QRJNEY2.js → chunk-PLHQUBAY.js} +1 -1
- package/dist/{chunk-T4C5HPYH.js → chunk-PS37DU4F.js} +1 -1
- package/dist/{chunk-WP64W5LK.js → chunk-PZNWJDPR.js} +1 -1
- package/dist/{chunk-QNW43LWB.js → chunk-Q3SKYJGG.js} +7 -4
- package/dist/{chunk-3ZWUNOTS.js → chunk-QEQEKBL7.js} +1 -1
- package/dist/{chunk-KANCJWEU.js → chunk-QV36OSND.js} +1 -1
- package/dist/{chunk-D3OWJKJC.js → chunk-RT2EBZP2.js} +4 -4
- package/dist/{chunk-QTV666C6.js → chunk-RTUKNMA4.js} +1 -1
- package/dist/{chunk-MSCU7EGT.js → chunk-RUW4IMIR.js} +2 -2
- package/dist/{chunk-5J6IHFXE.js → chunk-RVDNZAZY.js} +1 -1
- package/dist/{chunk-R2C5EON5.js → chunk-RXFKSZN2.js} +2 -1
- package/dist/{chunk-XVK7Z5LC.js → chunk-SNGNCTDX.js} +1 -1
- package/dist/{chunk-ALLYZDHR.js → chunk-SOC3QD2H.js} +1 -1
- package/dist/{chunk-UOJSQZBR.js → chunk-TINSW7PZ.js} +3 -3
- package/dist/{chunk-YQVFMOMM.js → chunk-TPZ424FN.js} +1 -1
- package/dist/{chunk-OOM4KSV6.js → chunk-TW2GRPKX.js} +2 -2
- package/dist/{chunk-4RUY7VE4.js → chunk-TWFKOHB5.js} +11 -11
- package/dist/{chunk-YKB7R3ED.js → chunk-UCIYEJN4.js} +12 -12
- package/dist/{chunk-PVZRUN64.js → chunk-UCKQN6BX.js} +1 -1
- package/dist/{chunk-QU5OYMTB.js → chunk-UGUYWTWD.js} +5 -3
- package/dist/{chunk-M2WUVR6S.js → chunk-UI2ZEY3S.js} +1 -1
- package/dist/{chunk-MXZXPXHQ.js → chunk-UPYIHSZF.js} +7 -7
- package/dist/{chunk-ZFVNYA3M.js → chunk-UWZ2OIWM.js} +1 -1
- package/dist/{chunk-RQD2CQDC.js → chunk-VSOHYXNI.js} +2 -2
- package/dist/{chunk-GB4ZE5GE.js → chunk-VTKVQIH2.js} +10 -8
- package/dist/{chunk-FZUHMD3I.js → chunk-WHO74N3U.js} +19 -19
- package/dist/{chunk-SJAAY2FB.js → chunk-WP4WBVCB.js} +1 -1
- package/dist/{chunk-QSWUM7WR.js → chunk-WTUIK6Y4.js} +1 -1
- package/dist/{chunk-2GTFW4MK.js → chunk-WVRAFHJU.js} +16 -2
- package/dist/{chunk-G3AG7A42.js → chunk-X5FSMQEJ.js} +4 -2
- package/dist/{chunk-DUMEO6NK.js → chunk-YGRA5UJG.js} +1 -1
- package/dist/{chunk-3OGN5ESJ.js → chunk-YIZIBPZI.js} +3 -3
- package/dist/{chunk-FKPJP7KG.js → chunk-YK25FG4Q.js} +5 -2
- package/dist/{chunk-AJAK6K6Z.js → chunk-YTEDOLWP.js} +12 -15
- package/dist/{chunk-2WZSWSVB.js → chunk-Z364Z3IE.js} +1 -1
- package/dist/{chunk-V76CLMWJ.js → chunk-Z4P4Y2FC.js} +2 -2
- package/dist/{chunk-UZOIYEQT.js → chunk-Z5LQYHUG.js} +3 -3
- package/dist/{chunk-XOFJZ3UG.js → chunk-ZDQEVQHB.js} +1 -1
- package/dist/{chunk-W6RA5HVS.js → chunk-ZIOSKQ5M.js} +3 -3
- package/dist/{chunk-RSE7JAWA.js → chunk-ZTLYHUR4.js} +2 -2
- package/dist/{chunk-PTIDUVWP.js → chunk-ZVSU727V.js} +1 -1
- package/dist/{clean-XD6Y2WR3.js → clean-2L3ZWO2D.js} +21 -20
- package/dist/cli.js +59 -59
- package/dist/{cloud-XDAV4XVD.js → cloud-U57KZR6H.js} +4 -4
- package/dist/{cloudrun-WH47ZBWZ.js → cloudrun-I4B3BXSH.js} +4 -4
- package/dist/{compare-C33OVRPA.js → compare-CBLFYWG7.js} +33 -32
- package/dist/{compiler-JT3NQV6V.js → compiler-QWW2ROBH.js} +4 -4
- package/dist/{component-JG435H3P.js → component-M3K63KF7.js} +3 -3
- package/dist/{compositions-URALETMD.js → compositions-4YUYGFL6.js} +12 -11
- package/dist/{contactSheet-WG4HT5XP.js → contactSheet-RJTY6IIV.js} +3 -2
- package/dist/{curve-X3AVF7X7.js → curve-XR7AE6L7.js} +12 -11
- package/dist/{cuts-6PSTVWG4.js → cuts-MRQ6MDGL.js} +13 -12
- package/dist/{delete-CNAUU4A5.js → delete-AVTCERRU.js} +5 -5
- package/dist/{deploy-QHVNI6OC.js → deploy-7ST7E4WX.js} +5 -3
- package/dist/{describeProject-KRSRBDRI.js → describeProject-4XZBAMTL.js} +9 -8
- package/dist/{deterministicFonts-LV2JMOJL.js → deterministicFonts-H4RC6TOJ.js} +2 -1
- package/dist/{diff-QOPUPZDJ.js → diff-5YUXDZOX.js} +26 -25
- package/dist/{dist-3LBVDOZK.js → dist-B2QQUFZP.js} +2 -2
- package/dist/{dist-DCP77RWC.js → dist-HPM7VDPI.js} +2 -2
- package/dist/docs/audio.md +20 -0
- package/dist/docs/transcribe.md +27 -0
- package/dist/{docs-IB3KETC6.js → docs-D22SOQEZ.js} +8 -0
- package/dist/{doctor-ZYY3SUPX.js → doctor-HLB63OT3.js} +14 -13
- package/dist/{energy-ANNB2G7X.js → energy-VW77ZV3F.js} +13 -12
- package/dist/{events-S6WZTCOM.js → events-5GGAU7ZZ.js} +3 -3
- package/dist/{events-2WUPYUDV.js → events-V6DADTLI.js} +15 -14
- package/dist/{events-XBOXT3LK.js → events-ZH54ZY4B.js} +2 -2
- package/dist/{extract-RQBPKZ3L.js → extract-B5MVUVQ6.js} +13 -12
- package/dist/{face-T2657W3M.js → face-G7III3PJ.js} +13 -12
- package/dist/{feedback-WTK3BR2G.js → feedback-4DFZBTNB.js} +10 -10
- package/dist/{ffmpeg-3XMQNQFR.js → ffmpeg-2AGKTQG2.js} +8 -7
- package/dist/{figma-PZNTF4W4.js → figma-4K3CO4RJ.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -11
- package/dist/{frames-2PY32Z4T.js → frames-34HBSWM5.js} +15 -14
- package/dist/{generate-53UW2CER.js → generate-OGIXKYI4.js} +18 -17
- package/dist/{get-N4IILPTB.js → get-JDO3MZ2A.js} +5 -5
- package/dist/{gpuPolicy-DYOKYL7P.js → gpuPolicy-UDII6SVQ.js} +8 -7
- package/dist/{grade-compare-AOWOOIO5.js → grade-compare-FX2ZBKQV.js} +34 -33
- package/dist/{heifImagePrep-H677DLTO.js → heifImagePrep-PPM72A76.js} +9 -8
- package/dist/{help-ZHUXAQZV.js → help-4TFE5IRX.js} +1 -1
- package/dist/{history-54QWLPEE.js → history-PDIPYZDO.js} +8 -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-6K5JUWRP.js → info-QLAVL4D6.js} +7 -7
- package/dist/{init-5TCIBSKP.js → init-IJTIPTM5.js} +28 -27
- package/dist/{ink-XX5RM2CD.js → ink-2MHROV35.js} +13 -12
- package/dist/{inspect-3V2V3KL2.js → inspect-YR63O7PQ.js} +32 -31
- package/dist/{installer-XCAV3J6A.js → installer-4L6AMT6A.js} +4 -4
- package/dist/{keyframes-GCS2X7TX.js → keyframes-OVPB24JR.js} +7 -7
- package/dist/{lambda-6JUZYXME.js → lambda-AP3DWGVZ.js} +12 -11
- package/dist/{layout-2G4GEINC.js → layout-WFOB4NH7.js} +32 -31
- package/dist/{lint-JE2VSIGZ.js → lint-QDXZ2JIL.js} +8 -8
- package/dist/{lintProject-54CNQ4HT.js → lintProject-BD6IM66W.js} +2 -2
- package/dist/{list-MV3PLJDW.js → list-E34IXXFK.js} +5 -5
- package/dist/{localPage-WTACQ4HH.js → localPage-VHLJTQY2.js} +8 -7
- package/dist/{login-R4Q7Q64M.js → login-CEPXJR3A.js} +20 -8
- package/dist/{logout-6CEIH4HW.js → logout-B6H5F5YP.js} +2 -2
- package/dist/{look-BGDLDBVW.js → look-GC35DD7I.js} +13 -12
- package/dist/{manager-BT5X67BV.js → manager-KMK5LM5C.js} +9 -8
- package/dist/{manager-ENFYM32B.js → manager-QLCWYXYQ.js} +2 -1
- package/dist/{measure-ZTOIX5EH.js → measure-BBUH4DRN.js} +11 -11
- package/dist/{media-treatment-BL5JCBJ6.js → media-treatment-QVROLLSA.js} +28 -14
- package/dist/{media-use-AUAF4NW6.js → media-use-UV6EIS3H.js} +2 -2
- package/dist/{models-QSUPPDL2.js → models-HO7UMXYV.js} +12 -11
- package/dist/{motionShot-PDSNKYAY.js → motionShot-3MU24L46.js} +18 -17
- package/dist/{normalize-audio-RH556PEC.js → normalize-audio-CLVSEOAU.js} +9 -9
- package/dist/{open-JMC3AM42.js → open-VIM437EH.js} +11 -11
- package/dist/{parakeetRunner-RHK7LU3T.js → parakeetRunner-36TVWXLQ.js} +14 -13
- package/dist/{pipeline-AMQUBBUD.js → pipeline-SKRS5WMZ.js} +12 -11
- package/dist/{play-HRBMMSTB.js → play-JNJEJZON.js} +22 -21
- package/dist/{preflight-R5WNJ5KC.js → preflight-YPDAPSAQ.js} +10 -9
- package/dist/{present-G4ASOHGK.js → present-C7EQ5LCW.js} +18 -17
- package/dist/{preview-E76EMLHL.js → preview-BPFZG3P3.js} +19 -18
- package/dist/{probe-ZAHTMJ4K.js → probe-JNHRDFQS.js} +12 -11
- package/dist/{producer-CNJP7NWH.js → producer-LHWVMF6E.js} +1 -1
- package/dist/{projectConfig-AXBTPJSK.js → projectConfig-3QUI7VQX.js} +6 -6
- package/dist/{publication-CZY3OVDJ.js → publication-BPQMAQ3J.js} +2 -2
- package/dist/{publish-NCKCQFU3.js → publish-GQL3RUPQ.js} +14 -14
- package/dist/{refresh-MQTO43RB.js → refresh-T6JLFCS4.js} +2 -2
- package/dist/{remove-background-XBBLE6ZN.js → remove-background-I2UM53VK.js} +13 -12
- package/dist/{render-K4SN2VZ2.js → render-IWL3CDAJ.js} +22 -21
- package/dist/{render-4NTEIX6C.js → render-YKWOGHXS.js} +5 -5
- package/dist/{render-MPERU2AI.js → render-ZUDCNEET.js} +38 -37
- package/dist/{render-batch-STMZ5ZGQ.js → render-batch-CFOWBUY5.js} +5 -5
- package/dist/renderSetupWorker.js +4 -3
- package/dist/{resolver-YWKOIBSQ.js → resolver-LDVP5D6K.js} +4 -4
- package/dist/{run-OJ2GBYKB.js → run-MTGSR5HH.js} +4 -3
- package/dist/{screenshotCapture-RUDON2HB.js → screenshotCapture-HTGXPA7D.js} +1 -1
- package/dist/{sherpa-KFLH5Z7E.js → sherpa-47XSQ5SC.js} +13 -12
- package/dist/skills/media-use/scripts/lib/cube-validate.mjs +1 -1
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +9 -4
- package/dist/{skills-ZG2QPQYG.js → skills-SA2B6X37.js} +5 -5
- package/dist/{skillsUpdateCheck-GVYAPPEI.js → skillsUpdateCheck-V4SUWFZF.js} +3 -3
- package/dist/{snapshot-YCHIYLWT.js → snapshot-D5BJGYXC.js} +54 -41
- package/dist/{src-XCS2N6EG.js → src-PYUEICT3.js} +11 -10
- package/dist/{src-27JZLSBO.js → src-QSUFF6F6.js} +7 -6
- package/dist/{staticProjectServer-ASRDNNFG.js → staticProjectServer-4X3QJKBR.js} +20 -19
- package/dist/{status-6WAZ5EBM.js → status-Z5BPMROD.js} +4 -4
- package/dist/studio/assets/{hyperframes-player-Cf70g7g5.js → hyperframes-player-Dv5Ew1Dr.js} +1 -1
- package/dist/studio/assets/{index-KTleZEQO.js → index-BvqtI0ko.js} +160 -160
- package/dist/studio/assets/{index-Ds4bLp7M.js → index-hiL49K7x.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-YKUVSV4J.js → studio-api-F6GR7BOG.js} +12 -11
- package/dist/{studioServer-MZNEVHXX.js → studioServer-Z5Y5JSD3.js} +55 -54
- package/dist/{sync-NLO3YATC.js → sync-VFNQSZCF.js} +13 -12
- package/dist/{synthesize-DIT2SR3D.js → synthesize-YYT7UON6.js} +5 -3
- package/dist/{telemetry-K5HV7W2M.js → telemetry-VVGZLWWF.js} +3 -3
- package/dist/{timeline-QRSILS6F.js → timeline-MURAFV53.js} +20 -19
- package/dist/{tokens-D6PLMRPT.js → tokens-4BI3CVLA.js} +2 -2
- package/dist/{transcribe-ABCSYFPP.js → transcribe-LP5SBIA5.js} +11 -10
- package/dist/{transcribe-A6ZABVDW.js → transcribe-W6X6MWKO.js} +23 -22
- package/dist/{tts-ZLNNIS6W.js → tts-JHGGL7GL.js} +3 -2
- package/dist/{updateCheck-V4G5IV43.js → updateCheck-MKHH55H2.js} +2 -2
- package/dist/{upgrade-OS7M65CJ.js → upgrade-7M7S4RSB.js} +2 -2
- package/dist/{urlDownloader-ONLQCQ7O.js → urlDownloader-3MPDWAYA.js} +7 -6
- package/dist/{validate-BYDGTD6L.js → validate-KDXR4CQK.js} +26 -25
- package/dist/{video-O2LMQZWJ.js → video-XDL4BHZ5.js} +10 -9
- package/dist/warmCheck.js +41 -40
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-NWU7H447.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-UI2ZEY3S.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5KW5SITK.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CNI6P4N3.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GO3BLPTW.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2D2RRZT7.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-4PNFWK4W.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-5Y36ONBR.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-LHWVMF6E.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-
|
|
277
|
-
const { ensureBrowser } = await import("./manager-
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-QWW2ROBH.js");
|
|
277
|
+
const { ensureBrowser } = await import("./manager-QLCWYXYQ.js");
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-4X3QJKBR.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-BD6IM66W.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-QSUFF6F6.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-UDII6SVQ.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,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RXFKSZN2.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CNI6P4N3.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GO3BLPTW.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2D2RRZT7.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z4P4Y2FC.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IUUQ22F4.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-QSUFF6F6.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-4X3QJKBR.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-QSUFF6F6.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -222,10 +222,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
222
222
|
}
|
|
223
223
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
224
224
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
225
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
225
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-QLCWYXYQ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-QSUFF6F6.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -7,6 +7,9 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
buildNpmCommand
|
|
9
9
|
} from "./chunk-6BEFEWFB.js";
|
|
10
|
+
import {
|
|
11
|
+
hyperframesCacheDir
|
|
12
|
+
} from "./chunk-766MOTIZ.js";
|
|
10
13
|
|
|
11
14
|
// src/utils/optionalPackages.ts
|
|
12
15
|
import { spawn } from "child_process";
|
|
@@ -23,7 +26,6 @@ import {
|
|
|
23
26
|
writeFileSync
|
|
24
27
|
} from "fs";
|
|
25
28
|
import { createRequire } from "module";
|
|
26
|
-
import { homedir } from "os";
|
|
27
29
|
import { basename, dirname, join, sep } from "path";
|
|
28
30
|
var OPTIONAL_PACKAGES = {
|
|
29
31
|
"onnxruntime-node": "1.21.1",
|
|
@@ -33,7 +35,7 @@ var PINNED_PACKAGES = {
|
|
|
33
35
|
...OPTIONAL_PACKAGES,
|
|
34
36
|
"sherpa-onnx-node": "1.13.8"
|
|
35
37
|
};
|
|
36
|
-
var CACHE_DIR =
|
|
38
|
+
var CACHE_DIR = hyperframesCacheDir("optional");
|
|
37
39
|
var SHARP_VERSION = "0.35.3";
|
|
38
40
|
function optionalPackageDir(name, cacheDir = CACHE_DIR) {
|
|
39
41
|
return join(cacheDir, `${name.replace("/", "__")}@${versionOf(name)}`);
|
|
@@ -187,9 +189,9 @@ function loadBesideCli(name, cliUrl = import.meta.url) {
|
|
|
187
189
|
const copy = pinnedPackageBesideCli(name, cliUrl);
|
|
188
190
|
return copy?.resolution === "entry" ? createRequire(cliUrl)(copy.path) : null;
|
|
189
191
|
}
|
|
190
|
-
function runNpm(args, signal) {
|
|
192
|
+
function runNpm(args, signal, cwd) {
|
|
191
193
|
const npm = buildNpmCommand(args);
|
|
192
|
-
const child = spawn(npm.command, npm.args, { stdio: ["ignore", "pipe", "pipe"], signal });
|
|
194
|
+
const child = spawn(npm.command, npm.args, { stdio: ["ignore", "pipe", "pipe"], signal, cwd });
|
|
193
195
|
return new Promise((resolve, reject) => {
|
|
194
196
|
let output = "";
|
|
195
197
|
child.stdout.on("data", (chunk) => output += chunk);
|
|
@@ -228,25 +230,26 @@ function sweepStaleStaging(dir) {
|
|
|
228
230
|
}
|
|
229
231
|
}
|
|
230
232
|
}
|
|
231
|
-
async function install(dir, name, version, run = runNpm) {
|
|
233
|
+
async function install(dir, name, version, run = (args, cwd) => runNpm(args, void 0, cwd)) {
|
|
232
234
|
sweepStaleStaging(dir);
|
|
233
235
|
const staging = `${dir}.tmp-${process.pid}-${randomUUID().slice(0, 8)}`;
|
|
234
236
|
mkdirSync(staging, { recursive: true });
|
|
235
237
|
writeFileSync(join(staging, "package.json"), "{}");
|
|
236
238
|
try {
|
|
237
|
-
await run(
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
239
|
+
await run(
|
|
240
|
+
[
|
|
241
|
+
"install",
|
|
242
|
+
`${name}@${version}`,
|
|
243
|
+
"--no-audit",
|
|
244
|
+
"--no-fund",
|
|
245
|
+
"--loglevel=error",
|
|
246
|
+
// A first-use install is interactive, not a CI resolve: fail fast and name the
|
|
247
|
+
// manual command instead of sitting through npm's default multi-minute backoff.
|
|
248
|
+
"--fetch-retries=0",
|
|
249
|
+
"--fetch-timeout=20000"
|
|
250
|
+
],
|
|
251
|
+
staging
|
|
252
|
+
);
|
|
250
253
|
if (isInstalled(dir, name)) return;
|
|
251
254
|
rmSync(dir, { recursive: true, force: true });
|
|
252
255
|
renameSync(staging, dir);
|
|
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NPPXBR26.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2JVDORVD.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RT2EBZP2.js";
|
|
20
20
|
import {
|
|
21
21
|
Fix,
|
|
22
22
|
probeVideo,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
round,
|
|
25
25
|
runFfmpeg,
|
|
26
26
|
videoClip
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Z364Z3IE.js";
|
|
28
28
|
import {
|
|
29
29
|
defineCommand
|
|
30
30
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -48,6 +48,7 @@ var GENERATE_TYPES = [
|
|
|
48
48
|
"voice",
|
|
49
49
|
"music"
|
|
50
50
|
];
|
|
51
|
+
var RING_MOVED = 6;
|
|
51
52
|
function parseMask(text) {
|
|
52
53
|
const m = /^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+(?:\.\d+)?)\s*-\s*(\d+(?:\.\d+)?)\s*)?$/.exec(
|
|
53
54
|
text
|
|
@@ -57,24 +58,29 @@ function parseMask(text) {
|
|
|
57
58
|
const box = [Number(m[1]), Number(m[2]), Number(m[3]), Number(m[4])];
|
|
58
59
|
return m[5] ? { box, window: [Number(m[5]), Number(m[6])] } : { box };
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
-
return masks.flatMap(({ box: [x, y, w, h], window }) => {
|
|
62
|
-
const [x0, y0] = [Math.max(1, x), Math.max(1, y)];
|
|
63
|
-
const [x1, y1] = [Math.min(width - 2, x + w), Math.min(height - 2, y + h)];
|
|
64
|
-
if (x1 - x0 < 1 || y1 - y0 < 1) return [];
|
|
65
|
-
const when = window ? `:enable='between(t,${window[0]},${window[1]})'` : "";
|
|
66
|
-
return [`delogo=x=${x0}:y=${y0}:w=${x1 - x0}:h=${y1 - y0}${when}`];
|
|
67
|
-
}).join(",");
|
|
68
|
-
}
|
|
69
|
-
function maskFilters(masks, fps) {
|
|
61
|
+
function maskFilters(masks, fps, stale) {
|
|
70
62
|
const radius = Math.min(127, Math.max(2, Math.round(fps)));
|
|
71
|
-
const steps = masks.map((
|
|
72
|
-
const
|
|
63
|
+
const steps = masks.map((mask, i) => {
|
|
64
|
+
const [x, y, w, h] = mask.box;
|
|
65
|
+
const when = mask.window ? `:enable='between(t,${mask.window[0]},${mask.window[1]})'` : "";
|
|
73
66
|
const [w2, h2] = [w - w % 2, h - h % 2];
|
|
74
|
-
|
|
67
|
+
const fill = stale.includes(mask) ? `scale=3:3:flags=area,scale=${w2}:${h2}:flags=bicubic` : `tmedian=radius=${radius}`;
|
|
68
|
+
return `[v${i}]split[a${i}][b${i}];[b${i}]crop=${w2}:${h2}:${x}:${y},${fill}[m${i}];[a${i}][m${i}]overlay=${x}:${y}${when}[v${i + 1}]`;
|
|
75
69
|
});
|
|
76
70
|
return `[0:v]null[v0];${steps.join(";")}`;
|
|
77
71
|
}
|
|
72
|
+
function ringChange(a, b, width, [x, y, w, h]) {
|
|
73
|
+
const height = a.length / width;
|
|
74
|
+
const pad = Math.max(w, h) >> 1;
|
|
75
|
+
const changes = [];
|
|
76
|
+
for (let py = Math.max(0, y - pad); py < Math.min(height, y + h + pad); py += 4)
|
|
77
|
+
for (let px = Math.max(0, x - pad); px < Math.min(width, x + w + pad); px += 4) {
|
|
78
|
+
if (px >= x && px < x + w && py >= y && py < y + h) continue;
|
|
79
|
+
const i = py * width + px;
|
|
80
|
+
changes.push(Math.abs(a[i] - b[i]));
|
|
81
|
+
}
|
|
82
|
+
return changes.sort((m, n) => m - n)[changes.length >> 1] ?? 0;
|
|
83
|
+
}
|
|
78
84
|
function structureRatio(gray, width, box) {
|
|
79
85
|
const height = gray.length / width;
|
|
80
86
|
const [x0, y0, x1, y1] = [box[0], box[1], box[0] + box[2], box[1] + box[3]];
|
|
@@ -264,8 +270,23 @@ function structured(clip, guide, masks) {
|
|
|
264
270
|
return worst ? [{ mask, worst }] : [];
|
|
265
271
|
});
|
|
266
272
|
}
|
|
273
|
+
function staleMasks(path, { width, height }, masks) {
|
|
274
|
+
const gray = runFfmpeg([
|
|
275
|
+
...["-t", String(GUIDE_MAX_S), "-i", path],
|
|
276
|
+
...["-vf", "fps=2", "-pix_fmt", "gray", "-f", "rawvideo", "-"]
|
|
277
|
+
]);
|
|
278
|
+
const frame = (i) => gray.subarray(i * width * height, (i + 1) * width * height);
|
|
279
|
+
const count = Math.floor(gray.length / (width * height));
|
|
280
|
+
return masks.filter(({ box, window }) => {
|
|
281
|
+
const seconds = Array.from({ length: Math.max(0, count - 1) }, (_, i) => i).filter(
|
|
282
|
+
(i) => !window || i / 2 >= window[0] - 1 && i / 2 <= window[1] + 1
|
|
283
|
+
);
|
|
284
|
+
return seconds.some((i) => ringChange(frame(i), frame(i + 1), width, box) >= RING_MOVED);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
267
287
|
function fillMasks(path, masks, work) {
|
|
268
288
|
const info = probeVideo(path);
|
|
289
|
+
const stale = staleMasks(path, info, masks);
|
|
269
290
|
const encode = (from, name, filter) => {
|
|
270
291
|
const out = join(work, name);
|
|
271
292
|
runFfmpeg([
|
|
@@ -276,12 +297,15 @@ function fillMasks(path, masks, work) {
|
|
|
276
297
|
return out;
|
|
277
298
|
};
|
|
278
299
|
const median = encode(path, "median.mp4", [
|
|
279
|
-
...["-t", "15", "-filter_complex", maskFilters(masks, info.fps)],
|
|
300
|
+
...["-t", "15", "-filter_complex", maskFilters(masks, info.fps, stale)],
|
|
280
301
|
...["-map", `[v${masks.length}]`]
|
|
281
302
|
]);
|
|
282
303
|
const left = structured(median, info, masks).map((s) => s.mask);
|
|
283
304
|
if (!left.length) return median;
|
|
284
|
-
return encode(median, "
|
|
305
|
+
return encode(median, "filled.mp4", [
|
|
306
|
+
...["-filter_complex", maskFilters(left, info.fps, left)],
|
|
307
|
+
...["-map", `[v${left.length}]`]
|
|
308
|
+
]);
|
|
285
309
|
}
|
|
286
310
|
function fitAspect(out, aspect) {
|
|
287
311
|
const [aw, ah] = aspect.split(":").map(Number);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../core/dist/cacheDir.js
|
|
9
|
+
import { homedir } from "os";
|
|
10
|
+
import { join, resolve } from "path";
|
|
11
|
+
function hyperframesCacheDir(...parts) {
|
|
12
|
+
const named = process.env["HYPERFRAMES_CACHE_DIR"];
|
|
13
|
+
return join(named ? resolve(named) : join(homedir(), ".cache", "hyperframes"), ...parts);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export {
|
|
17
|
+
hyperframesCacheDir
|
|
18
|
+
};
|
|
@@ -4,6 +4,9 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
hyperframesCacheDir
|
|
9
|
+
} from "./chunk-766MOTIZ.js";
|
|
7
10
|
|
|
8
11
|
// src/warmCheckProtocol.ts
|
|
9
12
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "crypto";
|
|
@@ -34,7 +37,7 @@ function privateToMe(path, kind) {
|
|
|
34
37
|
return stat.uid === process.getuid?.() && (stat.mode & 63) === 0;
|
|
35
38
|
}
|
|
36
39
|
function warmCheckDirectory(env = process.env) {
|
|
37
|
-
const dir = process.platform === "win32" ? join(env.LOCALAPPDATA ?? join(homedir(), "AppData", "Local"), "hyperframes", "warm") : env.XDG_RUNTIME_DIR ? join(env.XDG_RUNTIME_DIR, "hyperframes-warm") :
|
|
40
|
+
const dir = process.platform === "win32" ? join(env.LOCALAPPDATA ?? join(homedir(), "AppData", "Local"), "hyperframes", "warm") : env.XDG_RUNTIME_DIR ? join(env.XDG_RUNTIME_DIR, "hyperframes-warm") : hyperframesCacheDir("warm");
|
|
38
41
|
try {
|
|
39
42
|
mkdirSync(dir, { recursive: true, mode: 448 });
|
|
40
43
|
} catch {
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J6NBMUDH.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IUUQ22F4.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QV36OSND.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-VTKVQIH2.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-L47UDYP3.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NPPXBR26.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Z364Z3IE.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OPLR3AWT.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,23 +18,23 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3BWYSXMK.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GO3BLPTW.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RVDNZAZY.js";
|
|
28
28
|
import {
|
|
29
29
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IUUQ22F4.js";
|
|
31
31
|
import {
|
|
32
32
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MPRXE6II.js";
|
|
34
34
|
import {
|
|
35
35
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
36
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WP4WBVCB.js";
|
|
38
38
|
import {
|
|
39
39
|
decodeWellFormedEscapes
|
|
40
40
|
} from "./chunk-C2KEGBR3.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YGRA5UJG.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -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-EIYQX23K.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-IUUQ22F4.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WP4WBVCB.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -6,14 +6,14 @@ 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-UI2ZEY3S.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_HISTORY_ROOT,
|
|
12
12
|
HistoryBusyError,
|
|
13
13
|
MAX_WINDOW_IDLE_MS,
|
|
14
14
|
openProjectHistory,
|
|
15
15
|
readProjectHistory
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UGUYWTWD.js";
|
|
17
17
|
import {
|
|
18
18
|
findPreviewServerForProject,
|
|
19
19
|
studioApiUrl
|
|
@@ -12,18 +12,20 @@ import {
|
|
|
12
12
|
frameAt,
|
|
13
13
|
round,
|
|
14
14
|
runFfmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z364Z3IE.js";
|
|
16
16
|
import {
|
|
17
17
|
verifies
|
|
18
18
|
} from "./chunk-RZ6CXJ56.js";
|
|
19
|
+
import {
|
|
20
|
+
hyperframesCacheDir
|
|
21
|
+
} from "./chunk-766MOTIZ.js";
|
|
19
22
|
|
|
20
23
|
// src/measure/opencv.ts
|
|
21
24
|
import { mkdirSync, readFileSync, renameSync, rmSync } from "fs";
|
|
22
25
|
import { createRequire } from "module";
|
|
23
|
-
import { homedir } from "os";
|
|
24
26
|
import { join } from "path";
|
|
25
27
|
var VERSION = "4.10.0";
|
|
26
|
-
var OPENCV_DIR =
|
|
28
|
+
var OPENCV_DIR = hyperframesCacheDir("opencv", VERSION);
|
|
27
29
|
var CASCADES = "https://raw.githubusercontent.com/opencv/opencv/4.10.0/data/haarcascades";
|
|
28
30
|
var FILES = [
|
|
29
31
|
{
|