hyperframes 0.8.209 → 0.8.210

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 (196) hide show
  1. package/dist/{add-VZKUIZEH.js → add-36M7YRR4.js} +14 -14
  2. package/dist/{animatedGifPrep-PN4G4YPJ.js → animatedGifPrep-RZLTC77F.js} +5 -5
  3. package/dist/api.js +20 -17
  4. package/dist/{asset-I4PHGE57.js → asset-HRGZ7ZCB.js} +2 -2
  5. package/dist/{assetCataloger-LRAUXQ46.js → assetCataloger-LN7RI2IC.js} +6 -6
  6. package/dist/{audio-T7SAVYED.js → audio-ULOHC2KL.js} +15 -15
  7. package/dist/{auth-GP6HTQT3.js → auth-K4ZULHQY.js} +4 -4
  8. package/dist/{autoUpdate-Z6GFPZAG.js → autoUpdate-MUJ4WPP6.js} +4 -4
  9. package/dist/{backgroundChecks-ZJ7JV52S.js → backgroundChecks-O6JST752.js} +5 -5
  10. package/dist/backgroundChecksWorker.js +5 -5
  11. package/dist/{batchRender-J3ETE23Y.js → batchRender-U742UVOD.js} +4 -4
  12. package/dist/{beats-WF4FJCM5.js → beats-2CSE5WJD.js} +9 -9
  13. package/dist/{benchmark-B7UPP4PQ.js → benchmark-YJB2YKOE.js} +10 -10
  14. package/dist/{browser-SIUYD43U.js → browser-WJ5E7RYS.js} +7 -7
  15. package/dist/{bundleWithLocalizedFonts-RRGFY3XV.js → bundleWithLocalizedFonts-F5VQMFHZ.js} +3 -3
  16. package/dist/{capture-VYS4PCCJ.js → capture-6OJDKKEZ.js} +21 -18
  17. package/dist/{capture-J3GLHUKI.js → capture-IYV3OS5W.js} +3 -3
  18. package/dist/{captureCompositionFrame-SVLMPQYC.js → captureCompositionFrame-7357PUMG.js} +12 -12
  19. package/dist/{catalog-DVBNR422.js → catalog-CZBK33QH.js} +15 -15
  20. package/dist/{catch-up-OBPMV7KG.js → catch-up-7IJQ7AUR.js} +6 -6
  21. package/dist/{check-MEALXNZK.js → check-ISUFX4DK.js} +39 -39
  22. package/dist/{checkAudio-RZ7WQYVN.js → checkAudio-GAA2SY5E.js} +8 -8
  23. package/dist/{checkBrowser-2LEQ2LSX.js → checkBrowser-JRADOMED.js} +33 -33
  24. package/dist/{chunk-TSM67ADU.js → chunk-32BLIKEV.js} +1 -1
  25. package/dist/{chunk-3A4SB326.js → chunk-35HSGF46.js} +6 -6
  26. package/dist/{chunk-AQTODJWP.js → chunk-36EOFTVG.js} +1 -1
  27. package/dist/{chunk-PYVYF64E.js → chunk-4A27M7CJ.js} +1 -1
  28. package/dist/{chunk-VYRJAQGC.js → chunk-57QUPSP2.js} +1 -1
  29. package/dist/{chunk-Y2EVJBR6.js → chunk-5IWRGVAX.js} +2 -2
  30. package/dist/{chunk-CBM4ZUVN.js → chunk-5PCT5DDF.js} +6 -6
  31. package/dist/{chunk-MI4V4HPE.js → chunk-5ZJGEQGS.js} +3 -1
  32. package/dist/{chunk-KGBFHYHX.js → chunk-7BOGLQFM.js} +4 -4
  33. package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
  34. package/dist/{chunk-WLVHSGVL.js → chunk-A2H5EJZM.js} +2 -2
  35. package/dist/{chunk-LV4NWCJS.js → chunk-A45HCDG7.js} +2 -2
  36. package/dist/{chunk-RAONLDN5.js → chunk-AG566TRI.js} +2 -2
  37. package/dist/{chunk-BYPDKF36.js → chunk-AZGVCQGO.js} +7 -3
  38. package/dist/{chunk-LJ7H2A2C.js → chunk-BKXC5XHB.js} +1 -1
  39. package/dist/{chunk-ZPILPVYU.js → chunk-BN22WCAF.js} +1 -1
  40. package/dist/{chunk-H7B526GH.js → chunk-BW5WYF4N.js} +81 -19
  41. package/dist/{chunk-66PNSZ7K.js → chunk-BYZPLQSX.js} +1 -1
  42. package/dist/{chunk-3PUXUIWB.js → chunk-DHTWYTSV.js} +1 -1
  43. package/dist/{chunk-F4O4G4ZW.js → chunk-DKJAK6JW.js} +4 -4
  44. package/dist/{chunk-RVG2JNDU.js → chunk-DST7GU2Y.js} +2 -2
  45. package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
  46. package/dist/{chunk-D6T5BNSK.js → chunk-EQPXSSNG.js} +24 -21
  47. package/dist/{chunk-CA3PXWN4.js → chunk-ERVBXEPZ.js} +1 -1
  48. package/dist/{chunk-RJO4X3AA.js → chunk-EVTBRL37.js} +1 -1
  49. package/dist/{chunk-R52YM6ZK.js → chunk-EYGWMHXV.js} +2 -2
  50. package/dist/{chunk-L7MGVFR4.js → chunk-F7IWJMIO.js} +2 -2
  51. package/dist/{chunk-OML6HQQN.js → chunk-FBIWJ3A4.js} +4 -4
  52. package/dist/{chunk-QIKZ2HZJ.js → chunk-FCIO4WSW.js} +3 -3
  53. package/dist/{chunk-P3OKYRGA.js → chunk-FCXEVKFQ.js} +3 -3
  54. package/dist/{chunk-JJRMN2RV.js → chunk-FHIBBIEZ.js} +5 -7
  55. package/dist/{chunk-DR47DSOY.js → chunk-GKNTPIFD.js} +17 -9
  56. package/dist/{chunk-JC6BAQOG.js → chunk-GNESG4XA.js} +1 -1
  57. package/dist/{chunk-SNLXWCET.js → chunk-HD4KXG5U.js} +15 -10
  58. package/dist/{chunk-TF7YE7J5.js → chunk-HKCIRH26.js} +2 -2
  59. package/dist/{chunk-DVIX7UPH.js → chunk-HP7BXJFZ.js} +2 -2
  60. package/dist/{chunk-IQNS7O4W.js → chunk-I3PNZDKR.js} +71 -20
  61. package/dist/{chunk-3RATCY3W.js → chunk-I4H5JWND.js} +1 -1
  62. package/dist/{chunk-W32DVMX3.js → chunk-IMKBZEGT.js} +1 -1
  63. package/dist/{chunk-M4QZFUMW.js → chunk-JHNBF2HD.js} +1 -1
  64. package/dist/{chunk-5T4DP25D.js → chunk-JLBJRJO6.js} +2 -2
  65. package/dist/{chunk-GMECXFAN.js → chunk-K4FVGVA6.js} +5 -2
  66. package/dist/{chunk-MKALOCDV.js → chunk-KGAPL42S.js} +1 -1
  67. package/dist/{chunk-U5IZUWBW.js → chunk-KGG2PUZN.js} +91 -17
  68. package/dist/{chunk-P2FSCR5B.js → chunk-LRE4GDFA.js} +3 -3
  69. package/dist/{chunk-IJPFVMIE.js → chunk-MA447PNF.js} +25 -17
  70. package/dist/{chunk-V4VXWOIF.js → chunk-MV3J6ZOP.js} +4 -4
  71. package/dist/{chunk-I3ICHLHV.js → chunk-NEKKA2DA.js} +1 -1
  72. package/dist/{chunk-SOXQXX2M.js → chunk-OMLVCHNN.js} +2 -2
  73. package/dist/{chunk-SWHCYFEF.js → chunk-P2L7NNHT.js} +3 -3
  74. package/dist/{chunk-NEASABW6.js → chunk-P6EXMN5D.js} +1 -1
  75. package/dist/{chunk-EVYDKSML.js → chunk-PCPMSUW6.js} +2 -2
  76. package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
  77. package/dist/{chunk-CIDCNE2D.js → chunk-QFXF5GXE.js} +2 -2
  78. package/dist/{chunk-FB5BXGGF.js → chunk-QI5TLQNW.js} +7 -7
  79. package/dist/{chunk-NXNDHV26.js → chunk-QPX7FJP3.js} +1 -1
  80. package/dist/chunk-QRC7IVBC.js +4870 -0
  81. package/dist/{chunk-GQZHLF5P.js → chunk-QRWTVCGH.js} +17 -17
  82. package/dist/{chunk-56ANHX5U.js → chunk-QXUFQSSK.js} +1 -1
  83. package/dist/{chunk-KTWGVEN6.js → chunk-RIAWW4G2.js} +2 -2
  84. package/dist/{chunk-HTZJNQYI.js → chunk-RUW65P3N.js} +1 -1
  85. package/dist/{chunk-MVNTJGDX.js → chunk-TDEORHFN.js} +3 -3
  86. package/dist/{chunk-4BXEPVSA.js → chunk-TGFDRZTM.js} +14 -4
  87. package/dist/{chunk-SPMKVI6H.js → chunk-UA3YNZK6.js} +2 -2
  88. package/dist/{chunk-A7GDBL6D.js → chunk-UWEGMKKU.js} +1 -1
  89. package/dist/{chunk-ZMIRSWN6.js → chunk-W3V5EOFA.js} +1 -1
  90. package/dist/{chunk-L5XVBFUM.js → chunk-W4E3ZOWH.js} +1 -1
  91. package/dist/{chunk-SE6S4SGZ.js → chunk-WOFTAZSZ.js} +16 -16
  92. package/dist/{chunk-YCGLT5B4.js → chunk-WWQJYYAB.js} +3 -3
  93. package/dist/{chunk-EA5FUMJN.js → chunk-X2T5EOI7.js} +2 -2
  94. package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
  95. package/dist/{chunk-Z67J3TTU.js → chunk-XIUHHEBS.js} +2 -2
  96. package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
  97. package/dist/{chunk-OK3QLJSF.js → chunk-YBY2WVLC.js} +19 -2
  98. package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
  99. package/dist/{chunk-NJZRXELC.js → chunk-ZRSQNF4A.js} +32 -22
  100. package/dist/{clean-VWCYLOVI.js → clean-NVBEXXIS.js} +20 -20
  101. package/dist/cli.js +54 -54
  102. package/dist/{cloud-HU3RXCVE.js → cloud-3T6HF7DT.js} +4 -4
  103. package/dist/{cloudrun-OST6QBYD.js → cloudrun-TXEEZGJ7.js} +5 -5
  104. package/dist/commands/layout-audit.browser.js +93 -4
  105. package/dist/{compare-U2MJWZAH.js → compare-Q42Z56P7.js} +32 -32
  106. package/dist/{compiler-DSP4MVEC.js → compiler-IL2PZJFH.js} +2 -2
  107. package/dist/{component-EC5XU6KR.js → component-2IWQZYCZ.js} +3 -3
  108. package/dist/{compositions-AKYCTF4G.js → compositions-3EZ3GBK2.js} +11 -11
  109. package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
  110. package/dist/{delete-Z5MOEZM2.js → delete-2UBY2JTM.js} +7 -7
  111. package/dist/{deploy-Y4LFVYXT.js → deploy-QTS2OM2H.js} +1 -1
  112. package/dist/{dist-JJL4QUDL.js → dist-XF53LCKD.js} +4 -2
  113. package/dist/{doctor-7234U557.js → doctor-FIXMXWE6.js} +18 -14
  114. package/dist/{events-RUIZNTG3.js → events-7WYSDXTE.js} +4 -4
  115. package/dist/{events-SII53QYO.js → events-NTZSSMBR.js} +5 -5
  116. package/dist/{feedback-6CCDDQ36.js → feedback-7SOB5GZC.js} +12 -12
  117. package/dist/{ffmpeg-C4VWK4M2.js → ffmpeg-PYY5FSIX.js} +7 -7
  118. package/dist/{figma-GAN63U5U.js → figma-DTWA3G22.js} +3 -3
  119. package/dist/fontLocalizeCli.js +8 -8
  120. package/dist/{get-RZGUHZB4.js → get-DMGUJPLP.js} +7 -7
  121. package/dist/{gpuPolicy-BGJRCLP4.js → gpuPolicy-KVYO4OU4.js} +5 -5
  122. package/dist/{grade-compare-XOBN52WV.js → grade-compare-NCYPJFLI.js} +33 -33
  123. package/dist/{heifImagePrep-DCHSYGW7.js → heifImagePrep-F7LFUYGC.js} +6 -6
  124. package/dist/{help-O2IV6PUC.js → help-I4RRBHCW.js} +2 -2
  125. package/dist/{history-GPTEM4UX.js → history-GVBBXZKQ.js} +8 -8
  126. package/dist/hyperframe.manifest.json +1 -1
  127. package/dist/hyperframe.runtime.iife.js +64 -64
  128. package/dist/hyperframes-player.global.js +1 -1
  129. package/dist/{info-7Y3JPN7C.js → info-UE2PY5AF.js} +9 -9
  130. package/dist/{init-L6W5WG5K.js → init-4UGFGJQK.js} +30 -30
  131. package/dist/{inspect-MQZANGQY.js → inspect-ZRREAUCB.js} +31 -31
  132. package/dist/{installer-DCIMLYB6.js → installer-ABXPRFIJ.js} +6 -5
  133. package/dist/{keyframes-WNJIKL4G.js → keyframes-MFR4TYVR.js} +8 -8
  134. package/dist/{lambda-FEA4SSFK.js → lambda-E3Z6JCIB.js} +10 -10
  135. package/dist/{layout-AUQAYDJU.js → layout-IO7T5SSU.js} +31 -31
  136. package/dist/{lint-A33IHYID.js → lint-WYPQK5XA.js} +8 -8
  137. package/dist/{list-56JHCET6.js → list-7F2LXWOZ.js} +7 -7
  138. package/dist/{login-HUOM4GNP.js → login-TTMYCXN2.js} +7 -7
  139. package/dist/{logout-3IID4KXD.js → logout-QRSB4CNH.js} +3 -3
  140. package/dist/{manager-Z7W4GQGF.js → manager-LQXZTUTJ.js} +3 -3
  141. package/dist/{manager-SDRJOMPR.js → manager-OQ5J26ST.js} +8 -8
  142. package/dist/{media-treatment-5TGZOD67.js → media-treatment-ELB6WRA5.js} +14 -14
  143. package/dist/{models-ABDX6TXI.js → models-D2FNIGNZ.js} +12 -12
  144. package/dist/{motionShot-AV2WRH2C.js → motionShot-53VDDRIC.js} +19 -19
  145. package/dist/{normalize-audio-M7T25DST.js → normalize-audio-QHNCFWR2.js} +10 -10
  146. package/dist/{open-IRNZY5XN.js → open-3KMTT3AV.js} +14 -14
  147. package/dist/{parakeetRunner-2EJUIMOJ.js → parakeetRunner-T65S6FW3.js} +14 -14
  148. package/dist/{pipeline-QGKOJKXS.js → pipeline-DUVRZGIM.js} +12 -9
  149. package/dist/{play-2SQLHM5B.js → play-27R6RBSK.js} +21 -21
  150. package/dist/{policies-PKLD4UW5.js → policies-NWIEUGGW.js} +1 -1
  151. package/dist/{preflight-ZHXMG2SM.js → preflight-QB6NKBBL.js} +9 -9
  152. package/dist/{present-RERVL6R7.js → present-RHV3FKI5.js} +16 -16
  153. package/dist/{preview-S6RQOMHE.js → preview-IAKIXYLN.js} +23 -23
  154. package/dist/{producer-DBRGH2FI.js → producer-F6PHB4M4.js} +1 -1
  155. package/dist/{projectConfig-TUMDULTL.js → projectConfig-MPHWYY5D.js} +7 -7
  156. package/dist/{publication-7VGXIFVZ.js → publication-CBAEINEG.js} +4 -3
  157. package/dist/{publish-KJB2AGHL.js → publish-4A2A6V7Z.js} +15 -15
  158. package/dist/{refresh-3IRHJEQA.js → refresh-F7FUCXLX.js} +3 -3
  159. package/dist/{remove-background-EFWXPLS4.js → remove-background-3I7RZGVG.js} +12 -10
  160. package/dist/{render-5O5ARP6C.js → render-2HYATL32.js} +20 -20
  161. package/dist/{render-HV6AA22W.js → render-BGPUHBFC.js} +6 -5
  162. package/dist/{render-7S6UBLOE.js → render-BSKLHCZ4.js} +58 -38
  163. package/dist/{render-batch-7UEOULJJ.js → render-batch-JD6C3BDD.js} +7 -6
  164. package/dist/renderSetupWorker.js +4 -4
  165. package/dist/{resolver-HFTEER5V.js → resolver-SQYR7LII.js} +6 -5
  166. package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
  167. package/dist/{sherpa-HSSM76FL.js → sherpa-VXD3DAH4.js} +13 -13
  168. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
  169. package/dist/{skills-RQO5K6WL.js → skills-B2SHEHWL.js} +7 -7
  170. package/dist/{skillsUpdateCheck-S5WL2YLZ.js → skillsUpdateCheck-ST43UUPK.js} +5 -5
  171. package/dist/{snapshot-4RGI235E.js → snapshot-USJYNKDM.js} +63 -54
  172. package/dist/{src-D75YYW2M.js → src-5OX35WPG.js} +7 -7
  173. package/dist/{src-ALOV4D57.js → src-PX3VIS7K.js} +10 -4
  174. package/dist/{staticProjectServer-DIHWPJ6B.js → staticProjectServer-ET7H5LMV.js} +16 -16
  175. package/dist/{status-DTP6ZYDU.js → status-QVDRHXW2.js} +3 -3
  176. package/dist/studio/assets/{hyperframes-player-CMH8OeX2.js → hyperframes-player-DUpxahTX.js} +1 -1
  177. package/dist/studio/assets/{index-DjHzuJGR.js → index-B4dcZZAm.js} +1 -1
  178. package/dist/studio/assets/{index-DQam8zzE.js → index-CtrcjpbM.js} +5 -5
  179. package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
  180. package/dist/studio/index.html +2 -2
  181. package/dist/{studio-api-A2VSWTVF.js → studio-api-PLKYSG2X.js} +8 -8
  182. package/dist/{studioServer-PECYWZHS.js → studioServer-CNUXGRFS.js} +57 -57
  183. package/dist/{telemetry-YDGXGOLH.js → telemetry-DGDEJLGL.js} +5 -5
  184. package/dist/{telemetry-6BPSGY5W.js → telemetry-EJS5PXH2.js} +2 -2
  185. package/dist/{timeline-5WUEEKZ3.js → timeline-VCQC4TLM.js} +18 -18
  186. package/dist/{tokens-XVFZPIUZ.js → tokens-AEOBCDW5.js} +2 -2
  187. package/dist/{transcribe-QWDUIJWK.js → transcribe-COFCB3ZB.js} +19 -19
  188. package/dist/{transcribe-TTJ6CDQT.js → transcribe-X6O5ZSGQ.js} +11 -11
  189. package/dist/{updateCheck-P7STSJ6Q.js → updateCheck-BW7MDUXZ.js} +4 -4
  190. package/dist/{upgrade-NEIZ3KVL.js → upgrade-QXOGA54H.js} +4 -4
  191. package/dist/{urlDownloader-ZZFNGZNG.js → urlDownloader-QB3TBIQ5.js} +4 -4
  192. package/dist/{validate-T2SLBOXG.js → validate-AU2BZ7D7.js} +24 -24
  193. package/dist/{video-7OHSBSRT.js → video-GNNYAL5T.js} +6 -6
  194. package/dist/warmCheck.js +39 -39
  195. package/package.json +1 -1
  196. package/dist/chunk-ZXTSUXSL.js +0 -4870
