hyperframes 0.9.59 → 0.9.61

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.
Files changed (332) hide show
  1. package/dist/{add-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
  2. package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
  3. package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
  4. package/dist/api.d.ts +8 -1
  5. package/dist/api.js +58 -58
  6. package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
  7. package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
  8. package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
  9. package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
  10. package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
  11. package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
  12. package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
  13. package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
  14. package/dist/backgroundChecksWorker.js +5 -5
  15. package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
  16. package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
  17. package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
  18. package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
  19. package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
  20. package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
  21. package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
  22. package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
  23. package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
  24. package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
  25. package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
  26. package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
  27. package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
  28. package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
  29. package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
  30. package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
  31. package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
  32. package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
  33. package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
  34. package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
  35. package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
  36. package/dist/chunk-3HJX4F2S.js +39 -0
  37. package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
  38. package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
  39. package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
  40. package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
  41. package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
  42. package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
  43. package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
  44. package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
  45. package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
  46. package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
  47. package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
  48. package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
  49. package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
  50. package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
  51. package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
  52. package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
  53. package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
  54. package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
  55. package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
  56. package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
  57. package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
  58. package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
  59. package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
  60. package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
  61. package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
  62. package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
  63. package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
  64. package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
  65. package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
  66. package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
  67. package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
  68. package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
  69. package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
  70. package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
  71. package/dist/chunk-BNH2IKGV.js +5101 -0
  72. package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
  73. package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
  74. package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
  75. package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
  76. package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
  77. package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
  78. package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
  79. package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
  80. package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
  81. package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
  82. package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
  83. package/dist/chunk-D37I36FY.js +21 -0
  84. package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
  85. package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
  86. package/dist/chunk-EDH2DMXM.js +113 -0
  87. package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
  88. package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
  89. package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
  90. package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
  91. package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
  92. package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
  93. package/dist/chunk-GADMF4BL.js +170 -0
  94. package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
  95. package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
  96. package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
  97. package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
  98. package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
  99. package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
  100. package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
  101. package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
  102. package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
  103. package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
  104. package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
  105. package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
  106. package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
  107. package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
  108. package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
  109. package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
  110. package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
  111. package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
  112. package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
  113. package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
  114. package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
  115. package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
  116. package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
  117. package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
  118. package/dist/chunk-MERWX4DZ.js +159 -0
  119. package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
  120. package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
  121. package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
  122. package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
  123. package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
  124. package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
  125. package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
  126. package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
  127. package/dist/chunk-NY6E4272.js +112 -0
  128. package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
  129. package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
  130. package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
  131. package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
  132. package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
  133. package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
  134. package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
  135. package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
  136. package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
  137. package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
  138. package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
  139. package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
  140. package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
  141. package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
  142. package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
  143. package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
  144. package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
  145. package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
  146. package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
  147. package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
  148. package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
  149. package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
  150. package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
  151. package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
  152. package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
  153. package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
  154. package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
  155. package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
  156. package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
  157. package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
  158. package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
  159. package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
  160. package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
  161. package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
  162. package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
  163. package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
  164. package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
  165. package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
  166. package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
  167. package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
  168. package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
  169. package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
  170. package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
  171. package/dist/{chunk-LSGJY2FG.js → chunk-YLC67YFR.js} +1 -1
  172. package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
  173. package/dist/chunk-Z3BPDCRV.js +537 -0
  174. package/dist/{chunk-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
  175. package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
  176. package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
  177. package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
  178. package/dist/cli.js +74 -75
  179. package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
  180. package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
  181. package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
  182. package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
  183. package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
  184. package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
  185. package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
  186. package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
  187. package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
  188. package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
  189. package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
  190. package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
  191. package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
  192. package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
  193. package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
  194. package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
  195. package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
  196. package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
  197. package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
  198. package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
  199. package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
  200. package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
  201. package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
  202. package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
  203. package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
  204. package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
  205. package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
  206. package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
  207. package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
  208. package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
  209. package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
  210. package/dist/fontLocalizeCli.js +26 -27
  211. package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
  212. package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
  213. package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
  214. package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
  215. package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
  216. package/dist/hangReport.js +2 -2
  217. package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
  218. package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
  219. package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
  220. package/dist/hyperframe.manifest.json +1 -1
  221. package/dist/hyperframe.runtime.iife.js +64 -64
  222. package/dist/hyperframes-player.global.js +1 -1
  223. package/dist/{info-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
  224. package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
  225. package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
  226. package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
  227. package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
  228. package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
  229. package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
  230. package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
  231. package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
  232. package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
  233. package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
  234. package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
  235. package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
  236. package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
  237. package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
  238. package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
  239. package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
  240. package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
  241. package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
  242. package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
  243. package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
  244. package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
  245. package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
  246. package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
  247. package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
  248. package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
  249. package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
  250. package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
  251. package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
  252. package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
  253. package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
  254. package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
  255. package/dist/privateProjectFile-6NPNZXK3.js +65 -0
  256. package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
  257. package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
  258. package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
  259. package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
  260. package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
  261. package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
  262. package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
  263. package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
  264. package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
  265. package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
  266. package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
  267. package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
  268. package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
  269. package/dist/renderSetupWorker.js +9 -9
  270. package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
  271. package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
  272. package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
  273. package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
  274. package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
  275. package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
  276. package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
  277. package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
  278. package/dist/sherpaWorker.js +6 -7
  279. package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
  280. package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
  281. package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
  282. package/dist/skills/media-use/audio/references/tts.md +6 -6
  283. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
  284. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
  285. package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
  286. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  287. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
  288. package/dist/skills/media-use/scripts/resolve.mjs +21 -15
  289. package/dist/{skills-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
  290. package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
  291. package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
  292. package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
  293. package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
  294. package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
  295. package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
  296. package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
  297. package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
  298. package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
  299. package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
  300. package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
  301. package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
  302. package/dist/studio/index.html +1 -1
  303. package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
  304. package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
  305. package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
  306. package/dist/subCompositionWorker.js +60 -54
  307. package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
  308. package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
  309. package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
  310. package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
  311. package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
  312. package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
  313. package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
  314. package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
  315. package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
  316. package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
  317. package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
  318. package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
  319. package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
  320. package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
  321. package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
  322. package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
  323. package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
  324. package/dist/warmCheck.js +62 -63
  325. package/dist/warmCheckClient.js +2 -2
  326. package/package.json +1 -1
  327. package/dist/chunk-6VY6WTY5.js +0 -279
  328. package/dist/chunk-NI7JVGOE.js +0 -5083
  329. package/dist/chunk-NLN5NY3P.js +0 -34
  330. package/dist/chunk-UVZIABYZ.js +0 -40
  331. package/dist/chunk-VC76R6W2.js +0 -27
  332. /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
@@ -25,7 +25,7 @@ import {
25
25
  mergeSampleTimes,
26
26
  parseAt,
27
27
  readMotionSpec
28
- } from "./chunk-HXFGAI6L.js";
28
+ } from "./chunk-GNRC4L6F.js";
29
29
  import {
30
30
  CheckBudgetError,
31
31
  CheckCopiesUnfinishedError,
@@ -44,12 +44,12 @@ import {
44
44
  idleWindow,
45
45
  preResolveHostileMediaProxies,
46
46
  rectToBbox
47
- } from "./chunk-XXJBWKDS.js";
47
+ } from "./chunk-VRUVJTFW.js";
48
48
  import {
49
49
  collectProjectMedia,
50
50
  isRemoteMediaSrc,
51
51
  mediaPath
52
- } from "./chunk-4STRMCGD.js";
52
+ } from "./chunk-IIXSSRUR.js";
53
53
  import {
54
54
  findingAtRoot,
55
55
  findingElementKey,
@@ -58,41 +58,41 @@ import {
58
58
  } from "./chunk-TQBQYO4L.js";
59
59
  import {
60
60
  trackLintRun
61
- } from "./chunk-4QSDXDLV.js";
61
+ } from "./chunk-ILKK6F5E.js";
62
62
  import {
63
63
  captureArtifactRevision
64
- } from "./chunk-HY7FPTBD.js";
64
+ } from "./chunk-32H642MS.js";
65
65
  import {
66
66
  readToolContext,
67
67
  reportArtifacts,
68
68
  withProjectLock
69
- } from "./chunk-ODLSLYJR.js";
69
+ } from "./chunk-MTCVUAUK.js";
70
70
  import {
71
71
  CACHE_DIR_NAME
72
- } from "./chunk-LTOUXR3X.js";
72
+ } from "./chunk-UX5KLSAJ.js";
73
73
  import {
74
74
  recordArtifacts
75
- } from "./chunk-TVWDS5AT.js";
75
+ } from "./chunk-5T2LNQAH.js";
76
76
  import {
77
77
  resolveProject
78
- } from "./chunk-XXOEYRD5.js";
78
+ } from "./chunk-KYZEK7QF.js";
79
79
  import {
80
80
  BrowserCleanupError,
81
81
  onStopSignal,
82
82
  registerBrowserSessionCleanup
83
- } from "./chunk-XWV6BOCG.js";
84
- import {
85
- readRecordTail,
86
- recordFolder,
87
- writeRecord
88
- } from "./chunk-JT7RXK2N.js";
83
+ } from "./chunk-OPUR2XQ2.js";
89
84
  import {
90
85
  resolveLocalBrowserGpuMode
91
- } from "./chunk-D44MBZI6.js";
86
+ } from "./chunk-Y53Z2M77.js";
92
87
  import {
93
88
  trackCheckReport,
94
89
  trackCommandFailure
95
- } from "./chunk-6ATP7YPZ.js";
90
+ } from "./chunk-22B53HD3.js";
91
+ import {
92
+ readRecordTail,
93
+ recordFolder,
94
+ writeRecord
95
+ } from "./chunk-OW6MOJSR.js";
96
96
  import {
97
97
  swallowedFlagUsageError
98
98
  } from "./chunk-RPICLHBJ.js";
