hyperframes 0.9.56 → 0.9.58
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-KW7OTOWF.js → add-JQUKPSEZ.js} +30 -28
- package/dist/{agentPromptGenerator-NNXUWNU4.js → agentPromptGenerator-3NEY7FPP.js} +15 -14
- package/dist/{animatedGifPrep-6ATQHQON.js → animatedGifPrep-VMUZ6IVJ.js} +17 -15
- package/dist/api.js +60 -59
- package/dist/{appHistory-KHX53SGI.js → appHistory-JNI6IOR6.js} +5 -4
- package/dist/{asset-QVINGJRK.js → asset-ZT3VXZ67.js} +3 -2
- package/dist/{assetCataloger-DENJPUBH.js → assetCataloger-D2DV65BA.js} +16 -15
- package/dist/{audio-LB7HQYPJ.js → audio-LD5H2R5V.js} +37 -36
- package/dist/{auth-7AGRVI5A.js → auth-4FPYYMSH.js} +4 -4
- package/dist/{autoUpdate-ITCP2JDM.js → autoUpdate-5ZKSFCG4.js} +5 -5
- package/dist/{avatars-2K2C74EQ.js → avatars-DCLFE7VG.js} +25 -24
- package/dist/{backgroundChecks-UOTBCWPN.js → backgroundChecks-UZA3F46H.js} +6 -6
- package/dist/backgroundChecksWorker.js +6 -6
- package/dist/{batchRender-Z7ESYQDS.js → batchRender-TAUW3CT2.js} +11 -8
- package/dist/{beats-TG6ZB3XH.js → beats-X3LCR6OG.js} +16 -15
- package/dist/{benchmark-RU5MLZHE.js → benchmark-DNZQT3YQ.js} +23 -22
- package/dist/{billing-VB5PYYSN.js → billing-4BFUAHWX.js} +44 -29
- package/dist/{browser-VSQRY5GG.js → browser-5J2MTDB6.js} +13 -12
- package/dist/{bundleWithLocalizedFonts-XDPJE355.js → bundleWithLocalizedFonts-XWK47ZVF.js} +1 -1
- package/dist/{capture-M4FL7MWI.js → capture-2YSVFKWV.js} +39 -38
- package/dist/{capture-TQCFWPAT.js → capture-TVYTKWTG.js} +4 -4
- package/dist/{captureCompositionFrame-XF67Q6YK.js → captureCompositionFrame-L765HLCT.js} +21 -20
- package/dist/{captureFile-F254H22J.js → captureFile-DOCK42K3.js} +4 -3
- package/dist/{catalog-24EGH662.js → catalog-CHGGRRQX.js} +30 -28
- package/dist/{catch-up-L23HGDLB.js → catch-up-OCFU6ZR3.js} +16 -15
- package/dist/{check-F4HQVV2M.js → check-LWK4Z7FI.js} +64 -63
- package/dist/{checkAudio-6DT3ONR7.js → checkAudio-R5ORBXBO.js} +26 -23
- package/dist/{checkBrowser-S7P4X7QV.js → checkBrowser-6SH73T47.js} +55 -54
- package/dist/{chunk-MK4RH5L7.js → chunk-23SG3B6M.js} +1 -1
- package/dist/{chunk-QBADK3LD.js → chunk-2GRCLLKU.js} +1 -1
- package/dist/chunk-2RUCE54M.js +5083 -0
- package/dist/{chunk-SGWDJLFL.js → chunk-2SJNGWSY.js} +1 -1
- package/dist/{chunk-RFULFCYW.js → chunk-2WA62M3B.js} +3 -3
- package/dist/{chunk-FGGRBKWL.js → chunk-37VS6QY6.js} +1 -1
- package/dist/{chunk-ZIF44RW2.js → chunk-37Y334MN.js} +11 -8
- package/dist/{chunk-3GVHDPEP.js → chunk-3GKGBYW3.js} +7 -27
- package/dist/{chunk-BZXW5QU7.js → chunk-3VMZQQUI.js} +1 -1
- package/dist/{chunk-B6BWLFAF.js → chunk-4LZSNWFJ.js} +2 -2
- package/dist/{chunk-L5NPBGQB.js → chunk-4N3WOFP3.js} +21 -21
- package/dist/{chunk-7DKWEIH4.js → chunk-4NNYYCJN.js} +15 -15
- package/dist/{chunk-5GSCSZOS.js → chunk-4QPT3IEL.js} +5 -5
- package/dist/{chunk-JQKCRTVQ.js → chunk-5IUVWP3A.js} +2 -2
- package/dist/{chunk-APCVZGU6.js → chunk-5SGGOZNL.js} +84 -46
- package/dist/{chunk-T5HYPGST.js → chunk-7ECPFKQV.js} +4 -4
- package/dist/{chunk-BZULWFMJ.js → chunk-7FIJRDUG.js} +45 -10
- package/dist/{chunk-BA33QNKK.js → chunk-7IMHPBSH.js} +51 -19
- package/dist/{chunk-TVZTTWU7.js → chunk-7WAWUQDQ.js} +3 -3
- package/dist/{chunk-QNIID7EN.js → chunk-7WYJXKIG.js} +17 -7
- package/dist/{chunk-CZCZ5YXT.js → chunk-7ZHBY7T5.js} +1 -1
- package/dist/{chunk-WHX2OV4C.js → chunk-A4L7G74T.js} +1 -1
- package/dist/{chunk-LK7F7P2X.js → chunk-A4YRESMH.js} +2 -2
- package/dist/{chunk-MDRLJ737.js → chunk-AJ7YRQS4.js} +1 -1
- package/dist/{chunk-CBG6MIT2.js → chunk-ALD7JBPV.js} +2 -2
- package/dist/{chunk-7F4RAWDS.js → chunk-AM4Y3XMR.js} +2 -2
- package/dist/{chunk-D3WRRPHI.js → chunk-AM6UYKVR.js} +10 -10
- package/dist/{chunk-YDNBMPP3.js → chunk-AMS7Q7P7.js} +4 -4
- package/dist/{chunk-VC4YMXUQ.js → chunk-BSDUTNFX.js} +1 -1
- package/dist/{chunk-IRZUZ32B.js → chunk-BSFTB6AM.js} +4 -4
- package/dist/{chunk-XKNNZ4WR.js → chunk-CGJIMWNU.js} +5 -2
- package/dist/{chunk-WFB4XPJR.js → chunk-CGODFJZ7.js} +9 -9
- package/dist/{chunk-BMVUB2CY.js → chunk-CPDPSNSB.js} +8 -8
- package/dist/{chunk-OXT2LXZB.js → chunk-CRPLPK6J.js} +8 -8
- package/dist/{chunk-PPLFDG7N.js → chunk-CVTIGS5K.js} +3 -3
- package/dist/{chunk-IDGWNOBX.js → chunk-D2LSYXLW.js} +1 -1
- package/dist/{chunk-5ZDNSYTO.js → chunk-D3M5VOC5.js} +3 -3
- package/dist/{chunk-PGHROSLJ.js → chunk-DH3M5X3Y.js} +4 -4
- package/dist/{chunk-LRQEIKFT.js → chunk-DHVRVI7F.js} +5 -5
- package/dist/{chunk-PUTPYYE4.js → chunk-DL6PEJWH.js} +5 -2
- package/dist/{chunk-DDCXMXAD.js → chunk-DWFWF6IR.js} +30 -22
- package/dist/{chunk-BUG5AOPJ.js → chunk-DX5Y3L5B.js} +2 -2
- package/dist/{chunk-52XHPMCX.js → chunk-E26Z73S3.js} +1 -1
- package/dist/{chunk-YWH7HWDP.js → chunk-E4IR34CF.js} +332 -328
- package/dist/{chunk-BTJYK56C.js → chunk-ELRE6LVJ.js} +3 -3
- package/dist/{chunk-XLP34AJR.js → chunk-EOXNEA4Z.js} +2 -2
- package/dist/{chunk-7E7VKASF.js → chunk-ERDQIRUL.js} +4 -4
- package/dist/{chunk-MPOWSPBD.js → chunk-EWKJDXH6.js} +3 -3
- package/dist/{chunk-MVLAPENI.js → chunk-EZJHKHWU.js} +3 -3
- package/dist/{chunk-TY7EHE4Q.js → chunk-FFOFGL2O.js} +2 -2
- package/dist/{chunk-UHVKV5IF.js → chunk-FNXU56VT.js} +1 -1
- package/dist/{chunk-PHAZT6EB.js → chunk-G3U5CUF3.js} +1 -1
- package/dist/{chunk-ON3CGL3V.js → chunk-GDIBE57N.js} +2 -2
- package/dist/{chunk-VVXSMYXQ.js → chunk-GEOJA37C.js} +3 -3
- package/dist/{chunk-CUO2HF4M.js → chunk-GIVMQDSK.js} +2 -2
- package/dist/{chunk-NFST2HIM.js → chunk-GRSZAGJB.js} +2 -2
- package/dist/{chunk-AGTBMLNM.js → chunk-GVIJFPZV.js} +2 -2
- package/dist/{chunk-CKIYT34K.js → chunk-H3LEOZVK.js} +1 -1
- package/dist/{chunk-UIMXEY4U.js → chunk-H7DTMLAR.js} +7 -7
- package/dist/{chunk-7HQC5MDZ.js → chunk-HFIVZJJD.js} +1 -1
- package/dist/{chunk-IT2QBRVS.js → chunk-HFUI6LVF.js} +1 -1
- package/dist/chunk-HOIEN7O4.js +31 -0
- package/dist/{chunk-WGWKT7ME.js → chunk-HTGJOOXE.js} +12 -4
- package/dist/{chunk-GWSMTN55.js → chunk-IE6BIB3L.js} +53 -1
- package/dist/{chunk-YFWFCKKF.js → chunk-IGZQYMZA.js} +7638 -7451
- package/dist/{chunk-IO7PRQQC.js → chunk-J6VYWZSO.js} +1 -1
- package/dist/{chunk-OZDELWQP.js → chunk-JKLWQUSV.js} +1 -1
- package/dist/{chunk-WUY74LHU.js → chunk-JOOKM2NC.js} +2 -2
- package/dist/{chunk-BR7GOCQJ.js → chunk-JQZ5WP7L.js} +1 -1
- package/dist/{chunk-EBRN4YJH.js → chunk-JZVI2TMX.js} +3 -3
- package/dist/{chunk-R2LP7QPB.js → chunk-K2EJQ44S.js} +1 -1
- package/dist/{chunk-YOMFN6HH.js → chunk-KYKQO4VN.js} +2 -2
- package/dist/{chunk-QJDMX53S.js → chunk-LO5USUM4.js} +1 -1
- package/dist/{chunk-L5CBCPUH.js → chunk-M3IHARIW.js} +13 -13
- package/dist/{chunk-664QGMR4.js → chunk-M5TTYUZM.js} +2 -2
- package/dist/{chunk-IJYIIHGK.js → chunk-MK23FXLH.js} +1 -1
- package/dist/{chunk-7QFLMCTD.js → chunk-MPC3OODR.js} +36 -5
- package/dist/{chunk-DUZ6Z2ZN.js → chunk-MSC5KBCE.js} +1 -1
- package/dist/{chunk-KRYXZVA2.js → chunk-N6PAWR5C.js} +3 -3
- package/dist/{chunk-RRT6URIP.js → chunk-NJPLH762.js} +2 -2
- package/dist/{chunk-Q2TT62RQ.js → chunk-NLVIE7VN.js} +4 -4
- package/dist/{chunk-XD5T43S7.js → chunk-O2BLY7PO.js} +1 -1
- package/dist/{chunk-SEC76O65.js → chunk-O2INZCGB.js} +1 -1
- package/dist/{chunk-NCJSN6SV.js → chunk-O4K22EFS.js} +5 -5
- package/dist/{chunk-L27Z3PZT.js → chunk-O5U3Y5DX.js} +1 -1
- package/dist/{chunk-MP52CUHL.js → chunk-OD7XWF5T.js} +2 -2
- package/dist/{chunk-7QFFS657.js → chunk-OEGWTN6N.js} +1 -1
- package/dist/{chunk-2GRCTZNS.js → chunk-OL7RHRNJ.js} +1 -1
- package/dist/{chunk-EKSS3KI7.js → chunk-OMZSPAK5.js} +1 -1
- package/dist/{chunk-RCGNYXWK.js → chunk-OPSGEOCO.js} +27 -19
- package/dist/{chunk-IHX3AFTY.js → chunk-PGITR2WX.js} +7 -4
- package/dist/{chunk-XEVAW42J.js → chunk-PS7WBIPK.js} +10 -10
- package/dist/{chunk-HVG656G6.js → chunk-PYTF6VHF.js} +6 -4
- package/dist/{chunk-OIO7YMBP.js → chunk-QGQCWG7F.js} +1 -1
- package/dist/{chunk-CXFW7YPT.js → chunk-ROESFEBP.js} +62 -47
- package/dist/{chunk-VCSQLM36.js → chunk-RV3HR3BZ.js} +5 -5
- package/dist/{chunk-UVPLW55S.js → chunk-SALNTRJA.js} +10 -2
- package/dist/{chunk-LKWWY6WN.js → chunk-SE4NOUB6.js} +1 -1
- package/dist/{chunk-JPEIUGS5.js → chunk-SM5PNCDI.js} +1 -1
- package/dist/{chunk-W4AR7UZH.js → chunk-SNKBI4YB.js} +2 -2
- package/dist/{chunk-43CQTZGB.js → chunk-SV72WLBE.js} +2 -2
- package/dist/{chunk-JDXALWOM.js → chunk-SYKUNH25.js} +1 -1
- package/dist/{chunk-CNXZCMJZ.js → chunk-TAXMLPTE.js} +2 -2
- package/dist/{chunk-QTZICZWT.js → chunk-TLDIP7Y3.js} +16 -12
- package/dist/{chunk-EGR2ZFFP.js → chunk-TLGQQ324.js} +4 -4
- package/dist/{chunk-CWIOKI2R.js → chunk-U5MILT4G.js} +1 -1
- package/dist/{chunk-YQSVPHOS.js → chunk-UDLWVQ74.js} +8 -5
- package/dist/{chunk-6XRXUMFG.js → chunk-UGKUGYHD.js} +1 -1
- package/dist/{chunk-EUP7ODOV.js → chunk-UJTLTFB6.js} +1 -1
- package/dist/{chunk-4GPKDDQZ.js → chunk-V3O4AFO3.js} +9 -9
- package/dist/{chunk-2ZOJCSLJ.js → chunk-VBEDZGBW.js} +3 -3
- package/dist/{chunk-PVF32NRA.js → chunk-VI2LLFW6.js} +2 -2
- package/dist/{chunk-6LONEKJR.js → chunk-VLFBOKZX.js} +5743 -5615
- package/dist/{chunk-Z72VXQPN.js → chunk-VSM7OIG2.js} +2 -2
- package/dist/{chunk-4RPIEGL3.js → chunk-VXE46PXX.js} +1 -1
- package/dist/{chunk-LH5FRVAO.js → chunk-W2OXNTHG.js} +3 -3
- package/dist/{chunk-4DJGUZJR.js → chunk-WEU6WLVT.js} +2 -2
- package/dist/{chunk-BPYNILOZ.js → chunk-WGHJUGNU.js} +11 -9
- package/dist/{chunk-HOCV5AW6.js → chunk-WJIWXHXK.js} +8 -4
- package/dist/{chunk-CPSD7337.js → chunk-WLNHZ2OM.js} +9 -9
- package/dist/{chunk-HCQXGGVY.js → chunk-WQZQMADW.js} +14 -14
- package/dist/{chunk-DY7PQLIE.js → chunk-WTJZ5QFR.js} +42 -5
- package/dist/{chunk-CKIVYAKG.js → chunk-X3IVUSOX.js} +2 -2
- package/dist/{chunk-LRWWCTSJ.js → chunk-X3UXEB2U.js} +2 -2
- package/dist/{chunk-ICDGP335.js → chunk-XMT4MG6W.js} +9 -9
- package/dist/{chunk-4WSJ5MUN.js → chunk-XYP4T6TQ.js} +1 -1
- package/dist/{chunk-PGJYA6I3.js → chunk-Y6CZFX5X.js} +65 -20
- package/dist/{chunk-GTC2STHN.js → chunk-Z642P33A.js} +4 -4
- package/dist/{chunk-CLRHKYOK.js → chunk-ZAWQJOTW.js} +8 -8
- package/dist/{chunk-BW4H55SU.js → chunk-ZCLC3KVY.js} +1 -1
- package/dist/{chunk-PCKKKICA.js → chunk-ZFOV3R2L.js} +4 -4
- package/dist/{chunk-ANYW22IT.js → chunk-ZO5NHAF3.js} +1 -1
- package/dist/{chunk-AN6KWGYI.js → chunk-ZYNNZ5DE.js} +2 -2
- package/dist/{clean-VB6BH3FV.js → clean-6ODSABBF.js} +34 -32
- package/dist/cli.js +70 -70
- package/dist/{cloud-7KRPD2K4.js → cloud-IMYQB5RC.js} +4 -4
- package/dist/{cloud-A67BW6OH.js → cloud-NTKLXMBS.js} +9 -8
- package/dist/{cloudrun-VKBARVVT.js → cloudrun-JNLDP33J.js} +12 -11
- package/dist/{compare-SE55PMC3.js → compare-VLYZ6ZS4.js} +54 -52
- package/dist/{compiler-WK7ABGRW.js → compiler-7M2UCEWG.js} +7 -6
- package/dist/{component-XT2AT3RY.js → component-KMUHKZ4R.js} +4 -3
- package/dist/{compositions-ZZWLQNDQ.js → compositions-ESLWNOMS.js} +23 -23
- package/dist/{contactSheet-MXOASCDR.js → contactSheet-4YF7U6U7.js} +5 -4
- package/dist/contract/path-policy.json +12 -2
- package/dist/{curve-4RQQKZ2K.js → curve-7RPSNRPE.js} +21 -20
- package/dist/{cuts-M3QU2CBE.js → cuts-KBAAZSPS.js} +22 -21
- package/dist/{delete-5ZZNPK5G.js → delete-EP5Z7HKF.js} +14 -13
- package/dist/{deploy-VR5SQP4U.js → deploy-MVR63JLD.js} +14 -13
- package/dist/{describeProject-NU5BVVIA.js → describeProject-NBVZT5EN.js} +15 -14
- package/dist/{destroy-FFS62PAW.js → destroy-DQKIT574.js} +13 -12
- package/dist/{deterministicFonts-FQQNGORI.js → deterministicFonts-LYBMXXBW.js} +5 -4
- package/dist/{diff-NQGTF6GR.js → diff-RI3FTMOZ.js} +57 -56
- package/dist/{dist-6GYOC3BU.js → dist-G7VFX23I.js} +8 -4
- package/dist/{dist-APXZ5EN2.js → dist-LRGTXDSM.js} +3 -3
- package/dist/{dist-B7IBHWIW.js → dist-TOOMD57O.js} +19 -17
- package/dist/{doctor-FATJGTPD.js → doctor-43YNRCRB.js} +24 -23
- package/dist/{energy-PHDK6SKL.js → energy-YCH36KCC.js} +22 -21
- package/dist/{events-OIWXSBZA.js → events-6RJBITYN.js} +24 -23
- package/dist/{events-RXVHG2NT.js → events-JCPYG3CD.js} +6 -6
- package/dist/{events-25VQ2O66.js → events-VUR27EF6.js} +12 -11
- package/dist/{execute-MKP4Z573.js → execute-OXMKWIFI.js} +44 -43
- package/dist/{extract-YYNYXPOC.js → extract-XGD2RDEX.js} +24 -23
- package/dist/{face-JSTMFQRM.js → face-XCNWNTGN.js} +23 -22
- package/dist/{feedback-PY6LMZCX.js → feedback-JNFDVBFV.js} +27 -26
- package/dist/{ffmpeg-KLIB55FK.js → ffmpeg-YQLAJUEA.js} +14 -13
- package/dist/{figma-ACFOXVPM.js → figma-XXGHYEB3.js} +3 -3
- package/dist/fontLocalizeCli.js +22 -20
- package/dist/{frames-BLZCBXO7.js → frames-PEMWFRRY.js} +24 -23
- package/dist/{generate-DMVEKZEV.js → generate-H5M4QSJR.js} +41 -40
- package/dist/{get-3WZDQ5YM.js → get-R6Y2OE5P.js} +14 -13
- package/dist/{gpuPolicy-TT6UCOLQ.js → gpuPolicy-2WVDQYZA.js} +14 -13
- package/dist/{grade-compare-F5DJ53XH.js → grade-compare-KFXPZFDL.js} +54 -52
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-RODCGO2L.js} +1 -1
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UV23RWOG.js → heifImagePrep-VLKYA5QZ.js} +18 -16
- package/dist/{help-QMP5KFYW.js → help-T3XUX5RI.js} +2 -2
- package/dist/{history-UOZ4RDEZ.js → history-QJPUCUUC.js} +25 -23
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{index-gen-OPMQ5WSN.js → index-gen-3DWPA4FO.js} +14 -12
- package/dist/{info-A6KSO64E.js → info-556DHJHJ.js} +25 -25
- package/dist/{init-OQU46K3Q.js → init-P62TPWR3.js} +46 -45
- package/dist/{ink-HGRKLGII.js → ink-SRN65OZH.js} +22 -21
- package/dist/{inspect-BKENKUXF.js → inspect-U5FWQQFB.js} +53 -52
- package/dist/{installer-Z6FTR7BJ.js → installer-3TNMANQV.js} +9 -8
- package/dist/{keyframes-UDQGWKPW.js → keyframes-FPGEFGCH.js} +63 -28
- package/dist/{lambda-SHXQFHLE.js → lambda-YJY2MYWL.js} +24 -23
- package/dist/{layout-CJAVQ4D3.js → layout-QIKSVA44.js} +53 -52
- package/dist/{lint-RAPNYPWS.js → lint-RD33ESM5.js} +20 -20
- package/dist/{lintProject-JZRM7UKH.js → lintProject-ZWLXB3A2.js} +3 -3
- package/dist/{list-4BKFMJQN.js → list-FFO3WOB2.js} +14 -13
- package/dist/{localPage-BJW2TP77.js → localPage-DHIBMNJH.js} +15 -14
- package/dist/{login-S5VZAGCI.js → login-IMFRQOEQ.js} +8 -8
- package/dist/{logout-CCATTNTL.js → logout-SLBKP67J.js} +4 -4
- package/dist/{look-V2I6BGUY.js → look-ZZHJYSPC.js} +22 -21
- package/dist/{manager-WQWU5VJ4.js → manager-U4WEPCLV.js} +4 -4
- package/dist/{manager-OS2FYJI5.js → manager-V4LGD4HB.js} +15 -14
- package/dist/{manifest-QSJYVERU.js → manifest-TSKRUXZ5.js} +5 -1
- package/dist/{measure-RO5R2SUZ.js → measure-ZRBVN45B.js} +11 -11
- package/dist/{media-treatment-CS7BVMJW.js → media-treatment-3I2CMQJZ.js} +29 -24
- package/dist/{media-use-W3DGCKFB.js → media-use-2OYJ3CCN.js} +8 -8
- package/dist/{models-ZOGYW2SC.js → models-PRW7EWSV.js} +19 -18
- package/dist/{motionShot-IMRI7W7T.js → motionShot-VWILMLHQ.js} +38 -29
- package/dist/{normalize-audio-HXTFAZUK.js → normalize-audio-42XMF35K.js} +19 -17
- package/dist/{oauth-SAVP2YM4.js → oauth-V3HSFZRE.js} +2 -2
- package/dist/{open-LJDQ37KV.js → open-D52MJZQA.js} +29 -27
- package/dist/{parakeetRunner-CKMSKDH6.js → parakeetRunner-ZR2JWQZH.js} +22 -21
- package/dist/{pipeline-ZNCYOTUH.js → pipeline-W3H4JA6H.js} +17 -16
- package/dist/{plan-NCFS5T6W.js → plan-2HQOFJO7.js} +33 -32
- package/dist/{play-5UZDFFXJ.js → play-G5XDRDIZ.js} +46 -44
- package/dist/{preflight-H5XYFKFF.js → preflight-W2JDYF3T.js} +17 -16
- package/dist/{present-EFXUFT5Y.js → present-CYMTHQFM.js} +36 -34
- package/dist/{preview-RV7ALGDQ.js → preview-DTQPQZTK.js} +46 -45
- package/dist/{probe-UB6DM2Q3.js → probe-WZJK3YQI.js} +22 -21
- package/dist/{producer-2PKB5CW5.js → producer-2BSMSO6I.js} +1 -1
- package/dist/{progress-S36VQBQW.js → progress-KRDVC24C.js} +4 -3
- package/dist/{projectConfig-EUH5DILC.js → projectConfig-BYRVYLCC.js} +12 -11
- package/dist/{publication-VI2AXXKR.js → publication-UCFJLELD.js} +7 -6
- package/dist/{publish-225GB7R4.js → publish-KXVPSWCO.js} +36 -35
- package/dist/{refresh-X5ZLKQO5.js → refresh-2GVNKDQE.js} +4 -4
- package/dist/{remove-background-W2RLEQHJ.js → remove-background-O7BZNS3X.js} +18 -17
- package/dist/{render-WMWCCMWI.js → render-DGAP4Q2Z.js} +69 -67
- package/dist/{render-Y3JKWEN4.js → render-QOWXGWQZ.js} +54 -53
- package/dist/{render-KXKBSNOQ.js → render-TYS3LCIQ.js} +10 -9
- package/dist/{render-batch-GK6CDHKN.js → render-batch-TEQRGAUC.js} +10 -9
- package/dist/renderSetupWorker.js +7 -7
- package/dist/{resolver-5CRZD5XB.js → resolver-RN2JGGQL.js} +9 -8
- package/dist/{reverse-YPYKKQSJ.js → reverse-FUARFEG2.js} +1 -1
- package/dist/{run-FQ76QNES.js → run-V722HMUG.js} +12 -11
- package/dist/{sam-A4NXDWSU.js → sam-KHLM2DJA.js} +4 -4
- package/dist/{screenshotCapture-R6VE66NR.js → screenshotCapture-4BB4LUMX.js} +17 -16
- package/dist/{service-P3IKHZFC.js → service-ZPCHJY6B.js} +23 -22
- package/dist/{share-BU4VQL3B.js → share-PXUN7AH7.js} +28 -27
- package/dist/{sherpa-44GLXY3A.js → sherpa-LT6Y7IGM.js} +21 -20
- package/dist/sherpaWorker.js +6 -5
- package/dist/{sites-TAX3JLNX.js → sites-WWCABDSX.js} +4 -3
- package/dist/skills/hyperframes/references/plugin-installation.md +12 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +47 -9
- package/dist/skills/media-use/audio/scripts/audio.mjs +24 -7
- package/dist/skills/media-use/audio/scripts/carve.mjs +10 -82
- package/dist/skills/media-use/audio/scripts/lib/audio-carve.mjs +4 -0
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +25 -7
- package/dist/skills/media-use/audio/scripts/lib/project-path.mjs +56 -0
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +66 -3
- package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +12 -7
- package/dist/skills/media-use/references/audio.md +2 -2
- package/dist/skills/media-use/references/mixing.md +1 -1
- package/dist/skills/media-use/scripts/lib/index-gen.mjs +13 -11
- package/dist/skills/media-use/scripts/lib/manifest.mjs +51 -4
- package/dist/{skills-H4OZQ6VR.js → skills-G63W5GD5.js} +17 -16
- package/dist/{skillsUpdateCheck-U3XZX7UE.js → skillsUpdateCheck-2T3JVDAA.js} +6 -6
- package/dist/{snapshot-FJQVXBFB.js → snapshot-EVSKTVDG.js} +89 -78
- package/dist/{src-O6BHCR4O.js → src-K5FSMLTB.js} +22 -20
- package/dist/{src-PAM5LJ6K.js → src-R57EQQSI.js} +28 -19
- package/dist/{start-R7CYOQ5S.js → start-XBCYKGBV.js} +40 -39
- package/dist/{state-YFRV6TQH.js → state-FO64CPYE.js} +4 -3
- package/dist/{staticProjectServer-4X2OSUN4.js → staticProjectServer-Q6VR7CXT.js} +32 -30
- package/dist/{status-VN3FAN4M.js → status-E5XIWRCQ.js} +37 -34
- package/dist/studio/assets/{hyperframes-player-SRLbmEDB.js → hyperframes-player-B78JDyI_.js} +1 -1
- package/dist/studio/assets/{index-CgyBYe2L.js → index-D7ICtobF.js} +178 -178
- package/dist/studio/assets/{index-yuN1pZrv.js → index-ww7-RmuM.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-DtvSF8bV.js → pausedVideoDecoder-Dbe8Cmab.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-V3TMIWFB.js → studio-api-GMJVYGET.js} +19 -17
- package/dist/{studioServer-GY2ZTR2E.js → studioServer-MIQCMK6U.js} +117 -101
- package/dist/subCompositionWorker.js +1162 -0
- package/dist/{sync-2V3JYCDE.js → sync-WJOFN6VN.js} +22 -21
- package/dist/{synthesize-TQELPMS5.js → synthesize-FXM7ZD6J.js} +6 -5
- package/dist/{system-2YOII5LZ.js → system-DBUN5UDD.js} +3 -3
- package/dist/{telemetry-KMRZ3IJV.js → telemetry-HZ4P4DMC.js} +12 -11
- package/dist/{templates-EEFY4FPS.js → templates-KFZZSSKW.js} +29 -28
- package/dist/{timeline-HSRGYZ3Q.js → timeline-5M6DPCXF.js} +37 -35
- package/dist/{tokens-NYFORL53.js → tokens-H4NPNRFR.js} +3 -2
- package/dist/{transcribe-CNIQYQ52.js → transcribe-6STI2ALX.js} +47 -46
- package/dist/{transcribe-GFFWRWK3.js → transcribe-7PE5UH7J.js} +18 -17
- package/dist/{tts-NPMDYSXP.js → tts-D7CLD3AD.js} +1 -1
- package/dist/{update-BDMPUNNA.js → update-H3T3AVVG.js} +19 -18
- package/dist/{updateCheck-43UZ2USJ.js → updateCheck-TLCXUNBV.js} +5 -5
- package/dist/{upgrade-Z5B57UWL.js → upgrade-BZVTMCQU.js} +9 -8
- package/dist/{urlDownloader-KDZ76BKM.js → urlDownloader-FJXNC3IM.js} +13 -12
- package/dist/{validate-UQKZNR5K.js → validate-WTRVCEL5.js} +39 -37
- package/dist/{video-VR4363OG.js → video-TVO2U5F2.js} +17 -16
- package/dist/{voices-GUWAM3TH.js → voices-F3EW43LX.js} +39 -38
- package/dist/warmCheck.js +64 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-56T2OGYR.js +0 -5085
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +0 -46
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +0 -149
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +0 -231
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +0 -166
- package/dist/skills/media-use/audio/scripts/carve.test.mjs +0 -254
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +0 -131
- package/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +0 -38
- package/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +0 -233
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +0 -136
- package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +0 -135
- package/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +0 -41
- package/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +0 -86
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +0 -253
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +0 -627
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +0 -239
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +0 -198
- package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +0 -331
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +0 -181
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +0 -183
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +0 -280
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +0 -21
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +0 -139
- package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +0 -106
- package/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +0 -108
- package/dist/skills/media-use/scripts/compatibility.test.mjs +0 -41
- package/dist/skills/media-use/scripts/dither.test.mjs +0 -176
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +0 -143
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -178
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +0 -110
- package/dist/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
- package/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
- package/dist/skills/media-use/scripts/lib/config-lock.test.mjs +0 -79
- package/dist/skills/media-use/scripts/lib/coverage.test.mjs +0 -136
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +0 -39
- package/dist/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -130
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +0 -319
- package/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
- package/dist/skills/media-use/scripts/lib/freeze.test.mjs +0 -138
- package/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -315
- package/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -435
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +0 -92
- package/dist/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
- package/dist/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -312
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -331
- package/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -199
- package/dist/skills/media-use/scripts/lib/manifest.test.mjs +0 -397
- package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +0 -197
- package/dist/skills/media-use/scripts/lib/media-home.test.mjs +0 -61
- package/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/misses.test.mjs +0 -89
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -41
- package/dist/skills/media-use/scripts/lib/openverse.test.mjs +0 -219
- package/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +0 -173
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -245
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +0 -221
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -391
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +0 -261
- package/dist/skills/media-use/scripts/lib/search.test.mjs +0 -32
- package/dist/skills/media-use/scripts/lib/specs.test.mjs +0 -157
- package/dist/skills/media-use/scripts/lib/stats.test.mjs +0 -165
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +0 -550
- package/dist/skills/media-use/scripts/lib/test-home.test.mjs +0 -10
- package/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +0 -33
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -59
- package/dist/skills/media-use/scripts/lib/usage.test.mjs +0 -54
- package/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +0 -86
- package/dist/skills/media-use/scripts/transcribe.test.mjs +0 -215
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +0 -341
- package/dist/{chunk-BAWGEGKD.js → chunk-XMAU5ZQX.js} +3 -3
|
@@ -4,6 +4,11 @@ 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
|
+
Semaphore,
|
|
9
|
+
prepareHeifImageInputs,
|
|
10
|
+
withMediaProbeSlot
|
|
11
|
+
} from "./chunk-PYTF6VHF.js";
|
|
7
12
|
import {
|
|
8
13
|
GENERIC_FAMILIES,
|
|
9
14
|
collectFontFamilyCustomProperties,
|
|
@@ -11,12 +16,7 @@ import {
|
|
|
11
16
|
iterateFontFamilyDeclarations,
|
|
12
17
|
normalizeSystemFontPrimaryFamilies,
|
|
13
18
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
Semaphore,
|
|
17
|
-
prepareHeifImageInputs,
|
|
18
|
-
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-HVG656G6.js";
|
|
19
|
+
} from "./chunk-PGITR2WX.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
@@ -30,15 +30,12 @@ import {
|
|
|
30
30
|
refusesOutsideLink,
|
|
31
31
|
resolveRenderPaths,
|
|
32
32
|
toExternalAssetKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-37Y334MN.js";
|
|
34
34
|
import {
|
|
35
35
|
createStudioPositionSeekReapplyScript,
|
|
36
36
|
openRangeEnd,
|
|
37
37
|
parseEncoderOptions
|
|
38
38
|
} from "./chunk-LD6JONPV.js";
|
|
39
|
-
import {
|
|
40
|
-
RENDER_TEMP_DIR
|
|
41
|
-
} from "./chunk-3GVHDPEP.js";
|
|
42
39
|
import {
|
|
43
40
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
44
41
|
CaptureFailure,
|
|
@@ -69,6 +66,7 @@ import {
|
|
|
69
66
|
assertMediaPayload,
|
|
70
67
|
assertPublicHttpsUrl,
|
|
71
68
|
assertSwiftShader,
|
|
69
|
+
assetRootsRefusal,
|
|
72
70
|
audioFailureDiagnostics,
|
|
73
71
|
augmentPageNavigationTimeoutError,
|
|
74
72
|
augmentProtocolTimeoutError,
|
|
@@ -143,7 +141,9 @@ import {
|
|
|
143
141
|
isHttpUrl,
|
|
144
142
|
isInsideAssetRoots,
|
|
145
143
|
isMemoryExhaustionError,
|
|
144
|
+
isNotImagePayload,
|
|
146
145
|
isNotMediaPayload,
|
|
146
|
+
isPrivateUnderAssetRoots,
|
|
147
147
|
isProresProfile,
|
|
148
148
|
isSelfOrAncestorHidden,
|
|
149
149
|
isTransientBrowserError,
|
|
@@ -199,16 +199,25 @@ import {
|
|
|
199
199
|
shouldDisableBrowserPoolForParallelWorker,
|
|
200
200
|
spawnStreamingEncoder,
|
|
201
201
|
trackChildProcess,
|
|
202
|
+
urlInputArgs,
|
|
202
203
|
validateEngineConfigSnapshot,
|
|
203
204
|
verifyDiskDrawElementSamples,
|
|
204
205
|
videoAudioId,
|
|
205
206
|
videoStartOnMediaTimeline,
|
|
206
207
|
writeCapturedFrame,
|
|
207
208
|
writeUrlDownloadTelemetry
|
|
208
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-VLFBOKZX.js";
|
|
209
210
|
import {
|
|
210
211
|
settleOnBrowserSafePort
|
|
211
212
|
} from "./chunk-OSKSTJNQ.js";
|
|
213
|
+
import {
|
|
214
|
+
TRANSITIONS,
|
|
215
|
+
convertTransfer,
|
|
216
|
+
crossfade
|
|
217
|
+
} from "./chunk-3GXQPCJC.js";
|
|
218
|
+
import {
|
|
219
|
+
RENDER_TEMP_DIR
|
|
220
|
+
} from "./chunk-HOIEN7O4.js";
|
|
212
221
|
import {
|
|
213
222
|
PREVIEW_FOR_ANOTHER_SITE_META
|
|
214
223
|
} from "./chunk-YXX6CIHL.js";
|
|
@@ -224,19 +233,14 @@ import {
|
|
|
224
233
|
parsesAsScript,
|
|
225
234
|
prepareFlattenedInnerRoot,
|
|
226
235
|
stripSdrPngColourTags
|
|
227
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-4N3WOFP3.js";
|
|
228
237
|
import {
|
|
229
238
|
cannotHardLink,
|
|
230
239
|
collectScratchLeftovers,
|
|
231
240
|
createStagingDir,
|
|
232
241
|
removeScratch,
|
|
233
242
|
renameWithRetry
|
|
234
|
-
} from "./chunk-
|
|
235
|
-
import {
|
|
236
|
-
TRANSITIONS,
|
|
237
|
-
convertTransfer,
|
|
238
|
-
crossfade
|
|
239
|
-
} from "./chunk-3GXQPCJC.js";
|
|
243
|
+
} from "./chunk-DL6PEJWH.js";
|
|
240
244
|
import {
|
|
241
245
|
DISTRIBUTED_FPS,
|
|
242
246
|
HF_VFX_ATTR,
|
|
@@ -254,7 +258,7 @@ import {
|
|
|
254
258
|
redactTelemetryString,
|
|
255
259
|
resolveAuthoredTimingWindow,
|
|
256
260
|
toFps
|
|
257
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-5IUVWP3A.js";
|
|
258
262
|
import {
|
|
259
263
|
CAPTURE_CANVAS_SELECTOR,
|
|
260
264
|
COMPOSITION_SOURCE_URL,
|
|
@@ -291,19 +295,22 @@ import {
|
|
|
291
295
|
sourceTimeAt,
|
|
292
296
|
styleElementsFor,
|
|
293
297
|
timeAtSourceTime
|
|
294
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-2RUCE54M.js";
|
|
295
299
|
import {
|
|
296
300
|
isPrivateFileUnder,
|
|
297
301
|
isSafePath,
|
|
298
302
|
isStudioPrivatePath
|
|
299
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-SALNTRJA.js";
|
|
304
|
+
import {
|
|
305
|
+
terminalText
|
|
306
|
+
} from "./chunk-MK23FXLH.js";
|
|
300
307
|
import {
|
|
301
308
|
chromeMajorCeiling
|
|
302
309
|
} from "./chunk-6LU6JICP.js";
|
|
303
310
|
import {
|
|
304
311
|
lintHyperframeHtml,
|
|
305
312
|
resolveReferencedStart
|
|
306
|
-
} from "./chunk-
|
|
313
|
+
} from "./chunk-UDLWVQ74.js";
|
|
307
314
|
import {
|
|
308
315
|
isUnresolvedAssetPlaceholder,
|
|
309
316
|
namesAnotherNetworkRoot,
|
|
@@ -318,7 +325,7 @@ import {
|
|
|
318
325
|
getSystemTotalMb,
|
|
319
326
|
hostCpuCount,
|
|
320
327
|
usableCpuCount
|
|
321
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-O5U3Y5DX.js";
|
|
322
329
|
import {
|
|
323
330
|
MEDIA_START_BASIS_ATTR,
|
|
324
331
|
checkSubCompositionUsability,
|
|
@@ -356,7 +363,7 @@ import {
|
|
|
356
363
|
matchHtmlBodyCssWidthFirst,
|
|
357
364
|
normalizeResolutionFlag,
|
|
358
365
|
suggestMatchingPreset
|
|
359
|
-
} from "./chunk-
|
|
366
|
+
} from "./chunk-7IMHPBSH.js";
|
|
360
367
|
import {
|
|
361
368
|
parseHTML
|
|
362
369
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -780,26 +787,26 @@ var LOG_LEVEL_PRIORITY = {
|
|
|
780
787
|
function createConsoleLogger(level = "info") {
|
|
781
788
|
const threshold = LOG_LEVEL_PRIORITY[level];
|
|
782
789
|
const shouldLog = (msgLevel) => LOG_LEVEL_PRIORITY[msgLevel] <= threshold;
|
|
783
|
-
const formatMeta = (meta) => meta ? ` ${JSON.stringify(meta)}` : "";
|
|
790
|
+
const formatMeta = (meta) => meta ? ` ${terminalText(JSON.stringify(meta))}` : "";
|
|
784
791
|
return {
|
|
785
792
|
error(message, meta) {
|
|
786
793
|
if (shouldLog("error")) {
|
|
787
|
-
console.error(`[ERROR] ${message}${formatMeta(meta)}`);
|
|
794
|
+
console.error(`[ERROR] ${terminalText(message)}${formatMeta(meta)}`);
|
|
788
795
|
}
|
|
789
796
|
},
|
|
790
797
|
warn(message, meta) {
|
|
791
798
|
if (shouldLog("warn")) {
|
|
792
|
-
console.warn(`[WARN] ${message}${formatMeta(meta)}`);
|
|
799
|
+
console.warn(`[WARN] ${terminalText(message)}${formatMeta(meta)}`);
|
|
793
800
|
}
|
|
794
801
|
},
|
|
795
802
|
info(message, meta) {
|
|
796
803
|
if (shouldLog("info")) {
|
|
797
|
-
console.error(`[INFO] ${message}${formatMeta(meta)}`);
|
|
804
|
+
console.error(`[INFO] ${terminalText(message)}${formatMeta(meta)}`);
|
|
798
805
|
}
|
|
799
806
|
},
|
|
800
807
|
debug(message, meta) {
|
|
801
808
|
if (shouldLog("debug")) {
|
|
802
|
-
console.error(`[DEBUG] ${message}${formatMeta(meta)}`);
|
|
809
|
+
console.error(`[DEBUG] ${terminalText(message)}${formatMeta(meta)}`);
|
|
803
810
|
}
|
|
804
811
|
},
|
|
805
812
|
isLevelEnabled(msgLevel) {
|
|
@@ -1374,7 +1381,7 @@ function createFileServer(options) {
|
|
|
1374
1381
|
const headScripts = options.headScripts ?? [getVerifiedHyperframeRuntimeSource()];
|
|
1375
1382
|
const bodyScripts = options.bodyScripts ?? [buildRenderModeScript(options.fps), HF_BRIDGE_SCRIPT];
|
|
1376
1383
|
const app = new Hono();
|
|
1377
|
-
const warnLeftOut = (line) => console.warn(`[FileServer] ${line}`);
|
|
1384
|
+
const warnLeftOut = (line) => console.warn(`[FileServer] ${terminalText(line)}`);
|
|
1378
1385
|
let listeningPort = -1;
|
|
1379
1386
|
app.use(async function loadEachFileOnlyAsItsNamedType(c, next) {
|
|
1380
1387
|
await next();
|
|
@@ -1398,7 +1405,7 @@ function createFileServer(options) {
|
|
|
1398
1405
|
}
|
|
1399
1406
|
if (!file) {
|
|
1400
1407
|
if (!/favicon\.ico$/i.test(requestPath)) {
|
|
1401
|
-
console.warn(`[FileServer] 404 Not Found: ${requestPath}`);
|
|
1408
|
+
console.warn(`[FileServer] 404 Not Found: ${terminalText(requestPath)}`);
|
|
1402
1409
|
}
|
|
1403
1410
|
return c.text("Not found", 404);
|
|
1404
1411
|
}
|
|
@@ -1670,7 +1677,7 @@ function writeCompiledArtifacts(compiled, workDir, includeSummary) {
|
|
|
1670
1677
|
for (const [srcPath, html] of compiled.subCompositions) {
|
|
1671
1678
|
const outPath = join2(compileDir, srcPath);
|
|
1672
1679
|
if (!isPathInside(outPath, compileDir)) {
|
|
1673
|
-
console.warn(`[Render] Skipping sub-composition with unsafe path: ${srcPath}`);
|
|
1680
|
+
console.warn(`[Render] Skipping sub-composition with unsafe path: ${terminalText(srcPath)}`);
|
|
1674
1681
|
continue;
|
|
1675
1682
|
}
|
|
1676
1683
|
mkdirSync(dirname2(outPath), { recursive: true });
|
|
@@ -1679,7 +1686,9 @@ function writeCompiledArtifacts(compiled, workDir, includeSummary) {
|
|
|
1679
1686
|
for (const [relativePath, absolutePath] of compiled.externalAssets) {
|
|
1680
1687
|
const outPath = resolve3(join2(compileDir, relativePath));
|
|
1681
1688
|
if (!isPathInside(outPath, compileDir)) {
|
|
1682
|
-
console.warn(
|
|
1689
|
+
console.warn(
|
|
1690
|
+
`[Render] Skipping external asset with unsafe path: ${terminalText(relativePath)}`
|
|
1691
|
+
);
|
|
1683
1692
|
continue;
|
|
1684
1693
|
}
|
|
1685
1694
|
mkdirSync(dirname2(outPath), { recursive: true });
|
|
@@ -3782,7 +3791,15 @@ function hdrWindowFrames(frameSize, windowBytes) {
|
|
|
3782
3791
|
return Math.max(8, Math.floor(windowBytes / frameSize));
|
|
3783
3792
|
}
|
|
3784
3793
|
async function probeFirstTick(srcPath, mediaStart, fps, runFfmpegImpl, abortSignal) {
|
|
3785
|
-
const args = [
|
|
3794
|
+
const args = [
|
|
3795
|
+
...urlInputArgs(srcPath),
|
|
3796
|
+
"-ss",
|
|
3797
|
+
String(mediaStart),
|
|
3798
|
+
"-i",
|
|
3799
|
+
srcPath,
|
|
3800
|
+
"-frames:v",
|
|
3801
|
+
"1"
|
|
3802
|
+
];
|
|
3786
3803
|
const result = await runFfmpegImpl([...args, ...["-vf", "showinfo", "-f", "null", "-"]], {
|
|
3787
3804
|
signal: abortSignal
|
|
3788
3805
|
});
|
|
@@ -3856,6 +3873,7 @@ async function extractHdrVideoFrames(args) {
|
|
|
3856
3873
|
// Decode before seeking for the one-frame path. Input-side seeking can
|
|
3857
3874
|
// return zero frames for valid unindexed/negative-base transports.
|
|
3858
3875
|
[
|
|
3876
|
+
...urlInputArgs(srcPath),
|
|
3859
3877
|
"-i",
|
|
3860
3878
|
srcPath,
|
|
3861
3879
|
"-ss",
|
|
@@ -3940,6 +3958,7 @@ function hdrWindowFfmpegArgs(a) {
|
|
|
3940
3958
|
const filters = [`fps=${a.fpsArg}:start_time=${(a.firstTick / a.fps).toFixed(6)}`, a.scale];
|
|
3941
3959
|
if (trim > 0) filters.push(`trim=start_frame=${trim}`);
|
|
3942
3960
|
return [
|
|
3961
|
+
...urlInputArgs(a.srcPath),
|
|
3943
3962
|
...["-ss", (a.ffmpegSeek + seekFrame / a.fps).toFixed(6), "-i", a.srcPath],
|
|
3944
3963
|
...["-vf", filters.join(","), "-frames:v", String(a.frames), "-fps_mode", "passthrough"]
|
|
3945
3964
|
];
|
|
@@ -7111,6 +7130,10 @@ function dropMediaOutsideProject(input) {
|
|
|
7111
7130
|
const staysInside = ({ id, src }) => {
|
|
7112
7131
|
if (!src || isHttpUrl(src)) return true;
|
|
7113
7132
|
const path = resolveProjectRelativeSrc(src, projectDir, compiledDir);
|
|
7133
|
+
if (isPrivateUnderAssetRoots(path, roots)) {
|
|
7134
|
+
log.warn(`[Render] Media "${id}" source is missing: it is a private project file`, { src });
|
|
7135
|
+
return false;
|
|
7136
|
+
}
|
|
7114
7137
|
if (isInsideAssetRoots(path, roots)) return true;
|
|
7115
7138
|
if (input.allowOutsideProjectAssets) {
|
|
7116
7139
|
const refusal = outsideAssetRefusal(projectDir, path);
|
|
@@ -7127,6 +7150,8 @@ function dropMediaOutsideProject(input) {
|
|
|
7127
7150
|
async function notMediaReferences(path, references) {
|
|
7128
7151
|
const videos = references.filter((ref) => ref.expected === "video");
|
|
7129
7152
|
if (videos.length > 0 && await isNotMediaPayload(path)) return videos;
|
|
7153
|
+
const images = references.filter((ref) => ref.expected === "image");
|
|
7154
|
+
if (images.length > 0 && await isNotImagePayload(path)) return images;
|
|
7130
7155
|
return await playlistLeavesItsFolder(path) ? references : [];
|
|
7131
7156
|
}
|
|
7132
7157
|
async function preflightCompositionAssetMediaTypes(input) {
|
|
@@ -7415,7 +7440,7 @@ function detectShaderTransitionUsage(html) {
|
|
|
7415
7440
|
}
|
|
7416
7441
|
return false;
|
|
7417
7442
|
}
|
|
7418
|
-
async function resolveMediaDuration(src, mediaStart, playbackRate, baseDir, downloadDir, tagName, elementIdentity, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7443
|
+
async function resolveMediaDuration(src, mediaStart, playbackRate, projectDir, baseDir, downloadDir, tagName, elementIdentity, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7419
7444
|
let filePath = src;
|
|
7420
7445
|
if (isHttpUrl(src)) {
|
|
7421
7446
|
const remoteDir = join16(downloadDir, REMOTE_MEDIA_SUBDIR);
|
|
@@ -7430,7 +7455,9 @@ async function resolveMediaDuration(src, mediaStart, playbackRate, baseDir, down
|
|
|
7430
7455
|
} else {
|
|
7431
7456
|
filePath = decodedUrlPath(src);
|
|
7432
7457
|
if (!filePath.startsWith("/")) filePath = join16(baseDir, filePath);
|
|
7433
|
-
if (escapesAssetRoot(filePath, assetRoot)
|
|
7458
|
+
if (escapesAssetRoot(filePath, assetRoot) || isPrivateUnderAssetRoots(filePath, [projectDir, downloadDir])) {
|
|
7459
|
+
return { duration: null, resolvedPath: filePath };
|
|
7460
|
+
}
|
|
7434
7461
|
filePath = urlByAbsentLocalPath?.get(filePath) ?? filePath;
|
|
7435
7462
|
if (!isHttpUrl(filePath) && namesAnotherNetworkRoot(baseDir, filePath)) {
|
|
7436
7463
|
return { duration: null, resolvedPath: filePath };
|
|
@@ -7506,7 +7533,7 @@ function markInferredVariableMediaDurations(html, unresolvedMedia) {
|
|
|
7506
7533
|
}
|
|
7507
7534
|
return changed ? document2.toString() : html;
|
|
7508
7535
|
}
|
|
7509
|
-
async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7536
|
+
async function compileHtmlFile(html, projectDir, baseDir, downloadDir, log, urlByAbsentLocalPath, probes, assetRoot) {
|
|
7510
7537
|
const { html: staticCompiled, unresolved } = compileTimingAttrs(html);
|
|
7511
7538
|
const mediaUnresolved = unresolved.filter(
|
|
7512
7539
|
(el) => (el.tagName === "video" || el.tagName === "audio") && el.src
|
|
@@ -7518,6 +7545,7 @@ async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocal
|
|
|
7518
7545
|
el.src,
|
|
7519
7546
|
el.mediaStart,
|
|
7520
7547
|
el.playbackRate,
|
|
7548
|
+
projectDir,
|
|
7521
7549
|
baseDir,
|
|
7522
7550
|
downloadDir,
|
|
7523
7551
|
el.tagName,
|
|
@@ -7542,6 +7570,7 @@ async function compileHtmlFile(html, baseDir, downloadDir, log, urlByAbsentLocal
|
|
|
7542
7570
|
el.src,
|
|
7543
7571
|
el.mediaStart,
|
|
7544
7572
|
el.playbackRate,
|
|
7573
|
+
projectDir,
|
|
7545
7574
|
baseDir,
|
|
7546
7575
|
downloadDir,
|
|
7547
7576
|
el.tagName,
|
|
@@ -7597,6 +7626,7 @@ async function parseSubCompositions(html, projectDir, downloadDir, visited = /*
|
|
|
7597
7626
|
workItems.map(async (item) => {
|
|
7598
7627
|
const { html: compiledSub } = await compileHtmlFile(
|
|
7599
7628
|
rewriteUnresolvableGsapToCdn(item.rawSubHtml, projectDir, item.srcPath),
|
|
7629
|
+
projectDir,
|
|
7600
7630
|
dirname7(item.filePath),
|
|
7601
7631
|
downloadDir,
|
|
7602
7632
|
void 0,
|
|
@@ -7799,7 +7829,9 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7799
7829
|
flattenInnerRoot: prepareFlattenedInnerRoot,
|
|
7800
7830
|
onMissingComposition: (srcPath, reason) => {
|
|
7801
7831
|
console.warn(
|
|
7802
|
-
|
|
7832
|
+
terminalText(
|
|
7833
|
+
`[Compiler] Skipping sub-composition "${srcPath}": ${reason ?? "the file is missing or empty"}.`
|
|
7834
|
+
)
|
|
7803
7835
|
);
|
|
7804
7836
|
}
|
|
7805
7837
|
}
|
|
@@ -8311,7 +8343,7 @@ async function readLocalFont(absPath) {
|
|
|
8311
8343
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
8312
8344
|
}
|
|
8313
8345
|
async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLogger) {
|
|
8314
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
8346
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-LYBMXXBW.js");
|
|
8315
8347
|
let result = html;
|
|
8316
8348
|
const embeddedPaths = /* @__PURE__ */ new Set();
|
|
8317
8349
|
const dataUriByAbsolutePath = /* @__PURE__ */ new Map();
|
|
@@ -8328,6 +8360,7 @@ async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLog
|
|
|
8328
8360
|
embeddedPaths.add(localPath);
|
|
8329
8361
|
continue;
|
|
8330
8362
|
}
|
|
8363
|
+
if (isPrivateCompositionFile(projectDir, absPath)) continue;
|
|
8331
8364
|
const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
|
|
8332
8365
|
try {
|
|
8333
8366
|
if (fileBackedAbsolutePaths.has(absPath)) {
|
|
@@ -8449,6 +8482,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8449
8482
|
const { html: compiledHtml, unresolvedCompositions } = await compileHtmlFile(
|
|
8450
8483
|
rawHtml,
|
|
8451
8484
|
projectDir,
|
|
8485
|
+
projectDir,
|
|
8452
8486
|
downloadDir,
|
|
8453
8487
|
options.log,
|
|
8454
8488
|
options.urlByAbsentLocalPath,
|
|
@@ -8581,7 +8615,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8581
8615
|
for (const video of videos) {
|
|
8582
8616
|
if (isHttpUrl(video.src)) continue;
|
|
8583
8617
|
const videoPath = resolve5(projectDir, video.src);
|
|
8584
|
-
if (advised.has(videoPath) || namesAnotherNetworkRoot(projectDir, videoPath) || !existsSync10(videoPath) || escapesAssetRoot(videoPath, assetRoot))
|
|
8618
|
+
if (advised.has(videoPath) || namesAnotherNetworkRoot(projectDir, videoPath) || !existsSync10(videoPath) || escapesAssetRoot(videoPath, assetRoot) || isPrivateUnderAssetRoots(videoPath, [projectDir, downloadDir]))
|
|
8585
8619
|
continue;
|
|
8586
8620
|
advised.add(videoPath);
|
|
8587
8621
|
const reencode = `ffmpeg -i "${video.src}" -c:v libx264 -r 30 -g 30 -keyint_min 30 -movflags +faststart -c:a copy output.mp4`;
|
|
@@ -9820,7 +9854,7 @@ async function runProbeStage(input) {
|
|
|
9820
9854
|
failures: failedRequests.slice(0, 10)
|
|
9821
9855
|
});
|
|
9822
9856
|
for (const line of failedRequests.slice(0, 5)) {
|
|
9823
|
-
console.warn(`[Render] Asset load failure: ${line}`);
|
|
9857
|
+
console.warn(`[Render] Asset load failure: ${terminalText(line)}`);
|
|
9824
9858
|
}
|
|
9825
9859
|
}
|
|
9826
9860
|
}
|
|
@@ -10338,7 +10372,7 @@ function isPublicHttpsUrl(url) {
|
|
|
10338
10372
|
}
|
|
10339
10373
|
}
|
|
10340
10374
|
function opensLocally(path, assetRoots) {
|
|
10341
|
-
return existsSync12(path) && (!assetRoots ||
|
|
10375
|
+
return existsSync12(path) && (!assetRoots || assetRootsRefusal(path, assetRoots) === null);
|
|
10342
10376
|
}
|
|
10343
10377
|
function localProbeSource(src, input) {
|
|
10344
10378
|
const path = resolveProjectRelativeSrc(src, input.projectDir, input.compiledDir);
|
|
@@ -18212,9 +18246,12 @@ function resolveDistributedEngineConfig(config) {
|
|
|
18212
18246
|
forceScreenshotExplicitlyOptedOut: true
|
|
18213
18247
|
};
|
|
18214
18248
|
}
|
|
18249
|
+
function leavesRoot(rel) {
|
|
18250
|
+
return rel === ".." || rel.startsWith(`..${sep3}`) || isAbsolute2(rel);
|
|
18251
|
+
}
|
|
18215
18252
|
function pathInside(root, path) {
|
|
18216
18253
|
const rel = relative6(root, path);
|
|
18217
|
-
return rel === "" ||
|
|
18254
|
+
return rel === "" || leavesRoot(rel) ? null : rel;
|
|
18218
18255
|
}
|
|
18219
18256
|
function stableSourcePath(roots, srcPath) {
|
|
18220
18257
|
for (const [root, prefix] of roots) {
|
|
@@ -18308,7 +18345,8 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18308
18345
|
dereference: true,
|
|
18309
18346
|
filter: (src) => {
|
|
18310
18347
|
const rel = relative6(projectDir, src);
|
|
18311
|
-
if (rel === ""
|
|
18348
|
+
if (rel === "") return true;
|
|
18349
|
+
if (leavesRoot(rel)) return false;
|
|
18312
18350
|
if (job.config.allowOutsideProjectAssets) {
|
|
18313
18351
|
if (refusesOutsideLink(projectDir, src, (line) => log.warn(`[Plan] ${line}`))) return false;
|
|
18314
18352
|
} else if (!isSafePath(projectDir, src)) return false;
|
|
@@ -18417,7 +18455,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18417
18455
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
18418
18456
|
if (probeResult.probeSession) {
|
|
18419
18457
|
try {
|
|
18420
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18458
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-R57EQQSI.js");
|
|
18421
18459
|
await closeCaptureSession2(probeResult.probeSession);
|
|
18422
18460
|
} catch (err) {
|
|
18423
18461
|
log.warn("[plan] probe session close failed", {
|
|
@@ -22036,7 +22074,7 @@ function startServer(options = {}) {
|
|
|
22036
22074
|
});
|
|
22037
22075
|
async function shutdown(signal) {
|
|
22038
22076
|
log.info(`Received ${signal}, shutting down`);
|
|
22039
|
-
const { drainBrowserPool } = await import("./src-
|
|
22077
|
+
const { drainBrowserPool } = await import("./src-R57EQQSI.js");
|
|
22040
22078
|
await drainBrowserPool().catch(() => {
|
|
22041
22079
|
});
|
|
22042
22080
|
const handle = await Promise.race([
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudio
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNXU56VT.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SM5PNCDI.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-EOXNEA4Z.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-4LZSNWFJ.js";
|
|
28
28
|
import {
|
|
29
29
|
parseWhisperJson
|
|
30
30
|
} from "./chunk-CDNVZEGQ.js";
|
|
@@ -125,6 +125,9 @@ var FUNCTION_TYPES = /* @__PURE__ */ new Set([
|
|
|
125
125
|
var GSAP_METHODS = /* @__PURE__ */ new Set(["set", "to", "from", "fromTo"]);
|
|
126
126
|
var MAX_DEPTH = 8;
|
|
127
127
|
var MAX_ITERS = 512;
|
|
128
|
+
var MAX_EXPANDED_NODES = 25e4;
|
|
129
|
+
var ExpansionBudgetExceeded = class extends Error {
|
|
130
|
+
};
|
|
128
131
|
function isFunctionNode(node) {
|
|
129
132
|
return !!node && FUNCTION_TYPES.has(node.type);
|
|
130
133
|
}
|
|
@@ -360,8 +363,11 @@ function undefinedIdentifier() {
|
|
|
360
363
|
function isExplicitUndefined(node) {
|
|
361
364
|
return node?.type === "Identifier" && node.name === "undefined" || node?.type === "UnaryExpression" && node.operator === "void" && node.argument?.type === "Literal" && node.argument.value === 0;
|
|
362
365
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
366
|
+
function hasSpreadArgument(call) {
|
|
367
|
+
return !!call.arguments?.some((arg) => arg?.type === "SpreadElement");
|
|
368
|
+
}
|
|
369
|
+
function resolveHelperBindings(call, params, ctx) {
|
|
370
|
+
if (hasSpreadArgument(call)) return null;
|
|
365
371
|
const bindings = /* @__PURE__ */ new Map();
|
|
366
372
|
for (let i = 0; i < params.length; i++) {
|
|
367
373
|
const param = params[i];
|
|
@@ -369,6 +375,7 @@ function resolveHelperBindings(call, params) {
|
|
|
369
375
|
if (arg && !isExplicitUndefined(arg)) {
|
|
370
376
|
bindings.set(param.name, arg);
|
|
371
377
|
} else if (param.defaultExpression) {
|
|
378
|
+
chargeBudget([param.defaultExpression], bindings, ctx);
|
|
372
379
|
bindings.set(param.name, substituteParams(cloneNode(param.defaultExpression), bindings));
|
|
373
380
|
} else {
|
|
374
381
|
bindings.set(param.name, undefinedIdentifier());
|
|
@@ -396,7 +403,7 @@ function safelyDroppable(program, candidates) {
|
|
|
396
403
|
bump(stmtCalls, call.callee.name);
|
|
397
404
|
const fn = candidates.get(call.callee.name);
|
|
398
405
|
const params = fn && supportedParams(fn);
|
|
399
|
-
if (!params ||
|
|
406
|
+
if (!params || hasSpreadArgument(call)) unbindable.add(call.callee.name);
|
|
400
407
|
});
|
|
401
408
|
const safe = /* @__PURE__ */ new Map();
|
|
402
409
|
for (const [name, fn] of candidates) {
|
|
@@ -441,7 +448,26 @@ function tagTimelineCalls(stmts, prov, ctx) {
|
|
|
441
448
|
}
|
|
442
449
|
}
|
|
443
450
|
}
|
|
451
|
+
function nodeCount(root) {
|
|
452
|
+
let n = 0;
|
|
453
|
+
walkNodes(root, () => n++);
|
|
454
|
+
return n;
|
|
455
|
+
}
|
|
456
|
+
function chargeBudget(stmts, bindings, ctx, fixedCost = 0) {
|
|
457
|
+
const bindingSize = /* @__PURE__ */ new Map();
|
|
458
|
+
ctx.budget.left -= fixedCost;
|
|
459
|
+
for (const stmt of stmts) {
|
|
460
|
+
walkNodes(stmt, (n) => {
|
|
461
|
+
ctx.budget.left--;
|
|
462
|
+
if (n.type !== "Identifier" || !bindings.has(n.name)) return;
|
|
463
|
+
if (!bindingSize.has(n.name)) bindingSize.set(n.name, nodeCount(bindings.get(n.name)));
|
|
464
|
+
ctx.budget.left -= bindingSize.get(n.name);
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
if (ctx.budget.left < 0) throw new ExpansionBudgetExceeded();
|
|
468
|
+
}
|
|
444
469
|
function expandBody(bodyStmts, bindings, prov, ctx) {
|
|
470
|
+
chargeBudget(bodyStmts, bindings, ctx, 1 + bindings.size);
|
|
445
471
|
const block = substituteParams(cloneNode({ type: "BlockStatement", body: bodyStmts }), bindings);
|
|
446
472
|
tagProvenance(block, prov);
|
|
447
473
|
tagTimelineCalls(block.body, prov, ctx);
|
|
@@ -453,7 +479,7 @@ function inlineHelper(call, ctx) {
|
|
|
453
479
|
if (!fn) return null;
|
|
454
480
|
const params = supportedParams(fn);
|
|
455
481
|
if (!params) return null;
|
|
456
|
-
const bindings = resolveHelperBindings(call, params);
|
|
482
|
+
const bindings = resolveHelperBindings(call, params, ctx);
|
|
457
483
|
if (!bindings) return null;
|
|
458
484
|
const prov = {
|
|
459
485
|
kind: "helper",
|
|
@@ -514,10 +540,13 @@ function unrollFor(stmt, ctx) {
|
|
|
514
540
|
if (!h) return null;
|
|
515
541
|
const body = bodyStatements(stmt.body);
|
|
516
542
|
const out = [];
|
|
543
|
+
let count = 0;
|
|
544
|
+
for (let x = h.start; loopSatisfied(h.op, x, h.end); x += h.step) {
|
|
545
|
+
if (++count > MAX_ITERS) return null;
|
|
546
|
+
}
|
|
517
547
|
const site = ++ctx.site.n;
|
|
518
548
|
let iteration = 0;
|
|
519
549
|
for (let x = h.start; loopSatisfied(h.op, x, h.end); x += h.step) {
|
|
520
|
-
if (iteration >= MAX_ITERS) return null;
|
|
521
550
|
const prov = {
|
|
522
551
|
kind: "loop",
|
|
523
552
|
callSite: site,
|
|
@@ -537,6 +566,7 @@ function forOfVarName(left) {
|
|
|
537
566
|
return left?.type === "Identifier" ? left.name : null;
|
|
538
567
|
}
|
|
539
568
|
function unrollOverArray(elements, body, elName, idxName, range, ctx) {
|
|
569
|
+
if (elements.length > MAX_ITERS) return null;
|
|
540
570
|
const out = [];
|
|
541
571
|
const site = ++ctx.site.n;
|
|
542
572
|
elements.forEach((el, i) => {
|
|
@@ -626,13 +656,18 @@ function inlineComputedTimelines(ast, timelineVar, resolve) {
|
|
|
626
656
|
depth: 0,
|
|
627
657
|
site: { n: 0 },
|
|
628
658
|
order: { n: 0 },
|
|
629
|
-
rootStart: 0
|
|
659
|
+
rootStart: 0,
|
|
660
|
+
budget: { left: MAX_EXPANDED_NODES }
|
|
630
661
|
};
|
|
631
662
|
const body = (ast.body ?? []).filter((stmt) => !isHelperDecl(stmt, helpers));
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
663
|
+
try {
|
|
664
|
+
ast.body = body.flatMap((stmt) => {
|
|
665
|
+
ctx.rootStart = stmt.start;
|
|
666
|
+
return expandStatements([stmt], ctx);
|
|
667
|
+
});
|
|
668
|
+
} catch (error) {
|
|
669
|
+
if (!(error instanceof ExpansionBudgetExceeded)) throw error;
|
|
670
|
+
}
|
|
636
671
|
}
|
|
637
672
|
var roundPercentage = (percentage) => Math.round(percentage * 10) / 10;
|
|
638
673
|
function getObjectArrayKeyframeTiming(durations) {
|