hyperframes 0.8.225 → 0.8.227

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 (228) hide show
  1. package/dist/{add-ZGNY2AXJ.js → add-XX23UL2L.js} +12 -12
  2. package/dist/{agentPromptGenerator-GG4FFZH7.js → agentPromptGenerator-IMNWTMHM.js} +7 -7
  3. package/dist/{animatedGifPrep-NVDUG2CD.js → animatedGifPrep-MPU6T26Y.js} +7 -7
  4. package/dist/api.d.ts +122 -1
  5. package/dist/api.js +31 -23
  6. package/dist/{asset-UC3OQBB3.js → asset-FZSKOSMO.js} +2 -2
  7. package/dist/{assetCataloger-WQTNJMZU.js → assetCataloger-SITUNOV5.js} +8 -8
  8. package/dist/{audio-T6RWZHAA.js → audio-T5RHG57J.js} +17 -17
  9. package/dist/{auth-FSXEGF3B.js → auth-CMGIWJ6S.js} +5 -5
  10. package/dist/{autoUpdate-LOBHDWAA.js → autoUpdate-NNHBVLHN.js} +2 -2
  11. package/dist/{backgroundChecks-RBFWIWBP.js → backgroundChecks-HQYOBCV2.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-LDZ6NO2X.js → batchRender-5URYGOLM.js} +3 -3
  14. package/dist/{beats-WFPPVM6N.js → beats-J7IBNLP4.js} +10 -10
  15. package/dist/{benchmark-7MYD5S26.js → benchmark-Q2BILDRB.js} +9 -9
  16. package/dist/{billing-2BJTLFDX.js → billing-WNOAP6KO.js} +4 -4
  17. package/dist/{browser-6C4IDYQE.js → browser-EERGHDRV.js} +4 -4
  18. package/dist/{bundleWithLocalizedFonts-ARTT664T.js → bundleWithLocalizedFonts-FKU44QSO.js} +2 -2
  19. package/dist/{capture-7TFC65RN.js → capture-5W7BR36Q.js} +3 -3
  20. package/dist/{capture-TWZ5DQHP.js → capture-IRJ7DO45.js} +17 -17
  21. package/dist/{captureCompositionFrame-EMP6R3F6.js → captureCompositionFrame-R4LFCHHV.js} +14 -13
  22. package/dist/{catalog-W4RJO4FE.js → catalog-IRFBKRFP.js} +12 -12
  23. package/dist/{catch-up-OOCJH3O6.js → catch-up-RGQAFA3E.js} +5 -5
  24. package/dist/{check-BPPHG2CF.js → check-EXLZVGDY.js} +40 -39
  25. package/dist/{checkAudio-QEGCKX2V.js → checkAudio-K3XKXNEN.js} +10 -10
  26. package/dist/{checkBrowser-4JDYYAVA.js → checkBrowser-ZOU5XFMN.js} +34 -33
  27. package/dist/chunk-262C25DQ.js +31 -0
  28. package/dist/{chunk-3XQQLL3G.js → chunk-27JEDDX5.js} +1 -1
  29. package/dist/{chunk-AKMY4QVI.js → chunk-2GTFW4MK.js} +9 -1
  30. package/dist/{chunk-EECV7SDN.js → chunk-2M6LMJ32.js} +1 -1
  31. package/dist/{chunk-G45NYKSM.js → chunk-3TWAMQF6.js} +3 -3
  32. package/dist/{chunk-BEMGUGGJ.js → chunk-3ZWUNOTS.js} +1 -1
  33. package/dist/{chunk-Z7GIHPAZ.js → chunk-53ZOVLGJ.js} +2 -2
  34. package/dist/{chunk-G6Z47UQP.js → chunk-5ETFQB5F.js} +49 -31
  35. package/dist/{chunk-ZGQC6IU7.js → chunk-62LATJB6.js} +1 -1
  36. package/dist/{chunk-KDF67KEB.js → chunk-65LMGFJ5.js} +13 -13
  37. package/dist/{chunk-SVGHIMPQ.js → chunk-6HPCEV3U.js} +2 -2
  38. package/dist/{chunk-VLA6UJGH.js → chunk-6NJVSTSY.js} +5 -6
  39. package/dist/{chunk-VHL26GNQ.js → chunk-6PQXDPKV.js} +2 -2
  40. package/dist/{chunk-T5KG6H6L.js → chunk-6RSOEYIG.js} +7 -7
  41. package/dist/{chunk-5HGS5MGD.js → chunk-6TXW6LHH.js} +339 -136
  42. package/dist/{chunk-IJWDVOIO.js → chunk-7XNMKKXI.js} +2 -2
  43. package/dist/{chunk-SIYDHVN2.js → chunk-A3UIADPB.js} +1 -1
  44. package/dist/{chunk-X5BSSPC2.js → chunk-AI6Z7BVD.js} +1 -1
  45. package/dist/{chunk-BKHBSFEO.js → chunk-AJREH4PX.js} +3 -2
  46. package/dist/{chunk-GI42ZB52.js → chunk-AQ2C6AQH.js} +1 -1
  47. package/dist/{chunk-UZ5AWZCA.js → chunk-AXRFHQRS.js} +1 -1
  48. package/dist/{chunk-WQCVZEXH.js → chunk-BKK57WEL.js} +6 -6
  49. package/dist/{chunk-5I6XEO4W.js → chunk-BW3CQT3A.js} +3 -25
  50. package/dist/{chunk-W464PHF3.js → chunk-CQKK7S4I.js} +7 -7
  51. package/dist/{chunk-2YZD6CAF.js → chunk-E2GNVQSH.js} +10 -3
  52. package/dist/{chunk-652ERUZD.js → chunk-FD7Z5BDR.js} +2 -2
  53. package/dist/{chunk-UQWOOANM.js → chunk-FFCQR7AP.js} +2 -2
  54. package/dist/{chunk-AMQFGICP.js → chunk-GIGZYW5Q.js} +1 -1
  55. package/dist/{chunk-HT3D5AKG.js → chunk-GR2T3BOX.js} +6 -5
  56. package/dist/{chunk-LWTT7I7X.js → chunk-HGEFDPRP.js} +1 -1
  57. package/dist/{chunk-HW6HTTBZ.js → chunk-HNB7DA2F.js} +1 -1
  58. package/dist/{chunk-R6JPOEDZ.js → chunk-IN2355UQ.js} +1 -1
  59. package/dist/{chunk-EIIMWDZW.js → chunk-IQFLDX7I.js} +4 -4
  60. package/dist/{chunk-GE4ABM5K.js → chunk-ISEHEDSN.js} +41 -12
  61. package/dist/{chunk-RDLJSUI4.js → chunk-IUQCPWHU.js} +17 -11
  62. package/dist/{chunk-FJ3KUOUZ.js → chunk-IZRC24DI.js} +1 -1
  63. package/dist/{chunk-LZB5AHFD.js → chunk-JP6C673M.js} +1 -1
  64. package/dist/{chunk-OZMZFJDW.js → chunk-K6YHKCVX.js} +1 -1
  65. package/dist/{chunk-CGX4EOGT.js → chunk-K7LS42XC.js} +3 -3
  66. package/dist/{chunk-7RTPHNOO.js → chunk-KLTD64CP.js} +7 -4
  67. package/dist/{chunk-E47ZWDMH.js → chunk-KU6VRNJF.js} +1 -1
  68. package/dist/{chunk-KVBOJJ5R.js → chunk-L2XYH5SQ.js} +1 -1
  69. package/dist/{chunk-XM5KYLIE.js → chunk-M63U54H7.js} +4 -4
  70. package/dist/{chunk-4K6AS5TX.js → chunk-MBS45ZKL.js} +313 -149
  71. package/dist/{chunk-5KADQQ6S.js → chunk-MR7I3L6N.js} +1 -1
  72. package/dist/{chunk-FPWCICAI.js → chunk-NFUJ35XX.js} +1 -1
  73. package/dist/{chunk-35NDLXHZ.js → chunk-NQ4MVBNC.js} +10 -10
  74. package/dist/{chunk-PICDT6ZW.js → chunk-OG3S6SE6.js} +1 -1
  75. package/dist/{chunk-GZPGTGRV.js → chunk-OJW6TC57.js} +1 -1
  76. package/dist/{chunk-Z57RQBIA.js → chunk-OVLO32XC.js} +3 -3
  77. package/dist/{chunk-HMS6UHUW.js → chunk-OWJTWCE6.js} +2 -2
  78. package/dist/{chunk-M3WOI7BU.js → chunk-PFGBFTNS.js} +1 -1
  79. package/dist/{chunk-ACUVSKUI.js → chunk-PSRFHITV.js} +13 -13
  80. package/dist/{chunk-2EH3WQCS.js → chunk-PVLG6IY4.js} +5 -5
  81. package/dist/chunk-PXH3TD4X.js +760 -0
  82. package/dist/{chunk-Y5OSQXGZ.js → chunk-Q7S4JN73.js} +5 -5
  83. package/dist/{chunk-K73PYNON.js → chunk-QSWUM7WR.js} +2 -5
  84. package/dist/{chunk-EQFDOQTG.js → chunk-RABQDJMA.js} +1 -1
  85. package/dist/{chunk-ADOBHVHW.js → chunk-RG7WG2BC.js} +2 -2
  86. package/dist/{chunk-4Z2SU2VC.js → chunk-RVKHNBJI.js} +18 -18
  87. package/dist/{chunk-BTDKWWND.js → chunk-SANQC4QD.js} +1 -1
  88. package/dist/chunk-SBQV5FLG.js +5030 -0
  89. package/dist/{chunk-4VTXUGDR.js → chunk-SPN4SJV7.js} +1 -1
  90. package/dist/chunk-SQJNSPL5.js +177 -0
  91. package/dist/{chunk-4A643C3B.js → chunk-SZVMN7L3.js} +7 -7
  92. package/dist/{chunk-IB7I5IEC.js → chunk-T53C5UTH.js} +1 -1
  93. package/dist/{chunk-KEDN4LSV.js → chunk-TFJSU4IV.js} +2 -2
  94. package/dist/{chunk-UBH2R663.js → chunk-TG5RBLCM.js} +2 -2
  95. package/dist/{chunk-CXVFPIOM.js → chunk-TJ6G325N.js} +1 -1
  96. package/dist/{chunk-UBXKKXXR.js → chunk-TJPZYMYX.js} +3 -3
  97. package/dist/{chunk-M4NN4AHH.js → chunk-TMTZ5M4R.js} +9 -9
  98. package/dist/{chunk-RR5QE7DB.js → chunk-TNPFF5TQ.js} +18 -14
  99. package/dist/{chunk-AF3EN5XS.js → chunk-UIDZKSF6.js} +1 -1
  100. package/dist/{chunk-QOYZ3U6G.js → chunk-V4SD6HQ6.js} +2 -3
  101. package/dist/{chunk-EEBIHQF2.js → chunk-V7BBBD5C.js} +2 -2
  102. package/dist/{chunk-SXHSNLEC.js → chunk-VHREBR3T.js} +1 -1
  103. package/dist/chunk-VO55NLTM.js +111 -0
  104. package/dist/{chunk-IORJ42GY.js → chunk-VUDMPRZN.js} +5 -6
  105. package/dist/{chunk-3HRQI6LJ.js → chunk-WISN2ACZ.js} +1 -1
  106. package/dist/{chunk-7HSV5SJ4.js → chunk-XOFJZ3UG.js} +1 -1
  107. package/dist/{chunk-UCPEABYK.js → chunk-XZULISH5.js} +2 -2
  108. package/dist/{chunk-3E2BO3L3.js → chunk-YKOHWGUC.js} +1 -1
  109. package/dist/{chunk-A25SCSOK.js → chunk-YTMWGLEQ.js} +1 -1
  110. package/dist/{chunk-6IV2N527.js → chunk-ZAE5Q7D5.js} +2 -2
  111. package/dist/{chunk-O3MGHHJO.js → chunk-ZSZKNGSQ.js} +3 -3
  112. package/dist/{chunk-NLELDFX7.js → chunk-ZU5GYVRG.js} +3 -3
  113. package/dist/{clean-XWDDXLRP.js → clean-IXG2MEQ6.js} +18 -18
  114. package/dist/cli.js +57 -57
  115. package/dist/{cloud-SETWVGKH.js → cloud-C2SUZ4ML.js} +4 -4
  116. package/dist/{cloudrun-RHPVVXCR.js → cloudrun-SWS7AI67.js} +4 -4
  117. package/dist/{compare-FWMFV7A7.js → compare-HKONJNY4.js} +31 -30
  118. package/dist/{compiler-SKRY6FPA.js → compiler-67X7VCNS.js} +4 -4
  119. package/dist/{component-HGEIXY3U.js → component-YBGAFPNS.js} +3 -3
  120. package/dist/{compositions-2TXJLBWE.js → compositions-B5T65NKW.js} +12 -12
  121. package/dist/{curve-SSFKIA2L.js → curve-QZCRRLBS.js} +11 -11
  122. package/dist/{cuts-BWXHTOOP.js → cuts-5DIKHPDZ.js} +20 -15
  123. package/dist/{delete-F5RDWZEJ.js → delete-GHNNYUXL.js} +6 -6
  124. package/dist/{deploy-OH4SMYTG.js → deploy-IARSTZY6.js} +1 -1
  125. package/dist/{describeProject-B7H4T5PW.js → describeProject-6DA3FMM2.js} +8 -8
  126. package/dist/{diff-6JFFTFKR.js → diff-JWNEN6CO.js} +89 -229
  127. package/dist/{dist-YEYUGCOR.js → dist-AY2X5DPM.js} +2 -2
  128. package/dist/{dist-24QQO5IL.js → dist-DCP77RWC.js} +2 -2
  129. package/dist/{doctor-XQCZB5BY.js → doctor-BMUGN4C2.js} +11 -11
  130. package/dist/{energy-MEMYSTFT.js → energy-DSK2FPBK.js} +12 -12
  131. package/dist/{events-T7OLH6MW.js → events-6VLVSDSN.js} +4 -4
  132. package/dist/{events-U6PXJI34.js → events-HD5CYSPO.js} +3 -3
  133. package/dist/{events-ZU2ATKWK.js → events-KKH2U7U5.js} +14 -14
  134. package/dist/{extract-25TUTGCA.js → extract-IFMYI2DA.js} +15 -19
  135. package/dist/{face-KMLYOE5H.js → face-JD2ZVOH3.js} +12 -12
  136. package/dist/{feedback-FE7GQTBH.js → feedback-LI55MDGG.js} +14 -14
  137. package/dist/{ffmpeg-CXYPYIZK.js → ffmpeg-A4M2I6R3.js} +7 -7
  138. package/dist/{figma-QMKU7M7T.js → figma-CNVJZ7BL.js} +3 -3
  139. package/dist/fontLocalizeCli.js +10 -10
  140. package/dist/{frames-2NPBO6LB.js → frames-MOAPFEBS.js} +13 -13
  141. package/dist/{generate-I6E3V7PU.js → generate-ZRQYOJ3I.js} +18 -18
  142. package/dist/{get-JJWBP5NB.js → get-2RNNB5KC.js} +6 -6
  143. package/dist/{gpuPolicy-2OMDU74V.js → gpuPolicy-MXPGQGRO.js} +7 -7
  144. package/dist/{grade-compare-QCA3VIKQ.js → grade-compare-CQHZR7LX.js} +32 -31
  145. package/dist/{heifImagePrep-P53GG4GF.js → heifImagePrep-PRXKTL2U.js} +8 -8
  146. package/dist/{help-COSONWFD.js → help-MDT2MEPS.js} +1 -1
  147. package/dist/{history-CWKF5AXI.js → history-N7H2FN6R.js} +8 -8
  148. package/dist/hyperframe.manifest.json +1 -1
  149. package/dist/hyperframe.runtime.iife.js +67 -67
  150. package/dist/hyperframes-player.global.js +3 -3
  151. package/dist/{info-SD74Y6V5.js → info-NXYRDRHE.js} +8 -8
  152. package/dist/{init-XAYQNTVF.js → init-DJ5EJAQI.js} +28 -28
  153. package/dist/ink-WZSITVIW.js +148 -0
  154. package/dist/{inspect-Y5IIQBIW.js → inspect-JAXBBYA3.js} +32 -31
  155. package/dist/{installer-NQA4KXRP.js → installer-N5OHXI5C.js} +4 -4
  156. package/dist/{keyframes-MNPCJZYU.js → keyframes-TXNYBMOV.js} +8 -8
  157. package/dist/{lambda-PMI6IDVN.js → lambda-4LVII6VK.js} +11 -11
  158. package/dist/{layout-6IM6R6LX.js → layout-AS4FJ53O.js} +32 -31
  159. package/dist/{lint-6VUHVHFF.js → lint-DCAYD4CN.js} +9 -9
  160. package/dist/{lintProject-6H64SX3V.js → lintProject-54CNQ4HT.js} +2 -2
  161. package/dist/{list-XXTAS744.js → list-7Z6YRO6I.js} +6 -6
  162. package/dist/{localPage-2UHUS6LM.js → localPage-FUOBAMSA.js} +7 -7
  163. package/dist/{login-KM3LPYQ7.js → login-JZ4COLEB.js} +7 -7
  164. package/dist/{logout-LHTQV2BZ.js → logout-6CEIH4HW.js} +3 -3
  165. package/dist/{look-3CD3ZSXY.js → look-QELVFTKU.js} +12 -12
  166. package/dist/{manager-C6GVT3EI.js → manager-ZJPSMHK6.js} +8 -8
  167. package/dist/{measure-DWZX4YAK.js → measure-2I5VAVHN.js} +12 -11
  168. package/dist/{media-treatment-IIUPGQIX.js → media-treatment-MDTQ6564.js} +14 -14
  169. package/dist/{media-use-HLHUEFDK.js → media-use-NFGRWEGA.js} +3 -3
  170. package/dist/{models-IWHY5V6N.js → models-DKSUFPQ6.js} +11 -11
  171. package/dist/{motionShot-4NKHFUS7.js → motionShot-BJARRLMN.js} +17 -16
  172. package/dist/{normalize-audio-M2RS5Q23.js → normalize-audio-EW5JUESE.js} +10 -10
  173. package/dist/{open-U7CCHUBO.js → open-737GUSFD.js} +13 -13
  174. package/dist/{parakeetRunner-ZHG3S6GY.js → parakeetRunner-OIVHACYW.js} +12 -12
  175. package/dist/{pipeline-66JR7EC7.js → pipeline-UTNPWFMF.js} +10 -10
  176. package/dist/{play-5COR53D2.js → play-ZCYUVL2Y.js} +22 -22
  177. package/dist/{preflight-OKAO5NPW.js → preflight-HWFWGTIG.js} +8 -8
  178. package/dist/{present-YKFQC22R.js → present-AO3XZKSL.js} +18 -18
  179. package/dist/{preview-3YNKJZME.js → preview-ORIRMNIU.js} +20 -20
  180. package/dist/{probe-QMPDGKU5.js → probe-HYO2KC2E.js} +11 -11
  181. package/dist/{producer-WBVDP3IV.js → producer-B4VCP4D2.js} +1 -1
  182. package/dist/{projectConfig-UI4NZDN7.js → projectConfig-HUR4LZME.js} +6 -6
  183. package/dist/{publication-VPJZQCLA.js → publication-YH74GUD4.js} +2 -2
  184. package/dist/{publish-7RA2MK2M.js → publish-WIEB5ON4.js} +25 -25
  185. package/dist/{refresh-AM2ULRRV.js → refresh-MQTO43RB.js} +3 -3
  186. package/dist/{remove-background-ELC7V7KT.js → remove-background-NHLEPVOM.js} +11 -11
  187. package/dist/{render-WH7MPRZD.js → render-3WFVN7HO.js} +45 -43
  188. package/dist/{render-R7E7TTNE.js → render-DQSNIKEG.js} +59 -759
  189. package/dist/{render-IYV73CG6.js → render-GBJSUM3R.js} +5 -5
  190. package/dist/{render-batch-IN2ZXPS7.js → render-batch-YZF2XMYL.js} +8 -8
  191. package/dist/renderSetupWorker.js +2 -2
  192. package/dist/{resolver-DIXFK5ZR.js → resolver-KGTY7RJU.js} +4 -4
  193. package/dist/{run-MCVU7AZX.js → run-OJ2GBYKB.js} +4 -4
  194. package/dist/{sherpa-FP6HX5KK.js → sherpa-B3T3I2PX.js} +11 -11
  195. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +3 -9
  196. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +6 -4
  197. package/dist/skills/media-use/references/heygen.md +2 -1
  198. package/dist/skills/media-use/scripts/lib/logo-provider.mjs +8 -3
  199. package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +14 -0
  200. package/dist/skills/media-use/scripts/resolve.mjs +11 -5
  201. package/dist/{skills-JLNDM2KP.js → skills-FATGE2YZ.js} +6 -6
  202. package/dist/{skillsUpdateCheck-WS5M25TN.js → skillsUpdateCheck-AHDI2POI.js} +3 -3
  203. package/dist/{snapshot-VPN6GA7U.js → snapshot-SELBWDZ7.js} +68 -43
  204. package/dist/{src-RGQFYVHO.js → src-55VXHZM5.js} +9 -9
  205. package/dist/{src-AP7B27MZ.js → src-6H4ENHBH.js} +10 -6
  206. package/dist/{staticProjectServer-YA6XOSFY.js → staticProjectServer-E4BZ4YZO.js} +18 -18
  207. package/dist/{status-Y5ZBFJ53.js → status-6WAZ5EBM.js} +5 -5
  208. package/dist/studio/assets/{hyperframes-player-Do2ZF6Lp.js → hyperframes-player-merzSkao.js} +3 -3
  209. package/dist/studio/assets/{index-CK4_IJ8G.js → index-B4XEg_n-.js} +1 -1
  210. package/dist/studio/assets/{index-Dxb7fTWf.js → index-DoXOJGW5.js} +174 -174
  211. package/dist/studio/index.html +1 -1
  212. package/dist/{studio-api-57E36S5N.js → studio-api-IERYGFXT.js} +10 -10
  213. package/dist/{studioServer-EVMF3HHL.js → studioServer-3RCCQB3T.js} +51 -50
  214. package/dist/{sync-ASUBSVGQ.js → sync-VV7L5GRE.js} +12 -12
  215. package/dist/{telemetry-YON45KT4.js → telemetry-KZRSFUC6.js} +4 -4
  216. package/dist/{timeline-OQWDGV7L.js → timeline-ALU6E3WE.js} +20 -20
  217. package/dist/{tokens-NMPY673W.js → tokens-XEZF2LGB.js} +2 -2
  218. package/dist/{transcribe-HSYXT5TZ.js → transcribe-HJX65J5D.js} +10 -10
  219. package/dist/{transcribe-C6FKVSRR.js → transcribe-OVOOUYK7.js} +22 -22
  220. package/dist/{updateCheck-B7PAAPCJ.js → updateCheck-FEOJQNLJ.js} +2 -2
  221. package/dist/{upgrade-BOECDD5S.js → upgrade-VM2DGLXZ.js} +2 -2
  222. package/dist/{urlDownloader-KC2SS457.js → urlDownloader-YENOMQQF.js} +6 -6
  223. package/dist/{validate-LEEBUIIH.js → validate-HXTL5C7J.js} +26 -25
  224. package/dist/{video-JJAEISDH.js → video-3BIRQK2N.js} +8 -8
  225. package/dist/warmCheck.js +40 -39
  226. package/package.json +1 -1
  227. package/dist/chunk-6UWSEXQ3.js +0 -5030
  228. package/dist/chunk-TRPNLI6V.js +0 -71
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-5HGS5MGD.js";
10
+ } from "./chunk-6TXW6LHH.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-AP7B27MZ.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-6H4ENHBH.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-2YZD6CAF.js";
14
+ } from "./chunk-E2GNVQSH.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-FJ3KUOUZ.js";
13
+ } from "./chunk-IZRC24DI.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-2YZD6CAF.js";
13
+ } from "./chunk-E2GNVQSH.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-BTDKWWND.js";
19
+ } from "./chunk-SANQC4QD.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -50,6 +50,7 @@ var roiArg = {
50
50
  };