@@ -114,17 +114,18 @@ import {
114
114
  findHdrAutoPromotion,
115
115
  gradingKeepsSdr,
116
116
  sanitizeHdrAutoPromotionAsset
117
- } from "./chunk-CC72LTIT.js";
117
+ } from "./chunk-LTXZLTXW.js";
118
118
  import {
119
+ terminalLines,
119
120
  terminalText
120
- } from "./chunk-UVZIABYZ.js";
121
+ } from "./chunk-3GF72UPC.js";
121
122
  import {
122
123
  lintProject,
123
124
  unmountedNotice
124
- } from "./chunk-HLOJSBGC.js";
125
+ } from "./chunk-TTRX7NM3.js";
125
126
  import {
126
127
  withMeta
127
- } from "./chunk-3DFEBAWJ.js";
128
+ } from "./chunk-FU62NEWC.js";
128
129
  import {
129
130
  recordLastCheck
130
131
  } from "./chunk-AWD2MWWL.js";
@@ -139,7 +140,7 @@ import {
139
140
  } from "./chunk-U7M4SZUB.js";
140
141
  import {
141
142
  VERSION
142
- } from "./chunk-JLMMY3UI.js";
143
+ } from "./chunk-7DMES2F3.js";
143
144
  import {
144
145
  normalizeErrorMessage
145
146
  } from "./chunk-E63BDV4Z.js";
