hyperframes 0.8.185 → 0.8.186

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 (166) hide show
  1. package/dist/{add-ODTNPRGG.js → add-UGK7AZI6.js} +11 -11
  2. package/dist/{animatedGifPrep-PEP5GWOJ.js → animatedGifPrep-HPZPSB43.js} +5 -5
  3. package/dist/api.js +14 -14
  4. package/dist/{asset-EZG42XPA.js → asset-X2GTFWOY.js} +2 -2
  5. package/dist/{assetCataloger-OHAJFCA7.js → assetCataloger-5NWEG4IU.js} +5 -5
  6. package/dist/audio-7PBM5F3H.js +2317 -0
  7. package/dist/{auth-VP2SIZFN.js → auth-WABSMO46.js} +1 -1
  8. package/dist/{autoUpdate-RVSUX4SS.js → autoUpdate-6SCMLTSC.js} +2 -2
  9. package/dist/{backgroundChecks-LEHK74NS.js → backgroundChecks-XOGPAAR3.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-3X6CL7PK.js → batchRender-VR6IA77K.js} +3 -3
  12. package/dist/{beats-66VPQLSC.js → beats-3IWXLMSC.js} +5 -5
  13. package/dist/{benchmark-PBJVTOJP.js → benchmark-2SSYATCX.js} +8 -8
  14. package/dist/{browser-TPL5MWGC.js → browser-PMRN345D.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-67MLTHKM.js → bundleWithLocalizedFonts-TT32MZBO.js} +2 -2
  16. package/dist/{capture-F3GNMRZM.js → capture-4VD6AKUJ.js} +8 -8
  17. package/dist/{capture-YYRE7EV3.js → capture-BDGYTE57.js} +2 -2
  18. package/dist/{captureCompositionFrame-PXV2ISHD.js → captureCompositionFrame-5FVLAETA.js} +13 -9
  19. package/dist/{catalog-6SDD3OHF.js → catalog-HUYZO5D7.js} +11 -11
  20. package/dist/{catch-up-CWIVA5VG.js → catch-up-SSGTR2ZT.js} +4 -4
  21. package/dist/{check-YQ6REK2S.js → check-JWUWHGM2.js} +29 -29
  22. package/dist/{checkBrowser-5XZCBRXM.js → checkBrowser-X7G6YNR7.js} +26 -26
  23. package/dist/{chunk-RUEGYANA.js → chunk-22QKQDEE.js} +10 -10
  24. package/dist/{chunk-IPDKZ5IN.js → chunk-27H2363S.js} +1 -1
  25. package/dist/{chunk-2TAS5O4P.js → chunk-2II34JPM.js} +108 -20
  26. package/dist/{chunk-KQ4JEJLF.js → chunk-2PZZMAME.js} +8 -7
  27. package/dist/{chunk-7RAY4WZP.js → chunk-3YHGQJI6.js} +3 -3
  28. package/dist/{chunk-BRAPBUPQ.js → chunk-4AFNEKU7.js} +1 -1
  29. package/dist/{chunk-CX3USX23.js → chunk-4NTW45W5.js} +3 -3
  30. package/dist/{chunk-K2ZKXTVL.js → chunk-4XFFJAWS.js} +1 -1
  31. package/dist/{chunk-6GPR3G3C.js → chunk-5ZMIVTHN.js} +1 -1
  32. package/dist/{chunk-TAX2ZJAP.js → chunk-5ZMXGNGC.js} +9 -9
  33. package/dist/{chunk-H5SM5PJI.js → chunk-6IOBAOU7.js} +1 -1
  34. package/dist/{chunk-WQLKDL35.js → chunk-77QM6YRQ.js} +1 -1
  35. package/dist/{chunk-SQVRXHOW.js → chunk-7AUMTARQ.js} +3 -3
  36. package/dist/{chunk-I3IH5MV5.js → chunk-7M7TMM4S.js} +77 -2
  37. package/dist/{chunk-37CNYTQQ.js → chunk-7MLFYMFB.js} +1 -1
  38. package/dist/{chunk-55YELV7B.js → chunk-7MVODWQF.js} +1 -1
  39. package/dist/{chunk-X6L6MD5B.js → chunk-ACLABKEF.js} +6 -6
  40. package/dist/{chunk-Q47FAYYK.js → chunk-BRTDLVK3.js} +1 -1
  41. package/dist/{chunk-OAG47RE6.js → chunk-DQZMJS2P.js} +1 -1
  42. package/dist/{chunk-G2UANIDX.js → chunk-DTXDQ6OP.js} +1 -1
  43. package/dist/{chunk-I45HL3VP.js → chunk-EZINX6HH.js} +2 -2
  44. package/dist/{chunk-IVEFOUZI.js → chunk-FCWFV4P7.js} +36 -12
  45. package/dist/{chunk-ISTRDGIX.js → chunk-FRLTKTOR.js} +1 -1
  46. package/dist/{chunk-6RIZY7OP.js → chunk-GTMBII7X.js} +1 -1
  47. package/dist/{chunk-FX6RUJUY.js → chunk-HOFX63F2.js} +3 -3
  48. package/dist/{chunk-5GUKZRQN.js → chunk-HZ7M2MZA.js} +1 -1
  49. package/dist/{chunk-HXUTX5GR.js → chunk-ID5AJ4L3.js} +2 -2
  50. package/dist/{chunk-PHMBMOXF.js → chunk-K6KBOORN.js} +48 -4
  51. package/dist/{chunk-F3OPUWQX.js → chunk-KNLSYCI5.js} +7 -7
  52. package/dist/{chunk-I7QMXZSB.js → chunk-LDW3KVGK.js} +2 -2
  53. package/dist/{chunk-5UDRPPN2.js → chunk-MY6CVBDD.js} +7 -4
  54. package/dist/{chunk-XWC7CNPY.js → chunk-NPDPDEPP.js} +1 -1
  55. package/dist/{chunk-7PS6RVWD.js → chunk-PEIV2SOG.js} +1 -1
  56. package/dist/{chunk-H6UY725W.js → chunk-R6IGQ5NO.js} +2 -2
  57. package/dist/{chunk-A6QCO474.js → chunk-RFJ6SX4U.js} +5 -5
  58. package/dist/{chunk-KROXPHXX.js → chunk-RNZEQTWZ.js} +2 -8
  59. package/dist/{chunk-6ASIXMFP.js → chunk-ROWEDRVX.js} +1 -1
  60. package/dist/{chunk-HDIRZGK4.js → chunk-RPUIMFHF.js} +1 -1
  61. package/dist/{chunk-EMSDWBG3.js → chunk-RVZNSKRH.js} +2 -2
  62. package/dist/{chunk-IDGLGXPA.js → chunk-T4RP55P2.js} +1 -1
  63. package/dist/{chunk-EMAWIZ54.js → chunk-TH7J3JZ5.js} +57 -20
  64. package/dist/{chunk-VHZ6DL3M.js → chunk-TMK4Q7JA.js} +10 -7
  65. package/dist/{chunk-UPR3MU6Z.js → chunk-TQ2RRB5V.js} +1 -1
  66. package/dist/{chunk-IDFNKFPL.js → chunk-U4BMRIE6.js} +16 -7
  67. package/dist/{chunk-HHSJJFVM.js → chunk-U7QTMRLW.js} +2 -2
  68. package/dist/{chunk-TOI35GN2.js → chunk-UAJCTEK2.js} +1 -1
  69. package/dist/{chunk-ESBMUZXZ.js → chunk-UJZT6HNN.js} +1 -1
  70. package/dist/chunk-UOZX5W5T.js +3852 -0
  71. package/dist/{chunk-FFJ5TDRD.js → chunk-VHBBV5DH.js} +10 -3
  72. package/dist/{chunk-SKYPMHQC.js → chunk-WHMFW5ET.js} +2 -2
  73. package/dist/{chunk-LYKSTRAY.js → chunk-WLHNIIXU.js} +3 -3
  74. package/dist/{chunk-RTBSA3EA.js → chunk-Y2M6XSNK.js} +1 -1
  75. package/dist/{chunk-4CTNDBE3.js → chunk-YNH6ERDL.js} +2 -2
  76. package/dist/{chunk-D42NU3DZ.js → chunk-YQICCAVA.js} +1 -1
  77. package/dist/{chunk-PMMQRJDE.js → chunk-YRAJDFIN.js} +1 -1
  78. package/dist/{chunk-BH7TTIPN.js → chunk-Z5233OAN.js} +4 -4
  79. package/dist/{chunk-K73RJB23.js → chunk-ZKBW7NU2.js} +2 -2
  80. package/dist/{chunk-J5XEZ24I.js → chunk-ZVBEGBII.js} +3 -3
  81. package/dist/{clean-7J6ZCCGV.js → clean-IM2JIAUT.js} +13 -13
  82. package/dist/cli.js +53 -53
  83. package/dist/{cloud-7IJCJCDD.js → cloud-6IPBCJSX.js} +4 -4
  84. package/dist/{cloudrun-UNZRIIDB.js → cloudrun-MWZ6S2I2.js} +4 -4
  85. package/dist/{compare-Q7VW5JZT.js → compare-WD7A2TV5.js} +23 -23
  86. package/dist/{compiler-KPHYGFXL.js → compiler-2EKSMC3I.js} +2 -2
  87. package/dist/{component-UUBREJKN.js → component-JKALWH36.js} +3 -3
  88. package/dist/{compositions-T4FTKIDP.js → compositions-643NAG4A.js} +9 -9
  89. package/dist/{delete-WZQF2IIA.js → delete-EASPXKHQ.js} +2 -2
  90. package/dist/{deploy-JU7A3XNC.js → deploy-CDKCQ5MX.js} +1 -1
  91. package/dist/{dist-ULGTPSU4.js → dist-F6FOKRSU.js} +6 -4
  92. package/dist/{doctor-VSNGRKXJ.js → doctor-7XUVYDJQ.js} +9 -9
  93. package/dist/{events-CRW2DYUT.js → events-5TTPYBKG.js} +2 -2
  94. package/dist/{events-E63YBUL2.js → events-TULV6D3G.js} +3 -3
  95. package/dist/{feedback-OSZWVR6N.js → feedback-4FTPWM6P.js} +6 -6
  96. package/dist/{ffmpeg-JLH3Z7G7.js → ffmpeg-MP7ZVYLZ.js} +5 -5
  97. package/dist/{figma-2BQNNR53.js → figma-B7LFWYKO.js} +3 -3
  98. package/dist/fontLocalizeCli.js +7 -7
  99. package/dist/{get-P2XI53QW.js → get-F7W4AQ2V.js} +2 -2
  100. package/dist/{gpuPolicy-NTKQJY75.js → gpuPolicy-NSNVDFXC.js} +5 -5
  101. package/dist/{grade-compare-OYASIHIB.js → grade-compare-6QXDTLS2.js} +24 -24
  102. package/dist/{help-HK6K2N4G.js → help-RJAA4O74.js} +1 -1
  103. package/dist/{history-JMTYKLXW.js → history-OOQBDVV5.js} +6 -6
  104. package/dist/hyperframe.manifest.json +1 -1
  105. package/dist/hyperframe.runtime.iife.js +65 -65
  106. package/dist/hyperframes-player.global.js +1 -1
  107. package/dist/{info-AW7CIVRE.js → info-5OGGYYLO.js} +7 -7
  108. package/dist/{init-6KIDG4LB.js → init-DM3TJKW2.js} +63 -45
  109. package/dist/{inspect-B7BLYMRZ.js → inspect-FECQCLS5.js} +24 -24
  110. package/dist/{installer-ZP2LQZUQ.js → installer-WOG4VORV.js} +4 -4
  111. package/dist/{keyframes-EQ36A5JE.js → keyframes-SZHWUF5Y.js} +6 -6
  112. package/dist/{lambda-E6VURLIS.js → lambda-JG2ZRGMC.js} +6 -6
  113. package/dist/{layout-XYC64QQQ.js → layout-7ACF7ZKC.js} +24 -24
  114. package/dist/{lint-V5DJYWBX.js → lint-ZCQGMILV.js} +6 -6
  115. package/dist/{list-RUGVRTVD.js → list-MH2X3Y2T.js} +2 -2
  116. package/dist/{login-ZTKGKXGS.js → login-CK46WX5U.js} +4 -4
  117. package/dist/{manager-JUP7PM6N.js → manager-GXTPNJVW.js} +6 -6
  118. package/dist/{media-treatment-VIUPK4OR.js → media-treatment-EH2AT34Z.js} +11 -11
  119. package/dist/{models-LJS2HBOZ.js → models-D5XP2UK6.js} +9 -9
  120. package/dist/{motionShot-3UAXZ7SN.js → motionShot-UR7D3SRQ.js} +12 -12
  121. package/dist/{normalize-4UDISLPL.js → normalize-3AYFSN2F.js} +1 -1
  122. package/dist/{normalize-audio-SBYI4YIH.js → normalize-audio-635JOR5W.js} +4 -4
  123. package/dist/{open-S27TUD3A.js → open-6WE5WFVM.js} +11 -11
  124. package/dist/{parakeetRunner-ETLMLJ4L.js → parakeetRunner-STHZPG32.js} +10 -10
  125. package/dist/{pipeline-I2M22M24.js → pipeline-LVEKRETU.js} +6 -6
  126. package/dist/{play-COJU6VJK.js → play-W6TDW4FE.js} +16 -16
  127. package/dist/{preflight-FZ24NCHH.js → preflight-LIMQXLR7.js} +6 -6
  128. package/dist/{present-YAHKLC5D.js → present-RX5QX6UR.js} +12 -12
  129. package/dist/{preview-KQOEU5YE.js → preview-KIWTWK63.js} +16 -16
  130. package/dist/{producer-DTNNG4T6.js → producer-TSNKSCUM.js} +1 -1
  131. package/dist/{projectConfig-4A76VYUP.js → projectConfig-NCP7JRH4.js} +6 -6
  132. package/dist/{publication-SQPMC2W3.js → publication-5W5UZWGC.js} +2 -2
  133. package/dist/{publish-QUEJBGGT.js → publish-7WR4XJ6I.js} +7 -7
  134. package/dist/{remove-background-FP2ETAQH.js → remove-background-43JGBRWQ.js} +7 -7
  135. package/dist/{render-BIFIL4U6.js → render-456HCO6O.js} +26 -26
  136. package/dist/{render-P664SMC7.js → render-7T44HIM6.js} +3 -3
  137. package/dist/{render-GQFXJWLV.js → render-WHMLYIOI.js} +13 -13
  138. package/dist/{render-batch-ZCPMYH6Z.js → render-batch-LURBJTBV.js} +3 -3
  139. package/dist/{resolver-BUC2GFZQ.js → resolver-MBIW4VC4.js} +4 -4
  140. package/dist/{sherpa-HFT6XEP6.js → sherpa-5J2AALED.js} +9 -9
  141. package/dist/{skills-3WEVO3NU.js → skills-UHOXOGGF.js} +5 -5
  142. package/dist/{skillsUpdateCheck-BFPWFOK5.js → skillsUpdateCheck-PDZIFUJE.js} +3 -3
  143. package/dist/{snapshot-WDQ6S7CJ.js → snapshot-PFV7ALLH.js} +33 -30
  144. package/dist/{src-RZ574OKP.js → src-DCVSEODX.js} +4 -4
  145. package/dist/{src-NPR2JZOJ.js → src-XK5YIR6L.js} +6 -6
  146. package/dist/{staticProjectServer-FTGTEZI4.js → staticProjectServer-4IE4G4JO.js} +12 -12
  147. package/dist/studio/assets/{hyperframes-player-CoOdf435.js → hyperframes-player-B_skzvYC.js} +1 -1
  148. package/dist/studio/assets/{index-CR85xg2x.js → index-CgLbvCUo.js} +1 -1
  149. package/dist/studio/assets/{index-C_6rTpaB.js → index-Dn5FAk2e.js} +99 -99
  150. package/dist/studio/index.html +1 -1
  151. package/dist/{studio-api-TAWB7B23.js → studio-api-JMWYU7KF.js} +6 -6
  152. package/dist/{studioServer-HRQGJTBU.js → studioServer-BWLSTGIG.js} +43 -42
  153. package/dist/{telemetry-QZ6HJF4W.js → telemetry-JCU3AV7W.js} +3 -3
  154. package/dist/{timeline-IKUEW42T.js → timeline-BCIFQYOM.js} +14 -14
  155. package/dist/{tokens-AUGUEWHS.js → tokens-7IXKALMQ.js} +2 -2
  156. package/dist/{transcribe-7734CG3N.js → transcribe-HW7HGJ4V.js} +15 -15
  157. package/dist/{transcribe-FWU6EMEO.js → transcribe-ZUQD3B32.js} +8 -8
  158. package/dist/{updateCheck-VIPQ3FPW.js → updateCheck-Z6LNEK7B.js} +2 -2
  159. package/dist/{upgrade-4VNDQTVO.js → upgrade-JYH72JGL.js} +2 -2
  160. package/dist/{urlDownloader-6CXL4CL7.js → urlDownloader-WKLFHSUH.js} +4 -4
  161. package/dist/{validate-QWCMVWID.js → validate-QCC27YYI.js} +18 -18
  162. package/dist/{video-245Q5WN4.js → video-EZ7ONY6L.js} +5 -5
  163. package/dist/warmCheck.js +31 -31
  164. package/package.json +1 -1
  165. package/dist/audio-65R4T74I.js +0 -1154
  166. package/dist/chunk-3NPOFC43.js +0 -3805
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-CX3USX23.js";
10
+ } from "./chunk-4NTW45W5.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -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-NPR2JZOJ.js");
10
+ return await import("./src-XK5YIR6L.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-KQ4JEJLF.js";
9
+ } from "./chunk-2PZZMAME.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-3NPOFC43.js";
12
+ } from "./chunk-UOZX5W5T.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-6RIZY7OP.js";
19
+ } from "./chunk-GTMBII7X.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-I3IH5MV5.js";
32
+ } from "./chunk-7M7TMM4S.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-ISTRDGIX.js";
42
+ } from "./chunk-FRLTKTOR.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-I7QMXZSB.js";
49
+ } from "./chunk-LDW3KVGK.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-JUP7PM6N.js");
235
+ const { findWhisper, getInstallInstructions } = await import("./manager-GXTPNJVW.js");
236
236
  const result = findWhisper();