51
51
  var outArg = {
52
52
  type: "string",
53
+ alias: ["output", "output-dir"],
53
54
  description: "Folder for pictures (default .hyperframes/measure/<op>)"
54
55
  };
55
56
  var jsonArg = {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-ADOBHVHW.js";
9
+ } from "./chunk-RG7WG2BC.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  formatVariableValidationIssue,
24
24
  validateVariables
25
- } from "./chunk-FJ3KUOUZ.js";
25
+ } from "./chunk-IZRC24DI.js";
26
26
  import {
27
27
  extractCompositionMetadata
28
28
  } from "./chunk-T5ELONXY.js";
@@ -14,31 +14,31 @@ import {
14
14
  } from "./chunk-AW3XJY4S.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-X5BSSPC2.js";
17
+ } from "./chunk-AI6Z7BVD.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-5HGS5MGD.js";
22
+ } from "./chunk-6TXW6LHH.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-FJ3KUOUZ.js";
27
+ } from "./chunk-IZRC24DI.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-6UWSEXQ3.js";
34
+ } from "./chunk-SBQV5FLG.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-HT3D5AKG.js";
38
+ } from "./chunk-GR2T3BOX.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
- } from "./chunk-AKMY4QVI.js";
41
+ } from "./chunk-2GTFW4MK.js";
42
42
  import {
43
43
  compositionOriginSeconds,
44
44
  cutToHostSlots,
@@ -6,42 +6,21 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-X5BSSPC2.js";
9
+ } from "./chunk-AI6Z7BVD.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-5LOZWO2M.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-5HGS5MGD.js";
16
+ } from "./chunk-6TXW6LHH.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-FJ3KUOUZ.js";
19
+ } from "./chunk-IZRC24DI.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-66W5IWLO.js";
23
23
 