@@ -2056,7 +2057,7 @@ async function withFindingCrops(dependencies, project, options, report, deadline
2056
2057
  const finding = runtimeFailure(error);
2057
2058
  return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
2058
2059
  }
2059
- console.error(" finding crops skipped: " + normalizeErrorMessage(error));
2060
+ console.error(" finding crops skipped: " + terminalLines(normalizeErrorMessage(error)));
2060
2061
  trackCommandFailure("check-finding-crops", error);
2061
2062
  return report;
2062
2063
  }
@@ -2081,7 +2082,7 @@ async function withOptionalFindingFrames(dependencies, project, options, report,
2081
2082
  const finding = runtimeFailure(error);
2082
2083
  return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
2083
2084
  }
2084
- console.error(" finding frames skipped: " + normalizeErrorMessage(error));
2085
+ console.error(" finding frames skipped: " + terminalLines(normalizeErrorMessage(error)));
2085
2086
  trackCommandFailure("check-finding-frames", error);
2086
2087
  return report;
2087
2088
  }
@@ -2426,7 +2427,7 @@ function resolveMotionSpec(projectDir) {
2426
2427
  };
2427
2428
  }
2428
2429
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2429
- const module = await import("./checkBrowser-BAWRZZZU.js");
2430
+ const module = await import("./checkBrowser-OFH3I7Q6.js");
2430
2431
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2431
2432
  }
2432
2433
  var adoptedBrowser;
@@ -2440,7 +2441,7 @@ async function prelaunchBrowser(project, options) {
2440
2441
  if (adopted) return adopted;
2441
2442
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2442
2443
  if (html === void 0) return void 0;
2443
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-2O2HP6SK.js");
2444
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-HZA3LNU3.js");
2444
2445
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2445
2446
  }
2446
2447
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2451,11 +2452,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2451
2452
  return relative(projectDir, path);
2452
2453
  }
2453
2454
  async function captureFindingFrames(project, options, requests, deadline) {
2454
- const module = await import("./checkBrowser-BAWRZZZU.js");
2455
+ const module = await import("./checkBrowser-OFH3I7Q6.js");
2455
2456
  return module.captureFindingFrames(project, options, requests, deadline);
2456
2457
  }
2457
2458
  async function captureFindingCrops(project, options, requests, deadline) {
2458
- const module = await import("./checkBrowser-BAWRZZZU.js");
2459
+ const module = await import("./checkBrowser-OFH3I7Q6.js");
2459
2460
  return module.captureFindingCrops(project, options, requests, deadline);
2460
2461
  }