@@ -9,7 +9,7 @@ import {
9
9
  buildAuthHeaders,
10
10
  refreshTokens,
11
11
  resolveCredential
12
- } from "./chunk-M4QZFUMW.js";
12
+ } from "./chunk-JHNBF2HD.js";
13
13
 
14
14
  // src/cloud/auth.ts
15
15
  async function resolveCloudAuthHeaders() {
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-P6LJ4Y32.js";
25
25
  import {
26
26
  publishRegistryFile
27
- } from "./chunk-GMECXFAN.js";
27
+ } from "./chunk-K4FVGVA6.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-MI4V4HPE.js";
30
+ } from "./chunk-5ZJGEQGS.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-NXNDHV26.js";
9
+ } from "./chunk-QPX7FJP3.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-KGBFHYHX.js";
15
+ } from "./chunk-7BOGLQFM.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-SWHCYFEF.js";
19
+ } from "./chunk-P2L7NNHT.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-RVG2JNDU.js";
23
+ } from "./chunk-DST7GU2Y.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-3PUXUIWB.js";
28
+ } from "./chunk-DHTWYTSV.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-IR35BCLK.js";
44
44
  import {
45
45
  normalizeErrorMessage
46
- } from "./chunk-EU7MVORF.js";
46
+ } from "./chunk-E63BDV4Z.js";
47
47
 