24
- // src/browser/windowsCrash.ts
25
- var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
26
- var STATUS_STACK_BUFFER_OVERRUN_HEX = /0x[cC]0000409/;
27
- var STATUS_STACK_BUFFER_OVERRUN_NAME = /STATUS_STACK_BUFFER_OVERRUN/i;
28
- function isWindowsChromeCrashError(errorMessage) {
29
- if (!/Failed to launch the browser process/i.test(errorMessage)) return false;
30
- return errorMessage.includes(STATUS_STACK_BUFFER_OVERRUN_DEC) || STATUS_STACK_BUFFER_OVERRUN_HEX.test(errorMessage) || STATUS_STACK_BUFFER_OVERRUN_NAME.test(errorMessage);
31
- }
32
- function windowsChromeCrashRemediation(errorMessage) {
33
- if (process.platform !== "win32") return void 0;
34
- if (!isWindowsChromeCrashError(errorMessage)) return void 0;
35
- return [
36
- "chrome-headless-shell crashed at launch (Windows STATUS_STACK_BUFFER_OVERRUN, exit 0xC0000409 / 3221225595).",
37
- "The pinned Chromium build is not stable on this Windows host; point hyperframes at your installed Chrome instead:",
38
- "",
39
- ' set HYPERFRAMES_BROWSER_PATH="C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"',
40
- "",
41
- "Then re-run your command. Any Chrome build works for the screenshot capture path; install a real chrome-headless-shell later if you need the perf-optimized BeginFrame path."
42
- ].join("\n");
43
- }
44
-
45
24
  // src/utils/renderArgs.ts
