hyperframes 0.8.188 → 0.8.189

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 (159) hide show
  1. package/dist/{add-UORF6235.js → add-TIKUM2YX.js} +10 -10
  2. package/dist/{animatedGifPrep-23MLSEXF.js → animatedGifPrep-25X4G5IE.js} +3 -3
  3. package/dist/api.js +11 -11
  4. package/dist/{asset-DOKDVHCW.js → asset-TPKLIP4R.js} +2 -2
  5. package/dist/{assetCataloger-CD27MHEY.js → assetCataloger-PQAIV3FI.js} +3 -3
  6. package/dist/{audio-3NMZHNNU.js → audio-6RLPKB5X.js} +9 -9
  7. package/dist/{auth-AWKTSKGC.js → auth-O7QSTP6Y.js} +1 -1
  8. package/dist/{autoUpdate-VBOI4CNU.js → autoUpdate-TIEJODP7.js} +2 -2
  9. package/dist/{backgroundChecks-S4R454YU.js → backgroundChecks-K2AXYDYG.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-EGPYNDHK.js → batchRender-ORVWYJAH.js} +2 -2
  12. package/dist/{beats-YENEQUOA.js → beats-2VTB2ATR.js} +4 -4
  13. package/dist/{benchmark-THSJIQG7.js → benchmark-NLNBL6YR.js} +7 -7
  14. package/dist/{browser-BDMVQ6WJ.js → browser-M5UV6VJB.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-3QG722YD.js → bundleWithLocalizedFonts-EDD2XDS2.js} +1 -1
  16. package/dist/{capture-Z6BGCTK3.js → capture-JSYVNFKO.js} +6 -6
  17. package/dist/{capture-WM4XDMFX.js → capture-WHWEE5FE.js} +2 -2
  18. package/dist/{captureCompositionFrame-EMHSAIBZ.js → captureCompositionFrame-JANGQCIA.js} +9 -9
  19. package/dist/{catalog-7TV6UNCG.js → catalog-MPOOKNSZ.js} +10 -10
  20. package/dist/{catch-up-63IUDZRW.js → catch-up-6KZV3UMZ.js} +4 -4
  21. package/dist/{check-7RHZL4DV.js → check-G273NWK7.js} +32 -31
  22. package/dist/{checkBrowser-PF56CT5X.js → checkBrowser-G53E2ZQI.js} +27 -28
  23. package/dist/{chunk-5DPV7LU3.js → chunk-2CYM34M7.js} +1 -1
  24. package/dist/{chunk-FSTLXRIN.js → chunk-37EPEFXM.js} +1 -1
  25. package/dist/{chunk-NMOTNNP2.js → chunk-3OLOVRWS.js} +1 -1
  26. package/dist/{chunk-ZIRIDSDB.js → chunk-3X6LH25W.js} +1 -1
  27. package/dist/{chunk-BU4HRISA.js → chunk-44TJOEH5.js} +90 -23
  28. package/dist/{chunk-YZ73IPW2.js → chunk-4DZ3HBKF.js} +2 -2
  29. package/dist/{chunk-W2KGJHUL.js → chunk-4QFKGRTB.js} +2 -2
  30. package/dist/{chunk-IA2IDJAG.js → chunk-5544QB3U.js} +1 -1
  31. package/dist/{chunk-MTPPEEYZ.js → chunk-565X6Q4X.js} +3 -3
  32. package/dist/{chunk-HPQSUPR7.js → chunk-5HJJEHGE.js} +1 -1
  33. package/dist/{chunk-6OWNUXTU.js → chunk-6RA4TWGV.js} +1 -1
  34. package/dist/{chunk-I7C5GUEQ.js → chunk-74Y43RJZ.js} +3 -3
  35. package/dist/{chunk-57XL23DE.js → chunk-ANYBRVPF.js} +1 -1
  36. package/dist/{chunk-LWY3PFJ7.js → chunk-AQ3L7DVB.js} +1 -1
  37. package/dist/{chunk-6HYPEIH7.js → chunk-ASZ4IQB4.js} +2 -2
  38. package/dist/{chunk-MJKUCR3C.js → chunk-AYBKDHYD.js} +2 -2
  39. package/dist/{chunk-T3OXKSRG.js → chunk-B52BJM5K.js} +2 -2
  40. package/dist/{chunk-JWRT2IXO.js → chunk-B634ZCY2.js} +1 -1
  41. package/dist/{chunk-LWYZN7HS.js → chunk-BZQLTNMB.js} +219 -79
  42. package/dist/{chunk-XPVN4R66.js → chunk-CSYSEPWL.js} +31 -7
  43. package/dist/{chunk-V6NM4KL3.js → chunk-CTF7BYCV.js} +2 -2
  44. package/dist/{chunk-JYC53CW4.js → chunk-E676Y7AY.js} +81 -28
  45. package/dist/{chunk-5OZI55AC.js → chunk-E7TI5PAQ.js} +1 -1
  46. package/dist/{chunk-BWEZDN6U.js → chunk-F45HHA3M.js} +1 -1
  47. package/dist/{chunk-DA4TQFSF.js → chunk-FJF5JBYU.js} +1 -1
  48. package/dist/{chunk-NFHRGHCJ.js → chunk-GBT7P3OQ.js} +3 -3
  49. package/dist/{chunk-UF6RCYA5.js → chunk-GWYMAII7.js} +1 -1
  50. package/dist/{chunk-MXXX6WVC.js → chunk-HNMDLKA4.js} +1 -1
  51. package/dist/{chunk-GYBPAKBM.js → chunk-HQIFMCQN.js} +16 -10
  52. package/dist/{chunk-B2P4JRUJ.js → chunk-HUG47UEE.js} +1 -1
  53. package/dist/{chunk-YCW345M4.js → chunk-HXM2ISEK.js} +119 -8
  54. package/dist/{chunk-OJOZXWLC.js → chunk-IFXOMIBP.js} +3 -3
  55. package/dist/{chunk-6Q5CFUAP.js → chunk-IPEP346Y.js} +1 -1
  56. package/dist/{chunk-FOLMMQF3.js → chunk-JIPUWKLA.js} +12 -12
  57. package/dist/{chunk-44QWRPGE.js → chunk-JZDVIDFH.js} +2 -2
  58. package/dist/{chunk-L243NE72.js → chunk-KLWUB37U.js} +7 -7
  59. package/dist/{chunk-IJYR4TTA.js → chunk-KS4HMJJD.js} +1 -1
  60. package/dist/{chunk-FWVILDOZ.js → chunk-M6FHSQZ3.js} +3 -3
  61. package/dist/{chunk-PQLFJYGP.js → chunk-NDBWI7OA.js} +5 -5
  62. package/dist/{chunk-46VJ2UAV.js → chunk-NSJ5HD6A.js} +5 -5
  63. package/dist/{chunk-KWSEIVR6.js → chunk-OHXHBMF4.js} +1 -1
  64. package/dist/{chunk-X556BGL7.js → chunk-QMFI4N7J.js} +1 -1
  65. package/dist/{chunk-OKSYDQHY.js → chunk-QYQ2EYOI.js} +3 -3
  66. package/dist/{chunk-KY7375C4.js → chunk-R5FS7GFU.js} +1 -1
  67. package/dist/{chunk-FH7WODJH.js → chunk-SGFMCNLY.js} +8 -0
  68. package/dist/{chunk-PMXR3IUH.js → chunk-T37XXYRK.js} +1 -1
  69. package/dist/{chunk-NFLZNSUZ.js → chunk-TFUAKV6O.js} +1 -1
  70. package/dist/{chunk-U6RXZNZE.js → chunk-TMBUBLZB.js} +55 -23
  71. package/dist/{chunk-2DHCCBCN.js → chunk-TPTQHOXU.js} +8 -8
  72. package/dist/{chunk-KDBPZOXK.js → chunk-TREMHDWT.js} +11 -11
  73. package/dist/{chunk-DLFAVRF3.js → chunk-VRQU564T.js} +1 -1
  74. package/dist/{chunk-HKUZCSNZ.js → chunk-WMJJCHVQ.js} +2 -2
  75. package/dist/{chunk-YV4WT7CJ.js → chunk-WYCFMNU3.js} +11 -0
  76. package/dist/{chunk-2WUDFZCR.js → chunk-XJVXROOL.js} +2 -2
  77. package/dist/{chunk-DG4ME554.js → chunk-Z2BW2WJS.js} +1 -1
  78. package/dist/{chunk-6HZ7TSJJ.js → chunk-ZPMF6GAQ.js} +8 -8
  79. package/dist/{clean-43O47OTN.js → clean-PS4VYGQ6.js} +12 -12
  80. package/dist/cli.js +53 -53
  81. package/dist/{cloud-ZFWKFFSU.js → cloud-E47CE5VQ.js} +4 -4
  82. package/dist/{cloudrun-XBBESKEU.js → cloudrun-3J4SQBXE.js} +3 -3
  83. package/dist/{compare-OW4ELTFZ.js → compare-EAKHXBDO.js} +23 -23
  84. package/dist/{component-SDV7LWH6.js → component-QBOXYJJS.js} +3 -3
  85. package/dist/{compositions-DI5QZCEK.js → compositions-QC3EO3MJ.js} +7 -7
  86. package/dist/{delete-QY2NSQ2G.js → delete-TXEOLPC6.js} +2 -2
  87. package/dist/{deploy-MJVC4EFY.js → deploy-3B3WJ6PM.js} +1 -1
  88. package/dist/{dist-RFTGYT26.js → dist-F4UJFK4S.js} +3 -1
  89. package/dist/{doctor-7ZOECPHR.js → doctor-2CRFH4B3.js} +7 -7
  90. package/dist/{events-WIX4JM2K.js → events-GUIOSBIB.js} +3 -3
  91. package/dist/{events-XVQQGECC.js → events-KVTX3QFV.js} +2 -2
  92. package/dist/{feedback-GBYBR6UO.js → feedback-VQIOSTIB.js} +5 -5
  93. package/dist/{ffmpeg-QGQBYMO3.js → ffmpeg-BPCZGXFW.js} +3 -3
  94. package/dist/{figma-2CMKUGJQ.js → figma-QIOKCH26.js} +3 -3
  95. package/dist/fontLocalizeCli.js +5 -5
  96. package/dist/{get-RWCNUOHU.js → get-TU45SNXF.js} +2 -2
  97. package/dist/{gpuPolicy-UGWSN32D.js → gpuPolicy-AWAJBGYY.js} +3 -3
  98. package/dist/{grade-compare-J2MX7HZL.js → grade-compare-LDNUXX3Q.js} +24 -24
  99. package/dist/{help-SH3ID7MV.js → help-YUCHJKKL.js} +1 -1
  100. package/dist/{history-C7V5QH7J.js → history-MMHFUMIG.js} +7 -7
  101. package/dist/hyperframes-player.global.js +1 -1
  102. package/dist/{info-ZN3JJ3IN.js → info-HBHOFSC2.js} +6 -6
  103. package/dist/{init-KRNGSRNH.js → init-3E4GUXIZ.js} +23 -23
  104. package/dist/{inspect-AYDZXTX7.js → inspect-YNUPJVIH.js} +25 -25
  105. package/dist/{installer-N6AIK6XQ.js → installer-WLCRP33K.js} +3 -3
  106. package/dist/{keyframes-2RFUCEDK.js → keyframes-Z47GHCGO.js} +6 -6
  107. package/dist/{lambda-VW3CF6EE.js → lambda-CA4PEUO2.js} +5 -5
  108. package/dist/{layout-OE64APE7.js → layout-YPV6PIKF.js} +25 -25
  109. package/dist/{lint-UXJTX5WS.js → lint-3AVVQ74A.js} +6 -6
  110. package/dist/{list-KOL6JPZJ.js → list-JH52Y735.js} +2 -2
  111. package/dist/{login-MAQXOPDG.js → login-G7NPJUAW.js} +4 -4
  112. package/dist/{manager-3LZKRK7P.js → manager-2LSMMZY4.js} +4 -4
  113. package/dist/{media-treatment-COLSXXQJ.js → media-treatment-BVMMD5EN.js} +9 -9
  114. package/dist/{models-XXWMGOD7.js → models-P3TNRVRV.js} +7 -7
  115. package/dist/{motionShot-RECBNTBZ.js → motionShot-LK62QHNE.js} +13 -13
  116. package/dist/{normalize-audio-LKVGHZWR.js → normalize-audio-Y7BAQ7AR.js} +4 -4
  117. package/dist/{open-UEQVSRKH.js → open-CCFFLAT7.js} +10 -10
  118. package/dist/{parakeetRunner-QVPCZ36U.js → parakeetRunner-N2BWSOSD.js} +8 -8
  119. package/dist/{pipeline-5VSMQBKW.js → pipeline-3VT2DQGU.js} +4 -4
  120. package/dist/{play-MNEABYN4.js → play-G4I5IFHO.js} +15 -15
  121. package/dist/{preflight-ONJ74DWQ.js → preflight-2KU2QLCZ.js} +4 -4
  122. package/dist/{present-GQ24GTYX.js → present-EJ7XHGQO.js} +11 -11
  123. package/dist/{preview-ALL7O4RG.js → preview-O23BYFAY.js} +14 -14
  124. package/dist/{producer-43L2UDF6.js → producer-UJQVLKLP.js} +1 -1
  125. package/dist/{projectConfig-VJXUXK7U.js → projectConfig-QFVIBT37.js} +5 -5
  126. package/dist/{publication-L6E5NTFV.js → publication-4UYGFB2X.js} +1 -1
  127. package/dist/{publish-LCLBJEPR.js → publish-MHLVJLCR.js} +6 -6
  128. package/dist/{remove-background-PDL4KPR4.js → remove-background-N7AHTZWP.js} +5 -5
  129. package/dist/{render-7HVKJ7T4.js → render-6HQV4LZJ.js} +4 -4
  130. package/dist/{render-OPCRLZVL.js → render-CDATEVDJ.js} +10 -10
  131. package/dist/{render-J33ZHR6I.js → render-EI2ODKOP.js} +25 -25
  132. package/dist/{render-batch-ZHHIGXU3.js → render-batch-F7HMC7XH.js} +4 -4
  133. package/dist/{resolver-KNNIMMBM.js → resolver-63DB5JCY.js} +3 -3
  134. package/dist/{sherpa-GI62H3H5.js → sherpa-AK3MTPL3.js} +7 -7
  135. package/dist/{skills-IUTD6VQO.js → skills-EVIDL7PV.js} +5 -5
  136. package/dist/{skillsUpdateCheck-XZE7MJG6.js → skillsUpdateCheck-YCNJYDJO.js} +3 -3
  137. package/dist/{snapshot-XEXTHLZP.js → snapshot-WSYZKR3C.js} +29 -29
  138. package/dist/{src-6STRGCDC.js → src-KTD6WTEV.js} +4 -4
  139. package/dist/{src-ZPIV4PGX.js → src-YNXBU4ZQ.js} +4 -2
  140. package/dist/{staticProjectServer-HJLT7MHE.js → staticProjectServer-D2D3BKBP.js} +13 -11
  141. package/dist/studio/assets/{hyperframes-player-DwWIKKZG.js → hyperframes-player-CkK8Zijf.js} +1 -1
  142. package/dist/studio/assets/{index-Cjwz7_13.js → index-ATnRoBug.js} +1 -1
  143. package/dist/studio/assets/{index-M8lEpS0Q.js → index-B2JcCaRF.js} +4 -4
  144. package/dist/studio/index.html +1 -1
  145. package/dist/{studio-api-OBHEB5ND.js → studio-api-3ZGQPE5J.js} +5 -5
  146. package/dist/{studioServer-KRIZFYML.js → studioServer-VWM4J7ZP.js} +41 -41
  147. package/dist/{telemetry-N5OOVBCP.js → telemetry-BEVI64BB.js} +3 -3
  148. package/dist/{timeline-YUFH65OG.js → timeline-P57FUXJQ.js} +13 -13
  149. package/dist/{tokens-K4VYLSWJ.js → tokens-OUQY6LPD.js} +2 -2
  150. package/dist/{transcribe-GMQXKDYN.js → transcribe-CK66VIU4.js} +6 -6
  151. package/dist/{transcribe-CY4CVO54.js → transcribe-QUPX67KC.js} +12 -12
  152. package/dist/{updateCheck-2625RXK4.js → updateCheck-XZ43CH3L.js} +2 -2
  153. package/dist/{upgrade-6ZY5MSBQ.js → upgrade-7QQNGI7I.js} +2 -2
  154. package/dist/{urlDownloader-PVJWG7V3.js → urlDownloader-ESAEL6YX.js} +2 -2
  155. package/dist/{validate-XSRHEE7E.js → validate-5GZ6KFRU.js} +19 -19
  156. package/dist/{video-MBFHC54F.js → video-AQNVR6PE.js} +3 -3
  157. package/dist/warmCheck.js +32 -33
  158. package/package.json +1 -1
  159. package/dist/chunk-KANNRHY7.js +0 -53
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-FSTLXRIN.js";
9
+ } from "./chunk-37EPEFXM.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-KDBPZOXK.js";
16
- import {
17
- resolveCompositionViewportFromHtml
18
- } from "./chunk-FH7WODJH.js";
15
+ } from "./chunk-TREMHDWT.js";
19
16
  import {
20
17
  launchManagedBrowser,
21
18
  resolveManagedGpuMode
22
- } from "./chunk-MXXX6WVC.js";
19
+ } from "./chunk-HNMDLKA4.js";
23
20
  import {
24
21
  pageNavigationTimeoutMs
25
- } from "./chunk-MTPPEEYZ.js";
22
+ } from "./chunk-565X6Q4X.js";
23
+ import {
24
+ resolveCompositionViewportFromHtml
25
+ } from "./chunk-SGFMCNLY.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-S3S4TGEH.js";
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  printDeprecationNotice,
41
41
  withMeta
