hyperframes 0.8.202 → 0.8.204

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 (185) hide show
  1. package/dist/{add-YC7QXNDO.js → add-HBFVYKGU.js} +15 -13
  2. package/dist/{animatedGifPrep-SFHFVFFE.js → animatedGifPrep-VBUKGEZ6.js} +11 -9
  3. package/dist/api.js +23 -21
  4. package/dist/{asset-5E5BQ6BR.js → asset-OVLMJY4S.js} +4 -3
  5. package/dist/{assetCataloger-F6YSU3H6.js → assetCataloger-K4INCLFU.js} +11 -9
  6. package/dist/{audio-UZKBYVZ5.js → audio-JHW3HLHK.js} +21 -19
  7. package/dist/{auth-5DWW5DMO.js → auth-RH67KQMZ.js} +1 -1
  8. package/dist/{autoUpdate-D6HTQGOE.js → autoUpdate-JYR2RW5Z.js} +2 -2
  9. package/dist/{backgroundChecks-FW4MBBK2.js → backgroundChecks-DPHRM4HJ.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-DXD5THWY.js → batchRender-JFUWZR3M.js} +8 -6
  12. package/dist/{beats-WRF4CRL7.js → beats-AWAFZGOT.js} +13 -11
  13. package/dist/{benchmark-NDCR2AAG.js → benchmark-VQCCULJ2.js} +12 -10
  14. package/dist/{browser-KSG6M66G.js → browser-TT5L7D32.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-GJ2UYZ6E.js → bundleWithLocalizedFonts-EHXEP5ZL.js} +4 -4
  16. package/dist/{capture-FRVDEVPB.js → capture-5CM2P6CB.js} +14 -12
  17. package/dist/{capture-DTF47QX3.js → capture-Y7TGR3BI.js} +2 -2
  18. package/dist/{captureCompositionFrame-IC3MEOJR.js → captureCompositionFrame-LIT6U6C4.js} +16 -15
  19. package/dist/{catalog-TX3BMPOA.js → catalog-WZN2XB7D.js} +15 -13
  20. package/dist/{catch-up-YMVIJI2W.js → catch-up-WZMQUW5H.js} +4 -4
  21. package/dist/{check-2LBOZR6Z.js → check-YVJCDCJS.js} +40 -39
  22. package/dist/{checkBrowser-56C73ZNX.js → checkBrowser-7V2DGDVD.js} +36 -33
  23. package/dist/{chunk-24PUQCZO.js → chunk-23RPCDGE.js} +2 -2
  24. package/dist/{chunk-OJDOYHPQ.js → chunk-2756LXGY.js} +1 -1
  25. package/dist/chunk-2RY2LWAA.js +3466 -0
  26. package/dist/{chunk-WAXBJLV6.js → chunk-34VLVDOU.js} +3 -3
  27. package/dist/{chunk-B7CYKBXQ.js → chunk-3CISA3OS.js} +1 -1
  28. package/dist/{chunk-ABTBAQDB.js → chunk-3GPDAE3D.js} +1 -1
  29. package/dist/{chunk-5KPZ4QAS.js → chunk-4CR23IYU.js} +7 -7
  30. package/dist/{chunk-DMZ3SCCU.js → chunk-4HJMZI4H.js} +140 -31
  31. package/dist/{chunk-PI256PSW.js → chunk-54FO6TN7.js} +149 -23
  32. package/dist/{chunk-MO4VKSFT.js → chunk-54K7HW46.js} +1 -1
  33. package/dist/{chunk-7KGCJQGS.js → chunk-5RJSWYWL.js} +2 -2
  34. package/dist/{chunk-REUZB3HL.js → chunk-5UW7WCHQ.js} +8 -8
  35. package/dist/{chunk-LEQU6P6H.js → chunk-65VFH2UV.js} +7 -3
  36. package/dist/{chunk-QXQ74PYD.js → chunk-6KZY5RSV.js} +2 -2
  37. package/dist/{chunk-CFUCHO4T.js → chunk-6MUI2H6P.js} +1 -1
  38. package/dist/{chunk-3HTXEXQ6.js → chunk-6RLP6RDE.js} +1 -1
  39. package/dist/{chunk-UMGDRGF5.js → chunk-7PRESGFT.js} +3 -3
  40. package/dist/{chunk-AQLRXGNN.js → chunk-7RB4I2E6.js} +5 -5
  41. package/dist/{chunk-QZTFCWG7.js → chunk-AII6P2TC.js} +1 -1
  42. package/dist/{chunk-ANH7DV34.js → chunk-AQS3MMEQ.js} +23 -20
  43. package/dist/{chunk-DYDFCX4L.js → chunk-CXZDIWMK.js} +1 -1
  44. package/dist/{chunk-AQVLMH5C.js → chunk-D3EZHD2D.js} +1 -1
  45. package/dist/{chunk-MS4BAXOQ.js → chunk-D5CAZ7R4.js} +2 -2
  46. package/dist/{chunk-4OPDZMV6.js → chunk-DBF6LLXB.js} +1 -1
  47. package/dist/{chunk-IKX2UHEM.js → chunk-DRDG46KK.js} +13 -13
  48. package/dist/{chunk-JNBHYUEU.js → chunk-DTV3VHFE.js} +5 -5
  49. package/dist/{chunk-REFMKHRE.js → chunk-EF7R5EBJ.js} +9 -9
  50. package/dist/{chunk-LMRTEJYY.js → chunk-EUFBE5BW.js} +2 -2
  51. package/dist/chunk-FR7YBU3H.js +179 -0
  52. package/dist/{chunk-GZCACSED.js → chunk-GGEA5EHR.js} +1 -1
  53. package/dist/{chunk-SDYDNHEE.js → chunk-GWTIFRF5.js} +262 -3711
  54. package/dist/{chunk-QDEZ7LRH.js → chunk-HBDQGIQA.js} +2 -2
  55. package/dist/{chunk-CV32PRH3.js → chunk-IDASYE4U.js} +5 -3
  56. package/dist/{chunk-JCS7WFRM.js → chunk-IJ6RY4CH.js} +5 -6
  57. package/dist/{chunk-PYS6IKKM.js → chunk-KOBPUFCN.js} +1 -1
  58. package/dist/{chunk-IB6ICAI7.js → chunk-LN5EJMSC.js} +22 -13
  59. package/dist/{chunk-B2OUZUY5.js → chunk-LVMJXO45.js} +1 -1
  60. package/dist/{chunk-RFZJGC6V.js → chunk-MSH2F7VW.js} +2 -2
  61. package/dist/{chunk-NZEASM7M.js → chunk-N3EJG2X4.js} +1 -1
  62. package/dist/{chunk-PLL6VC4F.js → chunk-NJT6SZGL.js} +1 -1
  63. package/dist/{chunk-Z4PSJSDF.js → chunk-OPFG563D.js} +3 -3
  64. package/dist/{chunk-6BNTGNGD.js → chunk-PBNWRWKA.js} +1 -1
  65. package/dist/{chunk-PZIWSVMO.js → chunk-PLGGKTCB.js} +5 -1
  66. package/dist/{chunk-FWS2ZWV6.js → chunk-QCQDUQVJ.js} +5 -5
  67. package/dist/{chunk-73BGPSUW.js → chunk-QWATUGUX.js} +3 -3
  68. package/dist/{chunk-BU6XD7H2.js → chunk-QZ4HQQYS.js} +2 -2
  69. package/dist/{chunk-BUIJG2BQ.js → chunk-RFCLI6TW.js} +3 -3
  70. package/dist/{chunk-CL6ZTNQH.js → chunk-S35XO2ZA.js} +121 -41
  71. package/dist/{chunk-E3F5L6AB.js → chunk-SVVAUJPL.js} +4 -83
  72. package/dist/{chunk-B22YBW5W.js → chunk-TAYZSNYS.js} +1 -1
  73. package/dist/{chunk-QGB5DECO.js → chunk-TBSYUEB7.js} +1 -1
  74. package/dist/{chunk-J3CZK6PI.js → chunk-TCI4MUT6.js} +1 -1
  75. package/dist/{chunk-UI7YYCN2.js → chunk-TNOERLC6.js} +3 -3
  76. package/dist/{chunk-CXTXB2LZ.js → chunk-TQH7BF7K.js} +1 -1
  77. package/dist/{chunk-TOFL5P27.js → chunk-UKXF4IPA.js} +6 -6
  78. package/dist/{chunk-COHU6S2X.js → chunk-US6JSQ2L.js} +2 -2
  79. package/dist/{chunk-L5IKISP2.js → chunk-VC3BMKYO.js} +3 -3
  80. package/dist/{chunk-NT3L4IMM.js → chunk-VCBZOU7U.js} +1 -1
  81. package/dist/{chunk-RNLJJDGE.js → chunk-WLD4PX3P.js} +2 -2
  82. package/dist/{chunk-PH5PJY5Z.js → chunk-WM7GOKEP.js} +2 -2
  83. package/dist/{chunk-I64A5P5H.js → chunk-WMCGD4XL.js} +3 -3
  84. package/dist/{chunk-V6MTGX7B.js → chunk-WXAQT63P.js} +3 -3
  85. package/dist/{chunk-BIV4FVEN.js → chunk-X7XICOVM.js} +1 -1
  86. package/dist/{chunk-SQNPFWFM.js → chunk-XX5U64F2.js} +2 -2
  87. package/dist/{chunk-75KIZWAD.js → chunk-Y63CT2ZC.js} +53 -39
  88. package/dist/{chunk-7J4GQHSG.js → chunk-YIN2JAZE.js} +198 -88
  89. package/dist/{chunk-KFJMWPZT.js → chunk-YLGRZSH4.js} +1 -1
  90. package/dist/chunk-YRQPU7SV.js +3983 -0
  91. package/dist/{chunk-VOKI2HSE.js → chunk-YU53JSUZ.js} +1 -1
  92. package/dist/{chunk-442JNXRM.js → chunk-ZBAF6L74.js} +1 -1
  93. package/dist/{chunk-EPZXTQOO.js → chunk-ZBDVKLIU.js} +5 -5
  94. package/dist/{clean-LFPT6GNS.js → clean-3JE2KYTC.js} +20 -18
  95. package/dist/cli.js +53 -53
  96. package/dist/{cloud-XX5XB277.js → cloud-Z54BHP6G.js} +4 -4
  97. package/dist/{cloudrun-ANWC6QGV.js → cloudrun-4CPQLU5M.js} +10 -8
  98. package/dist/{compare-CISKXIRF.js → compare-AQMLMTFD.js} +31 -30
  99. package/dist/{compiler-XYZMBTYR.js → compiler-LIJYMSEL.js} +8 -6
  100. package/dist/{component-D4JJIDOC.js → component-ZH37EIYB.js} +5 -4
  101. package/dist/{compositions-UGRTLUBT.js → compositions-DF2FM6YD.js} +18 -16
  102. package/dist/{delete-TPH7N5PK.js → delete-A3NSK2HH.js} +2 -2
  103. package/dist/{deploy-ZUXLAVVX.js → deploy-6RC2DXPQ.js} +1 -1
  104. package/dist/{deterministicFonts-NQ6KL66D.js → deterministicFonts-HQYCUUAL.js} +5 -3
  105. package/dist/{dist-TFHABY7N.js → dist-6JMYDD7F.js} +4 -3
  106. package/dist/{dist-UXLDRI4D.js → dist-VSIT3UAX.js} +10 -4
  107. package/dist/{doctor-LVOS4EDV.js → doctor-RILK4ATO.js} +15 -13
  108. package/dist/{dom-37K6YOH4.js → dom-VFHEO7VM.js} +3 -2
  109. package/dist/{events-FIWA6UBT.js → events-B5EKVEPW.js} +3 -3
  110. package/dist/{events-UHIKJIWA.js → events-SL434XAY.js} +2 -2
  111. package/dist/{feedback-SPOCVRKJ.js → feedback-S4PC6VAR.js} +11 -9
  112. package/dist/{ffmpeg-7SDXE5P5.js → ffmpeg-XSDPPZCU.js} +11 -9
  113. package/dist/{figma-ONGILUUE.js → figma-MV2L6E2Z.js} +3 -3
  114. package/dist/fontLocalizeCli.js +15 -13
  115. package/dist/{get-W7ADZ5XS.js → get-ID3Y3PCN.js} +2 -2
  116. package/dist/{gpuPolicy-GETTDB3G.js → gpuPolicy-2LRMQOAD.js} +11 -9
  117. package/dist/{grade-compare-YIIQJNL3.js → grade-compare-NV3TKIOO.js} +32 -31
  118. package/dist/{help-HSKEDFT6.js → help-ZPT23LZ3.js} +1 -1
  119. package/dist/{history-JS6QALDS.js → history-MZGDX3TR.js} +6 -6
  120. package/dist/hyperframe.manifest.json +1 -1
  121. package/dist/hyperframe.runtime.iife.js +65 -65
  122. package/dist/hyperframes-player.global.js +3 -3
  123. package/dist/{info-BIIA6M7Q.js → info-FIZ4A54H.js} +14 -12
  124. package/dist/{init-TGDKBWUY.js → init-WX4MNPL2.js} +32 -30
  125. package/dist/{inspect-MVMUFUHY.js → inspect-R5KWWKNJ.js} +32 -31
  126. package/dist/inspection.js +2088 -0
  127. package/dist/{installer-HITNNXHY.js → installer-CTV5FKYQ.js} +8 -6
  128. package/dist/{keyframes-XJ7DUUBW.js → keyframes-FAJY5RK5.js} +12 -11
  129. package/dist/{lambda-4C7APDR5.js → lambda-3MCC2ZH7.js} +11 -9
  130. package/dist/{layout-O3LEAM7S.js → layout-3RTVYRRN.js} +32 -31
  131. package/dist/{lint-72FKMBD2.js → lint-ZDCVL7K4.js} +10 -9
  132. package/dist/{lintProject-Q36Y3AHA.js → lintProject-4IVYXS5J.js} +4 -3
  133. package/dist/{list-YUK5VA2D.js → list-SBCXW2UT.js} +2 -2
  134. package/dist/live-LAHBXVK2.js +4165 -0
  135. package/dist/{login-TXBDKLOH.js → login-VQ2LQ2YG.js} +4 -4
  136. package/dist/{manager-APB2JLSH.js → manager-ZRF6UXUM.js} +12 -10
  137. package/dist/{media-treatment-GMP4JL46.js → media-treatment-MFIP7Q4G.js} +18 -16
  138. package/dist/{models-DW22WMQ5.js → models-OU36YZCT.js} +15 -13
  139. package/dist/{motionShot-UQJVQT76.js → motionShot-SHDUG7YR.js} +19 -18
  140. package/dist/{normalize-FASIPBUM.js → normalize-QJVXFMWO.js} +3 -2
  141. package/dist/{normalize-audio-4KYSZBWI.js → normalize-audio-7RTPEV7Y.js} +13 -11
  142. package/dist/{open-HNYN6VM2.js → open-HT4RG32S.js} +15 -13
  143. package/dist/{parakeetRunner-SJ2QW77R.js → parakeetRunner-DOVPZDCH.js} +16 -14
  144. package/dist/{pipeline-MG2W6NIW.js → pipeline-NIVQ6E2G.js} +12 -10
  145. package/dist/{play-ZQ6RNKIE.js → play-HPX5SIRQ.js} +23 -21
  146. package/dist/{preflight-HSQEJNA2.js → preflight-TNYC7EIS.js} +12 -10
  147. package/dist/{present-7M3W5E3Q.js → present-QSOIMURR.js} +19 -17
  148. package/dist/{preview-TT5Z6JK6.js → preview-WDO53XKK.js} +22 -20
  149. package/dist/{producer-B2Y4IKZS.js → producer-G27KP3IY.js} +1 -1
  150. package/dist/{projectConfig-VZVY6ZZP.js → projectConfig-CP722RCM.js} +10 -8
  151. package/dist/{publication-SRAYE6LT.js → publication-LCWVBLDN.js} +6 -4
  152. package/dist/{publish-3QMV3Q7B.js → publish-BIY6LEZ2.js} +14 -12
  153. package/dist/{remove-background-5GA2S5OI.js → remove-background-NPLZGLZ3.js} +13 -11
  154. package/dist/{render-WRLXYVSQ.js → render-HHUGUKG6.js} +34 -32
  155. package/dist/{render-W3VX647V.js → render-IHNAZXA2.js} +10 -8
  156. package/dist/{render-LN24E3OI.js → render-J57LAXB5.js} +20 -18
  157. package/dist/{render-batch-C73ELOQ7.js → render-batch-FK26OQ5E.js} +10 -8
  158. package/dist/renderSetupWorker.js +4 -3
  159. package/dist/{resolver-ALD2ZELQ.js → resolver-FWJXO6DY.js} +8 -6
  160. package/dist/{sherpa-AHD5UPU3.js → sherpa-BXFJU5EP.js} +15 -13
  161. package/dist/{skills-WYJGVMR5.js → skills-7XS4HZBC.js} +5 -5
  162. package/dist/{skillsUpdateCheck-OHEGRQ2N.js → skillsUpdateCheck-MGU5KLR4.js} +3 -3
  163. package/dist/{snapshot-S6CGQACZ.js → snapshot-O2PMEMKH.js} +37 -36
  164. package/dist/{src-DAW4JYSR.js → src-OQRG6BT7.js} +10 -8
  165. package/dist/{src-I6WD5SMQ.js → src-Q4R2YPKA.js} +16 -14
  166. package/dist/{staticProjectServer-3BFEACQ6.js → staticProjectServer-6OY4VMO6.js} +20 -19
  167. package/dist/studio/assets/{hyperframes-player-DnrkDR-_.js → hyperframes-player-CttA4PW7.js} +1 -1
  168. package/dist/studio/assets/{index-BhFxhBMA.js → index-DmST2bTJ.js} +120 -120
  169. package/dist/studio/assets/{index-WFQeAouT.js → index-DpxSurnJ.js} +1 -1
  170. package/dist/studio/index.html +1 -1
  171. package/dist/{studio-api-2O6R4CM5.js → studio-api-YSUTKHV7.js} +13 -11
  172. package/dist/{studioServer-6ZSAJBVY.js → studioServer-APGEQIW5.js} +51 -50
  173. package/dist/{telemetry-WFLPGSUG.js → telemetry-3B6EA5IU.js} +3 -3
  174. package/dist/{timeline-BZJH266Q.js → timeline-QWM6JS4B.js} +24 -22
  175. package/dist/{tokens-5TX42ZMQ.js → tokens-TKLSP3OQ.js} +4 -3
  176. package/dist/{transcribe-WPFFLNTS.js → transcribe-PODOCWCC.js} +14 -12
  177. package/dist/{transcribe-IEYR46HB.js → transcribe-XOPMHJLJ.js} +21 -19
  178. package/dist/{updateCheck-TESZGKRJ.js → updateCheck-RO6FPYMZ.js} +2 -2
  179. package/dist/{upgrade-3EW4MYS7.js → upgrade-EVNIL5TZ.js} +2 -2
  180. package/dist/{urlDownloader-JULHEBLS.js → urlDownloader-F5HYFRA6.js} +10 -8
  181. package/dist/{validate-RSJPGXUZ.js → validate-NXLFCHGG.js} +26 -25
  182. package/dist/{video-TW4TSAM4.js → video-ECV2OIQN.js} +11 -9
  183. package/dist/warmCheck.js +40 -39
  184. package/package.json +2 -2
  185. package/dist/chunk-QTGKDF7D.js +0 -3983