46
25
  import { readFileSync } from "fs";
47
26
  import { resolve } from "path";
@@ -151,7 +130,6 @@ function parseHlsSegmentSecondsArg(raw) {
151
130
  }
152
131
 
153
132
  export {
154
- windowsChromeCrashRemediation,
155
133
  resolveBrowserTimeoutMsArg,
156
134
  pageNavigationTimeoutMs,
157
135
  resolveDefaultFpsArg,
@@ -6,33 +6,33 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-4VTXUGDR.js";
9
+ } from "./chunk-SPN4SJV7.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-UQWOOANM.js";
15
+ } from "./chunk-FFCQR7AP.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-2EH3WQCS.js";
19
+ } from "./chunk-PVLG6IY4.js";
20
20
  import {
21
21
  runFfmpeg
22
- } from "./chunk-2YZD6CAF.js";
22
+ } from "./chunk-E2GNVQSH.js";
23
23
  import {
24
24
  initialModelForLanguage,
25
25
  transcribe
26
- } from "./chunk-UBXKKXXR.js";
26
+ } from "./chunk-TJPZYMYX.js";
27
27
  import {
28
28
  createRenderCancellationScope,
29
29
  stoppedByCancelSignal
30
- } from "./chunk-SXHSNLEC.js";
30
+ } from "./chunk-VHREBR3T.js";
31
31
  import {
32
32
  DEFAULT_MODEL,
33
33
  findWhisper,
34
34
  isWhisperUnavailable
35
- } from "./chunk-3E2BO3L3.js";
35
+ } from "./chunk-YKOHWGUC.js";
36
36
  import {
37
37
  formatSrt,
38
38
  formatVtt,
@@ -8,12 +8,12 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-FPWCICAI.js";
11
+ } from "./chunk-NFUJ35XX.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
15
15
  import { existsSync, mkdirSync } from "fs";