237
237
  if (result) {
238
238
  return { ok: true, detail: result.executablePath };
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-3NPOFC43.js";
12
+ } from "./chunk-UOZX5W5T.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -5507,10 +5507,6 @@ function withoutUndefined(obj) {
5507
5507
  return obj;
5508
5508
  }
5509
5509
 
5510
- // ../core/dist/pageMotionBlur.js
5511
- var PAGE_MOTION_BLUR_OFF_GLOBAL = "__HF_PAGE_MOTION_BLUR_OFF__";
5512
- var PAGE_DEVICE_SCALE_GLOBAL = "__HF_DEVICE_SCALE_FACTOR__";
5513
-
5514
5510
  export {
5515
5511
  resolveAuthoredTimingWindow,
5516
5512
  toFps,
@@ -5586,7 +5582,5 @@ export {
5586
5582
  normalizeVfxParams,
5587
5583
  chainCapture,
5588
5584
  parseVfxChain,
5589
- serializeVfxChain,
5590
- PAGE_MOTION_BLUR_OFF_GLOBAL,
5591
- PAGE_DEVICE_SCALE_GLOBAL
5585
+ serializeVfxChain
5592
5586
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-WQ6ZXHFQ.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-K2ZKXTVL.js";
12
+ } from "./chunk-4XFFJAWS.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-PMMQRJDE.js";
15
+ } from "./chunk-YRAJDFIN.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-I3IH5MV5.js";
10
+ } from "./chunk-7M7TMM4S.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-RZ574OKP.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-DCVSEODX.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
  setHostHandlesSigint