42
- } from "./chunk-KWSEIVR6.js";
42
+ } from "./chunk-OHXHBMF4.js";
43
43
  import {
44
44
  normalizeErrorMessage
45
45
  } from "./chunk-KNU5COPB.js";
@@ -227,7 +227,7 @@ function extractCompositionErrorsFromLint(lintResult) {
227
227
  async function localizeRemoteAssets(html) {
228
228
  let dir;
229
229
  try {
230
- const { loadProducer } = await import("./producer-43L2UDF6.js");
230
+ const { loadProducer } = await import("./producer-UJQVLKLP.js");
231
231
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
232
232
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
233
233
  const assetDir = dir;
@@ -250,7 +250,7 @@ async function validateInBrowser(project, opts) {
250
250
  const projectDir = project.dir;
251
251
  const { bundleToSingleHtml } = await import("./compiler-23MT6CX6.js");
252
252
  const { ensureBrowser } = await import("./manager-UHWEKPXC.js");
253
- const { serveStaticProjectHtml } = await import("./staticProjectServer-HJLT7MHE.js");
253
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-D2D3BKBP.js");
254
254
  const { lintProject } = await import("./lintProject-XM3DLUKG.js");
255
255
  const lintResult = await lintProject(projectDir);
256
256
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
@@ -272,9 +272,9 @@ async function validateInBrowser(project, opts) {
272
272
  try {
273
273
  const browser = await ensureBrowser();
274
274
  const puppeteer = await import("puppeteer-core");
275
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-ZPIV4PGX.js");
275
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-YNXBU4ZQ.js");
276
276
  const requestedGpuMode = resolveCliChromeGpuMode();
277
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-UGWSN32D.js");
277
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-AWAJBGYY.js");
278
278
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
279
279
  const requiresWebGpu = compositionRequiresWebGpu(html);
280
280
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-5OZI55AC.js";
23
+ } from "./chunk-E7TI5PAQ.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-N5OOVBCP.js");
232
+ const { trackFigmaImport } = await import("./telemetry-BEVI64BB.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-57XL23DE.js";
10
+ } from "./chunk-ANYBRVPF.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-DG4ME554.js";
17
+ } from "./chunk-Z2BW2WJS.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-DLFAVRF3.js";
21
+ } from "./chunk-VRQU564T.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-HKUZCSNZ.js";
26
+ } from "./chunk-WMJJCHVQ.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-HPQSUPR7.js";
29
+ } from "./chunk-5HJJEHGE.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-6Q5CFUAP.js";
32
+ } from "./chunk-IPEP346Y.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-YV4WT7CJ.js";
44
+ } from "./chunk-WYCFMNU3.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -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-6STRGCDC.js");
10
+ return await import("./src-KTD6WTEV.js");
11
11
  }
