hyperframes 0.8.198 → 0.8.200

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 (176) hide show
  1. package/dist/{add-KEYBYC4P.js → add-MFJDOJHQ.js} +14 -14
  2. package/dist/{animatedGifPrep-Z5BJNWKN.js → animatedGifPrep-WBZ2VVP6.js} +7 -7
  3. package/dist/api.js +15 -15
  4. package/dist/{asset-I4SWXLQ6.js → asset-PTAQLOR6.js} +2 -2
  5. package/dist/{assetCataloger-FBZ36VTV.js → assetCataloger-N3UGZ2RC.js} +7 -7
  6. package/dist/{audio-I4Z5PT7P.js → audio-CPHWRLC4.js} +15 -15
  7. package/dist/{auth-CKN546QV.js → auth-ZWOJIYK7.js} +2 -2
  8. package/dist/{autoUpdate-AKOIVDJZ.js → autoUpdate-DO74673A.js} +3 -3
  9. package/dist/{backgroundChecks-5BJIAXAC.js → backgroundChecks-HOAN7YB6.js} +4 -4
  10. package/dist/backgroundChecksWorker.js +4 -4
  11. package/dist/{batchRender-QY2RN3J2.js → batchRender-AZFHTPSV.js} +3 -3
  12. package/dist/{beats-UEGEBTZ6.js → beats-JRMM6JQQ.js} +11 -11
  13. package/dist/{benchmark-BNGEOBEM.js → benchmark-2PEQUV7H.js} +11 -11
  14. package/dist/{browser-DL2STX2A.js → browser-2D6IHFO6.js} +7 -7
  15. package/dist/{bundleWithLocalizedFonts-ULZJ7GHE.js → bundleWithLocalizedFonts-ERB43NFP.js} +2 -2
  16. package/dist/{capture-DHYANXXU.js → capture-3ODEX55X.js} +2 -2
  17. package/dist/{capture-UNI6ZOPZ.js → capture-WNC2DWF7.js} +11 -11
  18. package/dist/{captureCompositionFrame-PS5KDJXF.js → captureCompositionFrame-JXXTHR7J.js} +12 -12
  19. package/dist/{catalog-UF3CDKXY.js → catalog-MHTRTKSY.js} +14 -14
  20. package/dist/{catch-up-DIESQDJZ.js → catch-up-XNDRKMKL.js} +7 -7
  21. package/dist/{check-WZ6L42CH.js → check-7IB355TM.js} +36 -36
  22. package/dist/{checkBrowser-7J6VC7D6.js → checkBrowser-E3ZCTAGY.js} +31 -31
  23. package/dist/{chunk-PKQ3GBDU.js → chunk-2LKHE32Z.js} +6 -6
  24. package/dist/{chunk-MFDZK3X5.js → chunk-32V3VHMK.js} +66 -10
  25. package/dist/{chunk-C6WBKEOI.js → chunk-3XXSRN36.js} +2 -2
  26. package/dist/{chunk-WA6HZFDD.js → chunk-3YGSZSEN.js} +2 -2
  27. package/dist/{chunk-AFQ777YP.js → chunk-4UPGPCMB.js} +1 -1
  28. package/dist/{chunk-HVF7K2T3.js → chunk-4VZAIVZQ.js} +1 -1
  29. package/dist/{chunk-ESJYD4AE.js → chunk-57Y5X4VU.js} +5 -5
  30. package/dist/{chunk-2CGWIIPE.js → chunk-5ULL3P6S.js} +2 -2
  31. package/dist/{chunk-6WZ6HNK2.js → chunk-63JJFXAD.js} +10 -8
  32. package/dist/{chunk-4V2OO56A.js → chunk-63S4VUOL.js} +2 -2
  33. package/dist/{chunk-256C5DYC.js → chunk-733CEBPF.js} +5 -5
  34. package/dist/{chunk-F2ZAINSR.js → chunk-7D7V3UDI.js} +1 -1
  35. package/dist/{chunk-GHO33VCP.js → chunk-7LRVGYKZ.js} +2 -2
  36. package/dist/{chunk-O3KFO66O.js → chunk-7NWSVRFE.js} +1 -1
  37. package/dist/{chunk-WY67Q2QY.js → chunk-7WV27W7R.js} +5 -3
  38. package/dist/{chunk-GJA6QSSQ.js → chunk-ACH5ZR7X.js} +3 -3
  39. package/dist/{chunk-6BTMNV3R.js → chunk-BERGVZKN.js} +1 -1
  40. package/dist/{chunk-DZWTK3HJ.js → chunk-BIZPUWBG.js} +1 -1
  41. package/dist/{chunk-T6AGUTZJ.js → chunk-BQA3X7TI.js} +3 -32
  42. package/dist/{chunk-U66P7HPN.js → chunk-D35MPIGJ.js} +14 -14
  43. package/dist/{chunk-Y2I7KT2R.js → chunk-DRTUJVLE.js} +107 -44
  44. package/dist/{chunk-YP5XWK7M.js → chunk-FTD5QXGF.js} +1 -1
  45. package/dist/{chunk-FXDYR644.js → chunk-FTUKOLLB.js} +1 -1
  46. package/dist/{chunk-4WDOTQDY.js → chunk-FZ3R5XOH.js} +1 -1
  47. package/dist/{chunk-YEVU5W5G.js → chunk-G7RKSAKS.js} +29 -4
  48. package/dist/{chunk-7W7F3KBH.js → chunk-GR2G5L2O.js} +2 -2
  49. package/dist/{chunk-7FT7E7OU.js → chunk-GYSPF5ZT.js} +17 -17
  50. package/dist/{chunk-BPU22WKT.js → chunk-H2X4TQVK.js} +7 -7
  51. package/dist/{chunk-FCY375PD.js → chunk-HBRPELT6.js} +3 -3
  52. package/dist/{chunk-6NSH5EAO.js → chunk-HN6TP4D2.js} +1 -1
  53. package/dist/{chunk-7OFK6XMH.js → chunk-HXHSGDU6.js} +7 -7
  54. package/dist/{chunk-O2CO6QNK.js → chunk-I4VEFPZE.js} +1 -1
  55. package/dist/{chunk-DFL4XSQZ.js → chunk-I6A2B3IJ.js} +3 -3
  56. package/dist/{chunk-YUODO5H2.js → chunk-IC6BO4GU.js} +25 -2
  57. package/dist/{chunk-2FT5WJPY.js → chunk-ISN6BAZX.js} +1 -1
  58. package/dist/{chunk-JSLQZKXA.js → chunk-IW4LKYDY.js} +2 -2
  59. package/dist/{chunk-56ZYGITX.js → chunk-JBQNDHRT.js} +1 -1
  60. package/dist/{chunk-O2SA7HOG.js → chunk-KPUTRG54.js} +2 -2
  61. package/dist/{chunk-JBTNMFFR.js → chunk-KVFSXCN6.js} +1 -1
  62. package/dist/{chunk-EUZB3ZV3.js → chunk-ML4IULLQ.js} +10 -10
  63. package/dist/{chunk-ORNE2BC4.js → chunk-NC3TVM27.js} +5 -5
  64. package/dist/{chunk-4UAUXH77.js → chunk-OE7AUN6G.js} +759 -454
  65. package/dist/{chunk-N4NKPFKQ.js → chunk-OMXXJSCK.js} +54 -16
  66. package/dist/{chunk-NDBOBZRL.js → chunk-OYVVDYM6.js} +10 -10
  67. package/dist/{chunk-P3ZZD4SK.js → chunk-PFFR4NQV.js} +3 -3
  68. package/dist/{chunk-6NLPPKBO.js → chunk-PSX5SF2N.js} +36 -0
  69. package/dist/chunk-PW22CDII.js +3901 -0
  70. package/dist/{chunk-XIYNIHGQ.js → chunk-Q5IJYX7X.js} +2 -2
  71. package/dist/{chunk-GQVTTWZF.js → chunk-QDK7XCOB.js} +1 -1
  72. package/dist/{chunk-5I74DQPC.js → chunk-QP4UWICL.js} +3 -3
  73. package/dist/{chunk-UMCU32QC.js → chunk-QYQY5ACN.js} +1 -1
  74. package/dist/{chunk-F2K72QNO.js → chunk-RFQ6BIRL.js} +1 -1
  75. package/dist/{chunk-OU6YITCR.js → chunk-TDF2O2RM.js} +2 -2
  76. package/dist/{chunk-ISZK5IJM.js → chunk-TOC6E65N.js} +1 -1
  77. package/dist/{chunk-MMJ3L4XQ.js → chunk-TTFHBTXQ.js} +1 -1
  78. package/dist/{chunk-UBOBOWWB.js → chunk-TUVNQA5B.js} +3 -3
  79. package/dist/{chunk-W2LGJSEN.js → chunk-UIOZIIB7.js} +33 -3
  80. package/dist/{chunk-ZSO7UVC5.js → chunk-UUFY6A7I.js} +354 -82
  81. package/dist/{chunk-JTTWK6IM.js → chunk-VFLBOKDI.js} +3 -3
  82. package/dist/{chunk-TXJKDBUB.js → chunk-WAG4AX5C.js} +1 -1
  83. package/dist/{chunk-HBPFY3KU.js → chunk-XV7ZNBVY.js} +3 -3
  84. package/dist/{chunk-UUG3DETI.js → chunk-ZFBET3PD.js} +1 -1
  85. package/dist/{clean-2W5OGTMI.js → clean-BOYUTBAU.js} +18 -18
  86. package/dist/cli.js +54 -54
  87. package/dist/{cloud-AJK5OLJM.js → cloud-3O2MEZO4.js} +4 -4
  88. package/dist/{cloudrun-HAAYNZWP.js → cloudrun-MCTN22O6.js} +4 -4
  89. package/dist/{compare-KRY3JTXM.js → compare-A57RHCPB.js} +28 -28
  90. package/dist/{compiler-47QXFQF4.js → compiler-LVNWLZCX.js} +3 -3
  91. package/dist/{component-XQR75LCM.js → component-MIJC3LWO.js} +3 -3
  92. package/dist/{compositions-QJZQZJFB.js → compositions-OUNZAEC3.js} +13 -13
  93. package/dist/{delete-PPOMPFZG.js → delete-X6Q3S3SL.js} +3 -3
  94. package/dist/{deploy-IKVAHO42.js → deploy-XXMIXGUF.js} +1 -1
  95. package/dist/{dist-JBRYL3MH.js → dist-2UO4RVFN.js} +4 -2
  96. package/dist/{dist-XPD7X6JB.js → dist-ONHJ6ZDA.js} +1 -1
  97. package/dist/{doctor-TM2B4PLJ.js → doctor-ASSDEPCO.js} +14 -14
  98. package/dist/{events-UFQAFJ7A.js → events-4ULC5VUK.js} +5 -5
  99. package/dist/{events-QERYXJVB.js → events-DVWSV3TQ.js} +6 -6
  100. package/dist/{feedback-X6GA5Z2Y.js → feedback-OB3NJPNF.js} +9 -9
  101. package/dist/{ffmpeg-G6RMIP5K.js → ffmpeg-JH3JXES2.js} +7 -7
  102. package/dist/{figma-WAM4RJUC.js → figma-GV4OGXC2.js} +3 -3
  103. package/dist/fontLocalizeCli.js +9 -9
  104. package/dist/{get-7TO44JK3.js → get-FLMCUJGR.js} +3 -3
  105. package/dist/{gpuPolicy-IMLRNUEJ.js → gpuPolicy-RZ2OUY4M.js} +7 -7
  106. package/dist/{grade-compare-TCUAQKW4.js → grade-compare-O62JAOA7.js} +29 -29
  107. package/dist/{help-GSPNIWE2.js → help-6POZ4GNV.js} +1 -1
  108. package/dist/{history-SFC4KDFT.js → history-72ZIF5WR.js} +9 -9
  109. package/dist/hyperframe.manifest.json +1 -1
  110. package/dist/hyperframe.runtime.iife.js +65 -62
  111. package/dist/hyperframes-player.global.js +3 -3
  112. package/dist/{info-YBSWR4VE.js → info-GGIFZ5CT.js} +10 -10
  113. package/dist/{init-RJCZWSTH.js → init-QYRN6HG2.js} +29 -29
  114. package/dist/{inspect-R6C5Q7WI.js → inspect-KSL4YVIU.js} +29 -29
  115. package/dist/{installer-BJQSDYHE.js → installer-ENQCLSJQ.js} +4 -4
  116. package/dist/{keyframes-UJOV3QTF.js → keyframes-6PNLGKOO.js} +9 -9
  117. package/dist/{lambda-645URVF4.js → lambda-3RFOOJV6.js} +6 -6
  118. package/dist/{layout-MPGHNIY6.js → layout-3XFC6N3L.js} +29 -29
  119. package/dist/{lint-BWYP7H5P.js → lint-5XGLCTV5.js} +10 -10
  120. package/dist/{lintProject-Q4ZVEF3G.js → lintProject-FKPKSU6M.js} +1 -1
  121. package/dist/{list-YBOALPIY.js → list-B76BTLOM.js} +3 -3
  122. package/dist/{login-Z3JYXJKB.js → login-MNXS7GEL.js} +4 -4
  123. package/dist/{manager-COSJVRAE.js → manager-BWU4U7DV.js} +3 -3
  124. package/dist/{manager-CCRWUMQO.js → manager-QZZVJV7Z.js} +8 -8
  125. package/dist/{media-treatment-4P54XYM7.js → media-treatment-J3OWRCBF.js} +15 -15
  126. package/dist/{models-3LIZKQPH.js → models-MCDUTV54.js} +11 -11
  127. package/dist/{motionShot-22NRFNLM.js → motionShot-RWEH3VWI.js} +16 -16
  128. package/dist/{normalize-audio-C6JTJBZE.js → normalize-audio-N7VRZODX.js} +7 -7
  129. package/dist/{open-5KOE2UWD.js → open-ROUFAVKD.js} +14 -14
  130. package/dist/{parakeetRunner-67JLWWPE.js → parakeetRunner-PTVV5M44.js} +12 -12
  131. package/dist/{pipeline-QZQRLXSV.js → pipeline-HN5KMORF.js} +8 -8
  132. package/dist/{play-ID4KS6LH.js → play-AO7AF4Y4.js} +20 -20
  133. package/dist/{preflight-DVW7XWEO.js → preflight-ARNDDFGX.js} +10 -10
  134. package/dist/{present-CDJCTLFJ.js → present-FBPKUC5R.js} +16 -16
  135. package/dist/{preview-KDMHWG3L.js → preview-35X5G426.js} +20 -20
  136. package/dist/{producer-QPUWC6S3.js → producer-FVGPLR5E.js} +1 -1
  137. package/dist/{projectConfig-VMVZXMC6.js → projectConfig-SRUJLOHL.js} +6 -6
  138. package/dist/{publication-VBXDWVC7.js → publication-XH2BRL3V.js} +2 -2
  139. package/dist/{publish-XDNOVFIZ.js → publish-RI4ZQZNT.js} +8 -8
  140. package/dist/{remove-background-OQUEVC4I.js → remove-background-J22P5JFW.js} +9 -9
  141. package/dist/{render-L5DUPSDJ.js → render-2EZQT4IS.js} +16 -16
  142. package/dist/{render-MMEZAOL7.js → render-IJUKJILU.js} +123 -42
  143. package/dist/{render-2MVVITHT.js → render-UXYZN6D2.js} +5 -5
  144. package/dist/{render-batch-EZRFUUHG.js → render-batch-X34UZ442.js} +5 -5
  145. package/dist/renderSetupWorker.js +4 -4
  146. package/dist/{resolver-E6OFNCLG.js → resolver-UUEIRLMY.js} +4 -4
  147. package/dist/{sherpa-MQUVKCRX.js → sherpa-FI4VNAFT.js} +11 -11
  148. package/dist/skills/media-use/references/mixing.md +1 -0
  149. package/dist/{skills-Y7AATMSQ.js → skills-LGKXQFW7.js} +8 -8
  150. package/dist/{skillsUpdateCheck-K7DSQJGU.js → skillsUpdateCheck-NDPKSX3H.js} +4 -4
  151. package/dist/{snapshot-DZWLAQAW.js → snapshot-JM6427YW.js} +33 -33
  152. package/dist/{src-RRTSNZLM.js → src-26NBARTO.js} +8 -8
  153. package/dist/{src-7FSQZKIY.js → src-WEECPY6E.js} +6 -6
  154. package/dist/{staticProjectServer-J2IXFINI.js → staticProjectServer-I5WGMJOV.js} +14 -14
  155. package/dist/{status-H5WLKQDS.js → status-SCCC7A6N.js} +2 -2
  156. package/dist/studio/assets/{hyperframes-player-DDoxfTBd.js → hyperframes-player-LmRUJE8q.js} +1 -1
  157. package/dist/studio/assets/{index-BAKWbo0z.js → index-BmTWk8xf.js} +108 -108
  158. package/dist/studio/assets/{index-D9WoRF2S.js → index-CKNiEwbW.js} +1 -1
  159. package/dist/studio/index.html +1 -1
  160. package/dist/{studio-api-7BNDWZG5.js → studio-api-N774Q4NO.js} +7 -7
  161. package/dist/{studioServer-FBRUE3XK.js → studioServer-KZIM5UBJ.js} +49 -49
  162. package/dist/{system-7F3UEHQT.js → system-HV7PYIXE.js} +4 -3
  163. package/dist/{telemetry-4K6CPMNT.js → telemetry-IHU4HL3R.js} +1 -1
  164. package/dist/{telemetry-OOQVUJGL.js → telemetry-JIETM7WP.js} +6 -6
  165. package/dist/{timeline-U6MIU6JP.js → timeline-JJ6JG7GQ.js} +18 -18
  166. package/dist/{tokens-3ZPX6WKB.js → tokens-VOIMSCGX.js} +2 -2
  167. package/dist/{transcribe-QDBXRADM.js → transcribe-2V23EQHD.js} +18 -18
  168. package/dist/{transcribe-VPGQV5TG.js → transcribe-7BDHDQVP.js} +10 -10
  169. package/dist/{updateCheck-MN3QTSGM.js → updateCheck-7B7L3UWO.js} +3 -3
  170. package/dist/{upgrade-4FVRTMU5.js → upgrade-TUA2QZTY.js} +3 -3
  171. package/dist/{urlDownloader-UTVBU5IQ.js → urlDownloader-CGV6EYL7.js} +6 -6
  172. package/dist/{validate-NN43T4XX.js → validate-JLCXEI2U.js} +23 -23
  173. package/dist/{video-VQ67QXES.js → video-TI3EOA2D.js} +7 -7
  174. package/dist/warmCheck.js +36 -36
  175. package/package.json +1 -1
  176. package/dist/chunk-UYBXHV7R.js +0 -3901