48
48
  // src/api/transcribe.ts
49
49
  import { existsSync, realpathSync, rmSync, statSync, writeFileSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-ZXTSUXSL.js";
12
+ } from "./chunk-QRC7IVBC.js";
13
13
  import {
14
14
  COMPOSITION_ATTRIBUTES,
15
15
  MEDIA_START_BASIS_ATTR,
@@ -1231,6 +1231,7 @@ var PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
1231
1231
  var PREVIEW_PROXY_LIGHT_PARAM = "hf-proxy-light";
1232
1232
  var PREVIEW_PROXY_RETRY_PARAM = "hf-proxy-retry";
1233
1233
  var PREVIEW_PROXY_PROGRESS_HEADER = "X-HF-Proxy-Progress";
1234
+ var PREVIEW_PROXY_PRIORITY_HEADER = "X-HF-Proxy-Priority";
1234
1235
  var RUNGS = [
1235
1236
  256,
1236
1237
  304,
@@ -5651,6 +5652,7 @@ export {
5651
5652
  PREVIEW_PROXY_LIGHT_PARAM,
5652
5653
  PREVIEW_PROXY_RETRY_PARAM,
5653
5654
  PREVIEW_PROXY_PROGRESS_HEADER,
5655
+ PREVIEW_PROXY_PRIORITY_HEADER,
5654
5656
  quantizePreviewProxyBox,
5655
5657
  formatPreviewProxyBox,
5656
5658
  parsePreviewProxyBox,
@@ -16,18 +16,18 @@ import {
16
16
  pinnedPackageBesideCli,
17
17
  runNpm,
18
18
  sweepStaleStaging
19
- } from "./chunk-EXAX37XR.js";
19
+ } from "./chunk-Y65ZU7XY.js";
20
20
  import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-SWHCYFEF.js";
24
+ } from "./chunk-P2L7NNHT.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-RVG2JNDU.js";
27
+ } from "./chunk-DST7GU2Y.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-3PUXUIWB.js";
30
+ } from "./chunk-DHTWYTSV.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -82,6 +82,25 @@ async function waitForPageReady(page, options = {}) {
82
82
  }