12
12
 
13
13
  export {
@@ -21,13 +21,13 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-I7C5GUEQ.js";
24
+ } from "./chunk-74Y43RJZ.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-NFLZNSUZ.js";
27
+ } from "./chunk-TFUAKV6O.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-6OWNUXTU.js";
30
+ } from "./chunk-6RA4TWGV.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-JWRT2IXO.js";
19
+ } from "./chunk-B634ZCY2.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-ZTZA4UWZ.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-YCW345M4.js";
32
+ } from "./chunk-HXM2ISEK.js";
33
33
  import {
34
34
  getAvailableMemoryMb,
35
35
  getFreeDiskMb,
@@ -39,14 +39,14 @@ import {
39
39
  import {
40
40
  getUpdateMeta,
41
41
  withMeta
42
- } from "./chunk-KWSEIVR6.js";
42
+ } from "./chunk-OHXHBMF4.js";
43
43
  import {
44
44
  CONFIG_PATH,
45
45
  withFileLock
46
46
  } from "./chunk-XUXGIA7H.js";
47
47
  import {
48
48
  VERSION
49
- } from "./chunk-6HYPEIH7.js";
49
+ } from "./chunk-ASZ4IQB4.js";
50
50
  import {
51
51
  normalizeErrorMessage
52
52
  } from "./chunk-KNU5COPB.js";
