hyperframes 0.9.36 → 0.9.38
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-JB52VSXX.js → add-IEVY5ZTY.js} +11 -11
- package/dist/{agentPromptGenerator-PBF4MT4B.js → agentPromptGenerator-W2NZ4COJ.js} +6 -6
- package/dist/{animatedGifPrep-7TU6NVDE.js → animatedGifPrep-AIYBHZES.js} +6 -6
- package/dist/api.js +29 -29
- package/dist/{asset-56O7CJKC.js → asset-NHHEDE53.js} +2 -2
- package/dist/{assetCataloger-PZJR537U.js → assetCataloger-7EQLQWVV.js} +7 -7
- package/dist/{audio-MA2X7LZD.js → audio-TLLIF3TI.js} +12 -12
- package/dist/{auth-CFYWXHE6.js → auth-2C5XTYT4.js} +2 -2
- package/dist/{autoUpdate-KAMP6TN3.js → autoUpdate-S2X7VVX3.js} +2 -2
- package/dist/{avatars-ZQRO6KJH.js → avatars-IJ3B6S32.js} +10 -10
- package/dist/{backgroundChecks-V4GSKCHA.js → backgroundChecks-G56TRIP2.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-OSW3B7A4.js → batchRender-Y6NA4R3W.js} +3 -3
- package/dist/{beats-32UHTEVX.js → beats-TAXLD6NH.js} +8 -8
- package/dist/{benchmark-A4PUSCSC.js → benchmark-2SHNYHZE.js} +10 -9
- package/dist/{billing-KQRWFLNQ.js → billing-44BYXBZX.js} +10 -10
- package/dist/{browser-WVKQGMUH.js → browser-TIBVO5YT.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-IZYW6FIV.js → bundleWithLocalizedFonts-IFN5QSDV.js} +1 -1
- package/dist/{capture-G3OGRUAN.js → capture-7XU2G5CC.js} +3 -3
- package/dist/{capture-NCR2BPKV.js → capture-BTERGN3O.js} +14 -14
- package/dist/{captureCompositionFrame-M2MTVFPY.js → captureCompositionFrame-X2N335V4.js} +13 -13
- package/dist/{catalog-45BHRIEC.js → catalog-CGZNRLZT.js} +11 -11
- package/dist/{catch-up-CSSPUAY3.js → catch-up-HEHEQUGU.js} +6 -6
- package/dist/{check-OUVR4U2V.js → check-B5T4EBDP.js} +38 -38
- package/dist/{checkAudio-UPKSXM6O.js → checkAudio-PNUO23UR.js} +9 -9
- package/dist/{checkBrowser-ZZWBT34I.js → checkBrowser-JF2RQHAL.js} +32 -32
- package/dist/{chunk-P3BHYHEJ.js → chunk-25VZ5TWE.js} +1 -1
- package/dist/{chunk-ACIIUGIC.js → chunk-2JUMKKYH.js} +2 -2
- package/dist/{chunk-W2PRJA44.js → chunk-2U7EE6EV.js} +3 -3
- package/dist/chunk-2WSLAKIR.js +5053 -0
- package/dist/{chunk-2FY24OAX.js → chunk-3HF2M6AD.js} +1 -1
- package/dist/{chunk-6UQGCFPG.js → chunk-3OE63NFV.js} +2 -2
- package/dist/{chunk-VKVCN42J.js → chunk-3QN5M3EV.js} +14 -14
- package/dist/{chunk-TJN27NAJ.js → chunk-43H26GOF.js} +7 -7
- package/dist/{chunk-T3IKRV5C.js → chunk-45WB2J2V.js} +2 -2
- package/dist/{chunk-UVFK4ZJX.js → chunk-4UQPFLJ5.js} +3 -3
- package/dist/{chunk-XR2LOXU6.js → chunk-6EHXBROO.js} +37 -17
- package/dist/{chunk-UD3JHXDK.js → chunk-6QI3C6QB.js} +2 -2
- package/dist/{chunk-RI4QWPMN.js → chunk-7ICZWIRY.js} +3 -3
- package/dist/{chunk-NC7ZNIXW.js → chunk-7LE2QT2G.js} +1 -1
- package/dist/{chunk-ZZH3BDBR.js → chunk-7T2WUGUN.js} +2 -2
- package/dist/{chunk-QNUALBB6.js → chunk-7TEB7IL6.js} +2 -2
- package/dist/{chunk-WDADQLXV.js → chunk-7VYOOUKU.js} +2 -2
- package/dist/{chunk-DHYYW7TY.js → chunk-AGPIBKN2.js} +3 -3
- package/dist/{chunk-Y47OUROH.js → chunk-AT4BZJKA.js} +1 -1
- package/dist/{chunk-ZGFDN6OW.js → chunk-ATKCZQEN.js} +2 -2
- package/dist/{chunk-UWBMCG6S.js → chunk-BBN7YIEJ.js} +2 -2
- package/dist/{chunk-IB4TJZZM.js → chunk-BC3KAELK.js} +1 -1
- package/dist/{chunk-LGPEN7SE.js → chunk-BPJOCETK.js} +3 -3
- package/dist/{chunk-7BFICJ3S.js → chunk-CFMC3TWY.js} +1 -1
- package/dist/chunk-CJAYLJIZ.js +60 -0
- package/dist/{chunk-AFIHTIM3.js → chunk-CJW5HASG.js} +7 -7
- package/dist/{chunk-L6LYQ3XT.js → chunk-CRISFXYR.js} +2 -2
- package/dist/{chunk-XLUF4H7G.js → chunk-DGZZ2GD6.js} +1 -1
- package/dist/{chunk-E6XF6D72.js → chunk-DQWWKLH3.js} +1 -1
- package/dist/{chunk-D7NBFM36.js → chunk-DUB3IS5Y.js} +1 -1
- package/dist/{chunk-ZHOC7WEG.js → chunk-DZGRFSXY.js} +10 -10
- package/dist/{chunk-WQJ5W4WM.js → chunk-EBC6G2QR.js} +1 -1
- package/dist/{chunk-JKUC7A3A.js → chunk-EXBLXMR3.js} +1 -1
- package/dist/{chunk-CIRQFSHK.js → chunk-FRJNLOOM.js} +1 -1
- package/dist/{chunk-464YPKAD.js → chunk-FWHISQIS.js} +1 -1
- package/dist/{chunk-YIXPLO7H.js → chunk-FXKZZMW3.js} +1 -1
- package/dist/{chunk-W6EIGNTX.js → chunk-G3GR4AJH.js} +2 -2
- package/dist/{chunk-36P26ILD.js → chunk-G5RQZWGR.js} +2 -2
- package/dist/{chunk-FB52G27O.js → chunk-GRIGQX2K.js} +1 -1
- package/dist/{chunk-275HEJWI.js → chunk-GWGCECGA.js} +1 -1
- package/dist/{chunk-NL2BKQBO.js → chunk-HCFWBSBP.js} +2 -2
- package/dist/{chunk-Y2WABFCQ.js → chunk-HN3RMJ7S.js} +1 -1
- package/dist/{chunk-OFPYC4XF.js → chunk-I6FQEMLX.js} +1 -1
- package/dist/{chunk-GHATBXWV.js → chunk-IBJXNAB7.js} +3 -3
- package/dist/{chunk-5KDBUZEB.js → chunk-IDQKSSNE.js} +1 -1
- package/dist/{chunk-BVHRTPRC.js → chunk-IHWZEEJU.js} +1 -1
- package/dist/{chunk-YUQC2PFF.js → chunk-INISVVHP.js} +2 -2
- package/dist/{chunk-RQ3VVADF.js → chunk-J4K7QPM3.js} +10 -10
- package/dist/{chunk-IESS6RFI.js → chunk-JBDYZFXX.js} +7 -7
- package/dist/{chunk-JCIWX3ZX.js → chunk-JNWVE6QJ.js} +1 -1
- package/dist/{chunk-VDT2JIH2.js → chunk-JYBGWNAP.js} +221 -191
- package/dist/{chunk-43KCJ64B.js → chunk-KKA7VISD.js} +15 -8
- package/dist/{chunk-2XMF3H4T.js → chunk-KZ6TBE2G.js} +1 -1
- package/dist/{chunk-A25ISJEK.js → chunk-LMQTOEVK.js} +1 -1
- package/dist/{chunk-DPKNVEUN.js → chunk-MCU74LYV.js} +67 -7
- package/dist/{chunk-ILIYAYQJ.js → chunk-MN57XFZB.js} +1 -1
- package/dist/{chunk-TNLVDXFI.js → chunk-MVFQPHHF.js} +1 -1
- package/dist/{chunk-WWSWN6LS.js → chunk-N4UJZODY.js} +1 -1
- package/dist/{chunk-ZKRLYB3N.js → chunk-NKSEABTT.js} +13 -13
- package/dist/{chunk-H7ECN5WE.js → chunk-OSWXX73R.js} +2 -2
- package/dist/{chunk-ZMJMY5CR.js → chunk-OV3GXLBL.js} +1 -1
- package/dist/{chunk-5N55UUZW.js → chunk-PYM4KYRK.js} +4 -4
- package/dist/{chunk-KLDMFHQP.js → chunk-QDWQSLPG.js} +5 -5
- package/dist/{chunk-VOP4S73F.js → chunk-RDC2CERU.js} +2 -2
- package/dist/{chunk-SURRJYN5.js → chunk-RGR7L4YG.js} +1 -1
- package/dist/{chunk-K5MFX7SH.js → chunk-RLGGHE3P.js} +1 -1
- package/dist/{chunk-3GHXPNOB.js → chunk-RTBYKJHZ.js} +2 -2
- package/dist/{chunk-OX73UETR.js → chunk-SNYJ66I4.js} +4 -4
- package/dist/{chunk-X3QJIV5L.js → chunk-SQ3VCDCO.js} +2 -2
- package/dist/{chunk-OMMS3U4M.js → chunk-TE433BWF.js} +66 -18
- package/dist/{chunk-TNQLOBHZ.js → chunk-TM4UMUUT.js} +1 -1
- package/dist/{chunk-YLKJSPO4.js → chunk-TVSUPOOH.js} +74 -61
- package/dist/{chunk-XRWK2BXI.js → chunk-TY4VNKLA.js} +3 -3
- package/dist/{chunk-6BRNC42U.js → chunk-UA2MLJVX.js} +1 -1
- package/dist/{chunk-7E2IR5YL.js → chunk-UBOHJOC7.js} +1 -1
- package/dist/{chunk-HQKQ7G6L.js → chunk-V2WVNSHB.js} +1 -1
- package/dist/{chunk-424M5ITI.js → chunk-VJSO5TVW.js} +1 -1
- package/dist/{chunk-D63KU4CC.js → chunk-W6H56FIH.js} +1 -1
- package/dist/{chunk-3YWAA2CG.js → chunk-WMIYOQQP.js} +2 -2
- package/dist/{chunk-NVAUMHQZ.js → chunk-WNS5T3BE.js} +20 -20
- package/dist/{chunk-JN5KM5IA.js → chunk-X247IH65.js} +2 -2
- package/dist/{chunk-3NRKWTP3.js → chunk-XH3W57AM.js} +6 -6
- package/dist/{chunk-TUCIRLXB.js → chunk-XHAATB5N.js} +3 -3
- package/dist/{chunk-LVXFEW25.js → chunk-XIDRTKQT.js} +10 -7
- package/dist/{chunk-N63ML5LM.js → chunk-XVD33SRZ.js} +1 -1
- package/dist/{chunk-VJCGDSYU.js → chunk-YVS5243B.js} +1 -1
- package/dist/{chunk-K7E6H4DR.js → chunk-YZXAD75P.js} +3 -3
- package/dist/{chunk-X6FOZTXY.js → chunk-Z3BT4JL7.js} +5 -5
- package/dist/{chunk-VGYMOT7P.js → chunk-ZEYCP2XQ.js} +7 -7
- package/dist/{chunk-T3FF37DW.js → chunk-ZI3POUYS.js} +3 -3
- package/dist/{chunk-IJNSVKFB.js → chunk-ZKIGZ5JN.js} +2 -2
- package/dist/{chunk-3SBXH3NT.js → chunk-ZR372CI2.js} +4 -4
- package/dist/{clean-JKJJ7C5W.js → clean-2WDJJHWC.js} +16 -16
- package/dist/cli.js +62 -62
- package/dist/{cloud-Y6ZWJL4F.js → cloud-QIS5EIPE.js} +4 -4
- package/dist/{cloudrun-DHM2JTF4.js → cloudrun-QLREZHOA.js} +4 -4
- package/dist/{compare-7V67PQ6W.js → compare-7F5BZ5FS.js} +29 -29
- package/dist/{compiler-M72SGDOU.js → compiler-65OMBHLD.js} +3 -3
- package/dist/{component-NB2E7TO2.js → component-FULUAJNE.js} +3 -3
- package/dist/{compositions-WGIDBTEO.js → compositions-BJUFWEII.js} +10 -10
- package/dist/{curve-5CTLGBZ6.js → curve-SVA33EXV.js} +10 -10
- package/dist/{cuts-KHMTWIW6.js → cuts-F263EEEP.js} +11 -11
- package/dist/{delete-XHLIOUVZ.js → delete-2NRKX42A.js} +2 -2
- package/dist/{deploy-QS3ZH7ML.js → deploy-BVEXTGBD.js} +2 -2
- package/dist/{describeProject-H36ODIUH.js → describeProject-WAOK5I27.js} +7 -7
- package/dist/{destroy-4Y45LUVA.js → destroy-GLDKI6G2.js} +2 -2
- package/dist/{diff-E4WZFJVT.js → diff-2UIOCAPE.js} +28 -28
- package/dist/{dist-E6EIPNKP.js → dist-APGYU7T5.js} +2 -2
- package/dist/{dist-7HLUWFLO.js → dist-E4C3FE62.js} +1 -1
- package/dist/{dist-OM5EYFH7.js → dist-GCZODNTZ.js} +9 -9
- package/dist/{doctor-DCWGMXEJ.js → doctor-4F4OTWQE.js} +10 -10
- package/dist/{energy-G3HYGKXB.js → energy-ITPX36L7.js} +11 -11
- package/dist/{events-AZXT4DH7.js → events-EXRYMUQQ.js} +5 -5
- package/dist/{events-KI7IGKD7.js → events-GFLX43TF.js} +12 -12
- package/dist/{events-PBF2HKDG.js → events-XXHDLYPI.js} +2 -2
- package/dist/{execute-MSH2DZYW.js → execute-YT5G3S66.js} +22 -22
- package/dist/{extract-W7OSNREV.js → extract-WHH3KNQP.js} +11 -11
- package/dist/{face-YDIFSFDU.js → face-73TVACYJ.js} +11 -11
- package/dist/{feedback-PFDUGOE5.js → feedback-MXPO6OKT.js} +15 -10
- package/dist/{ffmpeg-VK4BG6KD.js → ffmpeg-R6ZL2OTQ.js} +6 -6
- package/dist/{figma-4I3TSDJB.js → figma-T5YTCXNN.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{frames-KX6HW5YG.js → frames-XPYXDABB.js} +12 -12
- package/dist/{generate-7GNC72NL.js → generate-OUTENVD6.js} +20 -20
- package/dist/{get-HF55WDHW.js → get-VYSIHMRG.js} +2 -2
- package/dist/{gpuPolicy-ZKTLDRVT.js → gpuPolicy-Y2PRFRIM.js} +6 -6
- package/dist/{grade-compare-D5BM2LL2.js → grade-compare-HUINMXRB.js} +30 -30
- package/dist/{heifImagePrep-EOEEK5ZL.js → heifImagePrep-5TT3LUUH.js} +7 -7
- package/dist/{help-4O2TV4UC.js → help-2EU2GGRG.js} +1 -1
- package/dist/{history-F4S5Y6RE.js → history-AUPHP7HT.js} +8 -8
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-M76CG5AO.js → info-XVUIJXJ2.js} +12 -12
- package/dist/{init-UCYQQPMR.js → init-JNZAHOUB.js} +26 -26
- package/dist/{ink-FFGNUVR6.js → ink-7FCGHCVT.js} +11 -11
- package/dist/{inspect-RETNS2B7.js → inspect-NWS6GJWE.js} +30 -30
- package/dist/{installer-2S27QSFN.js → installer-TPMWCI73.js} +4 -4
- package/dist/{keyframes-TZNCGAOA.js → keyframes-5T7BZEDG.js} +8 -8
- package/dist/{lambda-BVBEE5C4.js → lambda-A7HZ4ZWN.js} +11 -11
- package/dist/{layout-H5UHWDSM.js → layout-M3UWVXOY.js} +30 -30
- package/dist/{lint-SW4QAECP.js → lint-2O3O6WW5.js} +9 -9
- package/dist/{lintProject-X7DFX2TQ.js → lintProject-O3YGJFWF.js} +1 -1
- package/dist/{list-URXSUUWR.js → list-6VQTYIOQ.js} +2 -2
- package/dist/{localPage-SKD7BT3F.js → localPage-INRAYY2V.js} +6 -6
- package/dist/{login-IDHTK4KU.js → login-ZKOYK3RJ.js} +4 -4
- package/dist/{look-BFKIH34T.js → look-KFOQGREJ.js} +11 -11
- package/dist/{manager-CK7ICQLP.js → manager-Z5YCXHYX.js} +7 -7
- package/dist/{measure-Q3XLDCC5.js → measure-QA2FBQ33.js} +11 -11
- package/dist/{media-treatment-AIIQYKQP.js → media-treatment-4VASTUCZ.js} +12 -12
- package/dist/{media-use-QGDEWJ33.js → media-use-2FKER6HL.js} +3 -3
- package/dist/{models-QVVUPP4B.js → models-XZBGKEZW.js} +10 -10
- package/dist/{motionShot-PFM6X5VE.js → motionShot-AHK27S4Z.js} +16 -16
- package/dist/{normalize-audio-PPJJ3R7X.js → normalize-audio-NTMEHSBR.js} +8 -8
- package/dist/{open-D2Q47WRE.js → open-F3CKZUBT.js} +11 -11
- package/dist/{parakeetRunner-PIIIYEOE.js → parakeetRunner-JN73STJC.js} +11 -11
- package/dist/{pipeline-AMEOOSDZ.js → pipeline-VUS7LINW.js} +9 -9
- package/dist/{plan-ETWAAI32.js → plan-AGZGV67Q.js} +17 -17
- package/dist/{play-EOR5CUOX.js → play-D2GVDYTV.js} +20 -20
- package/dist/{preflight-N6HCWLZE.js → preflight-EDQAPRCV.js} +7 -7
- package/dist/{present-DOAVJ7ZR.js → present-HM5NE7K2.js} +16 -16
- package/dist/{preview-BLPZPVAT.js → preview-F2BF2MXW.js} +17 -17
- package/dist/{probe-ZCLMXUT3.js → probe-JYJ7XB4N.js} +11 -11
- package/dist/{producer-UXWV4CHN.js → producer-RULBQZPW.js} +1 -1
- package/dist/{projectConfig-42S6NSDI.js → projectConfig-2YW4KK5G.js} +6 -6
- package/dist/{publication-MECWWDCC.js → publication-VDADVGXM.js} +2 -2
- package/dist/{publish-2CWOUCTH.js → publish-IBOZGMAE.js} +15 -12
- package/dist/{remove-background-5DQNPGJH.js → remove-background-AJGB44MD.js} +10 -10
- package/dist/{render-MNJ7RIWW.js → render-FEB45RYJ.js} +30 -26
- package/dist/{render-XLOMAULM.js → render-GYA2H3B2.js} +37 -34
- package/dist/{render-7IG344AZ.js → render-SKWWHT7J.js} +5 -5
- package/dist/{render-batch-E3I4LV2Z.js → render-batch-7STRK534.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-URT62PGD.js → resolver-XRDRGH7M.js} +4 -4
- package/dist/{reverse-ZE46A5KJ.js → reverse-NMBD7K4I.js} +1 -1
- package/dist/{screenshotCapture-2HZH2JOY.js → screenshotCapture-JCP4M4HA.js} +8 -8
- package/dist/{service-A3JIQBXR.js → service-O7DHNTRA.js} +10 -10
- package/dist/{share-JKA5BVQG.js → share-PFJSZ6XH.js} +13 -13
- package/dist/{sherpa-H3NQLN74.js → sherpa-YO7EBXYO.js} +10 -10
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/references/heygen.md +12 -10
- package/dist/{skills-6FPVQ4BC.js → skills-6AFTAMO3.js} +8 -8
- package/dist/{skillsUpdateCheck-DE2WODW6.js → skillsUpdateCheck-WUTYA6WQ.js} +3 -3
- package/dist/{snapshot-PHQFKHCH.js → snapshot-MGQSVPST.js} +37 -37
- package/dist/{src-AUMP7PM3.js → src-7WMNB2MV.js} +10 -10
- package/dist/{src-INXQLRPL.js → src-KDPZPYCF.js} +5 -5
- package/dist/{start-SNVOMD6B.js → start-VWA6EO4F.js} +18 -18
- package/dist/{staticProjectServer-OPYEJ6YM.js → staticProjectServer-OK7X3GFE.js} +17 -17
- package/dist/{status-KJBPWGEC.js → status-KEOITQBE.js} +10 -10
- package/dist/studio/assets/{codec-6d9YaMSK.js → codec-Dz2VdhdD.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-DJLMOnOs.js → hyperframes-player-BkaWdGLq.js} +1 -1
- package/dist/studio/assets/{index-VQ5wXIdS.js → index-DONaC7VF.js} +1 -1
- package/dist/studio/assets/{index-CGiNbBjR.js → index-DsNxqAwr.js} +164 -164
- package/dist/studio/assets/{pausedVideoDecoder-CU-7ph_q.js → pausedVideoDecoder-BGN2jKrN.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-3ACJFLTS.js → studio-api-ZJ36ZKJ5.js} +9 -9
- package/dist/{studioServer-KJYBMGTC.js → studioServer-UGFXTDZ7.js} +54 -53
- package/dist/{sync-PBJCLG3N.js → sync-5T6BB642.js} +11 -11
- package/dist/{telemetry-JR7GV7YP.js → telemetry-AX7WB2YQ.js} +5 -5
- package/dist/{templates-4NVGID3Z.js → templates-JTNAD2IQ.js} +19 -10
- package/dist/{timeline-ZXEIX2PV.js → timeline-N7ZZMQG7.js} +17 -17
- package/dist/{tokens-DKFMDCDL.js → tokens-ZDXNTASR.js} +2 -2
- package/dist/{transcribe-FXDNW5RQ.js → transcribe-IICQM5XY.js} +22 -22
- package/dist/{transcribe-27X3WOAN.js → transcribe-UAJUCLE7.js} +9 -9
- package/dist/{update-E2ZTQPZ2.js → update-DGBANL33.js} +9 -9
- package/dist/{updateCheck-IGG6C53J.js → updateCheck-ZABSCRDN.js} +2 -2
- package/dist/{upgrade-GIGDEGOF.js → upgrade-3A374XKN.js} +3 -3
- package/dist/{urlDownloader-3B56VUJ2.js → urlDownloader-2C6SHTLZ.js} +5 -5
- package/dist/{validate-SWN6PEXK.js → validate-GK5U4MVO.js} +24 -24
- package/dist/{video-YVOBV3PT.js → video-6FE2IELF.js} +7 -7
- package/dist/{voices-RGJNQLXV.js → voices-FAOBAP5N.js} +18 -18
- package/dist/warmCheck.js +38 -38
- package/package.json +1 -1
- package/dist/chunk-B54XQ7PG.js +0 -5053
- package/dist/chunk-U47ZNIUB.js +0 -26
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4UQPFLJ5.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-KDPZPYCF.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J4K7QPM3.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NKSEABTT.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-43H26GOF.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,18 +29,18 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DZGRFSXY.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
35
|
withRemainingBudget
|
|
36
36
|
} from "./chunk-YGGZ23BB.js";
|
|
37
37
|
import {
|
|
38
38
|
findStageProxyBox
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3HF2M6AD.js";
|
|
40
40
|
import {
|
|
41
41
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
42
42
|
STUDIO_PREVIEW_MARK_META
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KKA7VISD.js";
|
|
44
44
|
import {
|
|
45
45
|
FfmpegUnavailableError,
|
|
46
46
|
decideMediaProxyEligibility,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveProxies,
|
|
51
51
|
scanProjectMediaCodecMap,
|
|
52
52
|
shouldPrewarmProxy
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ZKIGZ5JN.js";
|
|
54
54
|
import {
|
|
55
55
|
artifactDirectory,
|
|
56
56
|
finishSnapshotRun
|
|
@@ -59,16 +59,16 @@ import {
|
|
|
59
59
|
BrowserCleanupError,
|
|
60
60
|
closeManagedBrowser,
|
|
61
61
|
onStopSignal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-G3GR4AJH.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IDQKSSNE.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_CONFIG
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4UQPFLJ5.js";
|
|
69
69
|
import {
|
|
70
70
|
injectTagsAtHeadStart
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-2WSLAKIR.js";
|
|
72
72
|
import {
|
|
73
73
|
parseHTML
|
|
74
74
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
|
|
|
928
928
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
929
|
}
|
|
930
930
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
931
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-IFN5QSDV.js");
|
|
932
932
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
933
|
}
|
|
934
934
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1001
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1002
|
}));
|
|
1003
1003
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1004
|
+
const { analyzeClipMediaFit } = await import("./src-KDPZPYCF.js");
|
|
1005
1005
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1006
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1007
|
}
|
|
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1143
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1144
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1145
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1146
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-IFN5QSDV.js");
|
|
1147
1147
|
return withCapturePreviewMark(
|
|
1148
1148
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1149
|
);
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3HF2M6AD.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KKA7VISD.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZKIGZ5JN.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IDQKSSNE.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
30
|
} from "./chunk-LD6JONPV.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4UQPFLJ5.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SQ3VCDCO.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OV3GXLBL.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-6MKM2RVL.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
rewriteProjectPinnedScripts,
|
|
32
32
|
updateChannel,
|
|
33
33
|
withMeta
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CFMC3TWY.js";
|
|
35
35
|
import {
|
|
36
36
|
setCommandExitCode
|
|
37
37
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-CPHQTXP5.js";
|
|
41
41
|
import {
|
|
42
42
|
VERSION
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CRISFXYR.js";
|
|
44
44
|
|
|
45
45
|
// src/commands/upgrade.ts
|
|
46
46
|
import { execFileSync } from "child_process";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
resolveAuthoredTimingWindow,
|
|
51
51
|
toFps,
|
|
52
52
|
validateVariables
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OV3GXLBL.js";
|
|
54
54
|
import {
|
|
55
55
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
56
56
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
sourceTimeAt,
|
|
94
94
|
timeAtSourceTime,
|
|
95
95
|
volumeSegmentSampleCount
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-2WSLAKIR.js";
|
|
97
97
|
import {
|
|
98
98
|
withHyperframesBrowserMarker
|
|
99
99
|
} from "./chunk-K4MJX7SR.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
} from "./chunk-WE42NVH7.js";
|
|
108
108
|
import {
|
|
109
109
|
resolveReferencedStart
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-TVSUPOOH.js";
|
|
111
111
|
import {
|
|
112
112
|
isWithinProjectRoot,
|
|
113
113
|
resolveProjectRelativeSrc
|
|
@@ -5,9 +5,10 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
isPrivateCompositionFile,
|
|
9
|
+
isPrivateOutsideFile,
|
|
10
|
+
linksToPrivateOutsideFile
|
|
11
|
+
} from "./chunk-CJAYLJIZ.js";
|
|
11
12
|
import {
|
|
12
13
|
refreshIfNeeded
|
|
13
14
|
} from "./chunk-QUUZ2BGC.js";
|
|
@@ -24,7 +25,7 @@ import {
|
|
|
24
25
|
} from "./chunk-DMW5SSUN.js";
|
|
25
26
|
import {
|
|
26
27
|
projectIgnore
|
|
27
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TVSUPOOH.js";
|
|
28
29
|
import {
|
|
29
30
|
CSS_URL_RE,
|
|
30
31
|
isNonRelativeUrl,
|
|
@@ -136,7 +137,6 @@ import {
|
|
|
136
137
|
openSync,
|
|
137
138
|
readdirSync,
|
|
138
139
|
readFileSync as readFileSync2,
|
|
139
|
-
realpathSync,
|
|
140
140
|
statSync
|
|
141
141
|
} from "fs";
|
|
142
142
|
import AdmZip from "adm-zip";
|
|
@@ -409,7 +409,7 @@ function addExternalAsset(ctx, absPath) {
|
|
|
409
409
|
}
|
|
410
410
|
function staysOut(ctx, rel, absPath) {
|
|
411
411
|
if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return true;
|
|
412
|
-
return isPrivateCompositionFile(ctx.absProjectDir, absPath);
|
|
412
|
+
return isPrivateCompositionFile(ctx.absProjectDir, absPath) || existsSync2(absPath) && linksToPrivateOutsideFile(ctx.absProjectDir, absPath);
|
|
413
413
|
}
|
|
414
414
|
function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk) {
|
|
415
415
|
const fromRoot = resolve2(ctx.absProjectDir, rawPath);
|
|
@@ -429,6 +429,12 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk)
|
|
|
429
429
|
}
|
|
430
430
|
var HARD_REFERENCES = /* @__PURE__ */ new Set(["video[src]", "audio[src]", "img[src]", "video[poster]"]);
|
|
431
431
|
var relativeToProject = (ctx, absPath) => encodeUrlPath(relative(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
|
|
432
|
+
function leaveOut(ctx, entryPath, rawPath) {
|
|
433
|
+
const warning = `${entryPath} references ${rawPath}, which is outside the project in a private location; it was left out of the upload.`;
|
|
434
|
+
if (ctx.leftOut.has(warning)) return;
|
|
435
|
+
ctx.leftOut.add(warning);
|
|
436
|
+
ctx.onLeftOut?.(warning);
|
|
437
|
+
}
|
|
432
438
|
function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
433
439
|
if (isPathInside(absPath, ctx.absProjectDir)) {
|
|
434
440
|
includeReferencedProjectFile(ctx, absPath, rawPath, options.requireOnDisk);
|
|
@@ -436,19 +442,23 @@ function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
|
436
442
|
}
|
|
437
443
|
try {
|
|
438
444
|
if (!existsSync2(absPath) || !statSync(absPath).isFile()) return void 0;
|
|
439
|
-
if (
|
|
445
|
+
if (isPrivateOutsideFile(ctx.absProjectDir, absPath)) {
|
|
446
|
+
leaveOut(ctx, options.entryPath, rawPath);
|
|
447
|
+
return void 0;
|
|
448
|
+
}
|
|
440
449
|
} catch {
|
|
441
450
|
return void 0;
|
|
442
451
|
}
|
|
443
452
|
return encodeUrlPath(addExternalAsset(ctx, absPath));
|
|
444
453
|
}
|
|
445
|
-
function tryResolveExternal(ctx, rawPath, referrerAbsDir, requireOnDisk = false) {
|
|
454
|
+
function tryResolveExternal(ctx, rawPath, referrerAbsDir, entryPath, requireOnDisk = false) {
|
|
446
455
|
const filesystemPath = isAbsolute(rawPath) && !rawPath.startsWith("//");
|
|
447
456
|
if (isNonRelativeUrl(rawPath) && !filesystemPath) return null;
|
|
448
457
|
const cut = filesystemPath ? rawPath.search(/[?#]/) : -1;
|
|
449
458
|
const [path, suffix] = cut < 0 ? [rawPath, ""] : [rawPath.slice(0, cut), rawPath.slice(cut)];
|
|
450
459
|
for (const variant of decodeUrlPathVariants(path)) {
|
|
451
460
|
const target = archiveTargetOf(ctx, resolve2(referrerAbsDir, variant), rawPath, {
|
|
461
|
+
entryPath,
|
|
452
462
|
requireOnDisk,
|
|
453
463
|
filesystemPath
|
|
454
464
|
});
|
|
@@ -529,6 +539,7 @@ function localizeHtmlEntry(ctx, entryPath, content) {
|
|
|
529
539
|
ctx,
|
|
530
540
|
val,
|
|
531
541
|
dir,
|
|
542
|
+
entryPath,
|
|
532
543
|
ref !== void 0 && HARD_REFERENCES.has(`${ref.tag}[${ref.attr}]`)
|
|
533
544
|
);
|
|
534
545
|
const attrsChanged = rewriteHtmlAttributes(document, referrerAbsDir, entryPath, resolveTarget, {
|
|
@@ -548,19 +559,21 @@ function localizeCssEntry(ctx, entryPath, content) {
|
|
|
548
559
|
css,
|
|
549
560
|
referrerAbsDir,
|
|
550
561
|
entryPath,
|
|
551
|
-
(val, dir) => tryResolveExternal(ctx, val, dir)
|
|
562
|
+
(val, dir) => tryResolveExternal(ctx, val, dir, entryPath)
|
|
552
563
|
);
|
|
553
564
|
if (result.modified) {
|
|
554
565
|
ctx.fileContents.set(entryPath, Buffer.from(result.css, "utf-8"));
|
|
555
566
|
}
|
|
556
567
|
}
|
|
557
|
-
function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = Infinity) {
|
|
568
|
+
function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = Infinity, onLeftOut) {
|
|
558
569
|
const ctx = {
|
|
559
570
|
absProjectDir,
|
|
560
571
|
fileContents,
|
|
561
572
|
onDiskMinBytes,
|
|
562
573
|
externalMap: /* @__PURE__ */ new Map(),
|
|
563
|
-
usedArchivePaths: /* @__PURE__ */ new Set()
|
|
574
|
+
usedArchivePaths: /* @__PURE__ */ new Set(),
|
|
575
|
+
leftOut: /* @__PURE__ */ new Set(),
|
|
576
|
+
onLeftOut
|
|
564
577
|
};
|
|
565
578
|
for (const [entryPath, content] of [...fileContents.entries()]) {
|
|
566
579
|
if (entryPath.startsWith(EXT_ASSETS_PREFIX + "/") || !Buffer.isBuffer(content)) continue;
|
|
@@ -572,8 +585,8 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
572
585
|
}
|
|
573
586
|
return ctx.externalMap.size;
|
|
574
587
|
}
|
|
575
|
-
function buildPublishFileMap(projectDir) {
|
|
576
|
-
return stagePublishFiles(projectDir, Infinity);
|
|
588
|
+
function buildPublishFileMap(projectDir, onLeftOut) {
|
|
589
|
+
return stagePublishFiles(projectDir, Infinity, onLeftOut);
|
|
577
590
|
}
|
|
578
591
|
var archiveKey = (path) => path.normalize("NFC");
|
|
579
592
|
function composeNamesInText(fileContents, filePaths) {
|
|
@@ -593,7 +606,7 @@ function composeNamesInText(fileContents, filePaths) {
|
|
|
593
606
|
if (text !== before) fileContents.set(key, Buffer.from(text, "utf-8"));
|
|
594
607
|
}
|
|
595
608
|
}
|
|
596
|
-
function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
609
|
+
function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut) {
|
|
597
610
|
const absProjectDir = resolve2(projectDir);
|
|
598
611
|
const filePaths = [];
|
|
599
612
|
collectProjectFiles(absProjectDir, absProjectDir, filePaths, projectIgnore(absProjectDir));
|
|
@@ -605,6 +618,12 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
605
618
|
const fileContents = /* @__PURE__ */ new Map();
|
|
606
619
|
const diskPathOf = /* @__PURE__ */ new Map();
|
|
607
620
|
for (const filePath of filePaths) {
|
|
621
|
+
if (linksToPrivateOutsideFile(absProjectDir, join2(absProjectDir, filePath))) {
|
|
622
|
+
onLeftOut?.(
|
|
623
|
+
`${filePath} links to a file outside the project in a private location; it was left out of the upload.`
|
|
624
|
+
);
|
|
625
|
+
continue;
|
|
626
|
+
}
|
|
608
627
|
const key = archiveKey(filePath);
|
|
609
628
|
const clash = diskPathOf.get(key);
|
|
610
629
|
if (clash !== void 0) {
|
|
@@ -616,7 +635,7 @@ function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
|
616
635
|
fileContents.set(key, stageFile(join2(absProjectDir, filePath), onDiskMinBytes));
|
|
617
636
|
}
|
|
618
637
|
composeNamesInText(fileContents, filePaths);
|
|
619
|
-
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes);
|
|
638
|
+
localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes, onLeftOut);
|
|
620
639
|
return fileContents;
|
|
621
640
|
}
|
|
622
641
|
var ARCHIVE_ENTRY_TIME = new Date(1980, 0, 1, 0, 0, 0, 0);
|
|
@@ -633,8 +652,8 @@ function zipPublishFileMap(fileContents) {
|
|
|
633
652
|
fileCount: fileContents.size
|
|
634
653
|
};
|
|
635
654
|
}
|
|
636
|
-
function createPublishArchive(projectDir) {
|
|
637
|
-
return zipPublishFileMap(buildPublishFileMap(projectDir));
|
|
655
|
+
function createPublishArchive(projectDir, onLeftOut) {
|
|
656
|
+
return zipPublishFileMap(buildPublishFileMap(projectDir, onLeftOut));
|
|
638
657
|
}
|
|
639
658
|
function getPublishApiBaseUrl() {
|
|
640
659
|
return (process.env["HYPERFRAMES_PUBLISHED_PROJECTS_API_URL"] || process.env["HEYGEN_API_URL"] || "https://api2.heygen.com").replace(/\/$/, "");
|
|
@@ -805,6 +824,7 @@ export {
|
|
|
805
824
|
archiveKey,
|
|
806
825
|
stagePublishFiles,
|
|
807
826
|
zipPublishFileMap,
|
|
827
|
+
createPublishArchive,
|
|
808
828
|
getPublishApiBaseUrl,
|
|
809
829
|
publishProjectArchive
|
|
810
830
|
};
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-FF6T5VPF.js";
|
|
16
16
|
import {
|
|
17
17
|
createProjectConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IDQKSSNE.js";
|
|
19
19
|
import {
|
|
20
20
|
isHyperframesProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OV3GXLBL.js";
|
|
22
22
|
import {
|
|
23
23
|
isCI
|
|
24
24
|
} from "./chunk-CPHQTXP5.js";
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SQ3VCDCO.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OV3GXLBL.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TVSUPOOH.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -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-YVS5243B.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-YFC5II7G.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2WSLAKIR.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-IU5DC4HP.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-FRJNLOOM.js";
|
|
12
12
|
import {
|
|
13
13
|
MOTION_BLUR_FINGERPRINT_FIELDS,
|
|
14
14
|
redactTelemetryString
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OV3GXLBL.js";
|
|
16
16
|
import {
|
|
17
17
|
getPowerState
|
|
18
18
|
} from "./chunk-FOZBANEN.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FXKZZMW3.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-AX7WB2YQ.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KKA7VISD.js";
|
|
10
10
|
import {
|
|
11
11
|
openRangeEnd
|
|
12
12
|
} from "./chunk-LD6JONPV.js";
|
|
13
13
|
import {
|
|
14
14
|
stripSdrPngColourTags
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SQ3VCDCO.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2WSLAKIR.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
uncheckedSource,
|
|
34
34
|
withProjectShareLock,
|
|
35
35
|
writeJsonAtomic
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XIDRTKQT.js";
|
|
37
37
|
import {
|
|
38
38
|
apiBaseUrl
|
|
39
39
|
} from "./chunk-BAWGEGKD.js";
|
|
40
40
|
import {
|
|
41
41
|
findFFprobe
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-RGR7L4YG.js";
|
|
43
43
|
import {
|
|
44
44
|
defaultClientId,
|
|
45
45
|
oauthEnvironment,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-25VZ5TWE.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-JCNPHRGX.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CFMC3TWY.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -6,17 +6,17 @@ 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-VJSO5TVW.js";
|
|
10
10
|
import {
|
|
11
11
|
extractAudioMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4UQPFLJ5.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveProjectRelativeSrc
|
|
15
15
|
} from "./chunk-MP4TEYUJ.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectMedia.ts
|
|
18
18
|
async function collectProjectMedia(projectDir) {
|
|
19
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
19
|
+
const { bundleToSingleHtml } = await import("./compiler-65OMBHLD.js");
|
|
20
20
|
const html = await bundleToSingleHtml(projectDir);
|
|
21
21
|
const producer = await loadProducer();
|
|
22
22
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import {
|
|
8
|
+
isPrivateProjectFile,
|
|
9
|
+
realFilePath
|
|
10
|
+
} from "./chunk-YFC5II7G.js";
|
|
11
|
+
|
|
12
|
+
// src/utils/privateProjectFile.ts
|
|
13
|
+
import { homedir } from "os";
|
|
14
|
+
import { isAbsolute, join, relative, sep } from "path";
|
|
15
|
+
var ENV_FILE = /^\.env([._-].*|rc)?$/;
|
|
16
|
+
function isEnvOrGitPath(path) {
|
|
17
|
+
const segments = path.toLowerCase().split(/[\\/]/);
|
|
18
|
+
return segments.includes(".git") || ENV_FILE.test(segments.at(-1) ?? "");
|
|
19
|
+
}
|
|
20
|
+
var SYSTEM_DIRS = ["/etc", "/proc", "/sys", "/dev", "/private/etc"];
|
|
21
|
+
function inPrivateLocation(projectDir, path) {
|
|
22
|
+
const posixPath = path.replaceAll("\\", "/");
|
|
23
|
+
if (SYSTEM_DIRS.some((dir) => posixPath === dir || posixPath.startsWith(`${dir}/`))) return true;
|
|
24
|
+
const segmentsPastProjectFolders = relative(projectDir, path).split(/[\\/]/).filter((segment) => segment !== "..");
|
|
25
|
+
return segmentsPastProjectFolders.some((segment) => segment.startsWith(".")) || inHomeAppData(projectDir, path);
|
|
26
|
+
}
|
|
27
|
+
function isUnder(path, ...dir) {
|
|
28
|
+
const lowerPath = path.toLowerCase();
|
|
29
|
+
const lowerDir = join(homedir(), ...dir).toLowerCase();
|
|
30
|
+
return lowerPath === lowerDir || lowerPath.startsWith(`${lowerDir}${sep}`);
|
|
31
|
+
}
|
|
32
|
+
var CLOUD_DRIVE_FOLDERS = ["Mobile Documents", "CloudStorage"];
|
|
33
|
+
function homeAppDataFolder(path) {
|
|
34
|
+
if (isUnder(path, "AppData")) return "AppData";
|
|
35
|
+
const cloudDrive = CLOUD_DRIVE_FOLDERS.some((folder) => isUnder(path, "Library", folder));
|
|
36
|
+
if (isUnder(path, "Library") && !cloudDrive) return "Library";
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
function inHomeAppData(projectDir, path) {
|
|
40
|
+
const folder = homeAppDataFolder(path);
|
|
41
|
+
return folder !== null && homeAppDataFolder(projectDir) !== folder;
|
|
42
|
+
}
|
|
43
|
+
function isPrivateOutsideFile(projectDir, absPath) {
|
|
44
|
+
const realPath = realFilePath(absPath);
|
|
45
|
+
return isEnvOrGitPath(absPath) || isEnvOrGitPath(realPath) || inPrivateLocation(projectDir, absPath) || inPrivateLocation(realFilePath(projectDir), realPath);
|
|
46
|
+
}
|
|
47
|
+
function linksToPrivateOutsideFile(projectDir, filePath) {
|
|
48
|
+
const fromProject = relative(realFilePath(projectDir), realFilePath(filePath));
|
|
49
|
+
const outside = fromProject === ".." || fromProject.startsWith(`..${sep}`) || isAbsolute(fromProject);
|
|
50
|
+
return outside && isPrivateOutsideFile(projectDir, filePath);
|
|
51
|
+
}
|
|
52
|
+
function isPrivateCompositionFile(projectDir, filePath) {
|
|
53
|
+
return isEnvOrGitPath(relative(projectDir, filePath)) || isEnvOrGitPath(relative(realFilePath(projectDir), realFilePath(filePath))) || isPrivateProjectFile(projectDir, filePath);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
isPrivateOutsideFile,
|
|
58
|
+
linksToPrivateOutsideFile,
|
|
59
|
+
isPrivateCompositionFile
|
|
60
|
+
};
|