16
- import { join, resolve } from "path";
16
+ import { dirname, join, resolve } from "path";
17
17
  var MAX_BUFFER = 1 << 30;
18
18
  var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
19
19
  var Fix = class extends Error {
@@ -224,6 +224,12 @@ function pearson(a, b) {
224
224
  }
225
225
  return da && db ? num / Math.sqrt(da * db) : null;
226
226
  }
227
+ function projectOf(from) {
228
+ for (let dir = resolve(from); ; dir = dirname(dir)) {
229
+ if (existsSync(join(dir, "index.html"))) return dir;
230
+ if (dirname(dir) === dir) return null;
231
+ }
232
+ }
227
233
 
228
234
  export {
229
235
  Fix,
@@ -246,5 +252,6 @@ export {
246
252
  outDir,
247
253
  frameAt,
248
254
  formatJson,
249
- pearson
255
+ pearson,
256
+ projectOf
250
257
  };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-E47ZWDMH.js";
9
+ } from "./chunk-KU6VRNJF.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-6UWSEXQ3.js";
17
+ } from "./chunk-SBQV5FLG.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-HYRPH6LL.js";
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-UBXKKXXR.js";
24
+ } from "./chunk-TJPZYMYX.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-SXHSNLEC.js";
27
+ } from "./chunk-VHREBR3T.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -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-OZMZFJDW.js";
9
+ } from "./chunk-K6YHKCVX.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-T5ELONXY.js";
@@ -15,10 +15,11 @@ import {
15
15
  isWithinProjectRoot,
16
16
  maskNonScannableRanges,
17
17
  readProjectFile,
18
+ readTextFile,
18
19
  resolveExistingLocalAsset,
19
20
  resolveLocalAssetCandidates,
20
21
  resolveProjectRelativeSrc
21
- } from "./chunk-AKMY4QVI.js";
22
+ } from "./chunk-2GTFW4MK.js";
22
23
  import {
23
24
  TIMING_TOLERANCE_SECONDS,
24
25
  resolveCompositionDuration
@@ -3758,7 +3759,7 @@ function trackKindOf(node) {
3758
3759
 
3759
3760
  // ../lint/dist/index.js
3760
3761
  import { createHash } from "crypto";
3761
- import { existsSync as existsSync2, readFileSync, readdirSync } from "fs";
3762
+ import { existsSync as existsSync2, readdirSync } from "fs";
3762
3763
  import { dirname as dirname2, extname, join as join3, relative as relative2, resolve } from "path";
3763
3764
 
3764
3765
  // ../parsers/dist/referenceResolver.js
@@ -11352,7 +11353,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
11352
11353
  let totalErrors = 0;
11353
11354
  let totalWarnings = 0;
11354
11355
  let totalInfos = 0;
11355
- const rootHtml = readFileSync(indexPath, "utf-8");
11356
+ const rootHtml = readTextFile(indexPath);
11356
11357
  const projectFontFamilies = declaredProjectFontFamilies(
11357
11358
  projectDir,
11358
11359
  mountedSources(projectDir, rootHtml, rootCompSrcPath)
@@ -11388,7 +11389,7 @@ async function lintProject(projectDir, entryFile, hostOptions = {}) {
11388
11389
  const files = collectHtmlFiles(compositionsDir, "").sort();
11389
11390
  for (const file of files) {
11390
11391
  const filePath = join3(compositionsDir, file);
11391
- const html = readFileSync(filePath, "utf-8");
11392
+ const html = readTextFile(filePath);
11392
11393
  const compSrcPath = `compositions/${file}`;
11393
11394
  allHtmlSources.push({ html, compSrcPath });
11394
11395
  if (isSnippetFragment(html)) continue;
@@ -11692,7 +11693,7 @@ function lintMultipleRootCompositions(projectDir) {
11692
11693
  const rootCompositions = [];
11693
11694
  for (const file of rootHtmlFiles) {
11694
11695
  if (PAGES_OPENED_BESIDE_INDEX.has(file)) continue;
11695
- const content = readFileSync(join3(projectDir, file), "utf-8");
11696
+ const content = readTextFile(join3(projectDir, file));
11696
11697
  if (/data-composition-id/i.test(content)) {
11697
11698
  rootCompositions.push(file);
11698
11699
  }
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-EEBIHQF2.js";
9
+ } from "./chunk-V7BBBD5C.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-EIIMWDZW.js";
13
+ } from "./chunk-IQFLDX7I.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -11,7 +11,7 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-FPWCICAI.js";
14
+ } from "./chunk-NFUJ35XX.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-FPWCICAI.js";
18
+ } from "./chunk-NFUJ35XX.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-UBH2R663.js";
21
+ } from "./chunk-TG5RBLCM.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-5HGS5MGD.js";
27
+ } from "./chunk-6TXW6LHH.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -435,7 +435,7 @@ async function decoderTransposesDimensions(inputPath) {
435
435
  }