@@ -232,7 +232,7 @@ function checkEnvironment() {
232
232
  return { ok: true, detail: parts.join(" \xB7 ") };
233
233
  }
234
234
  async function checkWhisper() {
235
- const { findWhisper, getInstallInstructions } = await import("./manager-3LZKRK7P.js");
235
+ const { findWhisper, getInstallInstructions } = await import("./manager-2LSMMZY4.js");
236
236
  const result = findWhisper();
237
237
  if (result) {
238
238
  return { ok: true, detail: result.executablePath };
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-UF6RCYA5.js";
9
+ } from "./chunk-GWYMAII7.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-FWVILDOZ.js";
15
+ } from "./chunk-M6FHSQZ3.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-I7C5GUEQ.js";
19
+ } from "./chunk-74Y43RJZ.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-NFLZNSUZ.js";
23
+ } from "./chunk-TFUAKV6O.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-6OWNUXTU.js";
28
+ } from "./chunk-6RA4TWGV.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-6HYPEIH7.js";
20
+ } from "./chunk-ASZ4IQB4.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  formatVariableValidationIssue,
21
21
  validateVariables
22
- } from "./chunk-YV4WT7CJ.js";
22
+ } from "./chunk-WYCFMNU3.js";
23
23
  import {
24
24
  extractCompositionMetadata
25
25
  } from "./chunk-B2A56S5C.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-6Q5CFUAP.js";