2461
2462
  async function inspectProjectMedia(project, dependencies) {
@@ -2483,7 +2484,7 @@ function collectMedia(project) {
2483
2484
  return collectProjectMedia(project.dir);
2484
2485
  }
2485
2486
  async function inspectAudio(project, media) {
2486
- const module = await import("./checkAudio-4YUTDQSQ.js");
2487
+ const module = await import("./checkAudio-3GM74ZGV.js");
2487
2488
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2488
2489
  }
2489
2490
  function audioCheckFailure(project, error) {
@@ -2551,7 +2552,7 @@ var Uncacheable = class extends Error {
2551
2552
  var CACHE_RECORD = "cache/check.json";
2552
2553
  var CACHE_RECORD_MAX_BYTES = 16 * 1024 * 1024;
2553
2554
  async function browserIdentity() {
2554
- const { findBrowser } = await import("./manager-KWNID2ZA.js");
2555
+ const { findBrowser } = await import("./manager-C5S25OOK.js");
2555
2556
  const found = await findBrowser();
2556
2557
  if (!found) return void 0;
2557
2558
  try {
@@ -2658,7 +2659,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2658
2659
  }
2659
2660
  },
2660
2661
  async prepareMedia(project, options) {
2661
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
2662
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZFX7TSWT.js");
2662
2663
  const html = await bundleWithLocalizedFonts(project.dir);
2663
2664
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2664
2665
  },
@@ -2930,7 +2931,7 @@ function reportCheckFailure(error, asJson, addMeta) {
2930
2931
  const code = usage ? error.code : "runtime_error";
2931
2932
  console.log(JSON.stringify(addMeta(jsonFailure(code, message)), null, 2));
2932
2933
  } else {
2933
- console.error(`${c.error("\u2717")} Check failed: ${message}`);
2934
+ console.error(`${c.error("\u2717")} Check failed: ${terminalText(message)}`);
2934
2935
  }
2935
2936
  if (usage) failUsage();
2936
2937
  setCommandExitCode(1);
@@ -27,13 +27,13 @@ import {
27
27
  } from "./chunk-D3UCUI7G.js";
28
28
  import {
29
29
  publishRegistryFile
30
- } from "./chunk-YBYNBKCN.js";
30
+ } from "./chunk-WTS245RC.js";
31
31
  import {
32
32
  ITEM_TYPE_DIRS
33
- } from "./chunk-QHVE6AFU.js";
33
+ } from "./chunk-MPVJI4SE.js";
34
34
  import {
35
35
  realProjectRoot
36
- } from "./chunk-MHF5F4FF.js";
36
+ } from "./chunk-3GF72UPC.js";
37
37
  import {
38
38
  namedCacheDir
39
39
  } from "./chunk-KUJJJBV2.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-QHVE6AFU.js";
13
+ } from "./chunk-MPVJI4SE.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -6,28 +6,29 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  PREVIEW_ALLOWED_HOSTS_ENV,
9
+ documentFromAnotherSite,
9
10
  previewAllowedHostsFromEnv,
10
11
  requestFromAnotherSite,
11
12
  wildcardBindHostAllowed
12
- } from "./chunk-WDMSNDHS.js";
13
+ } from "./chunk-J56ZJFSF.js";
13
14
  import {
14
15
  openRangeEnd
15
16
  } from "./chunk-LD6JONPV.js";
17
+ import {
18
+ SAME_ORIGIN_FRAMING_HEADERS
19
+ } from "./chunk-LTXZLTXW.js";
16
20
  import {
17
21
  getMimeType
18
22
  } from "./chunk-P2ZMVHTF.js";
19
- import {
20
- SAME_ORIGIN_FRAMING_HEADERS
21
- } from "./chunk-CC72LTIT.js";
22
23
  import {
23
24
  PREVIEW_FOR_ANOTHER_SITE_META
24
- } from "./chunk-YXX6CIHL.js";
25
+ } from "./chunk-BWFNWEUO.js";
25
26
  import {
26
27
  stripSdrPngColourTags
27
- } from "./chunk-I6OSAVHD.js";
28
+ } from "./chunk-7AP5C4C2.js";
28
29
  import {
29
30
  injectTagsAtHeadStart
30
- } from "./chunk-NI7JVGOE.js";
31
+ } from "./chunk-BNH2IKGV.js";
31
32
 
32
33
  // src/utils/compositionServer.ts
33
34
  import { createHash } from "crypto";
@@ -165,19 +166,31 @@ async function markDocumentForAnotherSite(c) {
165
166
  }