436
436
  async function probeMedia(inputPath) {
437
437
  const isImage = inferInputKind(inputPath) === "image";
438
- const engine = await import("./src-AP7B27MZ.js");
438
+ const engine = await import("./src-6H4ENHBH.js");
439
439
  const meta = await engine.extractMediaMetadata(inputPath);
440
440
  if (isImage) {
441
441
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-E47ZWDMH.js";
10
+ } from "./chunk-KU6VRNJF.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-FJ3KUOUZ.js";
18
+ } from "./chunk-IZRC24DI.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -29,7 +29,7 @@ import {
29
29
  isRemoteOrInlineUrl,
30
30
  isUnresolvedAssetPlaceholder,
31
31
  resolveExistingLocalAsset
32
- } from "./chunk-AKMY4QVI.js";
32
+ } from "./chunk-2GTFW4MK.js";
33
33
  import {
34
34
  rewriteAssetPath
35
35
  } from "./chunk-C2KEGBR3.js";
@@ -258,7 +258,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
258
258
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
259
259
  }
260
260
 
261
- // ../studio-server/dist/chunk-KPCW4DQM.js
261
+ // ../studio-server/dist/chunk-G4VPDLXC.js
262
262
  import { spawn as spawn2 } from "child_process";
263
263
  import { randomUUID } from "crypto";