10
+ } from "./chunk-IPEP346Y.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-PMXR3IUH.js";
13
+ } from "./chunk-T37XXYRK.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-7F3UEHQT.js"),
87
- import("./ffmpeg-QGQBYMO3.js")
87
+ import("./ffmpeg-BPCZGXFW.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
  updateNoticesSuppressed
9
- } from "./chunk-KWSEIVR6.js";
9
+ } from "./chunk-OHXHBMF4.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -7,6 +7,9 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ensureDOMParser
9
9
  } from "./chunk-442JNXRM.js";
10
+ import {
11
+ quantizePreviewProxyBox
12
+ } from "./chunk-WYCFMNU3.js";
10
13
 
11
14
  // src/utils/compositionViewport.ts
12
15
  var DEFAULT_VIEWPORT = { width: 1920, height: 1080 };
@@ -27,11 +30,16 @@ function findCompositionDimensions(html) {
27
30
  if (width === null || height === null) return null;
28
31
  return { width, height };
29
32
  }
33
+ function findStageProxyBox(html) {
34
+ const stage = findCompositionDimensions(html);
35
+ return stage && quantizePreviewProxyBox(stage.width, stage.height) || void 0;
36
+ }
30
37
  function resolveCompositionViewportFromHtml(html) {
31
38
  return findCompositionDimensions(html) ?? DEFAULT_VIEWPORT;
32
39
  }
33
40
 
34
41
  export {
35
42
  findCompositionDimensions,
43
+ findStageProxyBox,
36
44
  resolveCompositionViewportFromHtml
37
45
  };
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-XUXGIA7H.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-6HYPEIH7.js";
40
+ } from "./chunk-ASZ4IQB4.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -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-YCW345M4.js";
9
+ } from "./chunk-HXM2ISEK.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -21,13 +21,13 @@ import {
21
21
  mkdirWithinProject