83
83
  if (waitedOutLoad && remaining() > 0) await idle();
84
84
  }
85
+ function isNavigationRaceError(error) {
86
+ return error instanceof Error && /Execution context was destroyed/i.test(error.message);
87
+ }
88
+ function settleAcrossNavigation(page) {
89
+ const read = page.evaluate.bind(page);
90
+ page.evaluate = (async (...args) => {
91
+ try {
92
+ return await read(...args);
93
+ } catch (error) {
94
+ if (!isNavigationRaceError(error)) throw error;
95
+ await waitForPageReady({
96
+ evaluate: (fn) => read(fn),
97
+ waitForNetworkIdle: (o) => page.waitForNetworkIdle(o)
98
+ });
99
+ return read(...args);
100
+ }
101
+ });
102
+ return page;
103
+ }
85
104
  var PUPPETEER_LAUNCH_DEFAULT_TIMEOUT_MS = 3e4;
86
105
  var PAGE_LOAD_BLOCKING_TYPES = /* @__PURE__ */ new Set(["Document", "Script", "Stylesheet"]);
87
106
  var NAMED_BLOCKING_REQUESTS = 3;
@@ -176,5 +195,6 @@ function pageLoadTimeoutMessage(timeoutMs, pageUrl, waitingOn) {
176
195
  export {
177
196
  navigateForCapture,
178
197
  waitForPageReady,
198
+ settleAcrossNavigation,
179
199
  gotoWhenSent
180
200
  };
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-IQNS7O4W.js";
10
+ } from "./chunk-I3PNZDKR.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-ALOV4D57.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-PX3VIS7K.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateCheckDisabled
9
- } from "./chunk-SPMKVI6H.js";
9
+ } from "./chunk-UA3YNZK6.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -14,7 +14,7 @@ import {
14
14
  readConfig,