166
167
  function sandboxForAnotherSite(app, path) {
167
168
  app.use(path, async function sandboxAnotherSiteLoad(c, next) {
168
- const anotherSite = requestFromAnotherSite({
169
+ const anotherSite = documentFromAnotherSite({
169
170
  fetchSite: c.req.header("sec-fetch-site"),
170
171
  host: c.req.header("host") ?? new URL(c.req.url).host,
171
172
  referer: c.req.header("referer")
172
173
  });
173
174
  if (anotherSite) c.req.raw = withoutValidators(c.req.raw);
174
175
  await next();
175
- c.header("Vary", "Sec-Fetch-Site", { append: true });
176
+ c.header("Vary", "Sec-Fetch-Site, Referer", { append: true });
176
177
  if (!anotherSite) return;
177
178
  c.header("Content-Security-Policy", "sandbox allow-scripts");
178
179
  await markDocumentForAnotherSite(c);
179
180
  });
180
181
  }
182
+ function refuseProxyWorkForAnotherSite(app, path) {
183
+ app.use(path, async function refuseAnotherSiteProxyWork(c, next) {
184
+ const anotherSite = requestFromAnotherSite({
185
+ fetchSite: c.req.header("sec-fetch-site"),
186
+ host: c.req.header("host") ?? new URL(c.req.url).host,
187
+ referer: c.req.header("referer")
188
+ });
189
+ if (anotherSite && c.req.query("hf-proxy") !== void 0)
190
+ return c.text("Forbidden: media proxy requested by another site", 403);
191
+ await next();
192
+ });
193
+ }
181
194
  function refuseFramingByOtherSites(app) {
182
195
  app.use(async function sameOriginFramingOnly(c, next) {
183
196
  await next();
@@ -222,6 +235,7 @@ export {
222
235
  buildRangeResponse,
223
236
  refuseUnknownHosts,
224
237
  sandboxForAnotherSite,
238
+ refuseProxyWorkForAnotherSite,
225
239
  refuseFramingByOtherSites,
226
240
  listenOnFreePort
227
241
  };
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts,
9
9
  signatures
10
- } from "./chunk-L456Q4KU.js";
10
+ } from "./chunk-VJVTGSGW.js";
11
11
  import {
12
12
  jsonArg,
13
13
  num,
14
14
  runMeasure
15
- } from "./chunk-ELDZ6C3R.js";
15
+ } from "./chunk-KTY46LIH.js";
16
16
  import {
17
17
  chargedCredits,
18
18
  idempotencyKey,
@@ -22,7 +22,7 @@ import {
22
22
  publicVoices,
23
23
  runJob,
24
24
  senderScope
25
- } from "./chunk-R3ONQOLE.js";
25
+ } from "./chunk-4AMOVEV7.js";
26
26
  import {
27
27
  Fix,
28
28
  probeSeconds,
@@ -31,7 +31,7 @@ import {
31
31
  round,
32
32
  runFfmpeg,
33
33
  videoClip
34
- } from "./chunk-OYKAS3J5.js";
34
+ } from "./chunk-ZBDITGMP.js";
35
35
  import {
36
36
  loadSharp
37
37
  } from "./chunk-LB6ZAP4I.js";
@@ -351,9 +351,9 @@ function assetsOf(r) {
351
351
  async function uploaded(paths) {
352
352
  const ids = /* @__PURE__ */ new Map();
353
353
  if (!paths.length) return ids;
354
- const { createCloudClient } = await import("./cloud-QP5R6B6A.js");
354
+ const { createCloudClient } = await import("./cloud-VUR3ZO6O.js");
355
355
  const { uploadAssetViaDirectUpload } = await import("./upload-PEY7EYFV.js");
356
- const { getMimeType } = await import("./dist-2O52E7QZ.js");
356
+ const { getMimeType } = await import("./dist-JRJHFP27.js");
357
357
  const client = await createCloudClient();
358
358
  for (const path of paths) {
359
359
  const asset = await uploadAssetViaDirectUpload({
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  bundledGsapFor
9
- } from "./chunk-LSGJY2FG.js";
9
+ } from "./chunk-YLC67YFR.js";
10
10
  import {
11
11
  isDegradableEvaluateTimeoutError,
12
12
  isNavigationTimeoutError,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-YGGZ23BB.js";
15
15
  import {
16
16
  gsapCdnDist
17
- } from "./chunk-QHVE6AFU.js";
17
+ } from "./chunk-MPVJI4SE.js";
18
18
 
19
19
  // src/capture/navigateForCapture.ts
20
20
  var NETWORK_IDLE_ATTEMPT_MS = 3e4;
@@ -4,27 +4,27 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ ensurePinnedFile
9
+ } from "./chunk-3HJX4F2S.js";
7
10
  import {
8
11
  loadOptionalPackage,
9
12
  loadSharp
10
13
  } from "./chunk-LB6ZAP4I.js";
11
- import {
12
- downloadFile
13
- } from "./chunk-R4EWRIDL.js";
14
14
  import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-6R4MEYWD.js";
18
+ } from "./chunk-CRZ7FUMI.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-XWV6BOCG.js";
21
+ } from "./chunk-OPUR2XQ2.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-CC72LTIT.js";
27
+ } from "./chunk-LTXZLTXW.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-Q4FVSYTD.js";
@@ -120,7 +120,6 @@ function trackCoreMlTemp(options = {}) {
120
120
  }
121
121
 
122
122
  // src/background-removal/manager.ts
123
- import { existsSync, mkdirSync as mkdirSync2 } from "fs";
124
123
  import { platform, arch } from "os";
125
124
  import { join as join2 } from "path";
126
125
  var MODELS_DIR = hyperframesCacheDir("background-removal", "models");
@@ -128,6 +127,13 @@ var DEFAULT_MODEL = "u2net_human_seg";
128
127
  var MODEL_URLS = {
129
128
  u2net_human_seg: "https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_human_seg.onnx"
130
129
  };
130
+ var MODEL_PINS = {
131
+ u2net_human_seg: {
132
+ name: "u2net_human_seg.onnx",
133
+ bytes: 175997641,
134
+ sha256: "01eb6a29a5c4d8edb30b56adad9bb3a2a0535338e480724a213e0acfd2d1c73c"
135
+ }
136
+ };
131
137
  var MODEL_MEMORY_MB = {
132
138
  u2net_human_seg: 1500
133
139
  };
@@ -175,15 +181,10 @@ function modelPath(model = DEFAULT_MODEL) {
175
181
  return join2(MODELS_DIR, `${model}.onnx`);
176
182
  }
177
183
  async function ensureModel(model = DEFAULT_MODEL, options) {
178
- const dest = modelPath(model);
179
- if (existsSync(dest)) return dest;
180
- mkdirSync2(MODELS_DIR, { recursive: true });
181
- options?.onProgress?.(`Downloading ${model} weights (~168 MB)...`);
182
- await downloadFile(MODEL_URLS[model], dest);
183
- if (!existsSync(dest)) {
184
- throw new Error(`Model download failed: ${model}`);
185
- }
186
- return dest;
184
+ return ensurePinnedFile(MODEL_URLS[model], modelPath(model), MODEL_PINS[model], {
185
+ downloading: `Downloading ${model} weights (~168 MB)...`,
186
+ onProgress: options?.onProgress
187
+ });
187
188
  }
188
189
 
189
190
  // src/background-removal/inference.ts
@@ -432,7 +433,7 @@ async function decoderTransposesDimensions(inputPath) {
432
433
  }
433
434
  async function probeMedia(inputPath) {
434
435
  const isImage = inferInputKind(inputPath) === "image";
435
- const engine = await import("./src-B646B52O.js");
436
+ const engine = await import("./src-BNSCFKOD.js");
436
437
  const meta = await engine.extractMediaMetadata(inputPath);
437
438
  if (isImage) {
438
439
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-CC72LTIT.js";
9
+ } from "./chunk-LTXZLTXW.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-Q4FVSYTD.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  findFfBinary,
18
18
  getSkippedX86Binary
19
- } from "./chunk-RX67N2PU.js";
19
+ } from "./chunk-VM2VBJRC.js";
20
20
 