22
22
  } from "./chunk-OFQWTKPW.js";
23
23
 
24
- // ../studio-server/dist/chunk-XM2TJIF5.js
24
+ // ../studio-server/dist/chunk-YIMSBQIO.js
25
25
  import { randomUUID as randomUUID7 } from "crypto";
26
26
  import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, writeFile } from "fs/promises";
27
27
  import {
28
28
  existsSync as existsSync3,
29
29
  lstatSync as lstatSync4,
30
- statSync as statSync4,
30
+ statSync as statSync5,
31
31
  mkdirSync as mkdirSync5,
32
32
  readdirSync as readdirSync4,
33
33
  readFileSync as readFileSync10,
@@ -40,7 +40,15 @@ import { createHash, randomUUID } from "crypto";
40
40
  import { readFileSync as readFileSync2 } from "fs";
41
41
  import { isAbsolute, relative, resolve, sep } from "path";
42
42
  import { randomUUID as randomUUID2 } from "crypto";
43
- import { linkSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
43
+ import {
44
+ linkSync,
45
+ mkdirSync,
46
+ readFileSync,
47
+ renameSync,
48
+ rmSync,
49
+ statSync,
50
+ writeFileSync
51
+ } from "fs";
44
52
  import { join } from "path";
45
53
  import { createHash as createHash2 } from "crypto";
46
54
  import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
@@ -51,15 +59,15 @@ import { copyFile, mkdir, readdir, readFile, rename, rm, stat } from "fs/promise
51
59
  import { dirname, join as join2 } from "path";
52
60
  import { pipeline } from "stream/promises";
53
61
  import { randomUUID as randomUUID5 } from "crypto";
54
- import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync as renameSync3, statSync as statSync2, writeFileSync as writeFileSync3 } from "fs";
62
+ import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync as renameSync3, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
55
63
  import { lstat, readdir as readdir2, rm as rm2 } from "fs/promises";
56
64
  import { tmpdir } from "os";
57
65
  import { dirname as dirname2, join as join4 } from "path";
58
66
  import { randomUUID as randomUUID4 } from "crypto";
59
- import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync, writeFileSync as writeFileSync2 } from "fs";
67
+ import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, writeFileSync as writeFileSync2 } from "fs";
60
68
  import { basename, join as join3, resolve as resolve3 } from "path";
61
69
  import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
62
- import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync4, statSync as statSync3 } from "fs";
70
+ import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync4, statSync as statSync4 } from "fs";
63
71
  import { isAbsolute as isAbsolute4, join as join7, resolve as resolve6 } from "path";
64
72
  import { createHash as createHash4 } from "crypto";
65
73
  import {
@@ -175,6 +183,8 @@ var HistoryBusyError = class extends Error {
175
183
  url;
176
184
  };
177
185
  var WINDOWS_BUSY = /* @__PURE__ */ new Set(["EPERM", "EBUSY", "EACCES"]);
186
+ var NO_HARD_LINKS = /* @__PURE__ */ new Set(["ENOTSUP", "EOPNOTSUPP", "ENOSYS", "EPERM"]);
187
+ var TAKING_MS = 2e3;
178
188
  function busyOnWindows(error) {
179
189
  return process.platform === "win32" && WINDOWS_BUSY.has(error.code ?? "");
180
190
  }
@@ -196,6 +206,17 @@ function ownerOf(file) {
196
206
  throw error;
197
207
  }
198
208
  }
209
+ function beingTaken(file) {
210
+ try {
211
+ const { size, mtimeMs } = statSync(file);
212
+ return size === 0 && Date.now() - mtimeMs < TAKING_MS;
213
+ } catch {
214
+ return false;
215
+ }
216
+ }
217
+ function deadHolder(file, pid) {
218
+ return !alive(pid) && !beingTaken(file);
219
+ }
199
220
  function claim(file) {
200
221
  const draft = `${file}-${process.pid}-${randomUUID2()}.tmp`;
201
222
  writeFileSync(draft, String(process.pid));
@@ -203,12 +224,23 @@ function claim(file) {
203
224
  linkSync(draft, file);
204
225
  return true;
205
226
  } catch (error) {
206
- if (error.code !== "EEXIST") throw error;
207
- return false;
227
+ const code = error.code ?? "";
228
+ if (code === "EEXIST") return false;
229
+ if (!NO_HARD_LINKS.has(code)) throw error;
230
+ return createExclusively(file);
208
231
  } finally {
209
232
  rmSync(draft, { force: true });
210
233
  }
211
234
  }
235
+ function createExclusively(file) {
236
+ try {
237
+ writeFileSync(file, String(process.pid), { flag: "wx" });
238
+ return true;
239
+ } catch (error) {
240
+ if (error.code !== "EEXIST") throw error;
241
+ return false;
242
+ }
243
+ }
212
244
  function releaseOwn(file) {
213
245
  if (ownerOf(file) === process.pid) rmSync(file, { force: true });
214
246
  }
