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
@@ -40,7 +40,7 @@ import {
40
40
  renderFrameIdForRenderId,
41
41
  resolveAuthoredTimingWindow,
42
42
  toFps
43
- } from "./chunk-MI4V4HPE.js";
43
+ } from "./chunk-5ZJGEQGS.js";
44
44
  import {
45
45
  AUDIO_GROUP_RENDER_ID_ATTR,
46
46
  AUTHORED_SOURCE_BEGIN,
@@ -83,7 +83,7 @@ import {
83
83
  sourceTimeAt,
84
84
  timeAtSourceTime,
85
85
  volumeSegmentSampleCount
86
- } from "./chunk-ZXTSUXSL.js";
86
+ } from "./chunk-QRC7IVBC.js";
87
87
  import {
88
88
  redactTelemetryString,
89
89
  redactUrlQueryStrings
@@ -9839,6 +9839,18 @@ async function analyzeKeyframeIntervals(filePath, metadata) {
9839
9839
  });
9840
9840
  return promise;
9841
9841
  }
9842
+ async function keyframeGapSeconds(filePath, seekSeconds, signal) {
9843
+ const stdout = await runFfprobe(
9844
+ filePath,
9845
+ [
9846
+ ...["-select_streams", "v:0", "-show_entries", "packet=pts_time", "-of", "csv=p=0"],
9847
+ ...["-read_intervals", `${seekSeconds}%+#1`]
9848
+ ],
9849
+ signal
9850
+ );
9851
+ const keyframe = parseFloat(stdout.split("\n")[0] ?? "");
9852
+ return Number.isFinite(keyframe) ? Math.max(0, seekSeconds - keyframe) : 0;
9853
+ }
9842
9854
  async function analyzeKeyframeIntervalsUncached(filePath, videoStreamStartSeconds, videoStreamDurationSeconds) {
9843
9855
  const stdout = await runFfprobe(filePath, [
9844
9856
  "-select_streams",
@@ -10000,7 +10012,18 @@ async function shouldCopyAacSidecar(audioPath, options) {
10000
10012
  return false;
10001
10013
  }
10002
10014
  }
10003
- function getEncoderPreset(quality, format = "mp4", hdr) {
10015
+ var PRORES_PROFILE_NAMES = ["4444", "hq", "422", "lt", "proxy"];
10016
+ var PRORES_PROFILES = {
10017
+ "4444": { profile: "4444", pixelFormat: "yuva444p10le", alpha: true },
10018
+ hq: { profile: "3", pixelFormat: "yuv422p10le", alpha: false },
10019
+ "422": { profile: "2", pixelFormat: "yuv422p10le", alpha: false },
10020
+ lt: { profile: "1", pixelFormat: "yuv422p10le", alpha: false },
10021
+ proxy: { profile: "0", pixelFormat: "yuv422p10le", alpha: false }
10022
+ };
10023
+ function isProresProfile(value) {
10024
+ return typeof value === "string" && PRORES_PROFILE_NAMES.includes(value);
10025
+ }
10026
+ function getEncoderPreset(quality, format = "mp4", hdr, proresProfile = "4444") {
10004
10027
  const base = ENCODER_PRESETS[quality];
10005
10028
  if (format === "webm") {
10006
10029
  return {
@@ -10011,12 +10034,8 @@ function getEncoderPreset(quality, format = "mp4", hdr) {
10011
10034
  };
10012
10035
  }
10013
10036
  if (format === "mov") {
10014
- return {
10015
- preset: "4444",
10016
- quality: base.quality,
10017
- codec: "prores",
10018
- pixelFormat: "yuva444p10le"
10019
- };
10037
+ const { profile, pixelFormat } = PRORES_PROFILES[proresProfile];
10038
+ return { preset: profile, quality: base.quality, codec: "prores", pixelFormat };
10020
10039
  }
10021
10040
  if (hdr) {
10022
10041
  return {
@@ -10479,8 +10498,9 @@ async function encodeFramesChunkedConcat(framesDir, framePattern, outputPath, op
10479
10498
  async function muxVideoWithAudio(videoPath, audioPath, outputPath, signal, config, fps, onSecondsWritten) {
10480
10499
  const outputDir = dirname2(outputPath);
10481
10500
  if (!existsSync5(outputDir)) mkdirSync2(outputDir, { recursive: true });
10482
- const isWebm = outputPath.endsWith(".webm");
10483
- const isMov = outputPath.endsWith(".mov");
10501
+ const outputExtension = extname(outputPath).toLowerCase();
10502
+ const isWebm = outputExtension === ".webm";
10503
+ const isMov = outputExtension === ".mov";
10484
10504
  const shouldCopyAudio = isWebm ? false : await shouldCopyAacSidecar(audioPath, config);
10485
10505
  const args = [...config?.videoInputArgs ?? ["-i", videoPath], "-i", audioPath, "-c:v", "copy"];
10486
10506
  if (isWebm) {
@@ -12990,6 +13010,18 @@ function sdrCanvasColourFilters(metadata, toneMappedToSdr = false) {
12990
13010
  return toneMappedToSdr ? [SDR_CANVAS_PASSTHROUGH_FILTER] : [];
12991
13011
  }
12992
13012
  var EXTRACTION_SEGMENT_SECONDS = 120;
13013
+ var SKIP_DECODE_FPS_FLOOR = 30;
13014
+ async function leadInSecondsUnlessAborted(videoPath, seek, signal) {
13015
+ try {
13016
+ return await keyframeGapSeconds(videoPath, seek, signal);
13017
+ } catch (error) {
13018
+ if (signal?.aborted) return 0;
13019
+ throw error;
13020
+ }
13021
+ }
13022
+ function stallTimeoutMs(baseMs, skippedSeconds, sourceFps) {
13023
+ return baseMs + Math.ceil(skippedSeconds * sourceFps * 1e3 / SKIP_DECODE_FPS_FLOOR);
13024
+ }
12993
13025
  function undoTickRoundingOnTheSourceFrameGrid(seek, lead) {
12994
13026
  const sinceFileStart = `(PTS*TB+${seek}-${lead})`;
12995
13027
  return [
@@ -13014,7 +13046,7 @@ function splitFrameRanges(ranges, segmentFrames) {
13014
13046
  return segments;
13015
13047
  }
13016
13048
  async function runSegmentedExtraction(job) {
13017
- const { decodeArgs, filterAndEncodeArgs, videoPath, startTime, fps, segments, gate } = job;
13049
+ const { decodeArgs, filterAndEncodeArgs, videoPath, startTime, fps, sourceFps, segments, gate } = job;
13018
13050
  const segmentCount = segments.length;
13019
13051
  const failed = new AbortController();
13020
13052
  const signal = job.runOptions.signal ? AbortSignal.any([job.runOptions.signal, failed.signal]) : failed.signal;
@@ -13026,7 +13058,7 @@ async function runSegmentedExtraction(job) {
13026
13058
  const { firstFrame, frames } = segments[index];
13027
13059
  const seek = startTime + firstFrame / fps;
13028
13060
  const result = await gate(
13029
- () => runFfmpeg(
13061
+ async () => runFfmpeg(
13030
13062
  [
13031
13063
  ...decodeArgs,
13032
13064
  "-noaccurate_seek",
@@ -13043,7 +13075,15 @@ async function runSegmentedExtraction(job) {
13043
13075
  String(firstFrame + 1),
13044
13076
  ...filterAndEncodeArgs(seek)
13045
13077
  ],
13046
- { ...job.runOptions, signal }
13078
+ {
13079
+ ...job.runOptions,
13080
+ signal,
13081
+ timeout: stallTimeoutMs(
13082
+ job.runOptions.timeout,
13083
+ await leadInSecondsUnlessAborted(videoPath, seek, signal),
13084
+ sourceFps
13085
+ )
13086
+ }
13047
13087
  ),
13048
13088
  signal
13049
13089
  );
@@ -13052,7 +13092,10 @@ async function runSegmentedExtraction(job) {
13052
13092
  }
13053
13093
  };
13054
13094
  const workers = Math.min(segmentCount, EXTRACTION_SLOTS);
13055
- await Promise.all(Array.from({ length: workers }, worker));
13095
+ await Promise.all(Array.from({ length: workers }, worker)).catch((error) => {
13096
+ failed.abort();
13097
+ throw error;
13098
+ });
13056
13099
  const ran = results.filter(Boolean);
13057
13100
  const failure = ran.find((r) => !r.success && r.terminationReason !== "abort") ?? ran.find((r) => !r.success);
13058
13101
  if (failure) return failure;
@@ -13171,6 +13214,7 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
13171
13214
  videoPath,
13172
13215
  startTime,
13173
13216
  fps,
13217
+ sourceFps: metadata.fps,
13174
13218
  gate: options.tailProbe ? inTailProbeSlot : inExtractionSlot,
13175
13219
  segments: splitFrameRanges(
13176
13220
  options.frameRanges ?? [{ firstFrame: 0, frames: totalFrames }],
@@ -13178,10 +13222,14 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
13178
13222
  ),
13179
13223
  runOptions
13180
13224
  }) : inExtractionSlot(
13181
- () => runFfmpeg(
13182
- [...hwaccel, ...args, ...filterArgsFor(startTime), ...encodeArgs],
13183
- runOptions
13184
- ),
13225
+ async () => runFfmpeg([...hwaccel, ...args, ...filterArgsFor(startTime), ...encodeArgs], {
13226
+ ...runOptions,
13227
+ timeout: stallTimeoutMs(
13228
+ ffmpegProcessTimeout,
13229
+ options.finalFrameOnly ? startTime : await leadInSecondsUnlessAborted(videoPath, startTime, signal),
13230
+ metadata.fps
13231
+ )
13232
+ }),
13185
13233
  signal
13186
13234
  );
13187
13235
  let processResult = await extract(decodeWithVideoToolbox ? ["-hwaccel", "videotoolbox"] : []);
@@ -13757,7 +13805,7 @@ async function extractAllVideoFrames(videos, baseDir, options, signal, config, c
13757
13805
  const hdrPreflightStart = Date.now();
13758
13806
  const hdrInfo = analyzeCompositionHdr(videoColorSpaces);
13759
13807
  const hdrSkippedIndices = /* @__PURE__ */ new Set();
13760
- if (hdrInfo.hasHdr && hdrInfo.dominantTransfer) {
13808
+ if (!options.toneMapHdrToSdr && hdrInfo.hasHdr && hdrInfo.dominantTransfer) {
13761
13809
  const targetTransfer = hdrInfo.dominantTransfer;
13762
13810
  for (let i = 0; i < resolvedVideos.length; i++) {
13763
13811
  if (signal?.aborted) break;
@@ -18713,6 +18761,9 @@ export {
18713
18761
  appendRenderProvenanceArgs,
18714
18762
  readRenderProvenance,
18715
18763
  ENCODER_PRESETS,
18764
+ PRORES_PROFILE_NAMES,
18765
+ PRORES_PROFILES,
18766
+ isProresProfile,
18716
18767
  getEncoderPreset,
18717
18768
  keyframeIntervalToGopSize,
18718
18769
  appendRateCapArgs,
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  firstFrameColourArgs,
15
15
  parseFirstFrameColour
16
- } from "./chunk-MI4V4HPE.js";
16
+ } from "./chunk-5ZJGEQGS.js";
17
17
  import {
18
18
  findFfBinary
19
19
  } from "./chunk-VAS6HQX3.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-Y2EVJBR6.js";
15
+ } from "./chunk-5IWRGVAX.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ZTZA4UWZ.js";
13
13
  import {
14
14
  normalizeErrorMessage
15
- } from "./chunk-EU7MVORF.js";
15
+ } from "./chunk-E63BDV4Z.js";
16
16
 
17
17
  // src/auth/paths.ts
18
18
  import { homedir } from "os";
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-Z67J3TTU.js";
11
+ } from "./chunk-XIUHHEBS.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-IQNS7O4W.js";
15
+ } from "./chunk-I3PNZDKR.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-XCIHCPJK.js";
@@ -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
+ renameWithRetry
9
+ } from "./chunk-XCIHCPJK.js";
7
10
  import {
8
11
  mkdirWithinProject,
9
12
  realpath
10
13
  } from "./chunk-OFQWTKPW.js";
11
14
 
12
15
  // src/registry/publication.ts
13
- import { lstatSync, chmodSync, mkdtempSync, renameSync, rmSync, writeFileSync } from "fs";
16
+ import { lstatSync, chmodSync, mkdtempSync, rmSync, writeFileSync } from "fs";
14
17
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
15
18
  function registryTargetPath(root, target) {
16
19
  const parts = target.split(/[\\/]/);
@@ -44,7 +47,7 @@ function publishRegistryFile(root, target, bytes) {
44
47
  writeFileSync(stagedFile, bytes, { flag: "wx" });
45
48
  const previous = lstatSync(destination, { throwIfNoEntry: false });
46
49
  if (previous?.isFile()) chmodSync(stagedFile, previous.mode & 511);
47
- renameSync(stagedFile, destination);
50
+ renameWithRetry(stagedFile, destination);
48
51
  return destination;
49
52
  } finally {
50
53
  rmSync(stage, { recursive: true, force: true });
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-66PNSZ7K.js";
9
+ } from "./chunk-BYZPLQSX.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadOptionalPackage,
9
9
  loadSharp
10
- } from "./chunk-EXAX37XR.js";
10
+ } from "./chunk-Y65ZU7XY.js";
11
11
  import {
12
12
  downloadFile
13
13
  } from "./chunk-WQ6ZXHFQ.js";
@@ -15,28 +15,93 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-R52YM6ZK.js";
18
+ } from "./chunk-EYGWMHXV.js";
19
+ import {
20
+ registerBrowserSessionCleanup
21
+ } from "./chunk-TGFDRZTM.js";
19
22
  import {
20
23
  DEFAULT_VP9_CPU_USED,
21
24
  SDR_RGB_TO_BT709_FILTER,
22
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
23
26
  renderProvenanceArgs
24
- } from "./chunk-IQNS7O4W.js";
27
+ } from "./chunk-I3PNZDKR.js";
25
28
  import {
26
29
  runCancellableProcess
27
- } from "./chunk-Q43YUROE.js";
30
+ } from "./chunk-X6JUUQCM.js";
31
+ import {
32
+ processIsAlive
33
+ } from "./chunk-KGPLIH7B.js";
28
34
 
29
35
  // src/background-removal/pipeline.ts
30
36
  import { spawn } from "child_process";
31
37
  import { randomUUID } from "crypto";
32
- import { renameSync, rmSync } from "fs";
33
- import { basename, dirname, extname, join as join2 } from "path";
38
+ import { renameSync, rmSync as rmSync2 } from "fs";
39
+ import { basename as basename2, dirname, extname, join as join3 } from "path";
40
+
41
+ // src/background-removal/coremlTemp.ts
42
+ import { mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
43
+ import { homedir, tmpdir } from "os";
44
+ import { basename, join } from "path";
45
+ var COMPILED_MODEL = /^onnxruntime-.*\.mlmodelc?$/;
46
+ var COREML_TEMP_MANIFESTS = join(
47
+ homedir(),
48
+ ".cache",
49
+ "hyperframes",
50
+ "background-removal",
51
+ "coreml-temp"
52
+ );
53
+ var compiledModels = (tmp) => readdirSync(tmp).filter((name) => COMPILED_MODEL.test(name));
54
+ function readManifest(path) {
55
+ try {
56
+ const parsed = JSON.parse(readFileSync(path, "utf-8"));
57
+ return Number.isInteger(parsed.pid) && Array.isArray(parsed.dirs) ? parsed : void 0;
58
+ } catch {
59
+ return void 0;
60
+ }
61
+ }
62
+ function sweepDeadCoreMlTemp(options = {}) {
63
+ const { manifests = COREML_TEMP_MANIFESTS, alive = processIsAlive } = options;
64
+ let names;
65
+ try {
66
+ names = readdirSync(manifests);
67
+ } catch {
68
+ return;
69
+ }
70
+ for (const name of names) {
71
+ const path = join(manifests, name);
72
+ const manifest = readManifest(path);
73
+ if (manifest && (manifest.pid === process.pid || alive(manifest.pid))) continue;
74
+ for (const dir of manifest?.dirs ?? []) {
75
+ if (basename(dir) === dir && COMPILED_MODEL.test(dir)) {
76
+ rmSync(join(manifest.tmp, dir), { recursive: true, force: true });
77
+ }
78
+ }
79
+ rmSync(path, { force: true });
80
+ }
81
+ }
82
+ function trackCoreMlTemp(options = {}) {
83
+ const { manifests = COREML_TEMP_MANIFESTS, tmp = tmpdir() } = options;
84
+ sweepDeadCoreMlTemp(options);
85
+ const before = new Set(compiledModels(tmp));
86
+ const path = join(manifests, `${process.pid}.json`);
87
+ return {
88
+ record() {
89
+ const dirs = compiledModels(tmp).filter((name) => !before.has(name));
90
+ mkdirSync(manifests, { recursive: true });
91
+ const manifest = { pid: process.pid, tmp, dirs };
92
+ writeFileSync(path, JSON.stringify(manifest));
93
+ },
94
+ forget() {
95
+ rmSync(path, { force: true });
96
+ }
97
+ };
98
+ }
34
99
 
35
100
  // src/background-removal/manager.ts
36
- import { existsSync, mkdirSync } from "fs";
37
- import { homedir, platform, arch } from "os";
38
- import { join } from "path";
39
- var MODELS_DIR = join(homedir(), ".cache", "hyperframes", "background-removal", "models");
101
+ import { existsSync, mkdirSync as mkdirSync2 } from "fs";
102
+ import { homedir as homedir2, platform, arch } from "os";
103
+ import { join as join2 } from "path";
104
+ var MODELS_DIR = join2(homedir2(), ".cache", "hyperframes", "background-removal", "models");
40
105
  var DEFAULT_MODEL = "u2net_human_seg";
41
106
  var MODEL_URLS = {
42
107
  u2net_human_seg: "https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net_human_seg.onnx"
@@ -85,12 +150,12 @@ function listAvailableProviders() {
85
150
  return out;
86
151
  }
87
152
  function modelPath(model = DEFAULT_MODEL) {
88
- return join(MODELS_DIR, `${model}.onnx`);
153
+ return join2(MODELS_DIR, `${model}.onnx`);
89
154
  }
90
155
  async function ensureModel(model = DEFAULT_MODEL, options) {
91
156
  const dest = modelPath(model);
92
157
  if (existsSync(dest)) return dest;
93
- mkdirSync(MODELS_DIR, { recursive: true });
158
+ mkdirSync2(MODELS_DIR, { recursive: true });
94
159
  options?.onProgress?.(`Downloading ${model} weights (~168 MB)...`);
95
160
  await downloadFile(MODEL_URLS[model], dest);
96
161
  if (!existsSync(dest)) {
@@ -117,6 +182,8 @@ async function createSession(options = {}) {
117
182
  executionProviders: providers,
118
183
  graphOptimizationLevel: "all"
119
184
  });
185
+ const coreMlTemp = choice.label === "CoreML" ? trackCoreMlTemp() : void 0;
186
+ const unregister = coreMlTemp && registerBrowserSessionCleanup(async () => session?.release());
120
187
  let session;
121
188
  let providerUsed = choice.label;
122
189
  try {
@@ -126,8 +193,13 @@ async function createSession(options = {}) {
126
193
  options.onProgress?.(
127
194
  `${choice.label} provider failed (${err.message}); falling back to CPU.`
128
195
  );
129
- session = await tryCreate(["cpu"]);
196
+ session = await tryCreate(["cpu"]).catch((error) => {
197
+ unregister?.();
198
+ throw error;
199
+ });
130
200
  providerUsed = "CPU";
201
+ } finally {
202
+ coreMlTemp?.record();
131
203
  }
132
204
  const inputName = session.inputNames[0];
133
205
  const outputName = session.outputNames[0];
@@ -184,7 +256,9 @@ async function createSession(options = {}) {
184
256
  );
185
257
  },
186
258
  async close() {
259
+ unregister?.();
187
260
  await session.release();
261
+ coreMlTemp?.forget();
188
262
  }
189
263
  };
190
264
  }
@@ -317,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
317
391
  }
318
392
  async function probeMedia(inputPath) {
319
393
  const isImage = inferInputKind(inputPath) === "image";
320
- const engine = await import("./src-ALOV4D57.js");
394
+ const engine = await import("./src-PX3VIS7K.js");
321
395
  const meta = await engine.extractMediaMetadata(inputPath);
322
396
  if (isImage) {
323
397
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -491,12 +565,12 @@ async function render(options) {
491
565
  };
492
566
  } finally {
493
567
  await session.close();
494
- rmSync(output, { force: true, maxRetries: 3 });
495
- if (background) rmSync(background, { force: true, maxRetries: 3 });
568
+ rmSync2(output, { force: true, maxRetries: 3 });
569
+ if (background) rmSync2(background, { force: true, maxRetries: 3 });
496
570
  }
497
571
  }
498
572
  function tempBeside(path) {
499
- return join2(dirname(path), `.tmp-${randomUUID()}-${basename(path)}`);
573
+ return join3(dirname(path), `.tmp-${randomUUID()}-${basename2(path)}`);
500
574
  }
501
575
  var RECENT_WINDOW = 30;
502
576
  function spawnFfmpeg(ffmpegPath, args, label, stdio) {
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-Y2EVJBR6.js";
11
+ } from "./chunk-5IWRGVAX.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-GMECXFAN.js";
15
+ } from "./chunk-K4FVGVA6.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-MI4V4HPE.js";
18
+ } from "./chunk-5ZJGEQGS.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-TSM67ADU.js";
12
+ } from "./chunk-32BLIKEV.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-3A4SB326.js";
15
+ } from "./chunk-35HSGF46.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-SE6S4SGZ.js";
23
- import {
24
- launchManagedBrowser,
25
- resolveManagedGpuMode
26
- } from "./chunk-4BXEPVSA.js";
22
+ } from "./chunk-WOFTAZSZ.js";
27
23
  import {
28
24
  gotoWhenSent
29
- } from "./chunk-MOEGCMKI.js";
25
+ } from "./chunk-7J6LQ3SQ.js";
30
26
  import {
31
27
  pageNavigationTimeoutMs
32
- } from "./chunk-MVNTJGDX.js";
28
+ } from "./chunk-TDEORHFN.js";
29
+ import {
30
+ launchManagedBrowser,
31
+ resolveManagedGpuMode
32
+ } from "./chunk-TGFDRZTM.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -43,10 +43,10 @@ import {
43
43
  import {
44
44
  printDeprecationNotice,
45
45
  withMeta
46
- } from "./chunk-SPMKVI6H.js";
46
+ } from "./chunk-UA3YNZK6.js";
47
47
  import {
48
48
  normalizeErrorMessage
49
- } from "./chunk-EU7MVORF.js";
49
+ } from "./chunk-E63BDV4Z.js";
50
50
 