@@ -4,13 +4,16 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ encode
9
+ } from "./chunk-FR7YBU3H.js";
7
10
  import {
8
11
  require_lib,
9
12
  require_main
10
13
  } from "./chunk-DPVXBVLL.js";
11
14
  import {
12
15
  decodeHTMLAttribute
13
- } from "./chunk-SDYDNHEE.js";
16
+ } from "./chunk-2RY2LWAA.js";
14
17
  import {
15
18
  ancestor,
16
19
  full,
@@ -25,88 +28,6 @@ var recast = __toESM(require_main(), 1);
25
28
  var import_parser = __toESM(require_lib(), 1);
26
29
  import * as acorn from "acorn";
27
30
 
28
- // ../../node_modules/.bun/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
29
- var comma = ",".charCodeAt(0);
30
- var semicolon = ";".charCodeAt(0);
31
- var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
32
- var intToChar = new Uint8Array(64);
33
- var charToInt = new Uint8Array(128);
34
- for (let i = 0; i < chars.length; i++) {
35
- const c = chars.charCodeAt(i);
36
- intToChar[i] = c;
37
- charToInt[c] = i;
38
- }
39
- function encodeInteger(builder, num, relative) {
40
- let delta = num - relative;
41
- delta = delta < 0 ? -delta << 1 | 1 : delta << 1;
42
- do {
43
- let clamped = delta & 31;
44
- delta >>>= 5;
45
- if (delta > 0) clamped |= 32;
46
- builder.write(intToChar[clamped]);
47
- } while (delta > 0);
48
- return num;
49
- }
50
- var bufLength = 1024 * 16;
51
- var td = typeof TextDecoder !== "undefined" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer !== "undefined" ? {
52
- decode(buf) {
53
- const out = Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength);
54
- return out.toString();
55
- }
56
- } : {
57
- decode(buf) {
58
- let out = "";
59
- for (let i = 0; i < buf.length; i++) {
60
- out += String.fromCharCode(buf[i]);
61
- }
62
- return out;
63
- }
64
- };
65
- var StringWriter = class {
66
- constructor() {
67
- this.pos = 0;
68
- this.out = "";
69
- this.buffer = new Uint8Array(bufLength);
70
- }
71
- write(v) {
72
- const { buffer } = this;
73
- buffer[this.pos++] = v;
74
- if (this.pos === bufLength) {
75
- this.out += td.decode(buffer);
76
- this.pos = 0;
77
- }
78
- }
79
- flush() {
80
- const { buffer, out, pos } = this;
81
- return pos > 0 ? out + td.decode(buffer.subarray(0, pos)) : out;
82
- }
83
- };
84
- function encode(decoded) {
85
- const writer = new StringWriter();
86
- let sourcesIndex = 0;
87
- let sourceLine = 0;
88
- let sourceColumn = 0;
89
- let namesIndex = 0;
90
- for (let i = 0; i < decoded.length; i++) {
91
- const line = decoded[i];
92
- if (i > 0) writer.write(semicolon);
93
- if (line.length === 0) continue;
94
- let genColumn = 0;
95
- for (let j = 0; j < line.length; j++) {
96
- const segment = line[j];
97
- if (j > 0) writer.write(comma);
98
- genColumn = encodeInteger(writer, segment[0], genColumn);
99
- if (segment.length === 1) continue;
100
- sourcesIndex = encodeInteger(writer, segment[1], sourcesIndex);
101
- sourceLine = encodeInteger(writer, segment[2], sourceLine);
102
- sourceColumn = encodeInteger(writer, segment[3], sourceColumn);
103
- if (segment.length === 4) continue;
104
- namesIndex = encodeInteger(writer, segment[4], namesIndex);
105
- }
106
- }
107
- return writer.flush();
108
- }
109
-
110
31
  // ../../node_modules/.bun/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs
111
32
  var BitSet = class _BitSet {
112
33
  constructor(arg) {
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-PSX5SF2N.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-MS4BAXOQ.js";
40
+ } from "./chunk-D5CAZ7R4.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-WQ6ZXHFQ.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-AQVLMH5C.js";
12
+ } from "./chunk-D3EZHD2D.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-BUIJG2BQ.js";
10
+ } from "./chunk-RFCLI6TW.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -9,13 +9,13 @@ import {
9
9
  isHttpUrl,
10
10
  renameWithRetry,
11
11
  runFfmpeg
12
- } from "./chunk-75KIZWAD.js";
12
+ } from "./chunk-Y63CT2ZC.js";
13
13
  import {
14
14
  parseAnimatedGifMetadata
15
- } from "./chunk-LEQU6P6H.js";
15
+ } from "./chunk-65VFH2UV.js";
16
16
  import {
17
17
  parseHTML
18
- } from "./chunk-SDYDNHEE.js";
18
+ } from "./chunk-GWTIFRF5.js";
19
19
 
20
20
  // ../producer/src/services/animatedGifPrep.ts
21
21
  import { createHash } from "crypto";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-LEQU6P6H.js";
30
+ } from "./chunk-65VFH2UV.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -6,32 +6,32 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-J3CZK6PI.js";
9
+ } from "./chunk-TCI4MUT6.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-BUIJG2BQ.js";
15
+ } from "./chunk-RFCLI6TW.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-WAXBJLV6.js";
19
+ } from "./chunk-34VLVDOU.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-MO4VKSFT.js";
23
+ } from "./chunk-54K7HW46.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-QGB5DECO.js";
28
+ } from "./chunk-TBSYUEB7.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
32
32
  loadTranscript,