9
- } from "./chunk-I3IH5MV5.js";
9
+ } from "./chunk-7M7TMM4S.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -11,13 +11,13 @@ import {
11
11
  } from "./chunk-57GN6KWT.js";
12
12
  import {
13
13
  captureArtifactRevision
14
- } from "./chunk-OAG47RE6.js";
14
+ } from "./chunk-DQZMJS2P.js";
15
15
  import {
16
16
  loadProducer
17
- } from "./chunk-7PS6RVWD.js";
17
+ } from "./chunk-PEIV2SOG.js";
18
18
  import {
19
19
  trackLintRun
20
- } from "./chunk-I45HL3VP.js";
20
+ } from "./chunk-EZINX6HH.js";
21
21
  import {
22
22
  beginCheckSnapshots,
23
23
  checkSnapshotDirectory,
@@ -46,27 +46,27 @@ import {
46
46
  mergeSampleTimes,
47
47
  parseAt,
48
48
  readMotionSpec
49
- } from "./chunk-TAX2ZJAP.js";
49
+ } from "./chunk-5ZMXGNGC.js";
50
50
  import {
51
51
  resolveProject
52
- } from "./chunk-5GUKZRQN.js";
52
+ } from "./chunk-HZ7M2MZA.js";
53
53
  import {
54
54
  recordArtifacts
55
55
  } from "./chunk-U6RXZNZE.js";