@@ -13,7 +13,7 @@ import {
13
13
  formatPreviewProxyBox,
14
14
  hdrToSdrToneMapFilter,
15
15
  parseFirstFrameColour
16
- } from "./chunk-YEVU5W5G.js";
16
+ } from "./chunk-G7RKSAKS.js";
17
17
  import {
18
18
  decodeAuthoredAttribute,
19
19
  scanHtmlOpeningTags
@@ -340,7 +340,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
340
340
  return map;
341
341
  }
342
342
 
343
- // ../studio-server/dist/chunk-N2HH4SGD.js
343
+ // ../studio-server/dist/chunk-URMIRXBS.js
344
344
  import { spawn } from "child_process";
345
345
  import { createHash, randomUUID } from "crypto";
346
346
  import {
@@ -353,7 +353,7 @@ import {
353
353
  utimesSync,
354
354
  writeFileSync
355
355
  } from "fs";
356
- import { tmpdir } from "os";
356
+ import { availableParallelism, tmpdir } from "os";
357
357
  import { basename, dirname, extname as extname2, isAbsolute, join as join2, relative, resolve, sep as sep2 } from "path";
358
358
  import { existsSync, readdirSync, statSync as statSync3, unlinkSync } from "fs";
359
359
  import { extname as extname3, join } from "path";
@@ -465,7 +465,7 @@ function cleanupProxyCache(cacheDir, options = {}) {
465
465
  skipped: false
466
466
  };
467
467
  }