33
33
  patchCaptionHtml
34
- } from "./chunk-CFUCHO4T.js";
34
+ } from "./chunk-6MUI2H6P.js";
35
35
  import {
36
36
  normalizeErrorMessage
37
37
  } from "./chunk-T2EUWCJE.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-75KIZWAD.js";
10
+ } from "./chunk-Y63CT2ZC.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-DAW4JYSR.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-OQRG6BT7.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
  readCompositionFps
9
- } from "./chunk-BU6XD7H2.js";
9
+ } from "./chunk-QZ4HQQYS.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  DEFAULT_CONFIG,
18
18
  resolvePageNavigationTimeout
19
- } from "./chunk-75KIZWAD.js";
19
+ } from "./chunk-Y63CT2ZC.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-LEQU6P6H.js";
22
+ } from "./chunk-65VFH2UV.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-I6WD5SMQ.js");
10
+ return await import("./src-Q4R2YPKA.js");
11
11
  }
12
12
 
13
13
  export {
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-IB6ICAI7.js";
9
+ } from "./chunk-LN5EJMSC.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-QTGKDF7D.js";
12
+ } from "./chunk-YRQPU7SV.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-JCS7WFRM.js";
9
+ } from "./chunk-IJ6RY4CH.js";
10
10
  import {
11
11
  outputResolutionForSize
12
- } from "./chunk-E3F5L6AB.js";
12
+ } from "./chunk-SVVAUJPL.js";
13
13
 
