hyperframes 0.9.64 → 0.9.66
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-VFWLLECU.js → add-Q4W2PAZ6.js} +22 -21
- package/dist/{agentPromptGenerator-FEZHETMZ.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
- package/dist/{animatedGifPrep-JZPLKKB6.js → animatedGifPrep-3UBRNEEA.js} +15 -14
- package/dist/api.js +56 -53
- package/dist/{appHistory-AMDQO54F.js → appHistory-EWII7S5X.js} +4 -4
- package/dist/{asset-W6CMIIDB.js → asset-ZRTGYYEN.js} +10 -8
- package/dist/{assetCataloger-POC644N7.js → assetCataloger-GTSOUOBQ.js} +15 -14
- package/dist/{audio-QLPRSLD4.js → audio-ZUW3RHEO.js} +30 -28
- package/dist/{auth-UD5JKJ3M.js → auth-TE5FMKUT.js} +4 -4
- package/dist/{autoUpdate-WNTJWEIH.js → autoUpdate-6JGNDMLP.js} +24 -10
- package/dist/{avatars-BUQDDQZ2.js → avatars-BJEF4TZR.js} +25 -23
- package/dist/{backgroundChecks-AYK6ADD4.js → backgroundChecks-EN5XLRLY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-FZPZFGKB.js → batchRender-EEMYIEYR.js} +13 -10
- package/dist/{beats-EA7NEYGM.js → beats-IPGSP5BV.js} +14 -13
- package/dist/{benchmark-WGYT2WAG.js → benchmark-GZOATIPM.js} +25 -22
- package/dist/{billing-A2WKV5BH.js → billing-3LF2YYP7.js} +22 -20
- package/dist/{browser-DH3KXV4V.js → browser-2IH45NN6.js} +14 -13
- package/dist/{bundleWithLocalizedFonts-C5IIR6CQ.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
- package/dist/{capture-Y7HEXFSY.js → capture-4SIGWC4Q.js} +10 -9
- package/dist/{capture-SPZCSPCC.js → capture-K75SADNY.js} +27 -26
- package/dist/{captureCompositionFrame-HBDM6FHB.js → captureCompositionFrame-XVEPPU4X.js} +22 -21
- package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
- package/dist/{catalog-GUACPRZO.js → catalog-6N22YQEE.js} +22 -21
- package/dist/{catch-up-7AC2W75E.js → catch-up-67LVADSA.js} +14 -13
- package/dist/{check-S7X45EVG.js → check-NYD3WGR2.js} +57 -53
- package/dist/{checkAudio-RGMZTJIM.js → checkAudio-APZTSEHX.js} +17 -16
- package/dist/{checkBrowser-4SDR745B.js → checkBrowser-2UA6O65I.js} +49 -45
- package/dist/{chunk-DWP5EIUS.js → chunk-244FN6TG.js} +2 -1
- package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
- package/dist/{chunk-J5PZTR45.js → chunk-2OSPWUGX.js} +99 -33
- package/dist/{chunk-TY7WOSVR.js → chunk-2UIAN6N7.js} +2 -2
- package/dist/{chunk-KXE3JVEZ.js → chunk-2Z7IW5EY.js} +2 -2
- package/dist/{chunk-WDTX4PG5.js → chunk-35BZXE5L.js} +1 -1
- package/dist/{chunk-2PKURSBE.js → chunk-37SEGJEO.js} +11 -11
- package/dist/{chunk-Y6NTMCRF.js → chunk-3B4WQYCW.js} +6 -6
- package/dist/{chunk-6XGM5GHR.js → chunk-3BKNPN36.js} +56 -7
- package/dist/{chunk-GNKUAJXO.js → chunk-3ODOQWSB.js} +12 -7
- package/dist/{chunk-NORROE4L.js → chunk-3WE4UZHN.js} +2 -2
- package/dist/{chunk-LN36F5DC.js → chunk-4IIPERO4.js} +3 -3
- package/dist/{chunk-FHIOPTN4.js → chunk-4SY34UA2.js} +1 -1
- package/dist/{chunk-7R7OCEHI.js → chunk-4WUTXBRK.js} +6 -6
- package/dist/{chunk-RC2DDVX5.js → chunk-5E46EQ3U.js} +2 -2
- package/dist/{chunk-TVSB4K5O.js → chunk-5UOYRGKV.js} +2 -2
- package/dist/{chunk-UL2EO5VU.js → chunk-5WZSXP6R.js} +1 -1
- package/dist/{chunk-X63QVLMJ.js → chunk-64O3DG3E.js} +1 -1
- package/dist/{chunk-RO4RY5YB.js → chunk-66D5BC5K.js} +39 -11
- package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
- package/dist/{chunk-WLAMY4XL.js → chunk-6PGDI5NG.js} +206 -95
- package/dist/{chunk-PEWBM2XF.js → chunk-6PYUPO4M.js} +4 -4
- package/dist/{chunk-CUGK6ZF6.js → chunk-6QITYZN7.js} +2 -2
- package/dist/{chunk-LWNHZUYJ.js → chunk-6QZNF3JF.js} +67 -32
- package/dist/chunk-6SYJN2KD.js +15 -0
- package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
- package/dist/{chunk-RRIAHUG3.js → chunk-745HLQBA.js} +1 -1
- package/dist/{chunk-7WA77KXG.js → chunk-74M47HVE.js} +2 -2
- package/dist/{chunk-JFIN5P4E.js → chunk-7BREEOLQ.js} +16 -16
- package/dist/{chunk-BVA3NEQC.js → chunk-7CKKKBNM.js} +2 -2
- package/dist/{chunk-ASML5H5V.js → chunk-7EOREMZI.js} +12 -12
- package/dist/{chunk-DAN5KKFR.js → chunk-7LQFVACU.js} +1 -1
- package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
- package/dist/{chunk-ZUYNFADS.js → chunk-A6O65H7G.js} +4 -4
- package/dist/{chunk-IW7QUJDU.js → chunk-AAZF6D3Z.js} +1 -1
- package/dist/{chunk-NHF32RRC.js → chunk-AI4MXYGK.js} +1 -1
- package/dist/{chunk-YT43XMYD.js → chunk-AI5KNXSL.js} +8 -8
- package/dist/{chunk-ZJQ23DJQ.js → chunk-AQBWVIT7.js} +1 -1
- package/dist/{chunk-NMYYW6QM.js → chunk-AQNI4TCF.js} +23 -15
- package/dist/{chunk-4HPXVTWY.js → chunk-AWOHPIKF.js} +9 -9
- package/dist/{chunk-NSRLO47G.js → chunk-BSY6ZHP6.js} +2 -2
- package/dist/{chunk-B2ZFTAZE.js → chunk-CANVWJB4.js} +101 -28
- package/dist/{chunk-NVE5ZPIV.js → chunk-CEHYC2UD.js} +3 -3
- package/dist/chunk-CINXWHRB.js +25 -0
- package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
- package/dist/{chunk-ZAJ5SIG2.js → chunk-CTDCYNVK.js} +2 -2
- package/dist/{chunk-YV6I32RM.js → chunk-CUOX3TDY.js} +3 -3
- package/dist/{chunk-KRE7VIQV.js → chunk-D5YHSTHZ.js} +9 -16
- package/dist/{chunk-OM3PJLUG.js → chunk-DPMEWIVZ.js} +4 -4
- package/dist/{chunk-YFTPZZEE.js → chunk-DZ3JB4F3.js} +2 -2
- package/dist/{chunk-M4WT65UD.js → chunk-EIION6EA.js} +2 -2
- package/dist/{chunk-TU4IITMO.js → chunk-EPBYIJPM.js} +3 -3
- package/dist/{chunk-XO55FUXZ.js → chunk-ESYW3LJU.js} +2 -2
- package/dist/{chunk-GKRD43J2.js → chunk-FAJRDYFU.js} +6 -6
- package/dist/{chunk-HFRB7UTK.js → chunk-FBOKUG5B.js} +5 -5
- package/dist/{chunk-JGEDH5GJ.js → chunk-FCNBAYZ6.js} +3 -3
- package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
- package/dist/{chunk-KGPLIH7B.js → chunk-G37O3IZB.js} +1 -0
- package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
- package/dist/{chunk-HU2SPFNG.js → chunk-GHS4ZYQX.js} +1 -1
- package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
- package/dist/{chunk-MH7FQ6N7.js → chunk-H6LFXHAV.js} +7 -7
- package/dist/{chunk-HC5GAPIW.js → chunk-HMNDJPLQ.js} +3 -3
- package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
- package/dist/{chunk-LGIWC6KN.js → chunk-IUUEMVZV.js} +3 -3
- package/dist/{chunk-T7U6D2UW.js → chunk-IXGZSANV.js} +2 -2
- package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
- package/dist/{chunk-ETMGDJ5P.js → chunk-JDJ6BM5E.js} +2 -2
- package/dist/{chunk-QQZ7DCAA.js → chunk-JGKI7FHX.js} +143 -47
- package/dist/{chunk-JYWFQ42F.js → chunk-JHPOKDZI.js} +13 -13
- package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
- package/dist/{chunk-UAM6PRKO.js → chunk-K2NOQNNY.js} +1 -1
- package/dist/{chunk-FWVJW5WC.js → chunk-KDQRJHLU.js} +4 -4
- package/dist/{chunk-ERM3UC6T.js → chunk-KFWSPEDG.js} +1 -1
- package/dist/{chunk-LUDXZKNH.js → chunk-KXCAIQE4.js} +10 -10
- package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
- package/dist/{chunk-Q4FVSYTD.js → chunk-L3FQUUS6.js} +1 -1
- package/dist/{chunk-2PIQTMWA.js → chunk-L7BY2FDJ.js} +30 -23
- package/dist/{chunk-4YMMTQ45.js → chunk-LAXD6VM7.js} +10 -10
- package/dist/{chunk-5BNKWHG6.js → chunk-LBFV45YF.js} +1 -1
- package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
- package/dist/{chunk-ZM66CP4T.js → chunk-LIXAC5NE.js} +15 -15
- package/dist/{chunk-CFOPRL62.js → chunk-LNOG6KKM.js} +7 -7
- package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
- package/dist/{chunk-UJN7LD7Q.js → chunk-M4ABCFJO.js} +4 -4
- package/dist/{chunk-7G6OHKDZ.js → chunk-MEZAMIT6.js} +9 -9
- package/dist/{chunk-3PXZPI6I.js → chunk-MG7UJJCP.js} +29 -11
- package/dist/{chunk-Y7S7XM5T.js → chunk-MH46RGG6.js} +1 -1
- package/dist/{chunk-JXVUSNAG.js → chunk-MKZ73C57.js} +4 -4
- package/dist/{chunk-RIETR6VC.js → chunk-N6VNR4YE.js} +54 -17
- package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
- package/dist/{chunk-K2FH6FRK.js → chunk-NMASYQXY.js} +3 -3
- package/dist/{chunk-G2US34LC.js → chunk-NOCU3FBX.js} +5 -5
- package/dist/{chunk-FZLY56DP.js → chunk-NSADX4IV.js} +19 -3
- package/dist/{chunk-D62TF745.js → chunk-OB56G4VA.js} +3 -3
- package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
- package/dist/{chunk-7OVPWTCJ.js → chunk-OI5WGQE3.js} +5 -5
- package/dist/{chunk-3X72Y7FR.js → chunk-OMFIMZZD.js} +5 -5
- package/dist/chunk-PWRUMN7B.js +71 -0
- package/dist/{chunk-5F7M7PYP.js → chunk-PXMEW6TM.js} +3 -3
- package/dist/{chunk-5NSZ5XPH.js → chunk-QSQNXAHE.js} +1 -1
- package/dist/{chunk-LZDRK67I.js → chunk-R5C2CV7J.js} +5 -5
- package/dist/chunk-RAHYMZNU.js +5146 -0
- package/dist/{chunk-FO3FSJBJ.js → chunk-RD3DE4ZP.js} +2 -2
- package/dist/{chunk-MHEO2LYC.js → chunk-RHZE7BIX.js} +3 -3
- package/dist/{chunk-I3R2E6SE.js → chunk-ROODLZY7.js} +10 -10
- package/dist/{chunk-J5VEGTHN.js → chunk-RRGRETJ4.js} +2 -2
- package/dist/{chunk-WC6L7F3Z.js → chunk-S73AVUHJ.js} +1 -1
- package/dist/{chunk-3WHPQNTD.js → chunk-SITGBEFO.js} +41 -34
- package/dist/{chunk-5N7RRWIP.js → chunk-TIGMUHSL.js} +15 -11
- package/dist/{chunk-Q76FGC6A.js → chunk-TMB4L4GG.js} +5 -3
- package/dist/{chunk-QUAK4OPT.js → chunk-TQYHQKOK.js} +1 -1
- package/dist/{chunk-RZREOKHK.js → chunk-TU2WFCGS.js} +9 -2
- package/dist/{chunk-XKPBY4G2.js → chunk-TUJB74AE.js} +22 -27
- package/dist/{chunk-JO25BSM3.js → chunk-TXTVVIW7.js} +3 -3
- package/dist/{chunk-B7B7SGPV.js → chunk-TZ3EPV4B.js} +1 -1
- package/dist/{chunk-TPIQDAHD.js → chunk-U3WUAVAX.js} +3 -3
- package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
- package/dist/{chunk-GFT3OQ33.js → chunk-UCQTLZDJ.js} +2 -2
- package/dist/{chunk-X3VHHQYM.js → chunk-ULE2EYEY.js} +2 -2
- package/dist/{chunk-S35RUNXJ.js → chunk-UVW5ZDAP.js} +4 -2
- package/dist/{chunk-KFR67U7E.js → chunk-VBLKGDVI.js} +1 -1
- package/dist/{chunk-A7NRMVUG.js → chunk-VTP3TBRY.js} +23 -42
- package/dist/{chunk-BQKQPYEP.js → chunk-W672RTMC.js} +8 -8
- package/dist/{chunk-4K6VNWJS.js → chunk-WMJ3PV37.js} +1 -1
- package/dist/{chunk-L5V57765.js → chunk-WWQWDRKU.js} +1 -1
- package/dist/{chunk-4I4ACRCU.js → chunk-WY6354ZO.js} +4 -4
- package/dist/{chunk-OKQ5OUJH.js → chunk-X3JZA7KH.js} +9 -9
- package/dist/{chunk-WMBZFHHZ.js → chunk-XEIVSW2F.js} +7 -7
- package/dist/{chunk-SREN5WTO.js → chunk-XKIXRSVB.js} +3 -3
- package/dist/{chunk-FNOAIEQC.js → chunk-XMKDDEX4.js} +7 -7
- package/dist/{chunk-DO6R4KYL.js → chunk-XNJEXXKC.js} +2 -2
- package/dist/{chunk-BXNWMRZL.js → chunk-XSARHJSW.js} +2 -2
- package/dist/{chunk-MY2XJULG.js → chunk-XTKNMYRR.js} +2 -2
- package/dist/{chunk-3FOIZLN4.js → chunk-Y4QE4LEB.js} +1 -1
- package/dist/{chunk-KR7FV3WD.js → chunk-Y57R6C5U.js} +4 -4
- package/dist/{chunk-IVAMWDMR.js → chunk-Y6A5LED6.js} +2 -2
- package/dist/{chunk-RO6MNXKE.js → chunk-YMSOS6CF.js} +1 -1
- package/dist/{chunk-KLIV2W5D.js → chunk-ZHIAAYY2.js} +4 -4
- package/dist/chunk-ZQPXWUCP.js +141 -0
- package/dist/{chunk-Z6BSZ2HK.js → chunk-ZS2ROUIG.js} +2 -2
- package/dist/{chunk-L3LVTSHX.js → chunk-ZY55U6ER.js} +8 -8
- package/dist/{clean-ROGNMYHH.js → clean-73IDEWIJ.js} +31 -29
- package/dist/cli.js +72 -71
- package/dist/{cloud-3A3ASGKH.js → cloud-P32MAEIJ.js} +4 -4
- package/dist/{cloud-SGY2DYTO.js → cloud-SOZPWTDL.js} +14 -12
- package/dist/{cloudrun-AU2TSYBU.js → cloudrun-H5TW5T4R.js} +9 -8
- package/dist/{compare-DARUHTKS.js → compare-BQSDHPZ3.js} +50 -49
- package/dist/{compiler-XLAW2M77.js → compiler-WNVDGRBH.js} +9 -6
- package/dist/{component-LHP7MJ3L.js → component-WWICYJFN.js} +18 -13
- package/dist/{compositions-BMQ4NTWM.js → compositions-VEMHHQR6.js} +22 -19
- package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
- package/dist/{curve-FNX3ONSD.js → curve-5SCSMYX4.js} +20 -19
- package/dist/{cuts-HQI2ZBOS.js → cuts-POUL3RQ5.js} +21 -20
- package/dist/{delete-EDIDKV7H.js → delete-NVS5PXRM.js} +21 -17
- package/dist/{deploy-KFOOAJEE.js → deploy-SPJ5OWAI.js} +9 -16
- package/dist/{describeProject-A2TZSHVH.js → describeProject-KJGRR7FM.js} +15 -14
- package/dist/{destroy-LSQUDIVA.js → destroy-CPLVCITS.js} +6 -6
- package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
- package/dist/{diff-PRT5CIDJ.js → diff-O2JUFV2N.js} +51 -49
- package/dist/{dist-UIIZKERM.js → dist-DCRKIIL4.js} +18 -17
- package/dist/{dist-YXDW5VUV.js → dist-TTOW2KVO.js} +11 -9
- package/dist/{dist-VPMEUGIV.js → dist-XRESUN6B.js} +3 -3
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/{doctor-TQ3RNOYK.js → doctor-L5GGDS2F.js} +21 -19
- package/dist/{dotEnv-2VNMLGZC.js → dotEnv-7P4XI4ID.js} +11 -6
- package/dist/{energy-F7FS75TV.js → energy-43JTPLLL.js} +21 -20
- package/dist/{events-23GP74FO.js → events-33NDGOZM.js} +23 -22
- package/dist/{events-VN7QW7JU.js → events-K576EL47.js} +9 -8
- package/dist/{events-LJIO2U6Z.js → events-XRO5CFTD.js} +4 -3
- package/dist/{execute-GZLBWOFB.js → execute-EWZ3WK3L.js} +44 -43
- package/dist/{extract-NJSXJFB2.js → extract-NW375CQM.js} +22 -21
- package/dist/{face-JQBXWNMX.js → face-AVVUVV5L.js} +22 -21
- package/dist/{face-HJNH6TQM.js → face-IVXIPAO5.js} +19 -18
- package/dist/{feedback-T3WYFTGI.js → feedback-MS34KB74.js} +26 -24
- package/dist/{ffmpeg-HYYDF4FH.js → ffmpeg-I376KCKD.js} +15 -14
- package/dist/{figma-T5PCTXP7.js → figma-M37MXYPR.js} +3 -3
- package/dist/fontLocalizeCli.js +19 -18
- package/dist/{frames-QTYTUQ52.js → frames-6VGAHZBO.js} +23 -22
- package/dist/{generate-RNUZUNHG.js → generate-TM7AOJ27.js} +37 -35
- package/dist/{get-KP5FCZKQ.js → get-2JAJO7AP.js} +21 -17
- package/dist/{gpuPolicy-F7RTO2CS.js → gpuPolicy-DEH3KKNF.js} +13 -12
- package/dist/{grade-compare-55ZWESO7.js → grade-compare-UN6MPWVF.js} +47 -46
- package/dist/{hands-XZFTUVNT.js → hands-ANSG7WHU.js} +24 -23
- package/dist/{heifImagePrep-7T6EC2VL.js → heifImagePrep-YC3ZMWUC.js} +16 -15
- package/dist/{help-U36MZKGG.js → help-63QQYCMJ.js} +1 -1
- package/dist/{history-RFJGLXYS.js → history-DRSL755Q.js} +18 -17
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +72 -71
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{index-gen-3DWPA4FO.js → index-gen-TXP67YUY.js} +13 -1
- package/dist/{info-3NB5HOAS.js → info-UNIWLP7I.js} +21 -20
- package/dist/{init-H5L3KVSO.js → init-3W3XSGXC.js} +46 -44
- package/dist/{ink-C7YJAB4M.js → ink-OXJJIEQ7.js} +21 -20
- package/dist/{inspect-4LNO7C77.js → inspect-UOXP5ICV.js} +50 -46
- package/dist/{installer-WALAPPWF.js → installer-OWZSFVV2.js} +10 -9
- package/dist/{keyframes-FORZG2IO.js → keyframes-LNCXSQJ6.js} +23 -22
- package/dist/{lambda-PKVT2D45.js → lambda-3ZIM5NW2.js} +22 -21
- package/dist/{launch-PXZF4TSU.js → launch-HOSRCHWS.js} +15 -14
- package/dist/{layout-7BKIDH5L.js → layout-MRBHBZEA.js} +50 -46
- package/dist/{lint-ODMVBKA5.js → lint-U4PINYKO.js} +16 -15
- package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
- package/dist/{list-B223YD2L.js → list-AMH6UUTI.js} +27 -21
- package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
- package/dist/{localPage-GNT4KO7M.js → localPage-JJ56YNKB.js} +14 -13
- package/dist/{login-DTYGRX6S.js → login-U42SSWF4.js} +15 -13
- package/dist/{logout-WNVEAWWZ.js → logout-DQVPSI4E.js} +11 -9
- package/dist/{look-WGDSVD5A.js → look-6VTGMGIF.js} +21 -20
- package/dist/{manager-OMDGEDU2.js → manager-GHP2QIUD.js} +17 -16
- package/dist/{manager-C5S25OOK.js → manager-PXRZQDDT.js} +4 -4
- package/dist/{measure-UMINPIOA.js → measure-NC4LN7EZ.js} +12 -12
- package/dist/{media-6Y6RGH6H.js → media-VKM5WFRK.js} +21 -16
- package/dist/{media-treatment-CVVCARD4.js → media-treatment-VNZS2MIT.js} +28 -27
- package/dist/{media-use-4CDI2VV5.js → media-use-JOQWGBS5.js} +18 -13
- package/dist/{models-3DMHZYLD.js → models-S55TNWF7.js} +24 -22
- package/dist/{motionShot-EB2RQLG3.js → motionShot-OUOXFKUG.js} +26 -25
- package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
- package/dist/{normalize-audio-J5PRW2T2.js → normalize-audio-GYTTK5QE.js} +16 -15
- package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
- package/dist/{open-CTEBHEQB.js → open-KGXPI4BY.js} +35 -28
- package/dist/{parakeetRunner-JTYOFSEH.js → parakeetRunner-IXUUFPGG.js} +26 -24
- package/dist/{pipeline-MTFGTQBG.js → pipeline-UE2Y2ZRB.js} +18 -17
- package/dist/{plan-KWQMZCRP.js → plan-AD4FZA6N.js} +29 -28
- package/dist/{play-QAD7NEJH.js → play-G6JYDYIH.js} +45 -38
- package/dist/{preflight-FRZEYCAM.js → preflight-QNDXHMOT.js} +18 -16
- package/dist/{present-A236DAR5.js → present-OK7QMCLR.js} +42 -37
- package/dist/{preview-T7R3Y2P7.js → preview-XD7J2KHY.js} +69 -66
- package/dist/{privateProjectFile-6ZDCWIFO.js → privateProjectFile-2WJ6GPY6.js} +14 -11
- package/dist/{probe-DRYUMUVG.js → probe-34RS6LVV.js} +21 -20
- package/dist/processes.ps1 +20 -0
- package/dist/{producer-XGWE7D4U.js → producer-AX7EDIPJ.js} +1 -1
- package/dist/{progress-2FZHJMQ2.js → progress-WLBIHCZM.js} +4 -4
- package/dist/{projectConfig-V27XJAAR.js → projectConfig-YBFY4W5A.js} +13 -12
- package/dist/{publication-6GJPFPQK.js → publication-JPKV2ZQO.js} +8 -7
- package/dist/{publish-X32RPL6L.js → publish-LRUVQX2E.js} +38 -33
- package/dist/{receivedRecordFollow-3ZT7SRRY.js → receivedRecordFollow-6MPKPG36.js} +16 -15
- package/dist/{refresh-OD5KKKQ5.js → refresh-HFE7YV57.js} +11 -9
- package/dist/{remove-background-FC3B3BLA.js → remove-background-TS4QUALS.js} +19 -18
- package/dist/{render-6VLPVVIF.js → render-NYFK74KL.js} +13 -12
- package/dist/{render-WZ2LHRIR.js → render-PSUJ4UCJ.js} +71 -69
- package/dist/{render-GMINWEBY.js → render-UQICTWO6.js} +57 -52
- package/dist/{render-batch-F4WR3T2E.js → render-batch-57ZDTS7Z.js} +13 -12
- package/dist/renderSetupWorker.js +10 -9
- package/dist/{resolver-ZJTCLGJB.js → resolver-3HJC4XU3.js} +10 -9
- package/dist/{reverse-XDKTYZEM.js → reverse-CIMYQVFI.js} +1 -1
- package/dist/{run-5LP7BKUF.js → run-EFRNU53Z.js} +14 -12
- package/dist/{screenshotCapture-72HYLPYD.js → screenshotCapture-K63UAXO7.js} +16 -15
- package/dist/{service-DWVOCGDO.js → service-EEEGLRHX.js} +24 -22
- package/dist/{share-K6FYZ7OP.js → share-WQVRXWH4.js} +28 -26
- package/dist/{sherpa-4TUAQ25R.js → sherpa-BOHH3Q32.js} +25 -23
- package/dist/sherpaWorker.js +5 -5
- package/dist/{sites-SUB3WQRQ.js → sites-2IEQMGTW.js} +4 -4
- package/dist/skills/hyperframes/references/plugin-installation.md +11 -2
- package/dist/skills/hyperframes/references/skill-lifecycle.md +12 -3
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +44 -10
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +35 -51
- package/dist/skills/media-use/scripts/lib/codex-provider.mjs +17 -10
- package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/index-gen.mjs +4 -2
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +6 -4
- package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +6 -4
- package/dist/skills/media-use/scripts/lib/private-output.mjs +21 -0
- package/dist/skills/media-use/scripts/lib/received-env.d.mts +5 -0
- package/dist/skills/media-use/scripts/lib/received-env.mjs +567 -0
- package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +9 -4
- package/dist/skills/media-use/scripts/resolve.mjs +36 -19
- package/dist/{skills-OEYS3FEC.js → skills-KB7UH26E.js} +12 -11
- package/dist/{skillsUpdateCheck-RFHPBIPU.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
- package/dist/{snapshot-VJXNZMJZ.js → snapshot-HRR6LIPD.js} +93 -189
- package/dist/snapshotHeldVideos-QGJBXBJM.js +63 -0
- package/dist/{src-TDYI7QIO.js → src-FCITTGFH.js} +12 -11
- package/dist/{src-P4PHYYKA.js → src-QOVNNDZN.js} +18 -17
- package/dist/{start-U2SI4DAI.js → start-I7H5I3AS.js} +39 -36
- package/dist/{state-E3RFYMOF.js → state-O6CCLWF6.js} +4 -4
- package/dist/{staticProjectServer-NYBCXQPN.js → staticProjectServer-XEZD7JZE.js} +29 -28
- package/dist/{status-KCF3G7E5.js → status-2GKACMVC.js} +23 -21
- package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
- package/dist/studio/assets/{index-CVmmHGol.js → index-B8Xt_Oyw.js} +190 -186
- package/dist/studio/assets/{index-DN167Uqf.js → index-BH18TdX9.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-C8rhpGPx.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-TZHZLLCD.js → studio-api-KQ7DR667.js} +18 -17
- package/dist/{studioServer-IFEYMMIN.js → studioServer-KAU2XZ4F.js} +84 -81
- package/dist/subCompositionWorker.js +10 -9
- package/dist/{sync-H2SNHXZD.js → sync-3OJZRVPG.js} +21 -20
- package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
- package/dist/{telemetry-BGBRABGW.js → telemetry-HIZZLE6W.js} +9 -8
- package/dist/templates/_shared/AGENTS.md +3 -1
- package/dist/templates/_shared/CLAUDE.md +3 -1
- package/dist/{templates-6OBD5XQI.js → templates-35GCXKO2.js} +24 -22
- package/dist/{textOverFace-5TTQHKZG.js → textOverFace-Q4I3PREP.js} +10 -4
- package/dist/{timeline-XZMIGQSE.js → timeline-U2V63I7B.js} +28 -27
- package/dist/{tokens-5VOBSSBN.js → tokens-24TKAZCA.js} +17 -12
- package/dist/{transcribe-F5VS2B2D.js → transcribe-M3JJZ27F.js} +22 -20
- package/dist/{transcribe-VOWDWAVU.js → transcribe-YHGN4HEM.js} +45 -42
- package/dist/{tts-URZ56ZN7.js → tts-CDBXQSAQ.js} +8 -7
- package/dist/{update-L5WLOBMT.js → update-4DIZ3YQQ.js} +17 -14
- package/dist/{updateCheck-NYDA3CKE.js → updateCheck-F56HX6MZ.js} +2 -2
- package/dist/{upgrade-APGW3TZA.js → upgrade-6WAFZ7WN.js} +5 -5
- package/dist/{urlDownloader-H67ZJV7Q.js → urlDownloader-DNNB6UOI.js} +12 -11
- package/dist/{validate-ZWNAZZMI.js → validate-N5KPU4GC.js} +36 -35
- package/dist/{video-IDLKJE2M.js → video-T6YYFBNI.js} +15 -14
- package/dist/{voices-TTD5VBUS.js → voices-OI37IYYG.js} +35 -33
- package/dist/warmCheck.js +57 -53
- package/package.json +1 -1
- package/dist/chunk-MJI4W7LY.js +0 -5101
- package/dist/studio/assets/hyperframes-player-mSF_GvRs.js +0 -573
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7QNCNGN6.js";
|
|
15
15
|
import {
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RHZE7BIX.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
refusesOutsideLink,
|
|
31
31
|
resolveRenderPaths,
|
|
32
32
|
toExternalAssetKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-H6LFXHAV.js";
|
|
34
34
|
import {
|
|
35
35
|
linksOutside
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6ACARSAZ.js";
|
|
37
37
|
import {
|
|
38
38
|
createStudioPositionSeekReapplyScript,
|
|
39
39
|
openRangeEnd,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
withPublicOnlyProxy,
|
|
212
212
|
writeCapturedFrame,
|
|
213
213
|
writeUrlDownloadTelemetry
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-ZY55U6ER.js";
|
|
215
215
|
import {
|
|
216
216
|
settleOnBrowserSafePort
|
|
217
217
|
} from "./chunk-PJQVJSMG.js";
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
parsesAsScript,
|
|
237
237
|
prepareFlattenedInnerRoot,
|
|
238
238
|
stripSdrPngColourTags
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-JGKI7FHX.js";
|
|
240
240
|
import {
|
|
241
241
|
RENDER_TEMP_DIR
|
|
242
242
|
} from "./chunk-F6PI5O3H.js";
|
|
@@ -246,7 +246,7 @@ import {
|
|
|
246
246
|
createStagingDir,
|
|
247
247
|
removeScratch,
|
|
248
248
|
renameWithRetry
|
|
249
|
-
} from "./chunk-
|
|
249
|
+
} from "./chunk-NIEOUHVQ.js";
|
|
250
250
|
import {
|
|
251
251
|
DISTRIBUTED_FPS,
|
|
252
252
|
HF_VFX_ATTR,
|
|
@@ -264,7 +264,7 @@ import {
|
|
|
264
264
|
redactTelemetryString,
|
|
265
265
|
resolveAuthoredTimingWindow,
|
|
266
266
|
toFps
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-XSARHJSW.js";
|
|
268
268
|
import {
|
|
269
269
|
CAPTURE_CANVAS_SELECTOR,
|
|
270
270
|
COMPOSITION_SOURCE_URL,
|
|
@@ -301,17 +301,17 @@ import {
|
|
|
301
301
|
sourceTimeAt,
|
|
302
302
|
styleElementsFor,
|
|
303
303
|
timeAtSourceTime
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-RAHYMZNU.js";
|
|
305
305
|
import {
|
|
306
306
|
isSafePath,
|
|
307
307
|
terminalText
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-OGL5VQGT.js";
|
|
309
309
|
import {
|
|
310
310
|
chromeMajorCeiling
|
|
311
|
-
} from "./chunk-
|
|
311
|
+
} from "./chunk-LWX5PI73.js";
|
|
312
312
|
import {
|
|
313
313
|
resolveReferencedStart
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-GXKCFOMR.js";
|
|
315
315
|
import {
|
|
316
316
|
isUnresolvedAssetPlaceholder,
|
|
317
317
|
namesAnotherNetworkRoot,
|
|
@@ -320,7 +320,7 @@ import {
|
|
|
320
320
|
readTextFile,
|
|
321
321
|
resolveCompositionSrc,
|
|
322
322
|
resolveProjectRelativeSrc
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-UVW5ZDAP.js";
|
|
324
324
|
import {
|
|
325
325
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
326
326
|
getCgroupMemoryLimitMb,
|
|
@@ -354,7 +354,7 @@ import {
|
|
|
354
354
|
rewriteInlineStyleAssetUrls,
|
|
355
355
|
styleBlockMatches,
|
|
356
356
|
stylesheetLinkMatches
|
|
357
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-KZ5PV5TL.js";
|
|
358
358
|
import {
|
|
359
359
|
CANVAS_DIMENSIONS,
|
|
360
360
|
VALID_CANVAS_RESOLUTIONS,
|
|
@@ -6999,9 +6999,35 @@ var fileTooLarge = (file, bytes) => new CompositionTooLargeError(
|
|
|
6999
6999
|
`Composition file "${file}" is ${megabytes(bytes)}, over the ${megabytes(MAX_COMPOSITION_HTML_BYTES)} limit for one composition HTML file. Keep large data such as images, fonts and JSON in separate asset files and reference them by path instead of inlining them.`,
|
|
7000
7000
|
{ bytes, limitBytes: MAX_COMPOSITION_HTML_BYTES }
|
|
7001
7001
|
);
|
|
7002
|
+
var limitText = `One render generates at most ${megabytes(MAX_EXPANDED_COMPOSITION_BYTES)}`;
|
|
7003
|
+
function generatedTooLarge(file, bytes) {
|
|
7004
|
+
if (file === "composition variables") {
|
|
7005
|
+
return `Composition variable styles add up to ${megabytes(bytes)}. ${limitText}. Shorten the variable values or declare them on fewer elements.`;
|
|
7006
|
+
}
|
|
7007
|
+
if (file === "variable media sources") {
|
|
7008
|
+
return `Variable-bound media sources add up to ${megabytes(bytes)}. ${limitText}. Use shorter URLs or bind fewer elements.`;
|
|
7009
|
+
}
|
|
7010
|
+
return `Scripts, styles and rebased asset paths generated for compositions, ending at "${file}", add up to ${megabytes(bytes)}. One render generates at most ${megabytes(MAX_EXPANDED_COMPOSITION_BYTES)} for its mounts. Merge small inline scripts and style rules, keep data-composition-id values short, or mount scenes fewer times.`;
|
|
7011
|
+
}
|
|
7002
7012
|
var CompositionExpansionBudget = class {
|
|
7003
7013
|
bytes = 0;
|
|
7004
7014
|
mounts = 0;
|
|
7015
|
+
generated = 0;
|
|
7016
|
+
/** `bytes` may be negative when a reserved upper bound is settled to the real size. */
|
|
7017
|
+
chargeGenerated(file, bytes) {
|
|
7018
|
+
this.generated += bytes;
|
|
7019
|
+
if (this.generated <= MAX_EXPANDED_COMPOSITION_BYTES) return;
|
|
7020
|
+
throw new CompositionTooLargeError(generatedTooLarge(file, this.generated), {
|
|
7021
|
+
bytes: this.generated,
|
|
7022
|
+
limitBytes: MAX_EXPANDED_COMPOSITION_BYTES,
|
|
7023
|
+
exceeded: "generated"
|
|
7024
|
+
});
|
|
7025
|
+
}
|
|
7026
|
+
chargeGeneratedIfItFits(bytes) {
|
|
7027
|
+
if (this.generated + bytes > MAX_EXPANDED_COMPOSITION_BYTES) return false;
|
|
7028
|
+
this.generated += bytes;
|
|
7029
|
+
return true;
|
|
7030
|
+
}
|
|
7005
7031
|
charge(file, bytes) {
|
|
7006
7032
|
this.bytes += bytes;
|
|
7007
7033
|
this.mounts += 1;
|
|
@@ -7931,7 +7957,7 @@ function coalesceHeadStylesAndBodyScripts(html) {
|
|
|
7931
7957
|
}
|
|
7932
7958
|
return document2.toString();
|
|
7933
7959
|
}
|
|
7934
|
-
function inlineSubCompositions2(html, subCompositions, projectDir, variableOverrides, assetRoot, outsideFiles) {
|
|
7960
|
+
function inlineSubCompositions2(html, subCompositions, projectDir, variableOverrides, assetRoot, outsideFiles, budget) {
|
|
7935
7961
|
const { document: document2 } = parseHTML(html);
|
|
7936
7962
|
const head = document2.querySelector("head");
|
|
7937
7963
|
const body = document2.querySelector("body");
|
|
@@ -7940,11 +7966,11 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7940
7966
|
const emitted = emitRootCompositionVariableStyles(
|
|
7941
7967
|
document2,
|
|
7942
7968
|
{},
|
|
7943
|
-
variableOverrides
|
|
7969
|
+
variableOverrides,
|
|
7970
|
+
{ chargeBytes: (bytes) => budget.chargeGenerated("composition variables", bytes) }
|
|
7944
7971
|
);
|
|
7945
7972
|
return { html: emitted ? document2.toString() : html, variablesByComp: {} };
|
|
7946
7973
|
}
|
|
7947
|
-
const budget = new CompositionExpansionBudget();
|
|
7948
7974
|
const readOnce = /* @__PURE__ */ new Map();
|
|
7949
7975
|
const readMountHtml = (srcPath) => {
|
|
7950
7976
|
const filePath = resolveCompositionFile(projectDir, srcPath, assetRoot);
|
|
@@ -7979,11 +8005,16 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
7979
8005
|
hostIdentityMap: hostIdentityByElement,
|
|
7980
8006
|
readVariableDefaults: readDeclaredDefaults,
|
|
7981
8007
|
parseHostVariables: parseHostVariableValues,
|
|
8008
|
+
resolveFilePath: (srcPath) => {
|
|
8009
|
+
const file = resolveCompositionFile(projectDir, srcPath, assetRoot);
|
|
8010
|
+
return file && relative2(projectDir, file).split(sep2).join("/");
|
|
8011
|
+
},
|
|
7982
8012
|
resolveHtml: (srcPath) => {
|
|
7983
8013
|
const compHtml = resolveMountHtml(srcPath);
|
|
7984
8014
|
if (compHtml) budget.charge(srcPath, Buffer.byteLength(compHtml));
|
|
7985
8015
|
return compHtml;
|
|
7986
8016
|
},
|
|
8017
|
+
chargeEmitted: (srcPath, bytes) => budget.chargeGenerated(srcPath, bytes),
|
|
7987
8018
|
parseHtml: (htmlStr) => parseHTML(htmlStr).document,
|
|
7988
8019
|
// Mirrors the preview bundler: a sub-composition's SIBLING assets resolve
|
|
7989
8020
|
// against its own directory, project-root refs stay as authored.
|
|
@@ -8068,7 +8099,8 @@ function inlineSubCompositions2(html, subCompositions, projectDir, variableOverr
|
|
|
8068
8099
|
emitRootCompositionVariableStyles(
|
|
8069
8100
|
document2,
|
|
8070
8101
|
result.variablesByComp,
|
|
8071
|
-
variableOverrides
|
|
8102
|
+
variableOverrides,
|
|
8103
|
+
{ chargeBytes: (bytes) => budget.chargeGenerated("composition variables", bytes) }
|
|
8072
8104
|
);
|
|
8073
8105
|
assignMediaRenderIds(document2);
|
|
8074
8106
|
return { html: document2.toString(), variablesByComp: result.variablesByComp };
|
|
@@ -8493,10 +8525,6 @@ function localizeFontFaceUrls(html, downloadDir) {
|
|
|
8493
8525
|
(h, url, relPath) => h.replaceAll(`url(${url})`, `url("${relPath}")`)
|
|
8494
8526
|
);
|
|
8495
8527
|
}
|
|
8496
|
-
function urlOccurrenceRe(localPath) {
|
|
8497
|
-
const escaped = localPath.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
8498
|
-
return new RegExp(`url\\((["']?)${escaped}\\1\\)`, "g");
|
|
8499
|
-
}
|
|
8500
8528
|
var MAX_LOCAL_FONT_DATA_URI_BYTES = 5 * 1024 * 1024;
|
|
8501
8529
|
async function readLocalFont(absPath) {
|
|
8502
8530
|
const chunks = [];
|
|
@@ -8511,59 +8539,83 @@ async function readLocalFont(absPath) {
|
|
|
8511
8539
|
}
|
|
8512
8540
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
8513
8541
|
}
|
|
8514
|
-
async function
|
|
8515
|
-
const
|
|
8516
|
-
|
|
8517
|
-
|
|
8542
|
+
async function localFontDataUri(localPath, projectDir, assetRoot, dataUriByAbsolutePath, log) {
|
|
8543
|
+
const absPath = localPath.startsWith("/") ? localPath : resolve5(projectDir, localPath);
|
|
8544
|
+
if (!isPathInside(absPath, projectDir) || escapesAssetRoot(absPath, assetRoot)) return void 0;
|
|
8545
|
+
if (refusesOutsideLink(projectDir, absPath, (line) => log.warn(`[Compiler] ${line}`))) {
|
|
8546
|
+
return void 0;
|
|
8547
|
+
}
|
|
8548
|
+
if (isPrivateCompositionFile(projectDir, absPath)) return void 0;
|
|
8549
|
+
if (dataUriByAbsolutePath.has(absPath)) return dataUriByAbsolutePath.get(absPath);
|
|
8550
|
+
const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
|
|
8551
|
+
try {
|
|
8552
|
+
const font = await readLocalFont(absPath);
|
|
8553
|
+
if (font.kind === "file-backed") {
|
|
8554
|
+
dataUriByAbsolutePath.set(absPath, void 0);
|
|
8555
|
+
defaultLogger.debug(
|
|
8556
|
+
`[Compiler] Kept large local font file-backed: ${localPath} (> ${(MAX_LOCAL_FONT_DATA_URI_BYTES / 1024 / 1024).toFixed(1)} MB)`
|
|
8557
|
+
);
|
|
8558
|
+
return void 0;
|
|
8559
|
+
}
|
|
8560
|
+
const { fontToDataUri } = await import("./deterministicFonts-645ILNLP.js");
|
|
8561
|
+
const dataUri = await fontToDataUri(font.buffer, ext, { compressToWoff2: false });
|
|
8562
|
+
dataUriByAbsolutePath.set(absPath, dataUri);
|
|
8563
|
+
defaultLogger.debug(
|
|
8564
|
+
`[Compiler] Embedded local font file: ${localPath} (${(font.buffer.length / 1024).toFixed(0)} KB \u2192 data URI)`
|
|
8565
|
+
);
|
|
8566
|
+
return dataUri;
|
|
8567
|
+
} catch (error) {
|
|
8568
|
+
defaultLogger.warn(
|
|
8569
|
+
`[Compiler] Could not embed local font ${localPath}: ${error instanceof Error ? error.message : String(error)}`
|
|
8570
|
+
);
|
|
8571
|
+
return void 0;
|
|
8572
|
+
}
|
|
8573
|
+
}
|
|
8574
|
+
var replaceInner = (whole, inner, tail, next) => whole.slice(0, whole.length - tail - inner.length) + next + whole.slice(whole.length - tail);
|
|
8575
|
+
async function embedLocalFontFaces(html, projectDir, assetRoot, budget, log = defaultLogger) {
|
|
8576
|
+
const dataUriByPath = /* @__PURE__ */ new Map();
|
|
8518
8577
|
const dataUriByAbsolutePath = /* @__PURE__ */ new Map();
|
|
8519
|
-
const fileBackedAbsolutePaths = /* @__PURE__ */ new Set();
|
|
8520
8578
|
for (const { parts: style } of styleBlockMatches(html)) {
|
|
8521
8579
|
for (const { parts: face } of fontFaceBlockMatches(style[1])) {
|
|
8522
|
-
const
|
|
8523
|
-
for (const { parts } of localFontFaceUrlMatches(block)) {
|
|
8580
|
+
for (const { parts } of localFontFaceUrlMatches(face[1])) {
|
|
8524
8581
|
const localPath = parts[1];
|
|
8525
|
-
if (!localPath ||
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
continue;
|
|
8531
|
-
}
|
|
8532
|
-
if (isPrivateCompositionFile(projectDir, absPath)) continue;
|
|
8533
|
-
const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
|
|
8534
|
-
try {
|
|
8535
|
-
if (fileBackedAbsolutePaths.has(absPath)) {
|
|
8536
|
-
embeddedPaths.add(localPath);
|
|
8537
|
-
continue;
|
|
8538
|
-
}
|
|
8539
|
-
let dataUri = dataUriByAbsolutePath.get(absPath);
|
|
8540
|
-
if (!dataUri) {
|
|
8541
|
-
const font = await readLocalFont(absPath);
|
|
8542
|
-
if (font.kind === "file-backed") {
|
|
8543
|
-
fileBackedAbsolutePaths.add(absPath);
|
|
8544
|
-
defaultLogger.debug(
|
|
8545
|
-
`[Compiler] Kept large local font file-backed: ${localPath} (> ${(MAX_LOCAL_FONT_DATA_URI_BYTES / 1024 / 1024).toFixed(1)} MB)`
|
|
8546
|
-
);
|
|
8547
|
-
embeddedPaths.add(localPath);
|
|
8548
|
-
continue;
|
|
8549
|
-
}
|
|
8550
|
-
dataUri = await toDataUri(font.buffer, ext, { compressToWoff2: false });
|
|
8551
|
-
dataUriByAbsolutePath.set(absPath, dataUri);
|
|
8552
|
-
defaultLogger.debug(
|
|
8553
|
-
`[Compiler] Embedded local font file: ${localPath} (${(font.buffer.length / 1024).toFixed(0)} KB \u2192 data URI)`
|
|
8554
|
-
);
|
|
8555
|
-
}
|
|
8556
|
-
result = result.replace(urlOccurrenceRe(localPath), `url("${dataUri}")`);
|
|
8557
|
-
embeddedPaths.add(localPath);
|
|
8558
|
-
} catch (error) {
|
|
8559
|
-
defaultLogger.warn(
|
|
8560
|
-
`[Compiler] Could not embed local font ${localPath}: ${error instanceof Error ? error.message : String(error)}`
|
|
8561
|
-
);
|
|
8562
|
-
}
|
|
8582
|
+
if (!localPath || dataUriByPath.has(localPath)) continue;
|
|
8583
|
+
dataUriByPath.set(
|
|
8584
|
+
localPath,
|
|
8585
|
+
await localFontDataUri(localPath, projectDir, assetRoot, dataUriByAbsolutePath, log)
|
|
8586
|
+
);
|
|
8563
8587
|
}
|
|
8564
8588
|
}
|
|
8565
8589
|
}
|
|
8566
|
-
return
|
|
8590
|
+
if (![...dataUriByPath.values()].some(Boolean)) return html;
|
|
8591
|
+
let warned = false;
|
|
8592
|
+
const embed = (source, localPath) => {
|
|
8593
|
+
const dataUri = dataUriByPath.get(localPath);
|
|
8594
|
+
if (!dataUri) return source;
|
|
8595
|
+
const inlined = `url("${dataUri}")`;
|
|
8596
|
+
if (budget.chargeGeneratedIfItFits(inlined.length - source.length)) return inlined;
|
|
8597
|
+
if (!warned) {
|
|
8598
|
+
warned = true;
|
|
8599
|
+
log.warn(
|
|
8600
|
+
`[Compiler] Kept local font ${localPath} file-backed: the page reached its inline size limit`
|
|
8601
|
+
);
|
|
8602
|
+
}
|
|
8603
|
+
return source;
|
|
8604
|
+
};
|
|
8605
|
+
return replaceMatches(
|
|
8606
|
+
html,
|
|
8607
|
+
styleBlockMatches(html),
|
|
8608
|
+
(style, css) => replaceInner(
|
|
8609
|
+
style,
|
|
8610
|
+
css,
|
|
8611
|
+
"</style>".length,
|
|
8612
|
+
replaceMatches(
|
|
8613
|
+
css,
|
|
8614
|
+
fontFaceBlockMatches(css),
|
|
8615
|
+
(face, body) => replaceInner(face, body, 1, replaceMatches(body, localFontFaceUrlMatches(body), embed))
|
|
8616
|
+
)
|
|
8617
|
+
)
|
|
8618
|
+
);
|
|
8567
8619
|
}
|
|
8568
8620
|
function renderGsapDist() {
|
|
8569
8621
|
try {
|
|
@@ -8589,32 +8641,42 @@ function rewriteUnresolvableGsapToCdn(html, projectDir, compSrcPath) {
|
|
|
8589
8641
|
return `${prefix}${gsapDist}${file}${suffix}`;
|
|
8590
8642
|
});
|
|
8591
8643
|
}
|
|
8592
|
-
function rebaseDirectEntryAssetPaths(html, projectDir, htmlPath) {
|
|
8644
|
+
function rebaseDirectEntryAssetPaths(html, projectDir, htmlPath, budget) {
|
|
8593
8645
|
if (!isPathInside(htmlPath, projectDir)) return html;
|
|
8594
8646
|
const entryPath = relative2(projectDir, htmlPath).replace(/\\/g, "/");
|
|
8595
8647
|
if (!entryPath.includes("/")) return html;
|
|
8596
8648
|
const { document: document2 } = parseHTML(html);
|
|
8597
8649
|
const assetExists = projectAssetExists(projectDir);
|
|
8650
|
+
const charge = (bytes) => budget.chargeGenerated(entryPath, bytes);
|
|
8598
8651
|
rewriteAssetPaths(
|
|
8599
8652
|
document2.querySelectorAll("[src], [href], [srcset]"),
|
|
8600
8653
|
entryPath,
|
|
8601
8654
|
(el, attr) => el.getAttribute(attr),
|
|
8602
8655
|
(el, attr, value) => el.setAttribute(attr, value),
|
|
8603
|
-
assetExists
|
|
8656
|
+
assetExists,
|
|
8657
|
+
charge
|
|
8604
8658
|
);
|
|
8605
8659
|
rewriteInlineStyleAssetUrls(
|
|
8606
8660
|
document2.querySelectorAll("[style]"),
|
|
8607
8661
|
entryPath,
|
|
8608
8662
|
(el) => el.getAttribute("style"),
|
|
8609
8663
|
(el, value) => el.setAttribute("style", value),
|
|
8610
|
-
assetExists
|
|
8664
|
+
assetExists,
|
|
8665
|
+
charge
|
|
8611
8666
|
);
|
|
8612
8667
|
for (const style of document2.querySelectorAll("style")) {
|
|
8613
|
-
style.textContent = rewriteCssAssetUrls(
|
|
8668
|
+
style.textContent = rewriteCssAssetUrls(
|
|
8669
|
+
style.textContent || "",
|
|
8670
|
+
entryPath,
|
|
8671
|
+
assetExists,
|
|
8672
|
+
charge
|
|
8673
|
+
);
|
|
8614
8674
|
}
|
|
8615
8675
|
return document2.toString();
|
|
8616
8676
|
}
|
|
8617
|
-
|
|
8677
|
+
var MAX_VARIABLE_MEDIA_SRC_BYTES = 8 * 1024;
|
|
8678
|
+
var MEDIA_SRC_CONTROL_CHARS = /[\u0000-\u001f\u007f]/;
|
|
8679
|
+
function bindVariableMediaSources(html, variables, budget, log) {
|
|
8618
8680
|
if (!html.includes("data-var-src")) return html;
|
|
8619
8681
|
const { document: document2 } = parseHTML(html);
|
|
8620
8682
|
const declared = {};
|
|
@@ -8625,8 +8687,17 @@ function bindVariableMediaSources(html, variables) {
|
|
|
8625
8687
|
let changed = false;
|
|
8626
8688
|
for (const el of document2.querySelectorAll("video[data-var-src], audio[data-var-src]")) {
|
|
8627
8689
|
if (el.closest("[data-variable-values]")) continue;
|
|
8628
|
-
const
|
|
8629
|
-
if (
|
|
8690
|
+
const bound = boundMediaSrc(el, values);
|
|
8691
|
+
if (bound === null) continue;
|
|
8692
|
+
const src = bound.trim();
|
|
8693
|
+
if (src.length > MAX_VARIABLE_MEDIA_SRC_BYTES || MEDIA_SRC_CONTROL_CHARS.test(src)) {
|
|
8694
|
+
log?.warn("[Compiler] Refused a variable media source that cannot be a URL", {
|
|
8695
|
+
length: src.length
|
|
8696
|
+
});
|
|
8697
|
+
continue;
|
|
8698
|
+
}
|
|
8699
|
+
if (el.getAttribute("src") === src) continue;
|
|
8700
|
+
budget.chargeGenerated("variable media sources", src.length);
|
|
8630
8701
|
el.setAttribute("src", src);
|
|
8631
8702
|
changed = true;
|
|
8632
8703
|
}
|
|
@@ -8646,10 +8717,18 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8646
8717
|
throw new Error(`Entry file ${htmlPath} is not an .html file, so it is refused`);
|
|
8647
8718
|
}
|
|
8648
8719
|
assertCompositionFileSize(htmlPath, basename4(htmlPath));
|
|
8649
|
-
const
|
|
8720
|
+
const budget = new CompositionExpansionBudget();
|
|
8721
|
+
const entryHtml = rebaseDirectEntryAssetPaths(
|
|
8722
|
+
readTextFile(htmlPath),
|
|
8723
|
+
projectDir,
|
|
8724
|
+
htmlPath,
|
|
8725
|
+
budget
|
|
8726
|
+
);
|
|
8650
8727
|
const rawHtml = bindVariableMediaSources(
|
|
8651
8728
|
normalizeCompositionSrcs(rewriteUnresolvableGsapToCdn(entryHtml, projectDir), projectDir),
|
|
8652
|
-
options.variables ?? {}
|
|
8729
|
+
options.variables ?? {},
|
|
8730
|
+
budget,
|
|
8731
|
+
options.log
|
|
8653
8732
|
);
|
|
8654
8733
|
assertSubCompositionsUsable(rawHtml, projectDir, assetRoot, outsideFiles);
|
|
8655
8734
|
const probes = /* @__PURE__ */ new Map();
|
|
@@ -8680,7 +8759,8 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8680
8759
|
projectDir,
|
|
8681
8760
|
options.variables ?? {},
|
|
8682
8761
|
assetRoot,
|
|
8683
|
-
outsideFiles
|
|
8762
|
+
outsideFiles,
|
|
8763
|
+
budget
|
|
8684
8764
|
);
|
|
8685
8765
|
const sanitizedHtml = stripPreloadNone(inlinedHtml);
|
|
8686
8766
|
const renderModeHints = detectRenderModeHints(sanitizedHtml, options.pageMotionBlur);
|
|
@@ -8759,6 +8839,7 @@ async function compileForRender(projectDir, htmlPath, downloadDir, options = {})
|
|
|
8759
8839
|
htmlWithPreparedGifs,
|
|
8760
8840
|
projectDir,
|
|
8761
8841
|
assetRoot,
|
|
8842
|
+
budget,
|
|
8762
8843
|
options.log
|
|
8763
8844
|
);
|
|
8764
8845
|
const { html, externalAssets } = options.allowOutsideProjectAssets ? collectExternalAssets(
|
|
@@ -9536,21 +9617,50 @@ function reconcileBrowserMediaEnd(existingEnd, projectedEnd, sourceChanged, dura
|
|
|
9536
9617
|
return existingEnd <= 0 ? projectedEnd : Math.min(existingEnd, projectedEnd);
|
|
9537
9618
|
}
|
|
9538
9619
|
var MAX_MEDIA_SELECTOR_WORK = 1e6;
|
|
9539
|
-
var
|
|
9540
|
-
|
|
9620
|
+
var ATTRIBUTE_SELECTOR = /\[\s*[\w-]+\s*(?:[~|^$*]?=\s*(?:"[^"\\]*"|'[^'\\]*'|[\w-]+)\s*(?:[is]\s*)?)?\]/g;
|
|
9621
|
+
var COMPOUND_SELECTORS = /^[\w\s#.*>,@-]+$/;
|
|
9622
|
+
function cheapSelectorShape(selector) {
|
|
9623
|
+
const shape = selector.replace(ATTRIBUTE_SELECTOR, "@").trim();
|
|
9624
|
+
if (!COMPOUND_SELECTORS.test(shape)) return null;
|
|
9625
|
+
const collapsed = shape.replace(/\s+/g, " ").replace(/ ?([>,]) ?/g, "$1");
|
|
9626
|
+
const parts = collapsed.split(",");
|
|
9627
|
+
return parts.every((part) => part !== "" && part.split(" ").length <= 2) ? collapsed : null;
|
|
9628
|
+
}
|
|
9629
|
+
var attributeChars = (element) => Array.from(element.attributes).reduce((sum2, a) => sum2 + a.name.length + a.value.length + 1, 0);
|
|
9630
|
+
function managedMediaElements(document2, measure) {
|
|
9541
9631
|
const managed = [];
|
|
9542
|
-
const pending =
|
|
9543
|
-
|
|
9632
|
+
const pending = Array.from(document2.children, (element) => ({
|
|
9633
|
+
element,
|
|
9634
|
+
inMedia: false,
|
|
9635
|
+
depth: 0,
|
|
9636
|
+
above: 0
|
|
9637
|
+
}));
|
|
9544
9638
|
for (let next = pending.pop(); next; next = pending.pop()) {
|
|
9545
|
-
const
|
|
9639
|
+
const { element, depth } = next;
|
|
9640
|
+
const chainAttributeChars = measure ? next.above + attributeChars(element) : 0;
|
|
9641
|
+
const name = element.tagName.toLowerCase();
|
|
9546
9642
|
const isMedia = name === "video" || name === "audio";
|
|
9547
|
-
if (isMedia || next.inMedia && name === "source")
|
|
9548
|
-
|
|
9549
|
-
|
|
9643
|
+
if (isMedia || next.inMedia && name === "source") {
|
|
9644
|
+
managed.push({ element, depth, chainAttributeChars });
|
|
9645
|
+
}
|
|
9646
|
+
for (const child2 of Array.from(element.children)) {
|
|
9647
|
+
const inMedia = next.inMedia || isMedia;
|
|
9648
|
+
pending.push({ element: child2, inMedia, depth: depth + 1, above: chainAttributeChars });
|
|
9550
9649
|
}
|
|
9551
9650
|
}
|
|
9552
9651
|
return managed;
|
|
9553
9652
|
}
|
|
9653
|
+
function selectorCheckCost(selector, measured) {
|
|
9654
|
+
const shape = cheapSelectorShape(selector);
|
|
9655
|
+
if (shape === null) return Infinity;
|
|
9656
|
+
const tests = (shape.match(/[.#@]/g)?.length ?? 0) + shape.split(/[ >,]/).length;
|
|
9657
|
+
let cost = 0;
|
|
9658
|
+
for (const media of measured) {
|
|
9659
|
+
cost += selector.length * (media.depth + 1) + tests * media.chainAttributeChars;
|
|
9660
|
+
if (cost > MAX_MEDIA_SELECTOR_WORK) return cost;
|
|
9661
|
+
}
|
|
9662
|
+
return cost;
|
|
9663
|
+
}
|
|
9554
9664
|
function hasRuntimeMediaChanges(html) {
|
|
9555
9665
|
const { document: document2 } = parseHTML(html);
|
|
9556
9666
|
const scriptBodies = [...document2.querySelectorAll("script")].map(
|
|
@@ -9560,11 +9670,12 @@ function hasRuntimeMediaChanges(html) {
|
|
|
9560
9670
|
(script) => /\bcreateElement\s*\(\s*["'`](?:video|audio)["'`]\s*\)/i.test(script) || /\bnew\s+(?:Audio|Video)\s*\(/i.test(script) || hasClosedMediaTag(script)
|
|
9561
9671
|
);
|
|
9562
9672
|
if (insertedMedia) return true;
|
|
9563
|
-
const managed = managedMediaElements(document2);
|
|
9673
|
+
const managed = managedMediaElements(document2, false);
|
|
9564
9674
|
if (managed.length === 0) return false;
|
|
9565
|
-
const managedIds = new Set(managed.map((
|
|
9675
|
+
const managedIds = new Set(managed.map((m) => m.element.getAttribute("id")).filter(Boolean));
|
|
9566
9676
|
const selectors = /* @__PURE__ */ new Set();
|
|
9567
|
-
let
|
|
9677
|
+
let work = 0;
|
|
9678
|
+
let measured;
|
|
9568
9679
|
for (const script of scriptBodies) {
|
|
9569
9680
|
for (const mutation of extractMediaSrcMutations(script)) {
|
|
9570
9681
|
const id = /^#[A-Za-z_][\w-]*$/.test(mutation.selector) ? mutation.selector.slice(1) : null;
|
|
@@ -9573,15 +9684,15 @@ function hasRuntimeMediaChanges(html) {
|
|
|
9573
9684
|
continue;
|
|
9574
9685
|
}
|
|
9575
9686
|
if (selectors.has(mutation.selector)) continue;
|
|
9576
|
-
if (SIBLING_COMBINATOR.test(mutation.selector)) return true;
|
|
9577
9687
|
selectors.add(mutation.selector);
|
|
9578
|
-
|
|
9579
|
-
|
|
9688
|
+
measured ??= managedMediaElements(document2, true);
|
|
9689
|
+
work += selectorCheckCost(mutation.selector, measured);
|
|
9690
|
+
if (work > MAX_MEDIA_SELECTOR_WORK) return true;
|
|
9580
9691
|
}
|
|
9581
9692
|
}
|
|
9582
9693
|
for (const selector of selectors) {
|
|
9583
9694
|
try {
|
|
9584
|
-
if (managed.some((
|
|
9695
|
+
if (managed.some((media) => media.element.matches(selector))) return true;
|
|
9585
9696
|
} catch {
|
|
9586
9697
|
}
|
|
9587
9698
|
}
|
|
@@ -18745,7 +18856,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18745
18856
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
18746
18857
|
if (probeResult.probeSession) {
|
|
18747
18858
|
try {
|
|
18748
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18859
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-FCITTGFH.js");
|
|
18749
18860
|
await closeCaptureSession2(probeResult.probeSession);
|
|
18750
18861
|
} catch (err) {
|
|
18751
18862
|
log.warn("[plan] probe session close failed", {
|
|
@@ -22495,7 +22606,7 @@ function startServer(options = {}) {
|
|
|
22495
22606
|
});
|
|
22496
22607
|
async function shutdown(signal) {
|
|
22497
22608
|
log.info(`Received ${signal}, shutting down`);
|
|
22498
|
-
const { drainBrowserPool } = await import("./src-
|
|
22609
|
+
const { drainBrowserPool } = await import("./src-FCITTGFH.js");
|
|
22499
22610
|
await drainBrowserPool().catch(() => {
|
|
22500
22611
|
});
|
|
22501
22612
|
const handle = await Promise.race([
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HMNDJPLQ.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HYQ6S7R6.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XSARHJSW.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot,
|
|
21
21
|
toolTrustedFileKind
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OGL5VQGT.js";
|
|
23
23
|
import {
|
|
24
24
|
isCompositionVariable
|
|
25
25
|
} from "./chunk-4NDSGKPO.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZY55U6ER.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-FCITTGFH.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|