21
21
  // src/browser/linuxDeps.ts
22
22
  import { execFileSync } from "child_process";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-7YRZBB4C.js";
9
+ } from "./chunk-3ROFCQAW.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-4NDSGKPO.js";
@@ -7,31 +7,32 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isCopiedOutsideFileType,
9
9
  isPrivateOutsideFile,
10
+ isUploadedOutsideFileType,
10
11
  leftOutWarning,
11
12
  linksOutside
12
- } from "./chunk-PLOCYJ5U.js";
13
- import {
14
- realFilePath
15
- } from "./chunk-THGJTFYB.js";
13
+ } from "./chunk-B5TLZC2D.js";
16
14
  import {
17
15
  DEFAULT_VP9_CPU_USED,
18
16
  isHttpUrl,
19
17
  isPrivateUnderAssetRoots,
20
18
  runFfmpeg,
21
19
  urlInputArgs
22
- } from "./chunk-CC72LTIT.js";
20
+ } from "./chunk-LTXZLTXW.js";
21
+ import {
22
+ realFilePath
23
+ } from "./chunk-WTO3A7ET.js";
23
24
  import {
24
25
  renameWithRetry
25
- } from "./chunk-K2WLOTTF.js";
26
+ } from "./chunk-LYTELQL2.js";
26
27
  import {
27
28
  parseAnimatedGifMetadata
28
- } from "./chunk-QHVE6AFU.js";
29
+ } from "./chunk-MPVJI4SE.js";
29
30
  import {
30
31
  isSafePath
31
- } from "./chunk-MHF5F4FF.js";
32
+ } from "./chunk-3GF72UPC.js";
32
33
  import {
33
34
  namesAnotherNetworkRoot
34
- } from "./chunk-6EMFSRTW.js";
35
+ } from "./chunk-S35RUNXJ.js";
35
36
  import {
36
37
  parseHTML
37
38
  } from "./chunk-GWTIFRF5.js";