264
264
  import {
@@ -271,7 +271,7 @@ import {
271
271
  writeFileSync as writeFileSync2
272
272
  } from "fs";
273
273
  import { availableParallelism, tmpdir, totalmem } from "os";
274
- import { basename as basename3, dirname as dirname3, extname as extname3, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
274
+ import { basename as basename3, dirname as dirname3, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
275
275
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
276
276
  import { extname, join } from "path";
277
277
  import { createHash } from "crypto";
@@ -290,12 +290,13 @@ import {
290
290
  closeSync as closeSync2,
291
291
  existsSync as existsSync3,
292
292
  openSync as openSync2,
293
+ readdirSync as readdirSync2,
293
294
  readFileSync as readFileSync2,
294
295
  rmSync,
295
296
  statSync as statSync3,
296
297
  writeSync
297
298
  } from "fs";
298
- import { basename as basename2, dirname as dirname2, join as join3 } from "path";
299
+ import { basename as basename2, dirname as dirname2, extname as extname3, join as join3 } from "path";
299
300
  var DEFAULT_MAX_BYTES = 10 * 1024 * 1024 * 1024;
300
301
  var DEFAULT_STALE_TEMP_MS = 60 * 60 * 1e3;
301
302
  var DEFAULT_MIN_SWEEP_INTERVAL_MS = 5 * 60 * 1e3;
@@ -471,6 +472,26 @@ var UNREADABLE_LOCK_MS = 1e4;
471
472
  function lockPathFor(cachePath) {
472
473
  return join3(dirname2(cachePath), `.lock-${basename2(cachePath)}`);
473
474
  }
475
+ var CopyLockStalledError = class extends Error {
476
+ constructor(copy, stallMs) {
477
+ super(
478
+ `another process holds the copy of ${copy} and has made no progress for ${Math.round(stallMs / 1e3)}s`
479
+ );
480
+ this.name = "CopyLockStalledError";
481
+ }
482
+ };
483
+ function lastActivityMs(cachePath, lockPath) {
484
+ const name = basename2(cachePath);
485
+ const stem = basename2(cachePath, extname3(cachePath));
486
+ const mine = (file) => file === basename2(lockPath) || file.startsWith(".tmp-") && (file.endsWith(`-${name}`) || file.includes(`-.part-${stem}-`)) || file.startsWith(`.part-${stem}-`);
487
+ let newest = 0;
488
+ for (const file of readdirSync2(dirname2(cachePath))) {
489
+ if (!mine(file)) continue;
490
+ const changed = statSync3(join3(dirname2(cachePath), file), { throwIfNoEntry: false })?.mtimeMs;
491
+ newest = Math.max(newest, changed ?? 0);
492
+ }
493
+ return newest;
494
+ }
474
495
  function ownerIsAlive(lockPath) {
475
496
  try {
476
497
  const pid = Number(readFileSync2(lockPath, "utf8"));
@@ -500,7 +521,7 @@ function pause(ms, signal) {
500
521
  signal.addEventListener("abort", onAbort, { once: true });
501
522
  });
502
523
  }
503
- async function acquireCopyLock(cachePath, signal) {
524
+ async function acquireCopyLock(cachePath, signal, stallMs) {
504
525
  const lockPath = lockPathFor(cachePath);
505
526
  for (; ; ) {
506
527
  signal.throwIfAborted();
@@ -515,8 +536,10 @@ async function acquireCopyLock(cachePath, signal) {
515
536
  } catch (err) {
516
537
  if (err.code !== "EEXIST") throw err;
517
538
  }
518
- if (ownerIsAlive(lockPath)) await pause(POLL_MS, signal);
519
- else rmSync(lockPath, { force: true });
539
+ if (!ownerIsAlive(lockPath)) rmSync(lockPath, { force: true });
540
+ else if (Date.now() - lastActivityMs(cachePath, lockPath) > stallMs)
541
+ throw new CopyLockStalledError(basename2(cachePath), stallMs);
542
+ else await pause(POLL_MS, signal);
520
543
  }
521
544
  }
522
545
  var PROXY_PARAMS_VERSION = "v7";
@@ -830,7 +853,7 @@ function createPieceGate(size) {
830
853
  }
831
854
  async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, signal, gate, onDone = () => {
832
855
  }) {
833
- const extension = extname3(tempPath);
856
+ const extension = extname4(tempPath);
834
857
  const pieces = ranges.map((_, index) => `${chunkPrefix}${index}${extension}`);
835
858
  const pending = ranges.flatMap((_, index) => existsSync4(pieces[index]) ? [] : [index]);
836
859
  let doneSeconds = 0;
@@ -1138,13 +1161,19 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
1138
1161
  writeCopyIndex(fastIndexPath(cachePath), sameContent);
1139
1162
  return sameContent;
1140
1163
  }
1141
- const release = await acquireCopyLock(cachePath, job.abandoned.signal);
1164
+ const release = await acquireCopyLock(
1165
+ cachePath,
1166
+ job.abandoned.signal,
1167
+ TRANSCODE_STALL_MS
1168
+ ).catch((error) => {
1169
+ throw error instanceof CopyLockStalledError ? new ProxyTranscodeError(error.message, null, "") : error;
1170
+ });
1142
1171
  if (!release) return cachePath;
1143
1172
  const tempPath = join4(cacheDir, `.tmp-${randomUUID()}-${basename3(cachePath)}`);
1144
1173
  try {
1145
1174
  const chunkPrefix = join4(
1146
1175
  cacheDir,
1147
- `${CHUNK_PREFIX}${basename3(cachePath, extname3(cachePath))}-`
1176
+ `${CHUNK_PREFIX}${basename3(cachePath, extname4(cachePath))}-`
1148
1177
  );
1149
1178
  await runFfmpeg(
1150
1179
  absoluteSourcePath,
@@ -8,24 +8,26 @@ import {
8
8
  gotoWhenSent
9
9
  } from "./chunk-R2C5EON5.js";
10
10
  import {
11
- pageNavigationTimeoutMs,
12
11
  windowsChromeCrashRemediation
13
- } from "./chunk-5I6XEO4W.js";
12
+ } from "./chunk-262C25DQ.js";
13
+ import {
14
+ pageNavigationTimeoutMs
15
+ } from "./chunk-BW3CQT3A.js";
14
16
  import {
15
17
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
16
18
  } from "./chunk-YGGZ23BB.js";
17
19
  import {
18
20
  resolveCompositionViewportFromHtml
19
- } from "./chunk-OZMZFJDW.js";
21
+ } from "./chunk-K6YHKCVX.js";
20
22
  import {
21
23
  launchManagedBrowser,
22
24
  resolveManagedGpuMode,
23
25
  rethrowAfterBrowserCleanup
24
- } from "./chunk-UBH2R663.js";
26
+ } from "./chunk-TG5RBLCM.js";
25
27
  import {
26
28
  resolveLocalBrowserGpuMode,
27
29
  resolveLocalWebGpu
28
- } from "./chunk-IJWDVOIO.js";
30
+ } from "./chunk-7XNMKKXI.js";
29
31
  import {
30
32
  c
31
33
  } from "./chunk-2GICKZ3I.js";
@@ -33,7 +35,7 @@ import {
33
35
  assertWebGpuAdapterAvailable,
34
36
  compositionRequiresWebGpu,
35
37
  oneProcessOverPipe
36
- } from "./chunk-5HGS5MGD.js";
38
+ } from "./chunk-6TXW6LHH.js";
37
39
  import {
38
40
  normalizeErrorMessage
39
41
  } from "./chunk-E63BDV4Z.js";