51
51
  // src/commands/layout.ts
52
52
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -162,7 +162,7 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
162
162
  const sampleCount = totalSampleCount ?? new Set(issues.map((issue) => issue.time)).size;
163
163
  const multiSampleRun = sampleCount > 1;
164
164
  return [...groups.values()].map(
165
- ({ issue, firstSeen, lastSeen, occurrences, times }) => applyPersistenceTier(
165
+ ({ issue, firstSeen, lastSeen, occurrences, times }) => tierIssue(
166
166
  {
167
167
  ...issue,
168
168
  firstSeen,
@@ -171,7 +171,8 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
171
171
  heldMs: longestContiguousRunMs(times),
172
172
  times: [...new Set(times)].sort((a, b) => a - b)
173
173
  },
174
- multiSampleRun
174
+ multiSampleRun,
175
+ sampleCount
175
176
  )
176
177
  );
177
178
  }
@@ -194,6 +195,13 @@ function longestContiguousRun(times) {
194
195
  }
195
196
  return longest.length === 0 || span(run) > span(longest) ? run : longest;
196
197
  }
198
+ function coverTier(issue, sampleCount) {
199
+ return (issue.occurrences ?? 1) * 2 >= sampleCount ? issue : { ...issue, severity: "info" };
200
+ }
201
+ function tierIssue(issue, multiSampleRun, sampleCount) {
202
+ if (multiSampleRun && issue.code === "canvas_covered") return coverTier(issue, sampleCount);
203
+ return applyPersistenceTier(issue, multiSampleRun);
204
+ }
197
205
  function applyPersistenceTier(issue, multiSampleRun) {
198
206
  if (!multiSampleRun) return issue;
199
207
  if (!PERSISTENCE_TIERED_CODES.has(issue.code)) return issue;
@@ -690,7 +698,7 @@ async function collectTweenBoundaries(page) {
690
698
  });