15
15
  readConfigFresh,
16
16
  writeConfig
17
- } from "./chunk-NEASABW6.js";
17
+ } from "./chunk-P6EXMN5D.js";
18
18
 
19
19
  // src/utils/skillsManifest.ts
20
20
  import { execFile } from "child_process";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.8.209" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.209" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.210" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.210" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -18,14 +18,14 @@ import {
18
18
  } from "./chunk-EQBDKYXR.js";
19
19
  import {
20
20
  loadSharp
21
- } from "./chunk-EXAX37XR.js";
21
+ } from "./chunk-Y65ZU7XY.js";
22
22
  import {
23
23
  createCaptureDownloadBudget,
24
24
  readBoundedResponse
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-IQNS7O4W.js";
28
+ } from "./chunk-I3PNZDKR.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -143,6 +143,10 @@ var systemAnswers = /* @__PURE__ */ new Map();
143
143
  var SYSTEM_LOOKUP = `require("node:dns").lookup(process.argv[1], { all: true, family: 4 }, (error, answers) =>
144
144
  error ? process.stderr.write(String(error.code)) : process.stdout.write(JSON.stringify(answers.map((a) => a.address))))`;
145
145
  var liveLookups = /* @__PURE__ */ new Set();
146
+ function helperEnded(error) {
147
+ if (!error) return "the lookup helper printed no answer";
148
+ return error.signal ? `the lookup helper was ended by ${error.signal}` : `the lookup helper exited with code ${error.code}`;
149
+ }
146
150
  function systemLookupInKillableChild(host, timeoutMs) {
147
151
  if (!process.listeners("exit").includes(killLiveLookups)) process.on("exit", killLiveLookups);
148
152
  const answers = new Promise((resolve, reject) => {
@@ -157,7 +161,7 @@ function systemLookupInKillableChild(host, timeoutMs) {
157
161
  },
158
162
  (error, stdout, stderr) => {
159
163
  if (error?.killed) reject(new Error("Capture DNS timed out"));
160
- else if (!stdout) reject(new Error(`Capture DNS failed: ${stderr || error?.message}`));
164
+ else if (!stdout) reject(new Error(`Capture DNS failed: ${stderr || helperEnded(error)}`));
161
165
  else {
162
166
  try {
163
167
  resolve(JSON.parse(stdout));
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-U5IZUWBW.js";
13
+ } from "./chunk-KGG2PUZN.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -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-I3ICHLHV.js";
9
+ } from "./chunk-NEKKA2DA.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-5T4DP25D.js";
11
+ } from "./chunk-JLBJRJO6.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-Z67J3TTU.js";
16
+ } from "./chunk-XIUHHEBS.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -41,6 +41,7 @@ import {
41
41
  MIXED_AUDIO_FILENAME,
42
42
  ManagedChildProcess,
43
43
  NotMediaPayloadError,
44
+ PRORES_PROFILE_NAMES,
44
45
  VIDEO_FRAME_FORMATS,
45
46
  aacSegmentCount,
46
47
  analyzeCompositionHdr,
@@ -120,6 +121,7 @@ import {
120
121
  isHttpUrl,
121
122
  isMemoryExhaustionError,
122
123
  isNotMediaPayload,
124
+ isProresProfile,
123
125
  isSelfOrAncestorHidden,
124
126
  isTransientBrowserError,
125
127
  isVideoFrameFormat,
@@ -168,7 +170,7 @@ import {
168
170
  verifyDiskDrawElementSamples,
169
171
  videoAudioId,
170
172
  writeCapturedFrame
171
- } from "./chunk-IQNS7O4W.js";
173
+ } from "./chunk-I3PNZDKR.js";
172
174
  import {
173
175
  assignBundledRuntimeCompositionIds,
174
176
  emitMountedModuleScripts,
@@ -180,7 +182,7 @@ import {
180
182
  parsesAsScript,
181
183
  prepareFlattenedInnerRoot,
182
184
  stripSdrPngColourTags
183
- } from "./chunk-JC6BAQOG.js";
185
+ } from "./chunk-GNESG4XA.js";
184
186
  import {
185
187
  collectScratchLeftovers,
186
188
  removeScratch,
@@ -201,7 +203,7 @@ import {
201
203
  parseVfxChain,
202
204
  resolveAuthoredTimingWindow,
203
205
  toFps
204
- } from "./chunk-MI4V4HPE.js";
206
+ } from "./chunk-5ZJGEQGS.js";
205
207
  import {
206
208
  COMPOSITION_SOURCE_URL,
207
209
  HF_COLOR_GRADING_ATTR,
@@ -236,7 +238,7 @@ import {
236
238
  sourceTimeAt,
237
239
  styleElementsFor,
238
240
  timeAtSourceTime
239
- } from "./chunk-ZXTSUXSL.js";
241
+ } from "./chunk-QRC7IVBC.js";
240
242
  import {
241
243
  TRANSITIONS,
242
244
  convertTransfer,
@@ -1095,8 +1097,20 @@ function resolveHlsEncoderGopLock(outputFormat, fps, segmentSeconds) {
1095
1097
  }
1096
1098
 
1097
1099
  // ../producer/src/services/render/deliveryEncoder.ts
1100
+ function validateProresProfile(format, proresProfile) {
1101
+ if (proresProfile === void 0) return;
1102
+ if (!isProresProfile(proresProfile)) {
1103
+ throw new Error(
1104
+ `proresProfile must be one of ${PRORES_PROFILE_NAMES.join(", ")}; got ${JSON.stringify(proresProfile)}`
1105
+ );
1106
+ }
1107
+ if (format !== void 0 && format !== "mov") {
1108
+ throw new Error(`proresProfile applies to mov renders, not ${format}`);
1109
+ }
1110
+ }
1098
1111
  function validateDeliveryEncoderConfig(config) {
1099
- const { keyframeIntervalSeconds, maxBitrate, bufferSize, format } = config;
1112
+ const { keyframeIntervalSeconds, maxBitrate, bufferSize, format, proresProfile } = config;
1113
+ validateProresProfile(format, proresProfile);
1100
1114
  if (keyframeIntervalSeconds === void 0 && maxBitrate === void 0 && bufferSize === void 0)
1101
1115
  return;
1102
1116
  if (keyframeIntervalSeconds !== void 0) {
@@ -3390,14 +3404,15 @@ async function extractHdrVideoFrames(args) {
3390
3404
  }
3391
3405
  first.release();
3392
3406
  if (video.loop) (await windows.lease(totalFrames - 1))?.release();
3407
+ const held = holdFirstFrameUntilStreamStarts(windows, firstTick);
3393
3408
  out.set(videoId, {
3394
3409
  dir: frameDir,
3395
- windows,
3410
+ windows: held,
3396
3411
  width: dims.width,
3397
3412
  height: dims.height,
3398
3413
  frameSize,
3399
3414
  get frameCount() {
3400
- return windows.totalFrames;
3415
+ return held.totalFrames;
3401
3416
  },
3402
3417
  scratch: Buffer.allocUnsafe(frameSize),
3403
3418
  loop: video.loop,
@@ -3426,9 +3441,18 @@ function hdrWindowFfmpegArgs(a) {
3426
3441
  if (trim > 0) filters.push(`trim=start_frame=${trim}`);
3427
3442
  return [
3428
3443
  ...["-ss", (a.mediaStart + seekFrame / a.fps).toFixed(6), "-i", a.srcPath],
3429
- ...["-vf", filters.join(","), "-frames:v", String(a.frames)]
3444
+ ...["-vf", filters.join(","), "-frames:v", String(a.frames), "-fps_mode", "passthrough"]
3430
3445
  ];
3431
3446
  }
3447
+ function holdFirstFrameUntilStreamStarts(windows, firstTick) {
3448
+ return {
3449
+ get totalFrames() {
3450
+ return firstTick + windows.totalFrames;
3451
+ },
3452
+ lease: (frameIndex) => windows.lease(Math.max(0, frameIndex - firstTick)),
3453
+ close: () => windows.close()
3454
+ };
3455
+ }
3432
3456
  function decodeHdrImageBuffers(args) {
3433
3457
  const { log, hdrImageSrcPaths, prep, hdrDiagnostics } = args;
3434
3458
  const out = /* @__PURE__ */ new Map();
@@ -4966,6 +4990,12 @@ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources)
4966
4990
  `[Render] HDR ${reason}, output: ${effectiveHdr.transfer.toUpperCase()} (BT.2020, 10-bit H.265)`
4967
4991
  );
4968
4992
  }
4993
+ function formatCarriesHdr(format) {
4994
+ return format === "mp4";
4995
+ }
4996
+ function rendersSdrOnly(config) {
4997
+ return config.hdrMode === "force-sdr" || !formatCarriesHdr(config.format ?? "mp4");
4998
+ }
4969
4999
  function resolveEffectiveHdrMode(input) {
4970
5000
  const hdrMode = input.hdrMode ?? "auto";
4971
5001
  const videoColorSpaces = (input.extractionResult?.extracted ?? []).map(
@@ -4987,7 +5017,7 @@ function resolveEffectiveHdrMode(input) {
4987
5017
  } else if (info?.hasHdr && info.dominantTransfer) {
4988
5018
  effectiveHdr = { transfer: info.dominantTransfer };
4989
5019
  }
4990
- if (effectiveHdr && input.outputFormat !== "mp4") {
5020
+ if (effectiveHdr && !formatCarriesHdr(input.outputFormat)) {
4991
5021
  input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
4992
5022
  effectiveHdr = void 0;
4993
5023
  }
@@ -8799,7 +8829,7 @@ async function runExtractVideosStage(input) {
8799
8829
  fps: job.config.fps,
8800
8830
  outputDir: join16(compiledDir, "__hyperframes_video_frames"),
8801
8831
  format: job.config.videoFrameFormat ?? "auto",
8802
- toneMapHdrToSdr: job.config.hdrMode === "force-sdr",
8832
+ toneMapHdrToSdr: rendersSdrOnly(job.config),
8803
8833
  timelineEnd: composition.duration,
8804
8834
  maxTransientRetries: extractionPolicy.maxTransientRetries,
8805
8835
  collectProbeFailures: extractionPolicy.failureMode === "enforce",
@@ -13304,7 +13334,12 @@ async function executeRenderPipeline(input) {
13304
13334
  });
13305
13335
  const encoderHdr = hasHdrContent ? effectiveHdr : void 0;
13306
13336
  const presetFormat = outputFormat === "webm" || outputFormat === "mov" ? outputFormat : "mp4";
13307
- const preset = getEncoderPreset(job.config.quality, presetFormat, encoderHdr);
13337
+ const preset = getEncoderPreset(
13338
+ job.config.quality,
13339
+ presetFormat,
13340
+ encoderHdr,
13341
+ job.config.proresProfile
13342
+ );
13308
13343
  if (job.config.crf != null && job.config.videoBitrate) {
13309
13344
  log.warn(
13310
13345
  `[Render] Both crf=${job.config.crf} and videoBitrate=${job.config.videoBitrate} were set. These are mutually exclusive; honoring crf and ignoring videoBitrate. Set only one to silence this warning.`
@@ -16084,6 +16119,8 @@ function buildLockedRenderConfig(input) {
16084
16119
  closedGop: true,
16085
16120
  forceKeyframes: "n=0",
16086
16121
  pixelFormat,
16122
+ // Omitted for the default so existing 4444 plans keep their planHash.
16123
+ ...config.proresProfile && config.proresProfile !== "4444" ? { proresProfile: config.proresProfile } : {},
16087
16124
  chunkSize: input.effectiveChunkSize,
16088
16125
  chunkCount: input.chunkCount,
16089
16126
  runtimeEnv: input.runtimeEnv,
@@ -16105,7 +16142,11 @@ function resolveEncoderTriple(config) {
16105
16142
  `[plan] DistributedRenderConfig.codec is only valid for format="mp4"; received codec=${JSON.stringify(config.codec)} with format=${JSON.stringify(config.format)}. Omit codec for non-mp4 formats: mov is always ProRes 4444, webm is always libvpx-vp9, and png-sequence has no encoder.`
16106
16143
  );
16107
16144
  }
16108
- return resolveNonMp4EncoderTriple(config.format, config.quality ?? "standard");
16145
+ return resolveNonMp4EncoderTriple(
16146
+ config.format,
16147
+ config.quality ?? "standard",
16148
+ config.proresProfile
16149
+ );
16109
16150
  }
16110
16151
  function resolveMp4EncoderTriple(codec) {
16111
16152
  const c = codec ?? "h264";
@@ -16119,9 +16160,10 @@ function resolveMp4EncoderTriple(codec) {
16119
16160
  }
16120
16161
  return { encoder: "libx264-software", pixelFormat: "yuv420p", preset: "medium" };
16121
16162
  }
16122
- function resolveNonMp4EncoderTriple(format, quality) {
16163
+ function resolveNonMp4EncoderTriple(format, quality, proresProfile) {
16123
16164
  if (format === "mov") {
16124
- return { encoder: "prores-software", pixelFormat: "yuva444p10le", preset: "4444" };
16165
+ const { pixelFormat, preset } = getEncoderPreset(quality, "mov", void 0, proresProfile);
16166
+ return { encoder: "prores-software", pixelFormat, preset };
16125
16167
  }
16126
16168
  if (format === "webm") {
16127
16169
  const enginePreset = getEncoderPreset(quality, "webm");
@@ -16326,7 +16368,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16326
16368
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16327
16369
  if (probeResult.probeSession) {
16328
16370
  try {
16329
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ALOV4D57.js");
16371
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-PX3VIS7K.js");
16330
16372
  await closeCaptureSession2(probeResult.probeSession);
16331
16373
  } catch (err) {
16332
16374
  log.warn("[plan] probe session close failed", {
@@ -16776,6 +16818,18 @@ function validateDistributedRenderConfig(config) {
16776
16818
  error instanceof Error ? error.message : String(error)
16777
16819
  );
16778
16820
  }
16821
+ try {
16822
+ validateDeliveryEncoderConfig({
16823
+ format: config.format,
16824
+ fps: { num: config.fps, den: 1 },
16825
+ proresProfile: config.proresProfile
16826
+ });
16827
+ } catch (error) {
16828
+ throw new InvalidConfigError(
16829
+ "config.proresProfile",
16830
+ error instanceof Error ? error.message : String(error)
16831
+ );
16832
+ }
16779
16833
  if (config.chunkSize !== void 0) {
16780
16834
  if (!Number.isInteger(config.chunkSize) || config.chunkSize < 1) {
16781
16835
  throw new InvalidConfigError(
@@ -17015,6 +17069,7 @@ function assertRequestOptionScalars(options) {
17015
17069
  for (const field of ["entryFile", "videoBitrate", "maxBitrate", "bufferSize"]) {
17016
17070
  assertOptionalString(options, field);
17017
17071
  }
17072
+ assertOptionalEnum(options, "proresProfile", PRORES_PROFILE_NAMES);
17018
17073
  assertOptionalEnum(options, "strictness", ["strict", "best-effort"]);
17019
17074
  assertOptionalEnum(options, "hdrMode", ["auto", "force-hdr", "force-sdr"]);
17020
17075
  assertOptionalEnum(options, "pageMotionBlur", ["off"]);
@@ -17116,6 +17171,7 @@ function distributedConfigFromRequest(request, runtime = {}) {
17116
17171
  pageMotionBlur: options.pageMotionBlur,
17117
17172
  bitrate: options.videoBitrate,
17118
17173
  keyframeIntervalSeconds: options.keyframeIntervalSeconds,
17174
+ proresProfile: options.proresProfile,
17119
17175
  maxBitrate: options.maxBitrate,
17120
17176
  bufferSize: options.bufferSize,
17121
17177
  videoFrameFormat: options.videoFrameFormat,
@@ -17166,6 +17222,7 @@ function renderRequestFromDistributedConfig(input) {
17166
17222
  ...optionalProperty("pageMotionBlur", config.pageMotionBlur),
17167
17223
  ...optionalProperty("videoBitrate", config.bitrate),
17168
17224
  ...optionalProperty("keyframeIntervalSeconds", config.keyframeIntervalSeconds),
17225
+ ...optionalProperty("proresProfile", config.proresProfile),
17169
17226
  ...optionalProperty("maxBitrate", config.maxBitrate),
17170
17227
  ...optionalProperty("bufferSize", config.bufferSize),
17171
17228
  ...optionalProperty("videoFrameFormat", config.videoFrameFormat),
@@ -18043,7 +18100,7 @@ function startServer(options = {}) {
18043
18100
  });
18044
18101
  async function shutdown(signal) {
18045
18102
  log.info(`Received ${signal}, shutting down`);
18046
- const { drainBrowserPool } = await import("./src-ALOV4D57.js");
18103
+ const { drainBrowserPool } = await import("./src-PX3VIS7K.js");
18047
18104
  await drainBrowserPool().catch(() => {
18048
18105
  });
18049
18106
  const handle = await Promise.race([
@@ -19713,7 +19770,12 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19713
19770
  const isPngSequence = plan2.dimensions.format === "png-sequence";
19714
19771
  outputKind = isPngSequence ? "frame-dir" : "file";
19715
19772
  const presetFormat = isPngSequence ? "mp4" : plan2.dimensions.format;
19716
- const basePreset = getEncoderPreset(job.config.quality, presetFormat, void 0);
19773
+ const basePreset = getEncoderPreset(
19774
+ job.config.quality,
19775
+ presetFormat,
19776
+ void 0,
19777
+ encoder.proresProfile
19778
+ );
19717
19779
  const preset = resolvePresetForLockedEncoder(basePreset, encoder.encoder);
19718
19780
  const effectiveQuality = encoder.crf ?? preset.quality;
19719
19781
  const effectiveBitrate = encoder.crf != null ? void 0 : encoder.bitrate;
@@ -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-MI4V4HPE.js";
9
+ } from "./chunk-5ZJGEQGS.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-WQ6ZXHFQ.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-R52YM6ZK.js";
12
+ } from "./chunk-EYGWMHXV.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
@@ -14,24 +14,24 @@ import {
14
14
  } from "./chunk-VQB7G5BM.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-L5XVBFUM.js";
17
+ } from "./chunk-W4E3ZOWH.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-IQNS7O4W.js";
22
+ } from "./chunk-I3PNZDKR.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-MI4V4HPE.js";
27
+ } from "./chunk-5ZJGEQGS.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-ZXTSUXSL.js";
34
+ } from "./chunk-QRC7IVBC.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-IQNS7O4W.js";
9
+ } from "./chunk-I3PNZDKR.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
13
13
  processParentPid
14
- } from "./chunk-D2CE2J2A.js";
14
+ } from "./chunk-PV4XID2A.js";
15
15
  import {
16
16
  processIsAlive
17
17
  } from "./chunk-KGPLIH7B.js";
@@ -6,8 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/errorMessage.ts
9
+ var pageCrashed = false;
10
+ function notePageCrash() {
11
+ pageCrashed = true;
12
+ }
13
+ var CLOSED_AFTER_CRASH = /Target closed|detached Frame|Session closed/;
14
+ function namedAfterCrash(message) {
15
+ return pageCrashed && CLOSED_AFTER_CRASH.test(message) ? `The browser page crashed, most likely out of memory: ${message}` : message;
16
+ }
9
17
  function normalizeErrorMessage(error) {
10
- if (error instanceof Error) return error.message;
18
+ if (error instanceof Error) return namedAfterCrash(error.message);
11
19
  if (typeof error === "string") return error;
12
20
  if (typeof error === "object" && error !== null) {
13
21
  const msg = error.message;
@@ -36,6 +44,7 @@ async function atStep(step, run) {
36
44
  }
37
45
 
38
46
  export {
47
+ notePageCrash,
39
48
  normalizeErrorMessage,
40
49
  atStep
41
50
  };