468
- var PROXY_PARAMS_VERSION = "v5";
468
+ var PROXY_PARAMS_VERSION = "v6";
469
469
  var CACHE_DIR_NAME = ".transcode-cache";
470
470
  function boundedEnvInteger(name, fallback, min, max) {
471
471
  const raw = process.env[name]?.trim();
@@ -476,8 +476,13 @@ function boundedEnvInteger(name, fallback, min, max) {
476
476
  var MAX_CONCURRENT_TRANSCODES = boundedEnvInteger("HYPERFRAMES_PROXY_MAX_CONCURRENCY", 2, 1, 16);
477
477
  var MAX_QUEUED_TRANSCODES = boundedEnvInteger("HYPERFRAMES_PROXY_MAX_QUEUE", 8, 0, 256);
478
478
  var STDERR_TAIL_MAX_CHARS = 4e3;
479
- var TRANSCODE_TIMEOUT_MS = 15 * 60 * 1e3;
480
- var PROXY_CHUNK_SECONDS = 60;
479
+ var TRANSCODE_STALL_MS = boundedEnvInteger(
480
+ "HYPERFRAMES_PROXY_STALL_MS",
481
+ 3 * 60 * 1e3,
482
+ 1e4,
483
+ 60 * 60 * 1e3
484
+ );
485
+ var PROXY_CHUNK_SECONDS = 15;
481
486
  var CHUNK_PREFIX = ".part-";
482
487
  var CONCAT_TIMEOUT_MS = 2 * 60 * 1e3;
483
488
  var FAILURE_CACHE_TTL_MS = 60 * 1e3;
@@ -586,6 +591,10 @@ function getProxyCachePath(projectDir, absoluteSourcePath, variant = "h264", box
586
591
  box
587
592
  );
588
593
  }
594
+ function reportProgress(job, progress) {
595
+ job.lastProgress = progress;
596
+ for (const listener of job.progress) listener(progress);
597
+ }
589
598
  var ProxyDroppedError = class extends ProxyTranscodeError {
590
599
  constructor() {
591
600
  super("media proxy copy dropped: every caller left", null, "");
@@ -704,11 +713,15 @@ function rememberFailure(cachePath, error) {
704
713
  failedTranscodes.delete(oldest);
705
714
  }
706
715
  }
707
- function proxyScaleFilter(box) {
708
- if (!box) return "scale=trunc(iw/2)*2:trunc(ih/2)*2";
716
+ function proxyScaleSize(box) {
717
+ if (!box) return { width: "trunc(iw/2)*2", height: "trunc(ih/2)*2" };
709
718
  const factor = `min(1\\,max(${box.width}/iw\\,${box.height}/ih))`;
710
719
  const side = (d) => `min(trunc(${d}/2)*2\\,ceil(${d}*${factor}/2)*2)`;
711
- return `scale=${side("iw")}:${side("ih")}`;
720
+ return { width: side("iw"), height: side("ih") };
721
+ }
722
+ function proxyScaleFilter(box) {
723
+ const { width, height } = proxyScaleSize(box);
724
+ return `scale=${width}:${height}`;
712
725
  }
713
726
  var STDERR_ERROR_LINE = /error|invalid|denied|no space|not found|unknown/i;
714
727
  function stderrReason(stderrTail) {
@@ -725,26 +738,24 @@ function chunkRanges(durationSeconds) {
725
738
  lengthSeconds: index === count - 1 ? durationSeconds - index * PROXY_CHUNK_SECONDS : PROXY_CHUNK_SECONDS
726
739
  }));
727
740
  }
728
- function ffmpegBudgetError(chunksKept, chunkCount) {
729
- return new ProxyTranscodeError(
730
- `ffmpeg ran out of its ${TRANSCODE_TIMEOUT_MS}ms budget with ${chunksKept}/${chunkCount} pieces done; the finished pieces are kept and the next attempt continues from them`,
731
- null,
732
- ""
733
- );
734
- }
735
- async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat) {
741
+ async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, onDone = () => {
742
+ }) {
736
743
  const extension = extname2(tempPath);
737
- const deadline = Date.now() + TRANSCODE_TIMEOUT_MS;
738
744
  const pieces = ranges.map((_, index) => `${chunkPrefix}${index}${extension}`);
745
+ let doneSeconds = 0;
746
+ for (const [index, range] of ranges.entries()) {
747
+ if (existsSync2(pieces[index])) doneSeconds += range.lengthSeconds;
748
+ }
749
+ if (doneSeconds) onDone(doneSeconds);
739
750
  for (const [index, range] of ranges.entries()) {
740
751
  const piece = pieces[index];
741
752
  if (existsSync2(piece)) continue;
742
- const timeoutMs = deadline - Date.now();
743
- if (timeoutMs <= 0) throw ffmpegBudgetError(index, ranges.length);
744
753
  const pieceTemp = join2(dirname(piece), `.tmp-${randomUUID()}-${basename(piece)}`);
745
754
  try {
746
- await encode(pieceTemp, timeoutMs, range);
755
+ await encode(pieceTemp, range);
747
756
  renameSync(pieceTemp, piece);
757
+ doneSeconds += range.lengthSeconds;
758
+ onDone(doneSeconds);
748
759
  } finally {
749
760
  if (existsSync2(pieceTemp)) unlinkSync2(pieceTemp);
750
761
  }
@@ -785,6 +796,7 @@ var H264_ARGS = [
785
796
  "-movflags",
786
797
  "+faststart"
787
798
  ];
799
+ var VP8_THREADS = String(Math.min(4, availableParallelism()));
788
800
  var VP8_ARGS = [
789
801
  "-c:v",
790
802
  "libvpx",
@@ -804,6 +816,8 @@ var VP8_ARGS = [
804
816
  "bt709",
805
817
  "-cpu-used",
806
818
  "4",
819
+ "-threads",
820
+ VP8_THREADS,
807
821
  "-auto-alt-ref",
808
822
  "0",
809
823
  "-metadata:s:v:0",
@@ -821,12 +835,12 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
821
835
  const evenScale = proxyScaleFilter(box);
822
836
  const pixelFormat = keepsAlpha ? "yuva420p" : "yuv420p";
823
837
  return toneMap ? [
824
- hdrToSdrToneMapFilter(metadata.color, firstFrame),
838
+ hdrToSdrToneMapFilter(metadata.color, firstFrame, box && proxyScaleSize(box)),
825
839
  `${evenScale}:out_color_matrix=bt709:out_range=tv`,
826
840
  `format=${pixelFormat}`
827
841
  ].join(",") : [evenScale, `format=${pixelFormat}`].join(",");
828
842
  }
829
- async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, signal) {
843
+ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, signal, onProgress) {
830
844
  const metadata = await probeMediaMetadata(sourcePath);
831
845
  const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
832
846
  if (!ffmpegPath) {
@@ -836,10 +850,14 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
836
850
  const videoFilter = await buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, box);
837
851
  const alphaDecoder = keepsAlpha ? alphaDecoderFor(metadata.color.codecName) : null;
838
852
  const decoderArgs = alphaDecoder ? ["-c:v", alphaDecoder] : [];
839
- const encode = (target, timeoutMs, range) => spawnFfmpeg(
853
+ const totalSeconds = metadata.durationSeconds;
854
+ const encode = (target, range) => spawnFfmpeg(
840
855
  ffmpegPath,
841
856
  [
842
857
  "-y",
858
+ "-progress",
859
+ "pipe:1",
860
+ "-nostats",
843
861
  ...range ? ["-ss", String(range.startSeconds)] : [],
844
862
  ...decoderArgs,
845
863
  "-i",
@@ -850,17 +868,19 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
850
868
  ...variant === "vp8" ? VP8_ARGS : H264_ARGS,
851
869
  target
852
870
  ],
853
- timeoutMs,
854
- signal
871
+ TRANSCODE_STALL_MS,
872
+ signal,
873
+ (encodedSeconds) => onProgress({ doneSeconds: (range?.startSeconds ?? 0) + encodedSeconds, totalSeconds })
855
874
  );
856
- const ranges = chunkRanges(metadata.durationSeconds);
857
- if (!ranges) return encode(outputPath, TRANSCODE_TIMEOUT_MS);
875
+ const ranges = chunkRanges(totalSeconds);
876
+ if (!ranges) return encode(outputPath);
858
877
  await encodeInChunks(
859
878
  ranges,
860
879
  chunkPrefix,
861
880
  outputPath,
862
881
  encode,
863
- (listPath, target) => spawnFfmpeg(ffmpegPath, concatArgs(listPath, target, variant), CONCAT_TIMEOUT_MS, signal)
882
+ (listPath, target) => spawnFfmpeg(ffmpegPath, concatArgs(listPath, target, variant), CONCAT_TIMEOUT_MS, signal),
883
+ (doneSeconds) => onProgress({ doneSeconds, totalSeconds })
864
884
  );
865
885
  }
866
886
  function concatArgs(listPath, target, variant) {
@@ -878,35 +898,67 @@ function concatArgs(listPath, target, variant) {
878
898
  target
879
899
  ];
880
900
  }
881
- function spawnFfmpeg(ffmpegPath, args, timeoutMs, signal) {
901
+ var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
902
+ function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress) {
882
903
  return new Promise((resolvePromise, reject) => {
883
904
  signal.throwIfAborted();
884
905
  const proc = spawn(ffmpegPath, args, {
885
- stdio: ["ignore", "ignore", "pipe"],
886
- timeout: timeoutMs,
906
+ stdio: ["ignore", "pipe", "pipe"],
887
907
  killSignal: "SIGKILL",
888
908
  signal,
889
909
  windowsHide: true
890
910
  });
911
+ let stalled = false;
912
+ let timer;
913
+ const armStall = () => {
914
+ clearTimeout(timer);
915
+ timer = setTimeout(() => {
916
+ stalled = true;
917
+ proc.kill("SIGKILL");
918
+ }, stallMs);
919
+ timer.unref();
920
+ };
921
+ armStall();
922
+ let furthest = 0;
923
+ let lineTail = "";
924
+ proc.stdout?.on("data", (chunk) => {
925
+ const lines = (lineTail + chunk.toString()).split("\n");
926
+ lineTail = lines.pop() ?? "";
927
+ for (const line of lines) {
928
+ const reached = OUT_TIME.exec(line.trim());
929
+ if (!reached) continue;
930
+ const seconds = Number(reached[1]) / 1e6;
931
+ if (seconds <= furthest) continue;
932
+ furthest = seconds;
933
+ armStall();
934
+ onProgress?.(seconds);
935
+ }
936
+ });
891
937
  let stderrTail = "";
892
938
  proc.stderr?.on("data", (chunk) => {
893
939
  stderrTail = (stderrTail + chunk.toString()).slice(-STDERR_TAIL_MAX_CHARS);
894
940
  });
895
941
  proc.on("error", (err) => {
942
+ clearTimeout(timer);
896
943
  if (signal.aborted) return;
897
944
  reject(new FfmpegUnavailableError(`failed to spawn ffmpeg: ${err.message}`, stderrTail));
898
945
  });
899
- proc.on("close", (code, signal2) => {
946
+ proc.on("close", (code, killedBy) => {
947
+ clearTimeout(timer);
900
948
  if (code === 0) {
901
949
  resolvePromise();
902
- } else if (signal2) {
950
+ } else if (stalled) {
903
951
  reject(
904
952
  new ProxyTranscodeError(
905
- `ffmpeg killed by ${signal2} (timeout ${timeoutMs}ms or external kill)`,
953
+ `ffmpeg made no progress for ${Math.round(stallMs / 1e3)}s and was ended; finished pieces are kept for the next attempt`,
906
954
  null,
907
955
  stderrTail
908
956
  )
909
957
  );
958
+ } else if (killedBy) {
959
+ reject(
960
+ new ProxyTranscodeError(`ffmpeg killed by ${killedBy} (external kill)`, null, stderrTail)
961
+ );
910
962
  } else {
911
963
  reject(
912
964
  new ProxyTranscodeError(
@@ -937,7 +989,8 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
937
989
  chunkPrefix,
938
990
  variant,
939
991
  box,
940
- job.abandoned.signal
992
+ job.abandoned.signal,
993
+ (progress) => reportProgress(job, progress)
941
994
  );
942
995
  renameSync(tempPath, cachePath);
943
996
  maintainProxyCache(cacheDir);
@@ -980,7 +1033,8 @@ async function resolveProxy(projectDir, absoluteSourcePath, variant = "h264", bo
980
1033
  cachePath,
981
1034
  priority: options.priority === true,
982
1035
  callers: 0,
983
- abandoned: new AbortController()
1036
+ abandoned: new AbortController(),
1037
+ progress: /* @__PURE__ */ new Set()
984
1038
  };
985
1039
  const promise = transcodeToCache(
986
1040
  job,
@@ -1002,10 +1056,19 @@ async function resolveProxy(projectDir, absoluteSourcePath, variant = "h264", bo
1002
1056
  inFlight.set(cachePath, entry);
1003
1057
  }
1004
1058
  if (options.priority) prioritize(entry.job);
1005
- return joinJob(entry.promise, entry.job, options.signal);
1059
+ const listener = options.onProgress;
1060
+ const joined = joinJob(entry.promise, entry.job, options.signal);
1061
+ if (listener) {
1062
+ entry.job.progress.add(listener);
1063
+ if (entry.job.lastProgress) listener(entry.job.lastProgress);
1064
+ const stop = () => void entry.job.progress.delete(listener);
1065
+ joined.then(stop, stop);
1066
+ }
1067
+ return joined;
1006
1068
  }
1007
1069
  async function resolveProxies(projectDir, sources, onSettled = () => {
1008
- }) {
1070
+ }, onProgress = () => {
1071
+ }, signal) {
1009
1072
  const first = sources[0];
1010
1073
  if (first) {
1011
1074
  maintainProxyCache(
@@ -1021,14 +1084,14 @@ async function resolveProxies(projectDir, sources, onSettled = () => {
1021
1084
  const worker = async () => {
1022
1085
  for (let index = next++; index < sources.length; index = next++) {
1023
1086
  const { sourcePath, variant, box } = sources[index];
1024
- results[index] = await waitForProxy(
1025
- resolveProxy(projectDir, sourcePath, variant, box),
1026
- TRANSCODE_TIMEOUT_MS
1027
- ).then(
1087
+ results[index] = await resolveProxy(projectDir, sourcePath, variant, box, {
1088
+ onProgress: (progress) => onProgress(index, progress),
1089
+ signal
1090
+ }).then(
1028
1091
  (value) => ({ status: "fulfilled", value }),
1029
1092
  (reason) => ({ status: "rejected", reason })
1030
1093
  );
1031
- onSettled();
1094
+ onSettled(index);
1032
1095
  }
1033
1096
  };
1034
1097
  const workers = Math.min(MAX_CONCURRENT_TRANSCODES, sources.length);
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  formatVariableValidationIssue,
21
21
  validateVariables
22
- } from "./chunk-YEVU5W5G.js";
22
+ } from "./chunk-G7RKSAKS.js";
23
23
  import {
24
24
  extractCompositionMetadata
25
25
  } from "./chunk-XOTUPVIF.js";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-HBPFY3KU.js";
13
+ } from "./chunk-XV7ZNBVY.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
  setHostHandlesSigint
9
- } from "./chunk-ZSO7UVC5.js";
9
+ } from "./chunk-UUFY6A7I.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-UYBXHV7R.js";
12
+ } from "./chunk-PW22CDII.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -1202,7 +1202,7 @@ function clearGifFramesBeforeNext(bytes) {
1202
1202
  function known(value) {
1203
1203
  return value && value !== "unknown" && value !== "reserved" ? value : void 0;
1204
1204
  }
1205
- function hdrToSdrToneMapFilter(probed, firstFrame) {
1205
+ function hdrToSdrToneMapFilter(probed, firstFrame, size) {
1206
1206
  const fill = (key, fallback) => known(firstFrame[key]) ? void 0 : known(probed[key]) ?? fallback;
1207
1207
  const tags = [
1208
1208
  ["colorspace", fill("colorSpace", "bt2020nc")],
@@ -1210,7 +1210,8 @@ function hdrToSdrToneMapFilter(probed, firstFrame) {
1210
1210
  ["color_trc", fill("colorTransfer")]
1211
1211
  ].filter(([, value]) => value);
1212
1212
  const setTags = tags.length ? `setparams=${tags.map((tag) => tag.join("=")).join(":")},` : "";
1213
- return `${setTags}zscale=t=linear:npl=100,tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1213
+ const resizeBeforeToneMap = size ? `w=${size.width}:h=${size.height}:` : "";
1214
+ return `${setTags}zscale=${resizeBeforeToneMap}t=linear:npl=100,tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1214
1215
  }
1215
1216
  function firstFrameColourArgs(videoPath) {
1216
1217
  return [
@@ -1225,7 +1226,29 @@ function parseFirstFrameColour(stderr) {
1225
1226
 
1226
1227
  // ../core/dist/previewProxyBox.js
1227
1228
  var PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
1228
- var RUNGS = [256, 362, 512, 724, 1024, 1448, 2048, 2896, 4096, 5792, 8192];
1229
+ var RUNGS = [
1230
+ 256,
1231
+ 304,
1232
+ 362,
1233
+ 430,
1234
+ 512,
1235
+ 608,
1236
+ 724,
1237
+ 862,
1238
+ 1024,
1239
+ 1218,
1240
+ 1448,
1241
+ 1722,
1242
+ 2048,
1243
+ 2436,
1244
+ 2896,
1245
+ 3444,
1246
+ 4096,
1247
+ 4870,
1248
+ 5792,
1249
+ 6888,
1250
+ 8192
1251
+ ];
1229
1252
  function rungAtLeast(pixels) {
1230
1253
  if (!(pixels > 0))
1231
1254
  return null;
@@ -4441,6 +4464,7 @@ function getDebugSurface() {
4441
4464
  }
4442
4465
 
4443
4466
  // ../core/dist/runtime/diagnostics.js
4467
+ var SCENE_CALLBACK_ERROR_PREFIX = "[hyperframes] scene timeline callback threw:";
4444
4468
  function swallow(label, error) {
4445
4469
  if (typeof window === "undefined")
4446
4470
  return;
@@ -5625,6 +5649,7 @@ export {
5625
5649
  createGSAPFrameAdapter,
5626
5650
  fitTextFontSize,
5627
5651
  formatRenderOutputTimestamp,
5652
+ SCENE_CALLBACK_ERROR_PREFIX,
5628
5653
  createRuntimeStartTimeResolver,
5629
5654
  byStart,
5630
5655
  hasClipStarted,
@@ -9,10 +9,10 @@ import {
9
9
  isHttpUrl,
10
10
  renameWithRetry,
11
11
  runFfmpeg
12
- } from "./chunk-ZSO7UVC5.js";
12
+ } from "./chunk-UUFY6A7I.js";
13
13
  import {
14
14
  parseAnimatedGifMetadata
15
- } from "./chunk-YEVU5W5G.js";
15
+ } from "./chunk-G7RKSAKS.js";
16
16
  import {
17
17
  parseHTML
18
18
  } from "./chunk-SDYDNHEE.js";
@@ -11,20 +11,20 @@ import {
11
11
  } from "./chunk-57GN6KWT.js";
12
12
  import {
13
13
  captureArtifactRevision
14
- } from "./chunk-F2ZAINSR.js";
14
+ } from "./chunk-7D7V3UDI.js";
15
15
  import {
16
16
  loadProducer
17
- } from "./chunk-JBTNMFFR.js";
17
+ } from "./chunk-KVFSXCN6.js";
18
18
  import {
19
19
  trackLintRun
20
- } from "./chunk-UBOBOWWB.js";
20
+ } from "./chunk-TUVNQA5B.js";
21
21
  import {
22
22
  beginCheckSnapshots,
23
23
  checkSnapshotDirectory,
24
24
  finishCheckSnapshots,
25
25
  preResolveHostileMediaProxies,
26
26
  rectToBbox
27
- } from "./chunk-N4NKPFKQ.js";
27
+ } from "./chunk-OMXXJSCK.js";
28
28
  import {
29
29
  CONTENT_OVERLAP_HELD_ERROR_MS,
30
30
  DEFAULT_MAX_STATIC_SEC,
@@ -47,10 +47,10 @@ import {
47
47
  mergeSampleTimes,
48
48
  parseAt,
49
49
  readMotionSpec
50
- } from "./chunk-NDBOBZRL.js";
50
+ } from "./chunk-OYVVDYM6.js";
51
51
  import {
52
52
  resolveProject
53
- } from "./chunk-DZWTK3HJ.js";
53
+ } from "./chunk-BIZPUWBG.js";
54
54
  import {
55
55
  recordArtifacts
56
56
  } from "./chunk-PGDWNIOK.js";
@@ -59,17 +59,17 @@ import {
59
59
  closeManagedBrowser,
60
60
  onStopSignal,
61
61
  registerBrowserSessionCleanup
62
- } from "./chunk-MMJ3L4XQ.js";
62
+ } from "./chunk-TTFHBTXQ.js";
63
63
  import {
64
64
  withRemainingBudget
65
65
  } from "./chunk-EHSBBBR2.js";
66
66
  import {
67
67
  resolveLocalBrowserGpuMode
68
- } from "./chunk-C6WBKEOI.js";
68
+ } from "./chunk-3XXSRN36.js";
69
69
  import {
70
70
  trackCheckReport,
71
71
  trackCommandFailure
72
- } from "./chunk-WY67Q2QY.js";
72
+ } from "./chunk-7WV27W7R.js";
73
73
  import {
74
74
  swallowedFlagUsageError
75
75
  } from "./chunk-HTIUNMTP.js";
@@ -89,17 +89,17 @@ import {
89
89
  import {
90
90
  extractMediaMetadata,
91
91
  findHdrAutoPromotion
92
- } from "./chunk-ZSO7UVC5.js";
92
+ } from "./chunk-UUFY6A7I.js";
93
93
  import {
94
94
  lintProject,
95
95
  shouldBlockRender
96
- } from "./chunk-YUODO5H2.js";
96
+ } from "./chunk-IC6BO4GU.js";
97
97
  import {
98
98
  resolveProjectRelativeSrc
99
99
  } from "./chunk-6BNTGNGD.js";
100
100
  import {
101
101
  withMeta
102
- } from "./chunk-WA6HZFDD.js";
102
+ } from "./chunk-3YGSZSEN.js";
103
103
  import {
104
104
  normalizeErrorMessage
105
105
  } from "./chunk-T2EUWCJE.js";
@@ -636,7 +636,7 @@ function round(value) {
636
636
 
637
637
  // src/utils/hdrPromotion.ts
638
638
  async function bundleProjectHtml(projectDir) {
639
- const { bundleToSingleHtml } = await import("./compiler-47QXFQF4.js");
639
+ const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
640
640
  return bundleToSingleHtml(projectDir);
641
641
  }
642
642
  async function collectBundledRenderMedia(html) {
@@ -2209,7 +2209,7 @@ function resolveMotionSpec(projectDir) {
2209
2209
  };
2210
2210
  }
2211
2211
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2212
- const module = await import("./checkBrowser-7J6VC7D6.js");
2212
+ const module = await import("./checkBrowser-E3ZCTAGY.js");
2213
2213
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2214
2214
  }
2215
2215
  var adoptedBrowser;
@@ -2223,7 +2223,7 @@ async function prelaunchBrowser(project, options) {
2223
2223
  if (adopted) return adopted;
2224
2224
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2225
2225
  if (html === void 0) return void 0;
2226
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-PS5KDJXF.js");
2226
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JXXTHR7J.js");
2227
2227
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2228
2228
  }
2229
2229
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2235,7 +2235,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2235
2235
  return relative(projectDir, path);
2236
2236
  }
2237
2237
  async function captureFindingCrops(project, options, requests, deadline) {
2238
- const module = await import("./checkBrowser-7J6VC7D6.js");
2238
+ const module = await import("./checkBrowser-E3ZCTAGY.js");
2239
2239
  return module.captureFindingCrops(project, options, requests, deadline);
2240
2240
  }
2241
2241
  var DEFAULT_DEPENDENCIES2 = {
@@ -2274,7 +2274,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2274
2274
  }
2275
2275
  },
2276
2276
  async prepareMedia(project, options) {
2277
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ULZJ7GHE.js");
2277
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ERB43NFP.js");
2278
2278
  const html = await bundleWithLocalizedFonts(project.dir);
2279
2279
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2280
2280
  },
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-56ZYGITX.js";
10
+ } from "./chunk-JBQNDHRT.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-HVF7K2T3.js";
17
+ } from "./chunk-4VZAIVZQ.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-O3KFO66O.js";
21
+ } from "./chunk-7NWSVRFE.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-JSLQZKXA.js";
26
+ } from "./chunk-IW4LKYDY.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-6BTMNV3R.js";
29
+ } from "./chunk-BERGVZKN.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-WY67Q2QY.js";
32
+ } from "./chunk-7WV27W7R.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-ZTZA4UWZ.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-YEVU5W5G.js";
44
+ } from "./chunk-G7RKSAKS.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -21,13 +21,13 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-GJA6QSSQ.js";
24
+ } from "./chunk-ACH5ZR7X.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-4WDOTQDY.js";
27
+ } from "./chunk-FZ3R5XOH.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-O2CO6QNK.js";
30
+ } from "./chunk-I4VEFPZE.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-FCY375PD.js";
10
+ } from "./chunk-HBRPELT6.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";