14
14
  // src/commands/lambda/_dimensions.ts
15
15
  import { readFileSync } from "fs";
@@ -40,7 +40,7 @@ import {
40
40
  stripEmbeddedRuntimeScripts,
41
41
  styleElementsFor,
42
42
  warnUnknownEnumValues
43
- } from "./chunk-QTGKDF7D.js";
43
+ } from "./chunk-YRQPU7SV.js";
44
44
  import {
45
45
  cssVariableName
46
46
  } from "./chunk-VC76R6W2.js";
@@ -50,7 +50,7 @@ import {
50
50
  } from "./chunk-OFQWTKPW.js";
51
51
  import {
52
52
  lintHyperframeHtml
53
- } from "./chunk-CV32PRH3.js";
53
+ } from "./chunk-IDASYE4U.js";
54
54
  import {
55
55
  CSS_URL_RE,
56
56
  checkSubCompositionUsability,
@@ -68,7 +68,7 @@ import {
68
68
  } from "./chunk-2BGOB2QK.js";
69
69
  import {
70
70
  parseHTML
71
- } from "./chunk-SDYDNHEE.js";
71
+ } from "./chunk-GWTIFRF5.js";
72
72
 
73
73
  // ../core/dist/compiler/htmlCompiler.js
74
74
  import { resolve } from "path";