691
699
  }
692
700
  async function bundleProjectHtml(projectDir) {
693
- const { bundleToSingleHtml } = await import("./compiler-DSP4MVEC.js");
701
+ const { bundleToSingleHtml } = await import("./compiler-IL2PZJFH.js");
694
702
  return bundleToSingleHtml(projectDir);
695
703
  }
696
704
  async function alignViewportToComposition(page, url) {
@@ -707,15 +715,15 @@ async function alignViewportToComposition(page, url) {
707
715
  await gotoWhenSent(page, url, pageNavigationTimeoutMs());
708
716
  }
709
717
  async function runLayoutAudit(projectDir, opts) {
710
- const { ensureBrowser } = await import("./manager-Z7W4GQGF.js");
718
+ const { ensureBrowser } = await import("./manager-LQXZTUTJ.js");
711
719
  const puppeteer = await import("puppeteer-core");
712
- const { buildChromeArgs } = await import("./src-ALOV4D57.js");
720
+ const { buildChromeArgs } = await import("./src-PX3VIS7K.js");
713
721
  const {
714
722
  assertWebGpuAdapterAvailable,
715
723
  compositionRequiresWebGpu,
716
724
  resolveLocalBrowserGpuMode,
717
725
  resolveLocalWebGpu
718
- } = await import("./gpuPolicy-BGJRCLP4.js");
726
+ } = await import("./gpuPolicy-KVYO4OU4.js");
719
727
  const html = await bundleProjectHtml(projectDir);
720
728
  const server = await serveStaticProjectHtml(
721
729
  projectDir,
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-L7MGVFR4.js";
10
+ } from "./chunk-F7IWJMIO.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-EA5FUMJN.js";
13
+ } from "./chunk-X2T5EOI7.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  readConfig,
22
22
  writeConfig
23
- } from "./chunk-NEASABW6.js";
23
+ } from "./chunk-P6EXMN5D.js";
24
24
 
25
25
  // src/telemetry/feedback.ts
26
26
  import * as readline from "readline";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-YD4AW5ZX.js"),
87
- import("./ffmpeg-C4VWK4M2.js")
87
+ import("./ffmpeg-PYY5FSIX.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-TSM67ADU.js";
9
+ } from "./chunk-32BLIKEV.js";
10
10
  import {
11
11
  DEFAULT_HISTORY_ROOT,
12
12
  HistoryBusyError,
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-RJO4X3AA.js";
23
+ } from "./chunk-EVTBRL37.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-YDGXGOLH.js");
232
+ const { trackFigmaImport } = await import("./telemetry-DGDEJLGL.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-7VZEOCUY.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-RVG2JNDU.js";
12
+ } from "./chunk-DST7GU2Y.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
@@ -17,12 +17,12 @@ import {
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel,
19
19
  sha256File
20
- } from "./chunk-3PUXUIWB.js";
20
+ } from "./chunk-DHTWYTSV.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-R52YM6ZK.js";
25
+ } from "./chunk-EYGWMHXV.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";