hyperframes 0.9.65 → 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-FFPEN3PI.js → add-Q4W2PAZ6.js} +22 -21
- package/dist/{agentPromptGenerator-3XDVEOI4.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
- package/dist/{animatedGifPrep-FF5MNK4G.js → animatedGifPrep-3UBRNEEA.js} +15 -14
- package/dist/api.js +51 -49
- package/dist/{appHistory-VNIOZU2X.js → appHistory-EWII7S5X.js} +4 -4
- package/dist/{asset-CL3LGWHN.js → asset-ZRTGYYEN.js} +10 -9
- package/dist/{assetCataloger-EJWPZR2U.js → assetCataloger-GTSOUOBQ.js} +15 -14
- package/dist/{audio-YXOB2W6Y.js → audio-ZUW3RHEO.js} +30 -28
- package/dist/{auth-M7A4TSPO.js → auth-TE5FMKUT.js} +4 -4
- package/dist/{autoUpdate-6YQYHQGW.js → autoUpdate-6JGNDMLP.js} +24 -10
- package/dist/{avatars-77IWARZP.js → avatars-BJEF4TZR.js} +23 -21
- package/dist/{backgroundChecks-M4NIDGIA.js → backgroundChecks-EN5XLRLY.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-YSKM7TNL.js → batchRender-EEMYIEYR.js} +13 -10
- package/dist/{beats-LRU6EJRT.js → beats-IPGSP5BV.js} +14 -13
- package/dist/{benchmark-CHHCVFKH.js → benchmark-GZOATIPM.js} +25 -22
- package/dist/{billing-LLO6AH2P.js → billing-3LF2YYP7.js} +22 -20
- package/dist/{browser-QCBYOBPV.js → browser-2IH45NN6.js} +12 -11
- package/dist/{bundleWithLocalizedFonts-QKUGP6QU.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
- package/dist/{capture-22DC6YXT.js → capture-4SIGWC4Q.js} +10 -9
- package/dist/{capture-7CIWJP57.js → capture-K75SADNY.js} +26 -25
- package/dist/{captureCompositionFrame-QKU2OEUO.js → captureCompositionFrame-XVEPPU4X.js} +21 -20
- package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
- package/dist/{catalog-KM43JIX6.js → catalog-6N22YQEE.js} +22 -21
- package/dist/{catch-up-QSCE5EWT.js → catch-up-67LVADSA.js} +14 -13
- package/dist/{check-OHWGWJX6.js → check-NYD3WGR2.js} +55 -54
- package/dist/{checkAudio-7LMFGTYQ.js → checkAudio-APZTSEHX.js} +17 -16
- package/dist/{checkBrowser-EEH265TZ.js → checkBrowser-2UA6O65I.js} +47 -46
- package/dist/{chunk-IOYTXBFK.js → chunk-244FN6TG.js} +1 -1
- package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
- package/dist/{chunk-LLLOUHO6.js → chunk-2OSPWUGX.js} +7 -6
- package/dist/{chunk-W2CXA2CN.js → chunk-2UIAN6N7.js} +1 -1
- package/dist/{chunk-E3OFFWRD.js → chunk-2Z7IW5EY.js} +2 -2
- package/dist/{chunk-2WXCQT4F.js → chunk-35BZXE5L.js} +1 -1
- package/dist/{chunk-Z2B2CQO3.js → chunk-37SEGJEO.js} +11 -11
- package/dist/{chunk-RCP2VEJJ.js → chunk-3B4WQYCW.js} +6 -6
- package/dist/{chunk-VIA6UCV5.js → chunk-3BKNPN36.js} +37 -3
- package/dist/{chunk-ALTOXXDI.js → chunk-3ODOQWSB.js} +10 -5
- package/dist/{chunk-UCWQU7EY.js → chunk-3WE4UZHN.js} +2 -2
- package/dist/{chunk-OCBC4P6O.js → chunk-4IIPERO4.js} +1 -1
- 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-BYCOI5AI.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-AYTEZDHI.js → chunk-66D5BC5K.js} +9 -4
- package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
- package/dist/{chunk-5JB52EL2.js → chunk-6PGDI5NG.js} +154 -84
- package/dist/{chunk-A63XME5P.js → chunk-6PYUPO4M.js} +4 -4
- package/dist/{chunk-CNCE57K2.js → chunk-6QITYZN7.js} +2 -2
- package/dist/{chunk-QRDITHEZ.js → chunk-6QZNF3JF.js} +26 -27
- package/dist/chunk-6SYJN2KD.js +15 -0
- package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
- package/dist/{chunk-AQFA2WPD.js → chunk-745HLQBA.js} +1 -1
- package/dist/{chunk-F4V523HB.js → chunk-74M47HVE.js} +2 -2
- package/dist/{chunk-TIB6KUSP.js → chunk-7BREEOLQ.js} +16 -16
- package/dist/{chunk-FZKN2NC4.js → chunk-7CKKKBNM.js} +2 -2
- package/dist/{chunk-3W4FG7IG.js → chunk-7EOREMZI.js} +12 -12
- package/dist/{chunk-AR3R2DZI.js → chunk-7LQFVACU.js} +1 -1
- package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
- package/dist/{chunk-JBKVY4PY.js → chunk-A6O65H7G.js} +4 -4
- package/dist/{chunk-OYFDQ5QW.js → chunk-AAZF6D3Z.js} +1 -1
- package/dist/{chunk-BSGHUXHX.js → chunk-AI4MXYGK.js} +1 -1
- package/dist/{chunk-4W4QOYPI.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-GJ52L66E.js → chunk-AWOHPIKF.js} +9 -9
- package/dist/{chunk-LBDQJRCK.js → chunk-BSY6ZHP6.js} +1 -1
- package/dist/{chunk-JP7BQ4WS.js → chunk-CANVWJB4.js} +13 -11
- package/dist/{chunk-7CCETF2U.js → chunk-CEHYC2UD.js} +3 -3
- package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
- package/dist/{chunk-Y273NNG5.js → chunk-CTDCYNVK.js} +2 -2
- package/dist/{chunk-GEEATBFF.js → chunk-CUOX3TDY.js} +3 -3
- package/dist/{chunk-DZNWYUBA.js → chunk-D5YHSTHZ.js} +3 -3
- package/dist/{chunk-F2GQH6G4.js → chunk-DPMEWIVZ.js} +4 -4
- package/dist/{chunk-FZRFTW5X.js → chunk-DZ3JB4F3.js} +2 -2
- package/dist/{chunk-OHY27IY2.js → chunk-EIION6EA.js} +2 -2
- package/dist/{chunk-GVGUOYNC.js → chunk-EPBYIJPM.js} +1 -1
- package/dist/{chunk-EUXQMNUT.js → chunk-ESYW3LJU.js} +2 -2
- package/dist/{chunk-3U2W7LJU.js → chunk-FAJRDYFU.js} +6 -6
- package/dist/{chunk-GB5RKTLO.js → chunk-FBOKUG5B.js} +5 -5
- package/dist/{chunk-XHW57QCG.js → chunk-FCNBAYZ6.js} +3 -3
- package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
- package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
- package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
- package/dist/{chunk-3WUKMGJN.js → chunk-H6LFXHAV.js} +7 -7
- package/dist/{chunk-WNU7WC46.js → chunk-HMNDJPLQ.js} +3 -3
- package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
- package/dist/{chunk-TNTXAGHK.js → chunk-IUUEMVZV.js} +2 -2
- package/dist/{chunk-XP6BVUGU.js → chunk-IXGZSANV.js} +2 -2
- package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
- package/dist/{chunk-2QIRDNBU.js → chunk-JDJ6BM5E.js} +2 -2
- package/dist/{chunk-AOSTTTSS.js → chunk-JGKI7FHX.js} +130 -42
- package/dist/{chunk-VSDYSL4J.js → chunk-JHPOKDZI.js} +13 -13
- package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
- package/dist/{chunk-6KVZKKQL.js → chunk-K2NOQNNY.js} +1 -1
- package/dist/{chunk-PH3MZM27.js → chunk-KDQRJHLU.js} +4 -4
- package/dist/{chunk-DQD5KQXM.js → chunk-KFWSPEDG.js} +1 -1
- package/dist/{chunk-5VERYJGC.js → chunk-KXCAIQE4.js} +5 -5
- package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
- package/dist/{chunk-6XUAMVHS.js → chunk-L7BY2FDJ.js} +16 -16
- package/dist/{chunk-HXUZGW3A.js → chunk-LAXD6VM7.js} +10 -10
- package/dist/{chunk-3FHYTUFQ.js → chunk-LBFV45YF.js} +1 -1
- package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
- package/dist/{chunk-2TEG3AY6.js → chunk-LIXAC5NE.js} +12 -12
- package/dist/{chunk-QZML6RDQ.js → chunk-LNOG6KKM.js} +7 -7
- package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
- package/dist/{chunk-EQSVVKKE.js → chunk-M4ABCFJO.js} +4 -4
- package/dist/{chunk-R3FNJABL.js → chunk-MEZAMIT6.js} +9 -9
- package/dist/{chunk-G6CEI6PO.js → chunk-MG7UJJCP.js} +25 -7
- package/dist/{chunk-7S6FWEJH.js → chunk-MH46RGG6.js} +1 -1
- package/dist/{chunk-AB4FVMV4.js → chunk-MKZ73C57.js} +1 -1
- package/dist/{chunk-6AKYBHGV.js → chunk-N6VNR4YE.js} +54 -17
- package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
- package/dist/{chunk-PW4U3IUR.js → chunk-NMASYQXY.js} +3 -3
- package/dist/{chunk-YZO2JM2G.js → chunk-NOCU3FBX.js} +5 -5
- package/dist/{chunk-4NNGVO2D.js → chunk-NSADX4IV.js} +28 -23
- package/dist/{chunk-U3OHPF2K.js → chunk-OB56G4VA.js} +3 -3
- package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
- package/dist/{chunk-UFCIA6WF.js → chunk-OI5WGQE3.js} +5 -5
- package/dist/{chunk-IJ4CZKOB.js → chunk-OMFIMZZD.js} +5 -5
- package/dist/chunk-PWRUMN7B.js +71 -0
- package/dist/{chunk-FDI4X3EC.js → chunk-PXMEW6TM.js} +3 -3
- package/dist/{chunk-FBMBSPEZ.js → chunk-QSQNXAHE.js} +1 -1
- package/dist/{chunk-MJWUDOBB.js → chunk-R5C2CV7J.js} +5 -5
- package/dist/chunk-RAHYMZNU.js +5146 -0
- package/dist/{chunk-IM7OBJ2Z.js → chunk-RD3DE4ZP.js} +2 -2
- package/dist/{chunk-AXZ2NMKP.js → chunk-RHZE7BIX.js} +3 -3
- package/dist/{chunk-EH46IYY2.js → chunk-ROODLZY7.js} +10 -10
- package/dist/{chunk-QBPQNKSP.js → chunk-RRGRETJ4.js} +2 -2
- package/dist/{chunk-3UL2TYIS.js → chunk-S73AVUHJ.js} +1 -1
- package/dist/{chunk-QZZZNXAK.js → chunk-SITGBEFO.js} +41 -34
- package/dist/{chunk-6N3S6L56.js → chunk-TIGMUHSL.js} +6 -6
- package/dist/{chunk-KJ5YLRMQ.js → chunk-TMB4L4GG.js} +5 -3
- package/dist/{chunk-4PEGA4QR.js → chunk-TQYHQKOK.js} +1 -1
- package/dist/{chunk-PUZN3BFQ.js → chunk-TU2WFCGS.js} +2 -2
- package/dist/{chunk-AE36GVZT.js → chunk-TUJB74AE.js} +3 -3
- package/dist/{chunk-IZ5GH7TX.js → chunk-TXTVVIW7.js} +3 -3
- package/dist/{chunk-6BLW2BST.js → chunk-TZ3EPV4B.js} +1 -1
- package/dist/{chunk-YWD5PVKA.js → chunk-U3WUAVAX.js} +3 -3
- package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
- package/dist/{chunk-4NCKEOKP.js → chunk-UCQTLZDJ.js} +2 -2
- package/dist/{chunk-BBAEXPIU.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-MWQQOFGN.js → chunk-W672RTMC.js} +4 -4
- package/dist/{chunk-Z67SXGRJ.js → chunk-WMJ3PV37.js} +1 -1
- package/dist/{chunk-VVSPUYPA.js → chunk-WWQWDRKU.js} +1 -1
- package/dist/{chunk-S7YTRWJD.js → chunk-WY6354ZO.js} +4 -4
- package/dist/{chunk-OCGUBNKH.js → chunk-X3JZA7KH.js} +9 -9
- package/dist/{chunk-UKFPGKEC.js → chunk-XEIVSW2F.js} +7 -7
- package/dist/{chunk-X2BESDNL.js → chunk-XKIXRSVB.js} +3 -3
- package/dist/{chunk-XIVI6GYV.js → chunk-XMKDDEX4.js} +7 -7
- package/dist/{chunk-C2O5XIFN.js → chunk-XNJEXXKC.js} +2 -2
- package/dist/{chunk-Z66KCWZC.js → chunk-XSARHJSW.js} +2 -2
- package/dist/{chunk-QVVQJKBZ.js → chunk-XTKNMYRR.js} +2 -2
- package/dist/{chunk-BA2MCRMP.js → chunk-Y4QE4LEB.js} +1 -1
- package/dist/{chunk-MEDWEFKT.js → chunk-Y57R6C5U.js} +3 -3
- package/dist/{chunk-F4CVSUA4.js → chunk-Y6A5LED6.js} +2 -2
- package/dist/{chunk-STH72R3G.js → chunk-YMSOS6CF.js} +1 -1
- package/dist/{chunk-U2X5CSJV.js → chunk-ZHIAAYY2.js} +4 -4
- package/dist/{chunk-JA2EGQEE.js → chunk-ZQPXWUCP.js} +3 -3
- package/dist/{chunk-ANX6FWHI.js → chunk-ZS2ROUIG.js} +1 -1
- package/dist/{chunk-ERYYOWWF.js → chunk-ZY55U6ER.js} +8 -8
- package/dist/{clean-ZR7HNI3V.js → clean-73IDEWIJ.js} +28 -27
- package/dist/cli.js +72 -71
- package/dist/{cloud-B24T67AA.js → cloud-P32MAEIJ.js} +4 -4
- package/dist/{cloud-5JYPYMDJ.js → cloud-SOZPWTDL.js} +14 -12
- package/dist/{cloudrun-7U6GFP2S.js → cloudrun-H5TW5T4R.js} +9 -8
- package/dist/{compare-NRXMK72Y.js → compare-BQSDHPZ3.js} +49 -48
- package/dist/{compiler-FQB6LVTK.js → compiler-WNVDGRBH.js} +9 -6
- package/dist/{component-TJX5NP44.js → component-WWICYJFN.js} +11 -10
- package/dist/{compositions-UPIST4QX.js → compositions-VEMHHQR6.js} +22 -19
- package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
- package/dist/{curve-P3KZZFD5.js → curve-5SCSMYX4.js} +18 -17
- package/dist/{cuts-PTZUTT45.js → cuts-POUL3RQ5.js} +19 -18
- package/dist/{delete-GHEUVYRE.js → delete-NVS5PXRM.js} +21 -17
- package/dist/{deploy-IBHOLWU3.js → deploy-SPJ5OWAI.js} +9 -16
- package/dist/{describeProject-VCX52S5P.js → describeProject-KJGRR7FM.js} +15 -14
- package/dist/{destroy-ISDB5HUK.js → destroy-CPLVCITS.js} +6 -6
- package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
- package/dist/{diff-4YBUQ4YN.js → diff-O2JUFV2N.js} +45 -43
- package/dist/{dist-3YCMP3OA.js → dist-DCRKIIL4.js} +18 -17
- package/dist/{dist-5BBLH53Z.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-MOKBELVX.js → doctor-L5GGDS2F.js} +18 -17
- package/dist/{dotEnv-JBK54RQJ.js → dotEnv-7P4XI4ID.js} +7 -6
- package/dist/{energy-W77GZ4AU.js → energy-43JTPLLL.js} +19 -18
- package/dist/{events-ZMVV7YHQ.js → events-33NDGOZM.js} +21 -20
- package/dist/{events-6AAHOZOP.js → events-K576EL47.js} +9 -8
- package/dist/{events-6MUF5QM3.js → events-XRO5CFTD.js} +4 -3
- package/dist/{execute-ZXIJROJ3.js → execute-EWZ3WK3L.js} +42 -41
- package/dist/{extract-XPYMBV3C.js → extract-NW375CQM.js} +20 -19
- package/dist/{face-DPGVFMNK.js → face-AVVUVV5L.js} +20 -19
- package/dist/{face-CFU3RPCE.js → face-IVXIPAO5.js} +17 -16
- package/dist/{feedback-QCILWFND.js → feedback-MS34KB74.js} +26 -24
- package/dist/{ffmpeg-53IYIQK6.js → ffmpeg-I376KCKD.js} +13 -12
- package/dist/{figma-MWLNH4FP.js → figma-M37MXYPR.js} +3 -3
- package/dist/fontLocalizeCli.js +19 -18
- package/dist/{frames-XMHFYD43.js → frames-6VGAHZBO.js} +21 -20
- package/dist/{generate-VC7GNQN7.js → generate-TM7AOJ27.js} +35 -33
- package/dist/{get-SBNYVI3T.js → get-2JAJO7AP.js} +21 -17
- package/dist/{gpuPolicy-5BUTYWST.js → gpuPolicy-DEH3KKNF.js} +13 -12
- package/dist/{grade-compare-BIGPVPVY.js → grade-compare-UN6MPWVF.js} +43 -42
- package/dist/{hands-6VOHNDTY.js → hands-ANSG7WHU.js} +22 -21
- package/dist/{heifImagePrep-HPGUKE5Y.js → heifImagePrep-YC3ZMWUC.js} +16 -15
- package/dist/{help-7FCGRM47.js → help-63QQYCMJ.js} +1 -1
- package/dist/{history-FJPXD3BK.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-6P6MXHTD.js → info-UNIWLP7I.js} +21 -20
- package/dist/{init-VL2J3BPK.js → init-3W3XSGXC.js} +37 -36
- package/dist/{ink-JXO2ECYZ.js → ink-OXJJIEQ7.js} +19 -18
- package/dist/{inspect-LDJ4MZZB.js → inspect-UOXP5ICV.js} +48 -47
- package/dist/{installer-CY5PMR3I.js → installer-OWZSFVV2.js} +10 -9
- package/dist/{keyframes-GZMGSHWN.js → keyframes-LNCXSQJ6.js} +23 -22
- package/dist/{lambda-EX6MIUFB.js → lambda-3ZIM5NW2.js} +22 -21
- package/dist/{launch-Z3ZYBEOZ.js → launch-HOSRCHWS.js} +14 -13
- package/dist/{layout-LJAXOS6D.js → layout-MRBHBZEA.js} +48 -47
- package/dist/{lint-IZ5LAKZ2.js → lint-U4PINYKO.js} +16 -15
- package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
- package/dist/{list-M5NCDKZK.js → list-AMH6UUTI.js} +27 -21
- package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
- package/dist/{localPage-RPRX4QWI.js → localPage-JJ56YNKB.js} +14 -13
- package/dist/{login-QTAVYFVF.js → login-U42SSWF4.js} +15 -13
- package/dist/{logout-ADLJGWD3.js → logout-DQVPSI4E.js} +11 -9
- package/dist/{look-WHPFOAD5.js → look-6VTGMGIF.js} +19 -18
- package/dist/{manager-R6S2BFJI.js → manager-GHP2QIUD.js} +14 -13
- package/dist/{manager-ISZYNIK2.js → manager-PXRZQDDT.js} +2 -2
- package/dist/{measure-22AU7TYR.js → measure-NC4LN7EZ.js} +12 -12
- package/dist/{media-TS5AB73F.js → media-VKM5WFRK.js} +17 -14
- package/dist/{media-treatment-437SK3IP.js → media-treatment-VNZS2MIT.js} +22 -21
- package/dist/{media-use-WIZLFHGZ.js → media-use-JOQWGBS5.js} +13 -11
- package/dist/{models-55KT2FOE.js → models-S55TNWF7.js} +19 -18
- package/dist/{motionShot-GR2XK7MG.js → motionShot-OUOXFKUG.js} +25 -24
- package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
- package/dist/{normalize-audio-7H5EXI7L.js → normalize-audio-GYTTK5QE.js} +16 -15
- package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
- package/dist/{open-EEUJNVW4.js → open-KGXPI4BY.js} +31 -25
- package/dist/{parakeetRunner-CNF4YXTV.js → parakeetRunner-IXUUFPGG.js} +21 -20
- package/dist/{pipeline-Q2RJZQ4E.js → pipeline-UE2Y2ZRB.js} +16 -15
- package/dist/{plan-6RCNL7RA.js → plan-AD4FZA6N.js} +29 -28
- package/dist/{play-USR5S4WS.js → play-G6JYDYIH.js} +45 -38
- package/dist/{preflight-N5T57D6Q.js → preflight-QNDXHMOT.js} +15 -14
- package/dist/{present-H36KTF2O.js → present-OK7QMCLR.js} +42 -37
- package/dist/{preview-CTXJ3D57.js → preview-XD7J2KHY.js} +65 -63
- package/dist/{privateProjectFile-V5OO6UFK.js → privateProjectFile-2WJ6GPY6.js} +14 -11
- package/dist/{probe-642YQRRC.js → probe-34RS6LVV.js} +19 -18
- package/dist/{producer-MYTLLTMI.js → producer-AX7EDIPJ.js} +1 -1
- package/dist/{progress-6MLINWFK.js → progress-WLBIHCZM.js} +4 -4
- package/dist/{projectConfig-PLXPNXPK.js → projectConfig-YBFY4W5A.js} +13 -12
- package/dist/{publication-2ZKN62ZD.js → publication-JPKV2ZQO.js} +8 -7
- package/dist/{publish-HU2M6QDD.js → publish-LRUVQX2E.js} +38 -33
- package/dist/{receivedRecordFollow-3ITTF3YV.js → receivedRecordFollow-6MPKPG36.js} +16 -15
- package/dist/{refresh-TS65XP6Q.js → refresh-HFE7YV57.js} +11 -9
- package/dist/{remove-background-U6BRLHPJ.js → remove-background-TS4QUALS.js} +17 -16
- package/dist/{render-SWLLJJUD.js → render-NYFK74KL.js} +13 -12
- package/dist/{render-4VGHRQHU.js → render-PSUJ4UCJ.js} +60 -59
- package/dist/{render-ZRUNNKX2.js → render-UQICTWO6.js} +55 -50
- package/dist/{render-batch-ADHAEQA7.js → render-batch-57ZDTS7Z.js} +13 -12
- package/dist/renderSetupWorker.js +5 -5
- package/dist/{resolver-QQYGQNPZ.js → resolver-3HJC4XU3.js} +10 -9
- package/dist/{reverse-XBPVILTU.js → reverse-CIMYQVFI.js} +1 -1
- package/dist/{run-VTUQ4O2Q.js → run-EFRNU53Z.js} +14 -12
- package/dist/{screenshotCapture-V7LXLF4P.js → screenshotCapture-K63UAXO7.js} +16 -15
- package/dist/{service-B5XDMOX2.js → service-EEEGLRHX.js} +22 -20
- package/dist/{share-HTU2KE7G.js → share-WQVRXWH4.js} +26 -24
- package/dist/{sherpa-2NXXLF6T.js → sherpa-BOHH3Q32.js} +20 -19
- package/dist/sherpaWorker.js +3 -3
- package/dist/{sites-ZK652FTA.js → sites-2IEQMGTW.js} +4 -4
- package/dist/skills/hyperframes/references/plugin-installation.md +5 -1
- package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -2
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +9 -4
- 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/received-env.mjs +98 -17
- package/dist/skills/media-use/scripts/resolve.mjs +26 -12
- package/dist/{skills-AWPGNGNO.js → skills-KB7UH26E.js} +12 -11
- package/dist/{skillsUpdateCheck-ZAZIJIA5.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
- package/dist/{snapshot-5H4FR6WF.js → snapshot-HRR6LIPD.js} +59 -58
- package/dist/{snapshotHeldVideos-AATHSYN4.js → snapshotHeldVideos-QGJBXBJM.js} +14 -13
- package/dist/{src-ZPDXVFIW.js → src-FCITTGFH.js} +12 -11
- package/dist/{src-ZNVC4RPI.js → src-QOVNNDZN.js} +18 -17
- package/dist/{start-B6XPI43A.js → start-I7H5I3AS.js} +33 -31
- package/dist/{state-G4YJMBU5.js → state-O6CCLWF6.js} +4 -4
- package/dist/{staticProjectServer-VFWEQZO4.js → staticProjectServer-XEZD7JZE.js} +29 -28
- package/dist/{status-5QNG3TNV.js → status-2GKACMVC.js} +23 -21
- package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
- package/dist/studio/assets/{index-tvLrzMBv.js → index-B8Xt_Oyw.js} +180 -180
- package/dist/studio/assets/{index-CAjz3b83.js → index-BH18TdX9.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-xC5IGkfB.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-SL7AIQYK.js → studio-api-KQ7DR667.js} +18 -17
- package/dist/{studioServer-S5MQI2JC.js → studioServer-KAU2XZ4F.js} +80 -78
- package/dist/subCompositionWorker.js +10 -9
- package/dist/{sync-KGQNR7TY.js → sync-3OJZRVPG.js} +19 -18
- package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
- package/dist/{telemetry-WJSJUVUT.js → telemetry-HIZZLE6W.js} +9 -8
- package/dist/{templates-5NF42ZOM.js → templates-35GCXKO2.js} +23 -21
- package/dist/{textOverFace-DAVKJPMO.js → textOverFace-Q4I3PREP.js} +3 -3
- package/dist/{timeline-GM7EILYN.js → timeline-U2V63I7B.js} +28 -27
- package/dist/{tokens-PR2VAUXH.js → tokens-24TKAZCA.js} +13 -10
- package/dist/{transcribe-E6EJYLUY.js → transcribe-M3JJZ27F.js} +17 -16
- package/dist/{transcribe-ZD3MEPS2.js → transcribe-YHGN4HEM.js} +40 -38
- package/dist/{tts-XE4BPI5G.js → tts-CDBXQSAQ.js} +8 -7
- package/dist/{update-QYZNK7US.js → update-4DIZ3YQQ.js} +17 -14
- package/dist/{updateCheck-AYR63UOT.js → updateCheck-F56HX6MZ.js} +2 -2
- package/dist/{upgrade-4EFXDQBF.js → upgrade-6WAFZ7WN.js} +5 -5
- package/dist/{urlDownloader-KAT2IPSU.js → urlDownloader-DNNB6UOI.js} +12 -11
- package/dist/{validate-GVX3ACWN.js → validate-N5KPU4GC.js} +35 -34
- package/dist/{video-N2WHXSIC.js → video-T6YYFBNI.js} +15 -14
- package/dist/{voices-46E3JGAU.js → voices-OI37IYYG.js} +33 -31
- package/dist/warmCheck.js +55 -54
- package/package.json +1 -1
- package/dist/chunk-SEUEBRRL.js +0 -5128
- package/dist/studio/assets/hyperframes-player-Dscc6yHD.js +0 -573
|
@@ -54,25 +54,29 @@ import {
|
|
|
54
54
|
replaceSelectorIdTokens,
|
|
55
55
|
scopeCssToComposition,
|
|
56
56
|
scopedModulePrelude,
|
|
57
|
+
selectorIdTokens,
|
|
57
58
|
shouldClampResolvedMediaDuration,
|
|
58
59
|
stripEmbeddedRuntimeScripts,
|
|
59
60
|
styleElementsFor,
|
|
60
61
|
warnUnknownEnumValues,
|
|
61
62
|
wrapInlineScriptWithErrorBoundary,
|
|
62
63
|
wrapScopedCompositionScript
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-RAHYMZNU.js";
|
|
65
|
+
import {
|
|
66
|
+
fnv1a32
|
|
67
|
+
} from "./chunk-PWRUMN7B.js";
|
|
64
68
|
import {
|
|
65
69
|
isSafePath,
|
|
66
70
|
resolveWithinProject,
|
|
67
71
|
terminalText
|
|
68
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-OGL5VQGT.js";
|
|
69
73
|
import {
|
|
70
74
|
linkedSources,
|
|
71
75
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-GXKCFOMR.js";
|
|
73
77
|
import {
|
|
74
78
|
readTextFile
|
|
75
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-UVW5ZDAP.js";
|
|
76
80
|
import {
|
|
77
81
|
blockCommentMatches,
|
|
78
82
|
checkSubCompositionUsability,
|
|
@@ -93,7 +97,7 @@ import {
|
|
|
93
97
|
rewriteSrcsetUrls,
|
|
94
98
|
splitUrlSuffix,
|
|
95
99
|
urlHashRefMatches
|
|
96
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-KZ5PV5TL.js";
|
|
97
101
|
import {
|
|
98
102
|
isSafeMediaUrl
|
|
99
103
|
} from "./chunk-4NDSGKPO.js";
|
|
@@ -558,8 +562,12 @@ var SVG_AUTHORED_ID_ATTR = "data-hf-authored-id";
|
|
|
558
562
|
function isHrefAttrName(name) {
|
|
559
563
|
return name === "href" || name.endsWith(":href");
|
|
560
564
|
}
|
|
565
|
+
var MAX_NAMESPACE_PREFIX = 48;
|
|
561
566
|
function sanitizeNamespaceSegment(value) {
|
|
562
|
-
|
|
567
|
+
const segment = value.replace(/[^a-zA-Z0-9_-]/g, "-");
|
|
568
|
+
if (segment.length <= MAX_NAMESPACE_PREFIX)
|
|
569
|
+
return segment;
|
|
570
|
+
return `${segment.slice(0, 32)}-${fnv1a32(value).toString(16).padStart(8, "0")}`;
|
|
563
571
|
}
|
|
564
572
|
function rewriteUrlHashRefs(value, idMap) {
|
|
565
573
|
if (!value || !value.toLowerCase().includes("url("))
|
|
@@ -720,8 +728,8 @@ function buildIdCensus(document) {
|
|
|
720
728
|
}
|
|
721
729
|
return { elementsById, usedIds };
|
|
722
730
|
}
|
|
723
|
-
function mintNamespacedId(
|
|
724
|
-
const base = `${
|
|
731
|
+
function mintNamespacedId(prefix, originalId, usedIds) {
|
|
732
|
+
const base = `${prefix}--${originalId}`;
|
|
725
733
|
let candidate = base;
|
|
726
734
|
for (let n = 2; usedIds.has(candidate); n += 1)
|
|
727
735
|
candidate = `${base}-${n}`;
|
|
@@ -736,11 +744,13 @@ function collisionScopes(id, elements, scopeIndexByRenamable) {
|
|
|
736
744
|
}
|
|
737
745
|
function planRenames(census, scopes, scopeIndexByRenamable) {
|
|
738
746
|
const idMaps = scopes.map(() => /* @__PURE__ */ new Map());
|
|
747
|
+
const prefixes = [];
|
|
739
748
|
for (const [id, elements] of census.elementsById) {
|
|
740
749
|
if (elements.length < 2)
|
|
741
750
|
continue;
|
|
742
751
|
for (const index of collisionScopes(id, elements, scopeIndexByRenamable)) {
|
|
743
|
-
|
|
752
|
+
prefixes[index] ??= sanitizeNamespaceSegment(scopes[index].namespace);
|
|
753
|
+
idMaps[index].set(id, mintNamespacedId(prefixes[index], id, census.usedIds));
|
|
744
754
|
}
|
|
745
755
|
}
|
|
746
756
|
return idMaps;
|
|
@@ -774,8 +784,36 @@ function localReferenceBindings(elements) {
|
|
|
774
784
|
}
|
|
775
785
|
return { ids, renamed };
|
|
776
786
|
}
|
|
777
|
-
|
|
787
|
+
var ScopedIdMap = class {
|
|
788
|
+
own;
|
|
789
|
+
shared;
|
|
790
|
+
hidden;
|
|
791
|
+
constructor(own, shared, hidden) {
|
|
792
|
+
this.own = own;
|
|
793
|
+
this.shared = shared;
|
|
794
|
+
this.hidden = hidden;
|
|
795
|
+
}
|
|
796
|
+
get(id) {
|
|
797
|
+
return this.own.get(id) ?? (this.hidden.has(id) ? void 0 : this.shared.get(id));
|
|
798
|
+
}
|
|
799
|
+
has(id) {
|
|
800
|
+
return this.get(id) !== void 0;
|
|
801
|
+
}
|
|
802
|
+
get size() {
|
|
803
|
+
let size = this.own.size + this.shared.size;
|
|
804
|
+
for (const id of this.own.keys())
|
|
805
|
+
if (this.shared.has(id))
|
|
806
|
+
size -= 1;
|
|
807
|
+
for (const id of this.hidden)
|
|
808
|
+
if (id !== null && !this.own.has(id) && this.shared.has(id))
|
|
809
|
+
size -= 1;
|
|
810
|
+
return size;
|
|
811
|
+
}
|
|
812
|
+
};
|
|
813
|
+
var attributeBytes = (el) => Array.from(el.attributes ?? [], (attr) => attr.name.length + attr.value.length + 4).reduce((sum, bytes) => sum + bytes, 0);
|
|
814
|
+
function applyRenames(resolved, idMap, charge) {
|
|
778
815
|
for (const el of resolved.elements) {
|
|
816
|
+
const before = charge ? attributeBytes(el) : 0;
|
|
779
817
|
const currentId = el.getAttribute(ID_ATTR);
|
|
780
818
|
if (currentId && resolved.renamable.has(el) && idMap.has(currentId)) {
|
|
781
819
|
if (!el.hasAttribute(SVG_AUTHORED_ID_ATTR))
|
|
@@ -793,13 +831,15 @@ function applyRenames(resolved, idMap) {
|
|
|
793
831
|
el.setAttribute(ID_ATTR, after);
|
|
794
832
|
}
|
|
795
833
|
rewriteElementIdReferences(el, idMap);
|
|
834
|
+
if (charge)
|
|
835
|
+
charge(attributeBytes(el) - before);
|
|
796
836
|
}
|
|
797
837
|
}
|
|
798
838
|
var CLIP_SELECTOR = "[data-start]:not([data-composition-id]):not([data-composition-src])";
|
|
799
839
|
function sceneClipRoots(document, hosts) {
|
|
800
840
|
return [...document.querySelectorAll(CLIP_SELECTOR)].filter((clip) => !clip.parentElement?.closest(CLIP_SELECTOR) && !!clip.parentElement?.closest("[data-composition-id]") && !isExcluded(clip, hosts) && !!clip.querySelector("svg"));
|
|
801
841
|
}
|
|
802
|
-
function namespaceCollidingSvgIds(document, scopes, finalizedIds) {
|
|
842
|
+
function namespaceCollidingSvgIds(document, scopes, finalizedIds, charge) {
|
|
803
843
|
if (scopes.length === 0)
|
|
804
844
|
return [];
|
|
805
845
|
const census = buildIdCensus(document);
|
|
@@ -821,11 +861,10 @@ function namespaceCollidingSvgIds(document, scopes, finalizedIds) {
|
|
|
821
861
|
const documentTargets = documentReferenceTargets(census, idMaps, scopeIndexByRenamable);
|
|
822
862
|
const referenceMaps = resolved.map((scope, index) => {
|
|
823
863
|
const local = localReferenceBindings(scopes[index].referenceTarget === "document" ? [] : scope.elements);
|
|
824
|
-
|
|
825
|
-
return new Map([...inherited, ...local.renamed, ...idMaps[index]]);
|
|
864
|
+
return new ScopedIdMap(new Map([...local.renamed, ...idMaps[index]]), documentTargets, local.ids);
|
|
826
865
|
});
|
|
827
866
|
referenceMaps.forEach((idMap, index) => {
|
|
828
|
-
applyRenames(resolved[index], idMap);
|
|
867
|
+
applyRenames(resolved[index], idMap, charge && ((bytes) => charge(index, bytes)));
|
|
829
868
|
});
|
|
830
869
|
for (const el of newlyEligible)
|
|
831
870
|
finalizedIds?.add(el);
|
|
@@ -844,12 +883,16 @@ function rewriteSvgIdReferencesInCss(css, idMap, references = []) {
|
|
|
844
883
|
}
|
|
845
884
|
let mutated = false;
|
|
846
885
|
const recordedIds = new Set(references.filter((alias) => alias.name === ID_ATTR).map((alias) => alias.before));
|
|
847
|
-
const
|
|
848
|
-
id
|
|
849
|
-
|
|
850
|
-
|
|
886
|
+
const idsNamedBy = (selector) => selectorIdTokens(selector).flatMap((id) => {
|
|
887
|
+
const renamed = recordedIds.has(id) ? void 0 : idMap.get(id);
|
|
888
|
+
if (!renamed)
|
|
889
|
+
return [];
|
|
890
|
+
return [
|
|
891
|
+
{ id, replacement: `:is(#${escapeCssIdentifier(id)}, #${escapeCssIdentifier(renamed)})` }
|
|
892
|
+
];
|
|
893
|
+
});
|
|
851
894
|
root.walkRules((rule) => {
|
|
852
|
-
const rewritten = rule.selectors.map((selector) => rewriteSvgSelectors(selector,
|
|
895
|
+
const rewritten = rule.selectors.map((selector) => rewriteSvgSelectors(selector, idsNamedBy(selector), references));
|
|
853
896
|
if (rewritten.some((selector, index) => selector !== rule.selectors[index])) {
|
|
854
897
|
rule.selectors = rewritten;
|
|
855
898
|
mutated = true;
|
|
@@ -987,7 +1030,7 @@ function defaultBuildScopeSelector(compId) {
|
|
|
987
1030
|
return `[data-composition-id="${escaped}"]`;
|
|
988
1031
|
}
|
|
989
1032
|
function inlineSubCompositions(document, hosts, options) {
|
|
990
|
-
const { resolveHtml, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false, readProjectScript, chargeEmitted } = options;
|
|
1033
|
+
const { resolveHtml, resolveFilePath, parseHtml, hostIdentityMap, rewriteInlineStyles = false, flattenInnerRoot, compoundAuthoredRoot, readVariableDefaults, parseHostVariables, buildScopeSelector = defaultBuildScopeSelector, scriptErrorLabel = "[HyperFrames] composition script error:", onMissingComposition, assetExists, tagScenes = false, readProjectScript, chargeEmitted } = options;
|
|
991
1034
|
const rootStyles = [...document.querySelectorAll("style")];
|
|
992
1035
|
const styles = [];
|
|
993
1036
|
const styleScenes = [];
|
|
@@ -1101,12 +1144,14 @@ function inlineSubCompositions(document, hosts, options) {
|
|
|
1101
1144
|
warnUnknownEnumValues(compDoc.documentElement, mergedVariables, variablesCompId);
|
|
1102
1145
|
warnUnknownEnumValues(innerRoot, mergedVariables, variablesCompId);
|
|
1103
1146
|
}
|
|
1104
|
-
const
|
|
1147
|
+
const filePath = resolveFilePath?.(src) ?? src;
|
|
1148
|
+
const chargeRebase = chargeEmitted && ((bytes) => chargeEmitted(src, bytes));
|
|
1149
|
+
const resolveSubAssetPath = (raw) => rewriteAssetPath(filePath, (raw || "").trim(), assetExists, chargeRebase);
|
|
1105
1150
|
const scopeSubStyle = (raw) => {
|
|
1106
1151
|
const sheetKey = JSON.stringify([src, raw]);
|
|
1107
1152
|
let css = sheetsWithAssetUrls.get(sheetKey);
|
|
1108
1153
|
if (css === void 0) {
|
|
1109
|
-
css = rewriteCssAssetUrls(raw,
|
|
1154
|
+
css = rewriteCssAssetUrls(raw, filePath, assetExists, chargeRebase);
|
|
1110
1155
|
sheetsWithAssetUrls.set(sheetKey, css);
|
|
1111
1156
|
}
|
|
1112
1157
|
if (!scopeCompId) {
|
|
@@ -1184,14 +1229,14 @@ ${AUTHORED_SOURCE_END}`;
|
|
|
1184
1229
|
scriptEl.remove();
|
|
1185
1230
|
}
|
|
1186
1231
|
const assetEls = innerRoot ? innerRoot.querySelectorAll("[src], [href], [srcset]") : contentDoc.querySelectorAll("[src], [href], [srcset]");
|
|
1187
|
-
rewriteAssetPaths(assetEls,
|
|
1232
|
+
rewriteAssetPaths(assetEls, filePath, (el, attr) => el.getAttribute(attr), (el, attr, val) => {
|
|
1188
1233
|
el.setAttribute(attr, val);
|
|
1189
|
-
}, assetExists);
|
|
1234
|
+
}, assetExists, chargeRebase);
|
|
1190
1235
|
if (rewriteInlineStyles) {
|
|
1191
1236
|
const styledEls = innerRoot ? innerRoot.querySelectorAll("[style]") : contentDoc.querySelectorAll("[style]");
|
|
1192
|
-
rewriteInlineStyleAssetUrls(styledEls,
|
|
1237
|
+
rewriteInlineStyleAssetUrls(styledEls, filePath, (el) => el.getAttribute("style"), (el, val) => {
|
|
1193
1238
|
el.setAttribute("style", val);
|
|
1194
|
-
}, assetExists);
|
|
1239
|
+
}, assetExists, chargeRebase);
|
|
1195
1240
|
}
|
|
1196
1241
|
if (innerRoot?.hasAttribute("data-timeline-locked")) {
|
|
1197
1242
|
hostEl.setAttribute("data-timeline-locked", "");
|
|
@@ -1243,6 +1288,7 @@ ${AUTHORED_SOURCE_END}`;
|
|
|
1243
1288
|
queue.push({ element: nestedHost.host, ancestry: nestedAncestry, scene });
|
|
1244
1289
|
}
|
|
1245
1290
|
svgIdScopes.push({
|
|
1291
|
+
src,
|
|
1246
1292
|
root: hostEl,
|
|
1247
1293
|
namespace: runtimeCompId || scopeCompId,
|
|
1248
1294
|
exclude: nested.hosts.map((nestedHost) => nestedHost.host),
|
|
@@ -1271,17 +1317,26 @@ ${AUTHORED_SOURCE_END}`;
|
|
|
1271
1317
|
namespace: `clip-${index}`,
|
|
1272
1318
|
exclude: hostRoots.filter((host) => root.contains(host))
|
|
1273
1319
|
}))
|
|
1274
|
-
]);
|
|
1320
|
+
], void 0, chargeEmitted && ((index, bytes) => chargeEmitted(svgIdScopes[index]?.src ?? "the page", bytes)));
|
|
1321
|
+
const chargeGrowth = (src, before, after) => {
|
|
1322
|
+
if (after.length > before.length)
|
|
1323
|
+
chargeEmitted?.(src, after.length - before.length);
|
|
1324
|
+
};
|
|
1275
1325
|
svgIdMaps.slice(0, svgIdScopes.length).forEach((idMap, index) => {
|
|
1276
1326
|
const { styleStart, styleEnd } = svgIdScopes[index];
|
|
1277
1327
|
const references = readSvgReferenceAliases(svgIdScopes[index].root, SVG_REFERENCE_ALIASES_ATTR);
|
|
1278
1328
|
for (let i = styleStart; i < styleEnd; i += 1) {
|
|
1279
|
-
|
|
1329
|
+
const rewritten = rewriteSvgIdReferencesInCss(styles[i].css, idMap, references);
|
|
1330
|
+
chargeGrowth(svgIdScopes[index].src, styles[i].css, rewritten);
|
|
1331
|
+
styles[i].css = rewritten;
|
|
1280
1332
|
}
|
|
1281
1333
|
});
|
|
1282
1334
|
const rootReferences = readSvgReferenceAliases(document.documentElement, SVG_REFERENCE_ALIASES_ATTR);
|
|
1283
1335
|
for (const style of rootStyles) {
|
|
1284
|
-
|
|
1336
|
+
const css = style.textContent ?? "";
|
|
1337
|
+
const rewritten = rewriteSvgIdReferencesInCss(css, svgIdMaps[svgIdScopes.length], rootReferences);
|
|
1338
|
+
chargeGrowth("the page", css, rewritten);
|
|
1339
|
+
style.textContent = rewritten;
|
|
1285
1340
|
}
|
|
1286
1341
|
return {
|
|
1287
1342
|
styles,
|
|
@@ -2644,13 +2699,14 @@ function compositionVariablesCssBlock(variables, selector) {
|
|
|
2644
2699
|
${lines.join("\n")}
|
|
2645
2700
|
}`;
|
|
2646
2701
|
}
|
|
2647
|
-
function emitRootCompositionVariableStyles(document, variablesByComp = {}, overrides = {}) {
|
|
2702
|
+
function emitRootCompositionVariableStyles(document, variablesByComp = {}, overrides = {}, options = {}) {
|
|
2703
|
+
const charge = options.chargeBytes ?? defaultVariableStyleCharge();
|
|
2648
2704
|
const authoredDefines = authoredDefinesPredicate(document);
|
|
2649
2705
|
const layerFor = makeVariableLayer(authoredDefines, overrides);
|
|
2650
2706
|
const rules = [
|
|
2651
|
-
...hostScopedVariableRules(variablesByComp, overrides, authoredDefines),
|
|
2652
|
-
...rootDeclaredVariableRules(document, layerFor),
|
|
2653
|
-
...declarerVariableRules(document, layerFor)
|
|
2707
|
+
...hostScopedVariableRules(variablesByComp, overrides, authoredDefines, charge),
|
|
2708
|
+
...rootDeclaredVariableRules(document, layerFor, charge),
|
|
2709
|
+
...declarerVariableRules(document, layerFor, charge)
|
|
2654
2710
|
];
|
|
2655
2711
|
if (rules.length === 0)
|
|
2656
2712
|
return false;
|
|
@@ -2660,6 +2716,23 @@ function emitRootCompositionVariableStyles(document, variablesByComp = {}, overr
|
|
|
2660
2716
|
document.head.appendChild(style);
|
|
2661
2717
|
return true;
|
|
2662
2718
|
}
|
|
2719
|
+
var MAX_COMPOSITION_VARIABLE_STYLE_BYTES = 32 * 1024 * 1024;
|
|
2720
|
+
var CompositionVariableStylesTooLargeError = class extends Error {
|
|
2721
|
+
code = "COMPOSITION_TOO_LARGE";
|
|
2722
|
+
constructor(bytes) {
|
|
2723
|
+
super(`Composition variable styles add up to ${(bytes / (1024 * 1024)).toFixed(1)} MB, over the ${MAX_COMPOSITION_VARIABLE_STYLE_BYTES / (1024 * 1024)} MB limit. Shorten the variable values or declare them on fewer elements.`);
|
|
2724
|
+
this.name = "CompositionVariableStylesTooLargeError";
|
|
2725
|
+
}
|
|
2726
|
+
};
|
|
2727
|
+
function defaultVariableStyleCharge() {
|
|
2728
|
+
let total = 0;
|
|
2729
|
+
return (bytes) => {
|
|
2730
|
+
total += bytes;
|
|
2731
|
+
if (total > MAX_COMPOSITION_VARIABLE_STYLE_BYTES) {
|
|
2732
|
+
throw new CompositionVariableStylesTooLargeError(total);
|
|
2733
|
+
}
|
|
2734
|
+
};
|
|
2735
|
+
}
|
|
2663
2736
|
function authoredDefinesPredicate(document) {
|
|
2664
2737
|
const authoredCss = [...document.querySelectorAll("style:not([data-hf-composition-variables])")].map((s) => s.textContent || "").join("\n");
|
|
2665
2738
|
const defined = namesBeforeAColon(authoredCss);
|
|
@@ -2697,7 +2770,7 @@ function makeVariableLayer(authoredDefines, overrides) {
|
|
|
2697
2770
|
return out;
|
|
2698
2771
|
};
|
|
2699
2772
|
}
|
|
2700
|
-
function hostScopedVariableRules(variablesByComp, overrides, authoredDefines) {
|
|
2773
|
+
function hostScopedVariableRules(variablesByComp, overrides, authoredDefines, charge) {
|
|
2701
2774
|
const rules = [];
|
|
2702
2775
|
for (const [compId, vars] of Object.entries(variablesByComp)) {
|
|
2703
2776
|
const withOverrides = {};
|
|
@@ -2710,31 +2783,45 @@ function hostScopedVariableRules(variablesByComp, overrides, authoredDefines) {
|
|
|
2710
2783
|
withOverrides[id] = value;
|
|
2711
2784
|
}
|
|
2712
2785
|
const rule = compositionVariablesCssBlock(withOverrides, cssAttributeSelector("data-composition-id", compId));
|
|
2713
|
-
if (rule)
|
|
2714
|
-
|
|
2786
|
+
if (!rule)
|
|
2787
|
+
continue;
|
|
2788
|
+
charge(rule.length);
|
|
2789
|
+
rules.push(rule);
|
|
2715
2790
|
}
|
|
2716
2791
|
return rules;
|
|
2717
2792
|
}
|
|
2718
|
-
function rootDeclaredVariableRules(document, layerFor) {
|
|
2793
|
+
function rootDeclaredVariableRules(document, layerFor, charge) {
|
|
2719
2794
|
const htmlDeclared = readDeclaredDefaults(document.documentElement);
|
|
2720
2795
|
const htmlRule = compositionVariablesCssBlock(layerFor(htmlDeclared, {}), ":root");
|
|
2721
|
-
|
|
2796
|
+
if (!htmlRule)
|
|
2797
|
+
return [];
|
|
2798
|
+
charge(htmlRule.length);
|
|
2799
|
+
return [htmlRule];
|
|
2722
2800
|
}
|
|
2723
|
-
function declarerVariableRules(document, layerFor) {
|
|
2801
|
+
function declarerVariableRules(document, layerFor, charge) {
|
|
2724
2802
|
const rules = [];
|
|
2803
|
+
const hostValuesByEl = /* @__PURE__ */ new Map();
|
|
2725
2804
|
let markerSeq = 0;
|
|
2726
2805
|
for (const el of [...document.querySelectorAll("[data-composition-variables]")]) {
|
|
2727
2806
|
const declared = readDeclaredDefaults(el);
|
|
2728
2807
|
const hostEl = typeof el.closest === "function" ? el.parentElement?.closest("[data-variable-values]") : null;
|
|
2729
|
-
|
|
2808
|
+
let hostValues = {};
|
|
2809
|
+
if (hostEl) {
|
|
2810
|
+
const cached = hostValuesByEl.get(hostEl);
|
|
2811
|
+
hostValues = cached ?? parseHostVariableValues(hostEl);
|
|
2812
|
+
if (!cached)
|
|
2813
|
+
hostValuesByEl.set(hostEl, hostValues);
|
|
2814
|
+
}
|
|
2730
2815
|
const vars = layerFor(declared, hostValues);
|
|
2731
2816
|
if (Object.keys(vars).length === 0)
|
|
2732
2817
|
continue;
|
|
2733
2818
|
markerSeq += 1;
|
|
2734
2819
|
el.setAttribute("data-hf-var-scope", String(markerSeq));
|
|
2735
2820
|
const rule = compositionVariablesCssBlock(vars, `[data-hf-var-scope="${markerSeq}"]`);
|
|
2736
|
-
if (rule)
|
|
2737
|
-
|
|
2821
|
+
if (!rule)
|
|
2822
|
+
continue;
|
|
2823
|
+
charge(rule.length);
|
|
2824
|
+
rules.push(rule);
|
|
2738
2825
|
}
|
|
2739
2826
|
return rules;
|
|
2740
2827
|
}
|
|
@@ -2900,6 +2987,7 @@ export {
|
|
|
2900
2987
|
parsesAsScript,
|
|
2901
2988
|
bundleToSingleHtml,
|
|
2902
2989
|
emitRootCompositionVariableStyles,
|
|
2990
|
+
MAX_COMPOSITION_VARIABLE_STYLE_BYTES,
|
|
2903
2991
|
extractCompiledHtmlParityContract,
|
|
2904
2992
|
addScenePartsManifest
|
|
2905
2993
|
};
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
evaluateMotion,
|
|
14
14
|
loadBrowserScript,
|
|
15
15
|
parseLayoutIssue
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-L7BY2FDJ.js";
|
|
17
17
|
import {
|
|
18
18
|
serveStaticProjectHtml
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AWOHPIKF.js";
|
|
20
20
|
import {
|
|
21
21
|
AUDIT_SEEK_OPTIONS,
|
|
22
22
|
installPageFunctionGuard,
|
|
@@ -24,20 +24,20 @@ import {
|
|
|
24
24
|
seekCompositionTimeline,
|
|
25
25
|
waitForCompositionFonts,
|
|
26
26
|
waitForRuntimeReady
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7EOREMZI.js";
|
|
28
28
|
import {
|
|
29
29
|
gotoWhenSent
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ULE2EYEY.js";
|
|
31
31
|
import {
|
|
32
32
|
pageNavigationTimeoutMs
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KDQRJHLU.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveProject
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3WE4UZHN.js";
|
|
37
37
|
import {
|
|
38
38
|
launchManagedBrowser,
|
|
39
39
|
resolveManagedGpuMode
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TUJB74AE.js";
|
|
41
41
|
import {
|
|
42
42
|
readJsonFileText
|
|
43
43
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
terminalLines,
|
|
52
52
|
terminalText
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OGL5VQGT.js";
|
|
54
54
|
import {
|
|
55
55
|
printDeprecationNotice,
|
|
56
56
|
withMeta
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-3BKNPN36.js";
|
|
58
58
|
import {
|
|
59
59
|
failureMessage,
|
|
60
60
|
jsonFailure
|
|
@@ -527,7 +527,7 @@ async function collectTweenBoundaries(page) {
|
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
529
|
async function bundleProjectHtml(projectDir) {
|
|
530
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
530
|
+
const { bundleToSingleHtml } = await import("./compiler-WNVDGRBH.js");
|
|
531
531
|
return bundleToSingleHtml(projectDir);
|
|
532
532
|
}
|
|
533
533
|
async function alignViewportToComposition(page, url) {
|
|
@@ -544,15 +544,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
544
544
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
545
545
|
}
|
|
546
546
|
async function runLayoutAudit(projectDir, opts) {
|
|
547
|
-
const { ensureBrowser } = await import("./manager-
|
|
547
|
+
const { ensureBrowser } = await import("./manager-PXRZQDDT.js");
|
|
548
548
|
const puppeteer = await import("puppeteer-core");
|
|
549
|
-
const { buildChromeArgs } = await import("./src-
|
|
549
|
+
const { buildChromeArgs } = await import("./src-FCITTGFH.js");
|
|
550
550
|
const {
|
|
551
551
|
assertWebGpuAdapterAvailable,
|
|
552
552
|
compositionRequiresWebGpu,
|
|
553
553
|
resolveLocalBrowserGpuMode,
|
|
554
554
|
resolveLocalWebGpu
|
|
555
|
-
} = await import("./gpuPolicy-
|
|
555
|
+
} = await import("./gpuPolicy-DEH3KKNF.js");
|
|
556
556
|
const html = await bundleProjectHtml(projectDir);
|
|
557
557
|
const server = await serveStaticProjectHtml(
|
|
558
558
|
projectDir,
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AI4MXYGK.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-64O3DG3E.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZY55U6ER.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XSARHJSW.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-U7M4SZUB.js";
|
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
} from "./chunk-NK2UW3WR.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EPBYIJPM.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-MKZ73C57.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
23
23
|
import {
|
|
24
24
|
parseWhisperJson
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IXSCGQS5.js";
|
|
26
26
|
import {
|
|
27
27
|
findWavChunk
|
|
28
28
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
findFFmpeg,
|
|
37
37
|
findFFprobe,
|
|
38
38
|
getFFmpegInstallHint
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2UIAN6N7.js";
|
|
40
40
|
import {
|
|
41
41
|
decodableAudioStream
|
|
42
42
|
} from "./chunk-D54ZDCZR.js";
|
|
43
43
|
import {
|
|
44
44
|
replaceFileAtomically
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-NIEOUHVQ.js";
|
|
46
46
|
|
|
47
47
|
// src/whisper/transcribe.ts
|
|
48
48
|
import { execFile, execFileSync } from "child_process";
|
|
@@ -527,7 +527,7 @@ var isAbsoluteOrSpecial = isNonRelativeUrl;
|
|
|
527
527
|
function needsRewrite(val) {
|
|
528
528
|
return val.startsWith("../") || val === "..";
|
|
529
529
|
}
|
|
530
|
-
function rewriteAssetPath(compSrcPath, relativePath, assetExists) {
|
|
530
|
+
function rewriteAssetPath(compSrcPath, relativePath, assetExists, charge) {
|
|
531
531
|
if (isAbsoluteOrSpecial(relativePath)) return relativePath;
|
|
532
532
|
const compDir = dirname(compSrcPath);
|
|
533
533
|
if (!compDir || compDir === ".") return relativePath;
|
|
@@ -537,13 +537,15 @@ function rewriteAssetPath(compSrcPath, relativePath, assetExists) {
|
|
|
537
537
|
const filePath = decodeWellFormedEscapes(slashed);
|
|
538
538
|
const sibling = resolve2("/", join(compDir, filePath)).slice(1);
|
|
539
539
|
if (!needsRewrite(filePath) && (!assetExists || !assetExists(sibling))) return relativePath;
|
|
540
|
-
|
|
540
|
+
const rebased = encodeUrlPath(sibling) + suffix;
|
|
541
|
+
charge?.(rebased.length - relativePath.length);
|
|
542
|
+
return rebased;
|
|
541
543
|
}
|
|
542
|
-
function rewriteAssetPaths(elements, compSrcPath, getAttr, setAttr, assetExists) {
|
|
544
|
+
function rewriteAssetPaths(elements, compSrcPath, getAttr, setAttr, assetExists, charge) {
|
|
543
545
|
for (const el of elements) {
|
|
544
546
|
for (const attr of PATH_ATTRS) {
|
|
545
547
|
const val = (getAttr(el, attr) || "").trim();
|
|
546
|
-
const rewritten2 = rewriteAssetPath(compSrcPath, val, assetExists);
|
|
548
|
+
const rewritten2 = rewriteAssetPath(compSrcPath, val, assetExists, charge);
|
|
547
549
|
if (rewritten2 !== val) {
|
|
548
550
|
setAttr(el, attr, rewritten2);
|
|
549
551
|
}
|
|
@@ -552,28 +554,28 @@ function rewriteAssetPaths(elements, compSrcPath, getAttr, setAttr, assetExists)
|
|
|
552
554
|
if (!srcset) continue;
|
|
553
555
|
const rewritten = rewriteSrcsetUrls(
|
|
554
556
|
srcset,
|
|
555
|
-
(url) => rewriteAssetPath(compSrcPath, url, assetExists)
|
|
557
|
+
(url) => rewriteAssetPath(compSrcPath, url, assetExists, charge)
|
|
556
558
|
);
|
|
557
559
|
if (rewritten !== srcset) setAttr(el, "srcset", rewritten);
|
|
558
560
|
}
|
|
559
561
|
}
|
|
560
|
-
function rewriteInlineStyleAssetUrls(elements, compSrcPath, getStyle, setStyle, assetExists) {
|
|
562
|
+
function rewriteInlineStyleAssetUrls(elements, compSrcPath, getStyle, setStyle, assetExists, charge) {
|
|
561
563
|
const compDir = dirname(compSrcPath);
|
|
562
564
|
if (!compDir || compDir === ".") return;
|
|
563
565
|
for (const el of elements) {
|
|
564
566
|
const style = getStyle(el);
|
|
565
567
|
if (!style) continue;
|
|
566
|
-
const rewritten = rewriteCssAssetUrls(style, compSrcPath, assetExists);
|
|
568
|
+
const rewritten = rewriteCssAssetUrls(style, compSrcPath, assetExists, charge);
|
|
567
569
|
if (rewritten !== style) {
|
|
568
570
|
setStyle(el, rewritten);
|
|
569
571
|
}
|
|
570
572
|
}
|
|
571
573
|
}
|
|
572
|
-
function rewriteCssAssetUrls(cssText, compSrcPath, assetExists) {
|
|
574
|
+
function rewriteCssAssetUrls(cssText, compSrcPath, assetExists, charge) {
|
|
573
575
|
if (!cssText) return cssText;
|
|
574
576
|
return replaceMatches(cssText, cssUrlMatches(cssText), (full, quote, rawUrl) => {
|
|
575
577
|
const urlValue = (rawUrl || "").trim();
|
|
576
|
-
const rewritten = rewriteAssetPath(compSrcPath, urlValue, assetExists);
|
|
578
|
+
const rewritten = rewriteAssetPath(compSrcPath, urlValue, assetExists, charge);
|
|
577
579
|
if (rewritten === urlValue) return full;
|
|
578
580
|
return `url(${quote || ""}${rewritten}${quote || ""})`;
|
|
579
581
|
});
|