@@ -69,15 +70,17 @@ function isPathInside(childPath, parentPath, options = {}) {
69
70
  function escapesAssetRoot(path, assetRoot) {
70
71
  return assetRoot !== void 0 && !isSafePath(assetRoot, path);
71
72
  }
72
- function outsideAssetRefusal(projectDir, path) {
73
+ function outsideAssetRefusal(projectDir, path, policy = {}) {
73
74
  if (!linksOutside(projectDir, path)) return null;
74
75
  if (isPrivateOutsideFile(projectDir, path)) return "blocklisted";
75
76
  const folder = statSync(path, { throwIfNoEntry: false })?.isDirectory();
76
- return folder || isCopiedOutsideFileType(path) ? null : "file_type";
77
+ if (folder || isUploadedOutsideFileType(path)) return null;
78
+ if (!isCopiedOutsideFileType(path)) return "file_type";
79
+ return policy.includeScripts ? null : "script";
77
80
  }
78
81
  var leftOutOfRender = (file, reference, reason) => leftOutWarning(file, reference, reason, "render");
79
- function refusesOutsideLink(projectDir, path, warn) {
80
- const refusal = outsideAssetRefusal(projectDir, path);
82
+ function refusesOutsideLink(projectDir, path, warn, policy = {}) {
83
+ const refusal = outsideAssetRefusal(projectDir, path, policy);
81
84
  if (!refusal) return false;
82
85
  const file = nodeRelative(projectDir, path).split(sep).join("/");
83
86
  warn(leftOutOfRender(file, realFilePath(path), refusal));
@@ -170,7 +173,8 @@ function resolveLocalImageSourcePath(src, options) {
170
173
  isAbsolute(basePath) ? basePath : resolve(options.projectDir, projectRelative),
171
174
  resolve(options.downloadDir, normalizedBase)
172
175
  ];
173
- const allowed = (candidate) => !namesAnotherNetworkRoot(options.projectDir, candidate) && !isPrivateUnderAssetRoots(candidate, [options.projectDir, options.downloadDir]) && (!escapesAssetRoot(candidate, options.assetRoot) && outsideAssetRefusal(options.projectDir, candidate) !== "blocklisted" || !escapesAssetRoot(candidate, options.downloadDir));
176
+ const assetRoot = options.allowOutsideFiles ? void 0 : options.projectDir;
177
+ const allowed = (candidate) => !namesAnotherNetworkRoot(options.projectDir, candidate) && !isPrivateUnderAssetRoots(candidate, [options.projectDir, options.downloadDir]) && (!escapesAssetRoot(candidate, assetRoot) && outsideAssetRefusal(options.projectDir, candidate) !== "blocklisted" || !escapesAssetRoot(candidate, options.downloadDir));
174
178
  return candidates.find((candidate) => allowed(candidate) && existsSync(candidate)) ?? null;
175
179
  }
176
180
  function isUsableFile(path) {
@@ -6,11 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-7YRZBB4C.js";
9
+ } from "./chunk-3ROFCQAW.js";
10
10
  import {
11
+ documentFromAnotherSite,
11
12
  injectMediaCodecMapIntoHtml,
12
13
  requestFromAnotherSite
13
- } from "./chunk-WDMSNDHS.js";
14
+ } from "./chunk-J56ZJFSF.js";
14
15
  import {
15
16
  PROXY_VARIANT_CONFIG,
16
17
  ProxyCapacityError,
@@ -21,43 +22,43 @@ import {
21
22
  recordProxyRequest,
22
23
  resolveProxy,
23
24
  resolveProxyVariantRequest
24
- } from "./chunk-LTOUXR3X.js";
25
+ } from "./chunk-UX5KLSAJ.js";
25
26
  import {
26
27
  resolveAutoProxy
27
- } from "./chunk-RHFB457E.js";
28
+ } from "./chunk-LZSSGF7G.js";
28
29
  import {
29
30
  openRangeEnd
30
31
  } from "./chunk-LD6JONPV.js";
31
- import {
32
- getMimeType
33
- } from "./chunk-P2ZMVHTF.js";
34
32
  import {
35
33
  SAME_ORIGIN_FRAMING_HEADERS,
36
34
  isOwnLoopbackHost
37
- } from "./chunk-CC72LTIT.js";
35
+ } from "./chunk-LTXZLTXW.js";
38
36
  import {
39
37
  listenOnBrowserSafePort
40
38
  } from "./chunk-PJQVJSMG.js";