@@ -141,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
141
143
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
142
144
  });
143
145
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
144
- const { resolveConfig, waitForImagesReady } = await import("./src-AP7B27MZ.js");
146
+ const { resolveConfig, waitForImagesReady } = await import("./src-6H4ENHBH.js");
145
147
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
146
148
  await waitForImagesReady(
147
149
  page,
@@ -190,7 +192,7 @@ async function installPageFunctionGuard(page) {
190
192
  async function openSettledCompositionPage(html, url, options) {
191
193
  const viewport = resolveCompositionViewportFromHtml(html);
192
194
  const requiresWebGpu = compositionRequiresWebGpu(html);
193
- const answer = (await import("./staticProjectServer-YA6XOSFY.js")).inProcessAnswer(url);
195
+ const answer = (await import("./staticProjectServer-E4BZ4YZO.js")).inProcessAnswer(url);
194
196
  const noListen = answer !== void 0;
195
197
  let chromeBrowser;
196
198
  try {
@@ -201,10 +203,11 @@ async function openSettledCompositionPage(html, url, options) {
201
203
  options.onBrowserReady?.();
202
204
  const page = await chromeBrowser.newPage();
203
205
  await installPageFunctionGuard(page);
204
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-AP7B27MZ.js");
206
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-6H4ENHBH.js");
205
207
  await installMediaRenderIdBridge(page);
206
208
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
207
209
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
210
+ await page.evaluateOnNewDocument("window.__HF_RELEASE_PASSED_MEDIA = true");
208
211
  await page.setViewport(viewport);
209
212
  if (answer) await answerPageInProcess(page, url, answer);
210
213
  await options.beforeNavigate?.(page);
@@ -222,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
222
225
  const { ensureBrowser, findSystemBrowser } = await import("./manager-ENFYM32B.js");
223
226
  const browser = await ensureBrowser({ signal: options.signal });
224
227
  const puppeteer = await import("puppeteer-core");
225
- const { buildChromeArgs } = await import("./src-AP7B27MZ.js");
228
+ const { buildChromeArgs } = await import("./src-6H4ENHBH.js");
226
229
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
227
230
  const requiresWebGpu = compositionRequiresWebGpu(html);
228
231
  let softwareWebGpu = false;
@@ -386,7 +389,10 @@ async function settleCompositionSeek(page, options = {}) {
386
389
  },
387
390
  {
388
391
  videoFrames: options.waitForVideoFrames !== false,
389
- timeoutMs: SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
392
+ timeoutMs: Math.min(
393
+ options.seekSettleTimeoutMs ?? SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
394
+ SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
395
+ )
390
396
  }
391
397
  );
392
398
  const animationFrameSettle = options.animationFrameSettle ?? "race";
@@ -25,7 +25,7 @@ import {
25
25
  resolveNaturalMediaTimelineDuration,
26
26
  resolveTimedImageDurationSeconds,
27
27
  unitFloatToByte
28
- } from "./chunk-6UWSEXQ3.js";
28
+ } from "./chunk-SBQV5FLG.js";
29
29
  import {
30
30
  COLOR_GROUP_ATTR,
31
31
  COLOR_GROUP_TAG,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-CXVFPIOM.js";
9
+ } from "./chunk-TJ6G325N.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-FJ3KUOUZ.js";
9
+ } from "./chunk-IZRC24DI.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";