@@ -15,13 +15,13 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-AQVLMH5C.js";
18
+ } from "./chunk-D3EZHD2D.js";
19
19
  import {
20
20
  DEFAULT_VP9_CPU_USED,
21
21
  SDR_RGB_TO_BT709_FILTER,
22
22
  SDR_RGB_TO_TAGGED_BT709_FILTER,
23
23
  renderProvenanceArgs
24
- } from "./chunk-75KIZWAD.js";
24
+ } from "./chunk-Y63CT2ZC.js";
25
25
  import {
26
26
  runCancellableProcess
27
27
  } from "./chunk-BL4U6U52.js";
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
317
317
  }
318
318
  async function probeMedia(inputPath) {
319
319
  const isImage = inferInputKind(inputPath) === "image";
320
- const engine = await import("./src-DAW4JYSR.js");
320
+ const engine = await import("./src-OQRG6BT7.js");
321
321
  const meta = await engine.extractMediaMetadata(inputPath);
322
322
  if (isImage) {
323
323
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateCheckDisabled
9
- } from "./chunk-GZCACSED.js";
9
+ } from "./chunk-GGEA5EHR.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-2ST4WAFY.js";
13
13
  import {
14
14
  createProjectConfig
15
- } from "./chunk-4OPDZMV6.js";
15
+ } from "./chunk-DBF6LLXB.js";
16
16
  import {
17
17
  isHyperframesProject
18
- } from "./chunk-LEQU6P6H.js";
18
+ } from "./chunk-65VFH2UV.js";
19
19
 
20
20
  // src/utils/desktopApp.ts
21
21
  import { spawn, spawnSync } from "child_process";