39
+ import {
40
+ getMimeType
41
+ } from "./chunk-P2ZMVHTF.js";
41
42
  import {
42
43
  PREVIEW_FOR_ANOTHER_SITE_META
43
- } from "./chunk-YXX6CIHL.js";
44
+ } from "./chunk-BWFNWEUO.js";
44
45
  import {
45
46
  stripSdrPngColourTags
46
- } from "./chunk-I6OSAVHD.js";
47
+ } from "./chunk-7AP5C4C2.js";
47
48
  import {
48
49
  PREVIEW_PROXY_BOX_PARAM,
49
50
  parsePreviewProxyBox
50
- } from "./chunk-QHVE6AFU.js";
51
+ } from "./chunk-MPVJI4SE.js";
51
52
  import {
52
53
  injectTagsAtHeadStart
53
- } from "./chunk-NI7JVGOE.js";
54
+ } from "./chunk-BNH2IKGV.js";
54
55
  import {
55
56
  decodeWellFormedEscapes
56
57
  } from "./chunk-IH2C53YV.js";
57
58
  import {
58
59
  isPrivateFileUnder,
59
60
  isStudioPrivatePath
60
- } from "./chunk-KK5Z5XQ3.js";
61
+ } from "./chunk-PTGNUVCB.js";
61
62
 
62
63
  // src/utils/staticProjectServer.ts
63
64
  import {
@@ -226,12 +227,20 @@ async function serveProxyRequest(projectDir, filePath, request, box, autoProxy,
226
227
  function markForAnotherSite(html) {
227
228
  return injectTagsAtHeadStart(html, `<meta name="${PREVIEW_FOR_ANOTHER_SITE_META}">`);
228
229
  }
230
+ function proxyRequestedByAnotherSite(req) {
231
+ return requestFromAnotherSite({
232
+ fetchSite: req.headers["sec-fetch-site"],
233
+ host: req.headers.host,
234
+ referer: req.headers.referer
235
+ });
236
+ }
229
237
  function loadedByAnotherSite(req, res) {
230
- const anotherSite = requestFromAnotherSite({
238
+ const anotherSite = documentFromAnotherSite({
231
239
  fetchSite: req.headers["sec-fetch-site"],
232
240
  host: req.headers.host,
233
241
  referer: req.headers.referer
234
242
  });
243
+ res.setHeader("Vary", "Sec-Fetch-Site, Referer");
235
244
  if (anotherSite) {
236
245
  const policies = [res.getHeader("Content-Security-Policy"), "sandbox allow-scripts"];
237
246
  res.setHeader("Content-Security-Policy", policies.filter((p) => p !== void 0).map(String));
@@ -289,6 +298,11 @@ async function serveStaticProjectHtml(projectDir, html, bindErrorMessage = "Fail
289
298
  res.end();
290
299
  return;
291
300
  }
301
+ if (proxyParam !== null && proxyRequestedByAnotherSite(req)) {
302
+ res.writeHead(403);
303
+ res.end("Forbidden: media proxy requested by another site");
304
+ return;
305
+ }
292
306
  const requestPath = decodeWellFormedEscapes(pathOnly).replace(/^\//, "");
293
307
  for (const root of roots) {
294
308
  const filePath = resolve(root, requestPath);
@@ -0,0 +1,21 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // ../parsers/dist/literalMediaInput.js
9
+ var PATTERN_IMAGE2_EXPANDS = /%(?:\d*d|[%*?[\]{}])/;
10
+ var URL_SCHEME = /^[a-z][a-z0-9+.-]+:/i;
11
+ function assertLiteralMediaInput(input) {
12
+ const local = !URL_SCHEME.test(input) || /^file:/i.test(input);
13
+ if (!local || !PATTERN_IMAGE2_EXPANDS.test(input)) return;
14
+ throw new Error(
15
+ `[FFmpeg] refused media path "${input.split(/[\\/]/).pop()}": a "%" followed by a number and "d", another "%" or a wildcard would make ffmpeg read it as a pattern of other files. Rename the file or folder.`
16
+ );
17
+ }
18
+
19
+ export {
20
+ assertLiteralMediaInput
21
+ };