@@ -216,12 +248,12 @@ function evictDeadOwner(file) {
216
248
  const evictor = `${file}.evict`;
217
249
  if (!claim(evictor)) {
218
250
  const holder = ownerOf(evictor);
219
- if (holder !== null && !alive(holder)) rmSync(evictor, { force: true });
251
+ if (holder !== null && deadHolder(evictor, holder)) rmSync(evictor, { force: true });
220
252
  return false;
221
253
  }
222
254
  try {
223
255
  const pid = ownerOf(file);
224
- if (pid !== null && !alive(pid)) rmSync(file, { force: true });
256
+ if (pid !== null && deadHolder(file, pid)) rmSync(file, { force: true });
225
257
  return true;
226
258
  } finally {
227
259
  releaseOwn(evictor);
@@ -246,7 +278,7 @@ function attemptClaim(file, urlFile, deadline) {
246
278
  if (claim(file)) return "claimed";
247
279
  const pid = ownerOf(file);
248
280
  if (pid === null) return "retry";
249
- if (!alive(pid) && evictDeadOwner(file)) return "retry";
281
+ if (deadHolder(file, pid) && evictDeadOwner(file)) return "retry";
250
282
  if (Date.now() >= deadline) throw new HistoryBusyError(pid, servedBy(file, urlFile, pid));
251
283
  return "wait";
252
284
  }
@@ -591,7 +623,7 @@ function readRecord(historyDir) {
591
623
  function isCopyOf0878Folder(recordedDir, id, folder) {
592
624
  let there;
593
625
  try {
594
- there = statSync(recordedDir, { throwIfNoEntry: false });
626
+ there = statSync2(recordedDir, { throwIfNoEntry: false });
595
627
  } catch {
596
628
  return false;
597
629
  }
@@ -599,7 +631,7 @@ function isCopyOf0878Folder(recordedDir, id, folder) {
599
631
  }
600
632
  function projectHistoryId(projectDir, historyRoot) {
601
633
  const dir = resolve3(projectDir);
602
- const folder = statSync(dir);
634
+ const folder = statSync2(dir);
603
635
  let id = readId(dir);
604
636
  if (!id && existsSync(join3(dir, ID_PATH)))
605
637
  throw new HistoryIdError(
@@ -724,24 +756,24 @@ function abandonedProject(home, id, now, tempDir) {
724
756
  return projectGone(dir, id, record?.dev, tempDir) ? dir : null;
725
757
  }
726
758
  function projectGone(dir, id, dev, tempDir) {
727
- if (!statSync2(join4(dir, ID_PATH), { throwIfNoEntry: false }))
759
+ if (!statSync3(join4(dir, ID_PATH), { throwIfNoEntry: false }))
728
760
  return diskStillHere(dir, dev, tempDir);
729
761
  const there = readId(dir);
730
762
  return there !== null && there !== id;
731
763
  }
732
764
  function diskStillHere(dir, dev, tempDir) {
733
765
  let at = dir;
734
- let stat2 = statSync2(at, { throwIfNoEntry: false });
766
+ let stat2 = statSync3(at, { throwIfNoEntry: false });
735
767
  while (!stat2) {
736
768
  if (dirname2(at) === at) return false;
737
769
  at = dirname2(at);
738
- stat2 = statSync2(at, { throwIfNoEntry: false });
770
+ stat2 = statSync3(at, { throwIfNoEntry: false });
739
771
  }
740
772
  if (typeof dev === "number") return stat2.dev === dev;
741
773
  return at === dir || isSafePath(tempDir, at);
742
774
  }
743
775
  function lastUsed(home) {
744
- const mtime = (file) => statSync2(join4(home, file), { throwIfNoEntry: false })?.mtimeMs ?? 0;
776
+ const mtime = (file) => statSync3(join4(home, file), { throwIfNoEntry: false })?.mtimeMs ?? 0;
745
777
  return Math.max(mtime("project.json"), mtime("log.jsonl"));
746
778
  }
747
779
  async function bytesIn(dir) {
@@ -1305,7 +1337,7 @@ function retainRevision(retained, revision) {
1305
1337
  return [revision, ...retained.filter((id) => id !== revision)].slice(0, 2);
1306
1338
  }
1307
1339
  async function recordRenderSuccess(projectDir, output, status = "completed", capture) {
1308
- const outputFile = statSync3(output);
1340
+ const outputFile = statSync4(output);
1309
1341
  if (!outputFile.isFile() && !outputFile.isDirectory() || outputFile.isFile() && outputFile.size === 0)
1310
1342
  throw new Error("Render output is missing or empty.");
1311
1343
  const after = capture ? await beginArtifactCapture(projectDir) : null;
@@ -1534,8 +1566,8 @@ function fileLeftIn(dir, at, deleted) {
1534
1566
  return void 0;
1535
1567
  }
1536
1568
  function ignoresCase(dir) {
1537
- const self = statSync4(join8(dir, ID_PATH), { throwIfNoEntry: false });
1538
- const other = statSync4(join8(dir, ID_PATH.toUpperCase()), { throwIfNoEntry: false });
1569
+ const self = statSync5(join8(dir, ID_PATH), { throwIfNoEntry: false });
1570
+ const other = statSync5(join8(dir, ID_PATH.toUpperCase()), { throwIfNoEntry: false });
1539
1571
  return self !== void 0 && other?.ino === self.ino && other.dev === self.dev;
1540
1572
  }
1541
1573
  var blocks = (removed, added) => added.startsWith(`${removed}/`) || removed.startsWith(`${added}/`);
@@ -1575,7 +1607,7 @@ var Engine = class {
1575
1607
  this.dir = resolve7(options.projectDir);
1576
1608
  this.home = join8(options.historyRoot, projectId);
1577
1609
  this.foldsCase = ignoresCase(this.dir);
1578
- const folder = statSync4(this.dir, { throwIfNoEntry: false });
1610
+ const folder = statSync5(this.dir, { throwIfNoEntry: false });
1579
1611
  if (!folder || readId(this.dir) !== projectId || !isRecordedFolder(this.home, folder))
1580
1612
  throw this.replaced();
1581
1613
  this.folder = { dev: folder.dev, ino: folder.ino, birthtimeMs: folder.birthtimeMs };
@@ -1640,7 +1672,7 @@ var Engine = class {
1640
1672
  }
1641
1673
  /** Another project if the folder or its id changed, or the id is gone: a recreated folder may reuse the inode. */
1642
1674
  whereFolder() {
1643
- const now = statSync4(this.dir, { throwIfNoEntry: false });
1675
+ const now = statSync5(this.dir, { throwIfNoEntry: false });
1644
1676
  if (!now) return "gone";
1645
1677
  const same = now.dev === this.folder.dev && sameFolder(now, this.folder);
1646
1678
  return same && readId(this.dir) === this.projectId ? "here" : "replaced";
@@ -2445,7 +2477,7 @@ async function openProjectHistory(options) {
2445
2477
  function readProjectHistory(options) {
2446
2478
  const dir = resolve7(options.projectDir);
2447
2479
  const id = readId(dir);
2448
- const home = id && isRecordedFolder(join8(options.historyRoot, id), statSync4(dir)) ? join8(options.historyRoot, id) : null;
2480
+ const home = id && isRecordedFolder(join8(options.historyRoot, id), statSync5(dir)) ? join8(options.historyRoot, id) : null;
2449
2481
  const read = home && readLog(logFileIn(home), () => {
2450
2482
  });
2451
2483
  const log = withoutHiddenPaths(read || { baseline: /* @__PURE__ */ new Map(), entries: [], pins: /* @__PURE__ */ new Set() });
@@ -6,27 +6,27 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-FSTLXRIN.js";
9
+ } from "./chunk-37EPEFXM.js";
10
10
  import {
11
11
  serveStaticProjectHtml
12
- } from "./chunk-XPVN4R66.js";
12
+ } from "./chunk-CSYSEPWL.js";
13
13
  import {
14
14
  AUDIT_SEEK_OPTIONS,
15
15
  installPageFunctionGuard,
16
16
  seekCompositionTimeline,
17
17
  waitForCompositionFonts,
18
18
  waitForRuntimeReady
19
- } from "./chunk-KDBPZOXK.js";
19
+ } from "./chunk-TREMHDWT.js";
20
20
  import {
21
21
  launchManagedBrowser,
22
22
  resolveManagedGpuMode
23
- } from "./chunk-MXXX6WVC.js";
23
+ } from "./chunk-HNMDLKA4.js";
24
24
  import {
25
25
  gotoWhenSent
26
26
  } from "./chunk-MOEGCMKI.js";
27
27
  import {
28
28
  pageNavigationTimeoutMs
29
- } from "./chunk-MTPPEEYZ.js";
29
+ } from "./chunk-565X6Q4X.js";
30
30
  import {
31
31
  defineCommand
32
32
  } from "./chunk-S3S4TGEH.js";
@@ -40,7 +40,7 @@ import {
40
40
  import {
41
41
  printDeprecationNotice,
42
42
  withMeta
43
- } from "./chunk-KWSEIVR6.js";
43
+ } from "./chunk-OHXHBMF4.js";
44
44
  import {
45
45
  normalizeErrorMessage
46
46
  } from "./chunk-KNU5COPB.js";
@@ -734,13 +734,13 @@ async function alignViewportToComposition(page, url) {
734
734
  async function runLayoutAudit(projectDir, opts) {
735
735
  const { ensureBrowser } = await import("./manager-UHWEKPXC.js");
736
736
  const puppeteer = await import("puppeteer-core");
737
- const { buildChromeArgs } = await import("./src-ZPIV4PGX.js");
737
+ const { buildChromeArgs } = await import("./src-YNXBU4ZQ.js");
738
738
  const {
739
739
  assertWebGpuAdapterAvailable,
740
740
  compositionRequiresWebGpu,
741
741
  resolveLocalBrowserGpuMode,
742
742
  resolveLocalWebGpu
743
- } = await import("./gpuPolicy-UGWSN32D.js");
743
+ } = await import("./gpuPolicy-AWAJBGYY.js");
744
744
  const html = await bundleProjectHtml(projectDir);
745
745
  const server = await serveStaticProjectHtml(
746
746
  projectDir,