56
56
  import {
57
57
  BrowserCleanupError,
58
58
  closeManagedBrowser
59
- } from "./chunk-TOI35GN2.js";
59
+ } from "./chunk-UAJCTEK2.js";
60
60
  import {
61
61
  withRemainingBudget
62
62
  } from "./chunk-EHSBBBR2.js";
63
63
  import {
64
64
  resolveLocalBrowserGpuMode
65
- } from "./chunk-EMSDWBG3.js";
65
+ } from "./chunk-RVZNSKRH.js";
66
66
  import {
67
67
  trackCheckReport,
68
68
  trackCommandFailure
69
- } from "./chunk-WQLKDL35.js";
69
+ } from "./chunk-77QM6YRQ.js";
70
70
  import {
71
71
  swallowedFlagUsageError
72
72
  } from "./chunk-HTIUNMTP.js";
@@ -86,7 +86,7 @@ import {
86
86
  import {
87
87
  extractMediaMetadata,
88
88
  findHdrAutoPromotion
89
- } from "./chunk-I3IH5MV5.js";
89
+ } from "./chunk-7M7TMM4S.js";
90
90
  import {
91
91
  lintProject,
92
92
  shouldBlockRender
@@ -96,7 +96,7 @@ import {
96
96
  } from "./chunk-6BNTGNGD.js";
97
97
  import {
98
98
  withMeta
99
- } from "./chunk-ISTRDGIX.js";
99
+ } from "./chunk-FRLTKTOR.js";
100
100
  import {
101
101
  normalizeErrorMessage
102
102
  } from "./chunk-KNU5COPB.js";