@@ -28,7 +28,7 @@ import {
28
28
  renderFrameIdForRenderId,
29
29
  resolveAuthoredTimingWindow,
30
30
  toFps
31
- } from "./chunk-LEQU6P6H.js";
31
+ } from "./chunk-65VFH2UV.js";
32
32
  import {
33
33
  AUDIO_GROUP_RENDER_ID_ATTR,
34
34
  COLOR_GRADING_SOURCE_HIDDEN_ATTR,
@@ -68,7 +68,7 @@ import {
68
68
  sourceTimeAt,
69
69
  timeAtSourceTime,
70
70
  volumeSegmentSampleCount
71
- } from "./chunk-QTGKDF7D.js";
71
+ } from "./chunk-YRQPU7SV.js";
72
72
  import {
73
73
  redactTelemetryString,
74
74
  redactUrlQueryStrings
@@ -86,7 +86,7 @@ import {
86
86
  } from "./chunk-4UMPIPCQ.js";
87
87
  import {
88
88
  resolveReferencedStart
89
- } from "./chunk-CV32PRH3.js";
89
+ } from "./chunk-IDASYE4U.js";
90
90
  import {
91
91
  FFMPEG_PATH_ENV,
92
92
  FFPROBE_PATH_ENV,
@@ -95,13 +95,13 @@ import {
95
95
  import {
96
96
  isWithinProjectRoot,
97
97
  resolveProjectRelativeSrc
98
- } from "./chunk-6BNTGNGD.js";
98
+ } from "./chunk-PBNWRWKA.js";
99
99
  import {
100
100
  isPathInside
101
101
  } from "./chunk-2BGOB2QK.js";
102
102
  import {
103
103
  parseHTML
104
- } from "./chunk-SDYDNHEE.js";
104
+ } from "./chunk-GWTIFRF5.js";
105
105
  import {
106
106
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
107
107
  describeWslGpuAccess,
@@ -1094,22 +1094,32 @@ var BEGINFRAME_ONLY_FLAGS = /* @__PURE__ */ new Set([
1094
1094
  function stripBeginFrameFlags(args) {
1095
1095
  return args.filter((a) => !BEGINFRAME_ONLY_FLAGS.has(a));
1096
1096
  }
1097
+ var BeginFrameProbeTimeout = class extends Error {
1098
+ };
1097
1099
  var BEGINFRAME_PROBE_TIMEOUT_MS = 2e3;
1100
+ var BEGINFRAME_PROBE_RETRY_TIMEOUT_MS = 8e3;
1098
1101
  var BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS = 250;
1099
1102
  async function awaitBeforeDeadline(operation, deadline, label) {
1100
1103
  const remainingMs = deadline - Date.now();
1101
1104
  if (remainingMs <= 0) {
1102
- throw new Error(`beginFrame probe timeout before ${label}`);
1105
+ throw new BeginFrameProbeTimeout(`beginFrame probe timeout before ${label}`);
1103
1106
  }
1104
- return rejectAfter(operation, remainingMs, `beginFrame probe timeout during ${label}`);
1107
+ return rejectAfter(
1108
+ operation,
1109
+ remainingMs,
1110
+ new BeginFrameProbeTimeout(`beginFrame probe timeout during ${label}`)
1111
+ );
1105
1112
  }
1106
- async function rejectAfter(operation, timeoutMs, message) {
1113
+ async function rejectAfter(operation, timeoutMs, error) {
1107
1114
  let timeout;
1108
1115
  try {
1109
1116
  return await Promise.race([
1110
1117
  operation,
1111
1118
  new Promise((_, reject) => {
1112
- timeout = setTimeout(() => reject(new Error(message)), timeoutMs);
1119
+ timeout = setTimeout(
1120
+ () => reject(typeof error === "string" ? new Error(error) : error),
1121
+ timeoutMs
1122
+ );
1113
1123
  })
1114
1124
  ]);
1115
1125
  } finally {
@@ -1199,7 +1209,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
1199
1209
  );
1200
1210
  }
1201
1211
  if (!isPng) {
1202
- throw new Error(
1212
+ const Failure = bytes.length === 0 ? BeginFrameProbeTimeout : Error;
1213
+ throw new Failure(
1203
1214
  `beginFrame screenshot returned ${bytes.length} bytes after ${attempts} attempts in ${Date.now() - started}ms with signature ${bytes.length >= 4 ? bytes.subarray(0, 4).toString("hex") : "<empty>"}`
1204
1215
  );
1205
1216
  }
@@ -1214,7 +1225,8 @@ async function probeBeginFrameSupport(browser, timeoutMs = BEGINFRAME_PROBE_TIME
1214
1225
  result = {
1215
1226
  supported: false,
1216
1227
  detail: error instanceof Error ? error.message : String(error),
1217
- durationMs: Date.now() - started
1228
+ durationMs: Date.now() - started,
1229
+ timedOut: error instanceof BeginFrameProbeTimeout
1218
1230
  };
1219
1231
  }
1220
1232
  if (page && !await settleWithin(page.close(), BEGINFRAME_PROBE_CLEANUP_TIMEOUT_MS)) {
@@ -1382,17 +1394,24 @@ async function launchBrowser(fingerprint) {
1382
1394
  const env = launchEnv(fingerprint);
1383
1395
  let captureMode = fingerprint.requestedCaptureMode;
1384
1396
  let browser;
1397
+ const launch = (args) => ppt.launch({
1398
+ ...sigintLaunchOptions(),
1399
+ headless: true,
1400
+ args: withHyperframesBrowserMarker(args),
1401
+ defaultViewport: null,
1402
+ executablePath: fingerprint.executablePath,
1403
+ env,
1404
+ timeout: fingerprint.browserTimeoutMs,
1405
+ protocolTimeout: fingerprint.protocolTimeoutMs
1406
+ });
1407
+ const probe = (target, timeoutMs) => probeBeginFrameSupport(target, timeoutMs).catch((error) => ({
1408
+ supported: true,
1409
+ detail: `probe harness error ignored: ${error instanceof Error ? error.message : String(error)}`,
1410
+ durationMs: 0,
1411
+ timedOut: false
1412
+ }));
1385
1413
  try {
1386
- browser = await ppt.launch({
1387
- ...sigintLaunchOptions(),
1388
- headless: true,
1389
- args: withHyperframesBrowserMarker(fingerprint.args),
1390
- defaultViewport: null,
1391
- executablePath: fingerprint.executablePath,
1392
- env,
1393
- timeout: fingerprint.browserTimeoutMs,
1394
- protocolTimeout: fingerprint.protocolTimeoutMs
1395
- });
1414
+ browser = await launch(fingerprint.args);
1396
1415
  const browserVersion = await browser.version().catch(() => "unknown");
1397
1416
  const gpuFlags = fingerprint.args.filter(
1398
1417
  (a) => a.startsWith("--use-gl=") || a.startsWith("--use-angle=")
@@ -1401,28 +1420,23 @@ async function launchBrowser(fingerprint) {
1401
1420
  `[BrowserManager] Browser launched (${browserVersion}, ${captureMode}, gl=${gpuFlags.join(" ") || "default"}, headlessShell=${!!fingerprint.executablePath}, platform=${process.platform})`
1402
1421
  );
1403
1422
  if (captureMode === "beginframe") {
1404
- const probe = await probeBeginFrameSupport(browser).catch((error) => ({
1405
- supported: true,
1406
- detail: `probe harness error ignored: ${error instanceof Error ? error.message : String(error)}`,
1407
- durationMs: 0
1408
- }));
1409
- if (!probe.supported) {
1423
+ let result = await probe(browser);
1424
+ if (!result.supported && result.timedOut) {
1425
+ console.warn(
1426
+ `[BrowserManager] HeadlessExperimental.beginFrame probe timed out after ${result.durationMs}ms: ${result.detail}; retrying once with a longer budget.`
1427
+ );
1428
+ await closeBrowserAfterFailedProbe(browser);
1429
+ browser = await launch(fingerprint.args);
1430
+ result = await probe(browser, BEGINFRAME_PROBE_RETRY_TIMEOUT_MS);
1431
+ }
1432
+ if (!result.supported) {
1410
1433
  await closeBrowserAfterFailedProbe(browser);
1411
1434
  browser = void 0;
1412
1435
  console.warn(
1413
- `[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${probe.durationMs}ms: ${probe.detail}; falling back to screenshot mode.`
1436
+ `[BrowserManager] HeadlessExperimental.beginFrame probe failed after ${result.durationMs}ms: ${result.detail}; falling back to screenshot mode.`
1414
1437
  );
1415
1438
  captureMode = "screenshot";
1416
- browser = await ppt.launch({
1417
- ...sigintLaunchOptions(),
1418
- headless: true,
1419
- args: withHyperframesBrowserMarker(stripBeginFrameFlags([...fingerprint.args])),
1420
- defaultViewport: null,
1421
- executablePath: fingerprint.executablePath,
1422
- env,
1423
- timeout: fingerprint.browserTimeoutMs,
1424
- protocolTimeout: fingerprint.protocolTimeoutMs
1425
- });
1439
+ browser = await launch(stripBeginFrameFlags([...fingerprint.args]));
1426
1440
  }
1427
1441
  }
1428
1442
  return { browser, captureMode };
@@ -7885,7 +7899,7 @@ async function discardWarmupCapture(session, frameIndex = 0, time = 0, innerCapt
7885
7899
  async function closeCaptureSession(session) {
7886
7900
  if (session.chromeMemory) {
7887
7901
  session.chromeMemory.stop();
7888
- await session.chromeMemory.sampleOnce();
7902
+ await waitForCloseWithTimeout(session.chromeMemory.sampleOnce());
7889
7903
  }
7890
7904
  if (session.page && !session.pageReleased) {
7891
7905
  const blur = await describePageMotionBlurAtEnd(session.page);