@@ -110,10 +110,20 @@ import { join as join2, resolve } from "path";
110
110
  var CHECK_DEADLINE_MS = 12e4;
111
111
  var SCRIPT_START = "[hyperframes:script:start] ";
112
112
  var SCRIPT_FINISH = "[hyperframes:script:finish] ";
113
+ var PHASE_LABELS = {
114
+ copies: "making video copies",
115
+ launch: "starting Chrome",
116
+ load: "loading the page",
117
+ settle: "waiting for the page to be ready",
118
+ samples: "checking samples",
119
+ overlap: "running the overlap pass",
120
+ crops: "capturing finding crops"
121
+ };
122
+ var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
113
123
  var CheckDeadlineError = class extends Error {
114
- constructor(sourceFile) {
124
+ constructor(sourceFile, phases = "") {
115
125
  super(
116
- sourceFile === void 0 ? "Check did not finish within its deadline." : `${sourceFile}: its script did not finish within the check deadline.`
126
+ (sourceFile === void 0 ? "Check did not finish within its deadline" : `${sourceFile}: its script did not finish within the check deadline`) + (phases || ".")
117
127
  );
118
128
  this.sourceFile = sourceFile;
119
129
  }
@@ -130,16 +140,38 @@ var CheckDeadline = class {
130
140
  expiry;
131
141
  rejectExpiry;
132
142
  phase = "waiting";
143
+ work;
144
+ spent = /* @__PURE__ */ new Map();
133
145
  constructor() {
134
146
  this.expiry = new Promise((_, reject) => {
135
147
  this.rejectExpiry = reject;
136
148
  });
137
149
  }
150
+ enter = (phase) => {
151
+ if (this.expired) return;
152
+ const now = Date.now();
153
+ if (this.work) this.spend(this.work.phase, now - this.work.since);
154
+ this.work = { phase, since: now };
155
+ this.spend(phase, 0);
156
+ };
157
+ spend(phase, ms) {
158
+ this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
159
+ }
160
+ describe() {
161
+ if (!this.work) return "";
162
+ const open = Date.now() - this.work.since;
163
+ const parts = [...this.spent].map(([phase, ms]) => {
164
+ const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
165
+ return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
166
+ });
167
+ return ` (${CHECK_DEADLINE_MS / 1e3} s from when Chrome was ready), while ${PHASE_LABELS[this.work.phase]}. Seconds per phase: ${parts.join(", ")}.`;
168
+ }
138
169
  start = () => {
139
170
  if (this.phase !== "waiting") return;
140
171
  this.phase = "started";
172
+ this.enter("load");
141
173
  this.timer = setTimeout(() => {
142
- this.expired = new CheckDeadlineError(this.scripts.at(-1));
174
+ this.expired = new CheckDeadlineError(this.scripts.at(-1), this.describe());
143
175
  this.rejectExpiry(this.expired);
144
176
  this.abort.abort(this.expired);
145
177
  }, CHECK_DEADLINE_MS);
@@ -573,7 +605,7 @@ function round(value) {
573
605
 
574
606
  // src/utils/hdrPromotion.ts
575
607
  async function bundleProjectHtml(projectDir) {
576
- const { bundleToSingleHtml } = await import("./compiler-KPHYGFXL.js");
608
+ const { bundleToSingleHtml } = await import("./compiler-2EKSMC3I.js");
577
609
  return bundleToSingleHtml(projectDir);
578
610
  }
579
611
  async function collectBundledRenderMedia(html) {
@@ -933,7 +965,7 @@ async function collectSampleAt(driver, options, grid, motion, sets, time) {
933
965
  await collectContrastAt(driver, options, time, issuesAtTime, collected);
934
966
  return collected;
935
967
  }
936
- async function collectGridSamples(driver, options, grid, motion, helpers) {
968
+ async function collectGridSamples(driver, options, grid, motion, helpers, enter) {
937
969
  const geometryEnabled = grid.captionSamples.length > 0 || grid.frameSamples.length > 0;
938
970
  const sets = {
939
971
  layout: new Set(grid.layoutSamples),
@@ -977,6 +1009,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers) {
977
1009
  driver.markSamples?.("end");
978
1010
  const collected = emptyGridSamples();
979
1011
  for (const samples of perTime) appendGridSamples(collected, samples);
1012
+ enter("overlap");
980
1013
  await collectMotionOverlapSamples(
981
1014
  driver,
982
1015
  grid,
@@ -984,6 +1017,7 @@ async function collectGridSamples(driver, options, grid, motion, helpers) {
984
1017
  options.range,
985
1018
  craftEnabled(driver, options)
986
1019
  );
1020
+ enter("samples");
987
1021
  return collected;
988
1022
  }
989
1023
  function craftEnabled(driver, options) {
@@ -1543,7 +1577,9 @@ function wholeCompositionKeepsMoving(assertions) {
1543
1577
  function disabledCraft() {
1544
1578
  return { enabled: false, step: 0, samples: 0, findings: [] };
1545
1579
  }
1546
- async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([])) {
1580
+ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([]), enter = () => {
1581
+ }) {
1582
+ enter("samples");
1547
1583
  await driver.initialize(options.contrast);
1548
1584
  const grid = await buildSampleGrid(driver, options);
1549
1585
  const plan = await planMotionSampling(
@@ -1552,7 +1588,7 @@ async function runAuditGrid(driver, options, motion, helpers = Promise.resolve([
1552
1588
  grid.duration
1553
1589
  );
1554
1590
  const seekLoopStart = Date.now();
1555
- const collected = await collectGridSamples(driver, options, grid, plan, helpers);
1591
+ const collected = await collectGridSamples(driver, options, grid, plan, helpers, enter);
1556
1592
  const seekLoopMs = Date.now() - seekLoopStart;
1557
1593
  let motionIssues = plan.preflightIssues;
1558
1594
  if (motion.kind === "valid" && plan.assertions.length > 0 && collected.motionFrames.length > 0) {
@@ -1756,6 +1792,7 @@ async function withFindingCrops(dependencies, project, options, report, deadline
1756
1792
  const cropRequests = selectFindingCropRequests(report);
1757
1793
  if (cropRequests.length === 0) return report;
1758
1794
  try {
1795
+ deadline.enter("crops");
1759
1796
  const findingFiles = await deadline.run(
1760
1797
  () => dependencies.captureFindingCrops(project, options, cropRequests, deadline)
1761
1798
  );
@@ -2096,7 +2133,7 @@ function resolveMotionSpec(projectDir) {
2096
2133
  };
2097
2134
  }
2098
2135
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2099
- const module = await import("./checkBrowser-5XZCBRXM.js");
2136
+ const module = await import("./checkBrowser-X7G6YNR7.js");
2100
2137
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2101
2138
  }
2102
2139
  var adoptedBrowser;
@@ -2110,7 +2147,7 @@ async function prelaunchBrowser(project, options) {
2110
2147
  if (adopted) return adopted;
2111
2148
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2112
2149
  if (html === void 0) return void 0;
2113
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-PXV2ISHD.js");
2150
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-5FVLAETA.js");
2114
2151
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2115
2152
  }
2116
2153
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2122,7 +2159,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2122
2159
  return relative(projectDir, path);
2123
2160
  }
2124
2161
  async function captureFindingCrops(project, options, requests, deadline) {
2125
- const module = await import("./checkBrowser-5XZCBRXM.js");
2162
+ const module = await import("./checkBrowser-X7G6YNR7.js");
2126
2163
  return module.captureFindingCrops(project, options, requests, deadline);
2127
2164
  }
2128
2165
  var DEFAULT_DEPENDENCIES2 = {
@@ -72,6 +72,13 @@ function interpolateZeroDuration(words) {
72
72
  i = j - 1;
73
73
  }
74
74
  }
75
+ var TRAILING_PUNCTUATION = /^[.,!?;:'")\]}>…–—¡¿\-,。!?、;:」』)】》〉]+$/;
76
+ function crossesCjkBoundary(left, right) {
77
+ return CJK_CHAR.test(left.at(-1) ?? "") || CJK_CHAR.test(right[0] ?? "");
78
+ }
79
+ function continuesWord(previous, rawText, text) {
80
+ return TRAILING_PUNCTUATION.test(text) || /^'(t|m|s|ve|re|ll|d)$/i.test(text) || !rawText.startsWith(" ") && !crossesCjkBoundary(previous, text);
81
+ }
75
82
  function parseWhisperCpp(data) {
76
83
  const words = [];
77
84
  const transcription = data.transcription;
@@ -81,8 +88,7 @@ function parseWhisperCpp(data) {
81
88
  const text = rawText.trim();
82
89
  if (!text || text.startsWith("[_") || text.startsWith("[BLANK")) continue;
83
90
  const lastWord = words[words.length - 1];
84
- const shouldMerge = lastWord && (!rawText.startsWith(" ") || /^[.,!?;:'")\]}>…–—¡¿-]+$/.test(text) || /^'(t|m|s|ve|re|ll|d)$/i.test(text));
85
- if (shouldMerge) {
91
+ if (lastWord && continuesWord(lastWord.text, rawText, text)) {
86
92
  lastWord.text += text;
87
93
  lastWord.end = round3((token.offsets?.to ?? 0) / 1e3);
88
94
  continue;
@@ -197,7 +203,7 @@ function pad3(n) {
197
203
  return n.toString().padStart(3, "0");
198
204
  }
199
205
  function endsSentence(text) {
200
- return /[.!?][)"'\]}]*$/.test(text);
206
+ return /[.!?。!?][)"'\]}」』)]*$/.test(text);
201
207
  }
202
208
  function pushCue(cues, cue) {
203
209
  if (!cue) return;
@@ -234,10 +240,7 @@ function inferPreGrouped(words) {
234
240
  return median(spaceless.map((w) => w.text.trim().length)) >= SPACELESS_PHRASE_MIN_CHARS;
235
241
  }
236
242
  function joinTokens(left, right) {
237
- const a = left.at(-1) ?? "";
238
- const b = right[0] ?? "";
239
- const sep = CJK_CHAR.test(a) || CJK_CHAR.test(b) ? "" : " ";
240
- return `${left}${sep}${right}`;
243
+ return `${left}${crossesCjkBoundary(left, right) ? "" : " "}${right}`;
241
244
  }
242
245
  function wordsToCues(words, opts = {}) {
243
246
  const preGrouped = opts.preGrouped ?? inferPreGrouped(words);
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-AWDFDFI3.js";
18
18
  import {
19
19
  isBlockedNetworkHost
20
- } from "./chunk-I3IH5MV5.js";
20
+ } from "./chunk-7M7TMM4S.js";
21
21
  import {
22
22
  DOMParser,
23
23
  parseHTML
@@ -11,28 +11,28 @@ import {
11
11
  launchManagedBrowser,
12
12
  resolveManagedGpuMode,
13
13
  rethrowAfterBrowserCleanup
14
- } from "./chunk-TOI35GN2.js";
14
+ } from "./chunk-UAJCTEK2.js";
15
15
  import {
16
16
  gotoWhenSent
17
17
  } from "./chunk-MOEGCMKI.js";
18
18
  import {
19
19
  pageNavigationTimeoutMs,
20
20
  windowsChromeCrashRemediation
21
- } from "./chunk-SQVRXHOW.js";
21
+ } from "./chunk-7AUMTARQ.js";
22
22
  import {
23
23
  oneProcessOverPipe
24
24
  } from "./chunk-DKPNNYBZ.js";
25
25
  import {
26
26
  resolveLocalBrowserGpuMode,
27
27
  resolveLocalWebGpu
28
- } from "./chunk-EMSDWBG3.js";
28
+ } from "./chunk-RVZNSKRH.js";
29
29
  import {
30
30
  c
31
31
  } from "./chunk-ZTZA4UWZ.js";
32
32
  import {
33
33
  assertWebGpuAdapterAvailable,
34
34
  compositionRequiresWebGpu
35
- } from "./chunk-I3IH5MV5.js";
35
+ } from "./chunk-7M7TMM4S.js";
36
36
  import {
37
37
  normalizeErrorMessage
38
38
  } from "./chunk-KNU5COPB.js";
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
138
138
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
139
139
  });
140
140
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
141
- const { resolveConfig, waitForImagesReady } = await import("./src-RZ574OKP.js");
141
+ const { resolveConfig, waitForImagesReady } = await import("./src-DCVSEODX.js");
142
142
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
143
143
  await waitForImagesReady(
144
144
  page,
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
187
187
  async function openSettledCompositionPage(html, url, options) {
188
188
  const viewport = resolveCompositionViewportFromHtml(html);
189
189
  const requiresWebGpu = compositionRequiresWebGpu(html);
190
- const answer = (await import("./staticProjectServer-FTGTEZI4.js")).inProcessAnswer(url);
190
+ const answer = (await import("./staticProjectServer-4IE4G4JO.js")).inProcessAnswer(url);
191
191
  const noListen = answer !== void 0;
192
192
  let chromeBrowser;
193
193
  try {
@@ -203,6 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
203
203
  await options.beforeNavigate?.(page);
204
204
  await gotoWhenSent(page, url, pageNavigationTimeoutMs(options.navigationTimeoutMs));
205
205
  await assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu);
206
+ options.onLoaded?.();
206
207
  const renderReadyTimedOut = !await waitForCompositionSettle(page, options);
207
208
  return { browser: chromeBrowser, page, renderReadyTimedOut };
208
209
  } catch (err) {
@@ -214,7 +215,7 @@ async function launchCompositionBrowser(html, noListen, options) {
214
215
  const { ensureBrowser, findSystemBrowser } = await import("./manager-UHWEKPXC.js");
215
216
  const browser = await ensureBrowser({ signal: options.signal });
216
217
  const puppeteer = await import("puppeteer-core");
217
- const { buildChromeArgs } = await import("./src-RZ574OKP.js");
218
+ const { buildChromeArgs } = await import("./src-DCVSEODX.js");
218
219
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
219
220
  const requiresWebGpu = compositionRequiresWebGpu(html);
220
221
  let softwareWebGpu = false;
@@ -353,6 +354,10 @@ function seekInPage(t, fallbackToBridgeAndTimelines, exactTime, skipDraws) {
353
354
  seekTo(safe);
354
355
  }
355
356
  async function seekCompositionTimeline(page, timeSeconds, options = {}) {
357
+ await seekCompositionTimelineOnly(page, timeSeconds, options);
358
+ await settleCompositionSeek(page, options);
359
+ }
360
+ async function seekCompositionTimelineOnly(page, timeSeconds, options = {}) {
356
361
  if (options.waitForPreferredSeekTargetMs !== void 0) {
357
362
  await waitForPreferredSeekTarget(page, options.waitForPreferredSeekTargetMs);
358
363
  }
@@ -363,6 +368,8 @@ async function seekCompositionTimeline(page, timeSeconds, options = {}) {
363
368
  options.exactTime === true,
364
369
  options.skipWebglDraws === true
365
370
  );
371
+ }
372
+ async function settleCompositionSeek(page, options = {}) {
366
373
  await page.evaluate(
367
374
  async (barrier) => {
368
375
  const waitForCompletion = Reflect.get(window, "__hfWaitForSeekCompletion");
@@ -560,6 +567,8 @@ export {
560
567
  openSettledCompositionPage,
561
568
  seekInPage,
562
569
  seekCompositionTimeline,
570
+ seekCompositionTimelineOnly,
571
+ settleCompositionSeek,
563
572
  waitForPreferredSeekTarget,
564
573
  waitForCompositionFonts,
565
574
  DEFAULT_ZOOM_PADDING_PX,
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-DCAI5DBR.js";
13
13
  import {
14
14
  createProjectConfig
15
- } from "./chunk-HDIRZGK4.js";
15
+ } from "./chunk-RPUIMFHF.js";
16
16
  import {
17
17
  isHyperframesProject
18
- } from "./chunk-KROXPHXX.js";
18
+ } from "./chunk-RNZEQTWZ.js";
19
19
 
20
20
  // src/utils/desktopApp.ts
21
21
  import { spawn, spawnSync } from "child_process";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-DKPNNYBZ.js";
15
15
  import {
16
16
  resolveCaptureBrowserGpuMode
17
- } from "./chunk-EMSDWBG3.js";
17
+ } from "./chunk-RVZNSKRH.js";
18
18
  import {
19
19
  requestCliExit
20
20
  } from "./chunk-JVBRJMOP.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-H5SM5PJI.js";
9
+ } from "./chunk-6IOBAOU7.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {