hyperframes 0.8.204 → 0.8.205

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 (179) hide show
  1. package/dist/{add-HBFVYKGU.js → add-BA4AU262.js} +11 -11
  2. package/dist/{animatedGifPrep-VBUKGEZ6.js → animatedGifPrep-UNUCFGLQ.js} +6 -6
  3. package/dist/api.js +16 -16
  4. package/dist/{asset-OVLMJY4S.js → asset-KCDVTNC3.js} +2 -2
  5. package/dist/{assetCataloger-K4INCLFU.js → assetCataloger-5FCVQ3N6.js} +6 -6
  6. package/dist/{audio-JHW3HLHK.js → audio-KDBPEHRS.js} +16 -13
  7. package/dist/{auth-RH67KQMZ.js → auth-IMPBZZXJ.js} +1 -1
  8. package/dist/{autoUpdate-JYR2RW5Z.js → autoUpdate-YE2RKCAG.js} +2 -2
  9. package/dist/{backgroundChecks-DPHRM4HJ.js → backgroundChecks-OWY2UFSR.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-JFUWZR3M.js → batchRender-AN4HWKET.js} +3 -3
  12. package/dist/{beats-AWAFZGOT.js → beats-VTQJ4JH6.js} +8 -8
  13. package/dist/{benchmark-VQCCULJ2.js → benchmark-PBEWHJ5K.js} +13 -11
  14. package/dist/{browser-TT5L7D32.js → browser-E7ANEHNU.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-EHXEP5ZL.js → bundleWithLocalizedFonts-I3BWMRSP.js} +2 -2
  16. package/dist/{capture-Y7TGR3BI.js → capture-MP7R72WU.js} +2 -2
  17. package/dist/{capture-5CM2P6CB.js → capture-XODFC4S4.js} +10 -10
  18. package/dist/{captureCompositionFrame-LIT6U6C4.js → captureCompositionFrame-2OYGVDI3.js} +11 -11
  19. package/dist/{catalog-WZN2XB7D.js → catalog-ORVCCEQR.js} +11 -11
  20. package/dist/{catch-up-WZMQUW5H.js → catch-up-SYAQOXTT.js} +4 -4
  21. package/dist/{check-YVJCDCJS.js → check-6SQR6SSA.js} +35 -35
  22. package/dist/{checkBrowser-7V2DGDVD.js → checkBrowser-HOTD3CDE.js} +30 -30
  23. package/dist/{chunk-MSH2F7VW.js → chunk-26OI2B2X.js} +1 -1
  24. package/dist/{chunk-DTV3VHFE.js → chunk-2FEOM3ZT.js} +3 -3
  25. package/dist/{chunk-QWATUGUX.js → chunk-32R2AFZ3.js} +3 -3
  26. package/dist/{chunk-YLGRZSH4.js → chunk-3N4T6I3O.js} +1 -1
  27. package/dist/{chunk-YU53JSUZ.js → chunk-4RPCYGZG.js} +1 -1
  28. package/dist/{chunk-D3EZHD2D.js → chunk-4UIEQIF4.js} +2 -2
  29. package/dist/{chunk-34VLVDOU.js → chunk-57I5KNTL.js} +3 -3
  30. package/dist/{chunk-WLD4PX3P.js → chunk-5F6B6KMK.js} +2 -2
  31. package/dist/{chunk-CXZDIWMK.js → chunk-5PVPGWMH.js} +1 -1
  32. package/dist/{chunk-65VFH2UV.js → chunk-6GAYBX5C.js} +1 -1
  33. package/dist/{chunk-TBSYUEB7.js → chunk-6NC4KBS2.js} +1 -1
  34. package/dist/{chunk-TNOERLC6.js → chunk-6YYFNGCS.js} +12 -7
  35. package/dist/{chunk-LTGTN2TH.js → chunk-75WNFDRU.js} +1 -1
  36. package/dist/{chunk-TAYZSNYS.js → chunk-7V7OUKTU.js} +1 -1
  37. package/dist/{chunk-TCI4MUT6.js → chunk-A42PDANH.js} +1 -1
  38. package/dist/{chunk-IJ6RY4CH.js → chunk-AECL3B23.js} +1 -1
  39. package/dist/{chunk-YIN2JAZE.js → chunk-AECSY5LT.js} +16 -9
  40. package/dist/{chunk-KLIKCX6Q.js → chunk-AYH5ANVS.js} +7 -1
  41. package/dist/{chunk-RFCLI6TW.js → chunk-BA7MQJXG.js} +3 -3
  42. package/dist/{chunk-WMCGD4XL.js → chunk-BHOGXIBO.js} +4 -6
  43. package/dist/{chunk-QCQDUQVJ.js → chunk-BTYT3RT3.js} +1 -1
  44. package/dist/{chunk-VCBZOU7U.js → chunk-BZ727KLT.js} +1 -1
  45. package/dist/{chunk-7PRESGFT.js → chunk-C4LV6L4Q.js} +3 -3
  46. package/dist/{chunk-NJT6SZGL.js → chunk-CU76YDPX.js} +1 -1
  47. package/dist/{chunk-5RJSWYWL.js → chunk-CUGADCIV.js} +1 -1
  48. package/dist/{chunk-5UW7WCHQ.js → chunk-EXRHI43B.js} +7 -7
  49. package/dist/{chunk-4CR23IYU.js → chunk-FNBEYIZH.js} +5 -5
  50. package/dist/{chunk-XX5U64F2.js → chunk-G445Y3YG.js} +4 -3
  51. package/dist/{chunk-AQS3MMEQ.js → chunk-GBQCTZON.js} +10 -10
  52. package/dist/{chunk-54K7HW46.js → chunk-GLBEBBS2.js} +2 -2
  53. package/dist/{chunk-6KZY5RSV.js → chunk-GSTFETKE.js} +1 -1
  54. package/dist/{chunk-UKXF4IPA.js → chunk-H4MSJ2NZ.js} +5 -5
  55. package/dist/{chunk-WM7GOKEP.js → chunk-HADQPG7O.js} +1 -1
  56. package/dist/{chunk-X7XICOVM.js → chunk-HQ3CFNHL.js} +1 -1
  57. package/dist/{chunk-LVMJXO45.js → chunk-I7IXUCKL.js} +1 -1
  58. package/dist/{chunk-KOBPUFCN.js → chunk-IKYXXIMP.js} +1 -1
  59. package/dist/{chunk-WXAQT63P.js → chunk-J2E3VVOS.js} +4 -4
  60. package/dist/{chunk-7RB4I2E6.js → chunk-JFNB4CMI.js} +5 -5
  61. package/dist/{chunk-D5CAZ7R4.js → chunk-KAIQPYCM.js} +2 -2
  62. package/dist/{chunk-N3EJG2X4.js → chunk-KBZSMKKD.js} +3 -3
  63. package/dist/{chunk-IDASYE4U.js → chunk-KVNXEAVT.js} +4 -1
  64. package/dist/{chunk-54FO6TN7.js → chunk-L6N2TLXR.js} +18 -18
  65. package/dist/{chunk-TQH7BF7K.js → chunk-LQUMMPGK.js} +1 -1
  66. package/dist/{chunk-3GPDAE3D.js → chunk-LSQM3NBR.js} +1 -1
  67. package/dist/{chunk-EF7R5EBJ.js → chunk-MASFRPCB.js} +10 -10
  68. package/dist/{chunk-S35XO2ZA.js → chunk-MVXOY5RC.js} +1 -1
  69. package/dist/{chunk-2756LXGY.js → chunk-N7VQD4WB.js} +1 -1
  70. package/dist/{chunk-LN5EJMSC.js → chunk-NF6KI46X.js} +23 -15
  71. package/dist/{chunk-GGEA5EHR.js → chunk-OB7QARSN.js} +1 -1
  72. package/dist/{chunk-DRDG46KK.js → chunk-RQDVTUVD.js} +14 -14
  73. package/dist/{chunk-US6JSQ2L.js → chunk-RWOWD3PW.js} +2 -2
  74. package/dist/{chunk-Y63CT2ZC.js → chunk-T2UR3T4L.js} +28 -18
  75. package/dist/{chunk-VC3BMKYO.js → chunk-TGS33LDU.js} +3 -3
  76. package/dist/{chunk-ZBDVKLIU.js → chunk-TOEIJ4WF.js} +5 -5
  77. package/dist/{chunk-4HJMZI4H.js → chunk-TZ7MTRVJ.js} +13 -13
  78. package/dist/{chunk-HBDQGIQA.js → chunk-UEOGIZ3Q.js} +2 -2
  79. package/dist/{chunk-DBF6LLXB.js → chunk-UR6BAPOD.js} +1 -1
  80. package/dist/{chunk-OPFG563D.js → chunk-V2XXV2EH.js} +1 -1
  81. package/dist/{chunk-BL4U6U52.js → chunk-V4K4BSCM.js} +16 -5
  82. package/dist/{chunk-QB4K2EWI.js → chunk-WB55EQNJ.js} +1 -1
  83. package/dist/{chunk-QZ4HQQYS.js → chunk-XNAIYEKD.js} +1 -1
  84. package/dist/{chunk-6RLP6RDE.js → chunk-ZB6SCA4J.js} +1 -1
  85. package/dist/{chunk-23RPCDGE.js → chunk-ZSUWGNIT.js} +2 -2
  86. package/dist/{chunk-YRQPU7SV.js → chunk-ZUQZP6QD.js} +5 -2
  87. package/dist/{clean-3JE2KYTC.js → clean-BW7NHQS5.js} +18 -18
  88. package/dist/cli.js +81 -59
  89. package/dist/{cloud-Z54BHP6G.js → cloud-TZVXTWZO.js} +4 -4
  90. package/dist/{cloudrun-4CPQLU5M.js → cloudrun-KRIETALO.js} +4 -4
  91. package/dist/{compare-AQMLMTFD.js → compare-WYWHJ4CR.js} +27 -27
  92. package/dist/{compiler-LIJYMSEL.js → compiler-ANIPXLJ7.js} +7 -3
  93. package/dist/{component-ZH37EIYB.js → component-CY7DCX56.js} +3 -3
  94. package/dist/{compositions-DF2FM6YD.js → compositions-5YEB24E3.js} +10 -10
  95. package/dist/{delete-A3NSK2HH.js → delete-6642PDON.js} +2 -2
  96. package/dist/{deploy-6RC2DXPQ.js → deploy-NZP6TZLS.js} +1 -1
  97. package/dist/{dist-VSIT3UAX.js → dist-DGFC75NC.js} +2 -2
  98. package/dist/{dist-6JMYDD7F.js → dist-V2BGP46S.js} +1 -1
  99. package/dist/docs/examples.md +31 -7
  100. package/dist/{doctor-RILK4ATO.js → doctor-ZW4A2FS3.js} +12 -12
  101. package/dist/{events-B5EKVEPW.js → events-NJU4VFDA.js} +3 -3
  102. package/dist/{events-SL434XAY.js → events-XRCHY2F6.js} +2 -2
  103. package/dist/{feedback-S4PC6VAR.js → feedback-NQLSZMES.js} +7 -7
  104. package/dist/{ffmpeg-XSDPPZCU.js → ffmpeg-RYDQLG3G.js} +7 -7
  105. package/dist/{figma-MV2L6E2Z.js → figma-TJAMP2CI.js} +3 -3
  106. package/dist/fontLocalizeCli.js +9 -9
  107. package/dist/{get-ID3Y3PCN.js → get-RRZ3O26X.js} +2 -2
  108. package/dist/{gpuPolicy-2LRMQOAD.js → gpuPolicy-4WLHUUS3.js} +6 -6
  109. package/dist/{grade-compare-NV3TKIOO.js → grade-compare-P7PE3NAA.js} +29 -29
  110. package/dist/{help-ZPT23LZ3.js → help-6RELRVIW.js} +1 -1
  111. package/dist/{history-MZGDX3TR.js → history-GIIDYND3.js} +6 -6
  112. package/dist/hyperframe.manifest.json +1 -1
  113. package/dist/hyperframe.runtime.iife.js +1 -1
  114. package/dist/hyperframes-player.global.js +2 -2
  115. package/dist/{info-FIZ4A54H.js → info-LBUA2DXE.js} +7 -7
  116. package/dist/{init-WX4MNPL2.js → init-QUPXBONY.js} +30 -33
  117. package/dist/{inspect-R5KWWKNJ.js → inspect-CL42DJZ4.js} +28 -28
  118. package/dist/{installer-CTV5FKYQ.js → installer-VR7XDLR3.js} +4 -4
  119. package/dist/{keyframes-FAJY5RK5.js → keyframes-LELLROMA.js} +6 -6
  120. package/dist/{lambda-3MCC2ZH7.js → lambda-I6KFXWOO.js} +6 -6
  121. package/dist/{layout-3RTVYRRN.js → layout-NR6SNRZE.js} +28 -28
  122. package/dist/{lint-ZDCVL7K4.js → lint-DYEMSEQR.js} +7 -7
  123. package/dist/{lintProject-4IVYXS5J.js → lintProject-EA4NPL2X.js} +1 -1
  124. package/dist/{list-SBCXW2UT.js → list-RDURYO5U.js} +2 -2
  125. package/dist/{login-VQ2LQ2YG.js → login-VKLET5OL.js} +4 -4
  126. package/dist/{manager-F34TSFV6.js → manager-7TSUZKXU.js} +2 -2
  127. package/dist/{manager-ZRF6UXUM.js → manager-IYT3THJN.js} +8 -8
  128. package/dist/{media-treatment-MFIP7Q4G.js → media-treatment-I4AFEQZ3.js} +13 -13
  129. package/dist/{models-OU36YZCT.js → models-LLPVGC2E.js} +12 -12
  130. package/dist/{motionShot-SHDUG7YR.js → motionShot-6A6HH6IK.js} +15 -15
  131. package/dist/{normalize-audio-7RTPEV7Y.js → normalize-audio-KVQJBYLT.js} +7 -7
  132. package/dist/{open-HT4RG32S.js → open-J4ZT4X3C.js} +14 -13
  133. package/dist/{parakeetRunner-DOVPZDCH.js → parakeetRunner-FLUCIDIZ.js} +13 -13
  134. package/dist/{pipeline-NIVQ6E2G.js → pipeline-RRVLGALQ.js} +8 -8
  135. package/dist/{play-HPX5SIRQ.js → play-QGJSXUVM.js} +19 -19
  136. package/dist/{preflight-TNYC7EIS.js → preflight-SP2ZERBE.js} +9 -9
  137. package/dist/{present-QSOIMURR.js → present-UR4YBHMX.js} +15 -15
  138. package/dist/{preview-WDO53XKK.js → preview-6ENCRU4C.js} +19 -19
  139. package/dist/{producer-G27KP3IY.js → producer-OMHZRY6A.js} +1 -1
  140. package/dist/{projectConfig-CP722RCM.js → projectConfig-NGS7GJ47.js} +6 -6
  141. package/dist/{publication-LCWVBLDN.js → publication-6NYQA22Y.js} +2 -2
  142. package/dist/{publish-BIY6LEZ2.js → publish-E6RE5VHB.js} +9 -9
  143. package/dist/{remove-background-NPLZGLZ3.js → remove-background-66PQRA7R.js} +9 -9
  144. package/dist/{render-HHUGUKG6.js → render-IMSGS6BD.js} +32 -32
  145. package/dist/{render-IHNAZXA2.js → render-SBAZWXPO.js} +5 -5
  146. package/dist/{render-J57LAXB5.js → render-ZLRJUFMX.js} +15 -15
  147. package/dist/{render-batch-FK26OQ5E.js → render-batch-MO7LYZSP.js} +5 -5
  148. package/dist/renderSetupWorker.js +4 -4
  149. package/dist/{resolver-FWJXO6DY.js → resolver-QMBVTAKT.js} +4 -4
  150. package/dist/{sherpa-BXFJU5EP.js → sherpa-JZRDL3OE.js} +12 -12
  151. package/dist/skills/hyperframes/references/types/launch.md +12 -2
  152. package/dist/skills/media-use/references/memory.md +4 -0
  153. package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +173 -0
  154. package/dist/skills/media-use/scripts/lib/prefs-store.mjs +46 -28
  155. package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +56 -0
  156. package/dist/{skills-7XS4HZBC.js → skills-YBTEWFYS.js} +5 -5
  157. package/dist/{skillsUpdateCheck-MGU5KLR4.js → skillsUpdateCheck-Z4HTDZJN.js} +3 -3
  158. package/dist/{snapshot-O2PMEMKH.js → snapshot-5F5UV6H5.js} +33 -33
  159. package/dist/{src-OQRG6BT7.js → src-UTW3F2PM.js} +5 -5
  160. package/dist/{src-Q4R2YPKA.js → src-WWXYV2TS.js} +8 -8
  161. package/dist/{staticProjectServer-6OY4VMO6.js → staticProjectServer-UHZ63C5O.js} +16 -16
  162. package/dist/studio/assets/{hyperframes-player-CttA4PW7.js → hyperframes-player-DzdSmJdB.js} +3 -3
  163. package/dist/studio/assets/{index-DpxSurnJ.js → index-C8hp9Y7c.js} +1 -1
  164. package/dist/studio/assets/{index-DmST2bTJ.js → index-dy6GQJn4.js} +116 -116
  165. package/dist/studio/index.html +1 -1
  166. package/dist/{studio-api-YSUTKHV7.js → studio-api-BHZ3PHL2.js} +9 -9
  167. package/dist/{studioServer-APGEQIW5.js → studioServer-AFUXWRB5.js} +53 -52
  168. package/dist/{telemetry-3B6EA5IU.js → telemetry-UYKOT4OJ.js} +3 -3
  169. package/dist/{timeline-QWM6JS4B.js → timeline-K5NLEMH4.js} +17 -17
  170. package/dist/{tokens-TKLSP3OQ.js → tokens-FCOSWE2O.js} +2 -2
  171. package/dist/{transcribe-XOPMHJLJ.js → transcribe-K2QTXDQR.js} +17 -17
  172. package/dist/{transcribe-PODOCWCC.js → transcribe-SIFMTW5W.js} +11 -11
  173. package/dist/{updateCheck-RO6FPYMZ.js → updateCheck-JZ6TBZVE.js} +2 -2
  174. package/dist/{upgrade-EVNIL5TZ.js → upgrade-TUPAJXQQ.js} +2 -2
  175. package/dist/{urlDownloader-F5HYFRA6.js → urlDownloader-L4775QID.js} +5 -5
  176. package/dist/{validate-NXLFCHGG.js → validate-4HVVMEBV.js} +22 -22
  177. package/dist/{video-ECV2OIQN.js → video-4OGPF3IE.js} +6 -6
  178. package/dist/warmCheck.js +35 -35
  179. package/package.json +1 -1
@@ -12,20 +12,20 @@ import {
12
12
  } from "./chunk-PLGGKTCB.js";
13
13
  import {
14
14
  captureArtifactRevision
15
- } from "./chunk-2756LXGY.js";
15
+ } from "./chunk-N7VQD4WB.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-VCBZOU7U.js";
18
+ } from "./chunk-BZ727KLT.js";
19
19
  import {
20
20
  trackLintRun
21
- } from "./chunk-7PRESGFT.js";
21
+ } from "./chunk-C4LV6L4Q.js";
22
22
  import {
23
23
  beginCheckSnapshots,
24
24
  checkSnapshotDirectory,
25
25
  finishCheckSnapshots,
26
26
  preResolveHostileMediaProxies,
27
27
  rectToBbox
28
- } from "./chunk-4HJMZI4H.js";
28
+ } from "./chunk-TZ7MTRVJ.js";
29
29
  import {
30
30
  CONTENT_OVERLAP_HELD_ERROR_MS,
31
31
  DEFAULT_MAX_STATIC_SEC,
@@ -49,10 +49,10 @@ import {
49
49
  mergeSampleTimes,
50
50
  parseAt,
51
51
  readMotionSpec
52
- } from "./chunk-AQS3MMEQ.js";
52
+ } from "./chunk-GBQCTZON.js";
53
53
  import {
54
54
  resolveProject
55
- } from "./chunk-6RLP6RDE.js";
55
+ } from "./chunk-ZB6SCA4J.js";
56
56
  import {
57
57
  recordArtifacts
58
58
  } from "./chunk-XDMZY3H7.js";
@@ -61,17 +61,17 @@ import {
61
61
  closeManagedBrowser,
62
62
  onStopSignal,
63
63
  registerBrowserSessionCleanup
64
- } from "./chunk-YU53JSUZ.js";
64
+ } from "./chunk-4RPCYGZG.js";
65
65
  import {
66
66
  withRemainingBudget
67
67
  } from "./chunk-EHSBBBR2.js";
68
68
  import {
69
69
  resolveLocalBrowserGpuMode
70
- } from "./chunk-US6JSQ2L.js";
70
+ } from "./chunk-RWOWD3PW.js";
71
71
  import {
72
72
  trackCheckReport,
73
73
  trackCommandFailure
74
- } from "./chunk-LVMJXO45.js";
74
+ } from "./chunk-I7IXUCKL.js";
75
75
  import {
76
76
  swallowedFlagUsageError
77
77
  } from "./chunk-HTIUNMTP.js";
@@ -91,17 +91,17 @@ import {
91
91
  import {
92
92
  extractMediaMetadata,
93
93
  findHdrAutoPromotion
94
- } from "./chunk-Y63CT2ZC.js";
94
+ } from "./chunk-T2UR3T4L.js";
95
95
  import {
96
96
  lintProject,
97
97
  shouldBlockRender
98
- } from "./chunk-IDASYE4U.js";
98
+ } from "./chunk-KVNXEAVT.js";
99
99
  import {
100
100
  resolveProjectRelativeSrc
101
101
  } from "./chunk-PBNWRWKA.js";
102
102
  import {
103
103
  withMeta
104
- } from "./chunk-GGEA5EHR.js";
104
+ } from "./chunk-OB7QARSN.js";
105
105
  import {
106
106
  normalizeErrorMessage
107
107
  } from "./chunk-T2EUWCJE.js";
@@ -725,7 +725,7 @@ function round(value) {
725
725
 
726
726
  // src/utils/hdrPromotion.ts
727
727
  async function bundleProjectHtml(projectDir) {
728
- const { bundleToSingleHtml } = await import("./compiler-LIJYMSEL.js");
728
+ const { bundleToSingleHtml } = await import("./compiler-ANIPXLJ7.js");
729
729
  return bundleToSingleHtml(projectDir);
730
730
  }
731
731
  async function collectBundledRenderMedia(html) {
@@ -2330,7 +2330,7 @@ function resolveMotionSpec(projectDir) {
2330
2330
  };
2331
2331
  }
2332
2332
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2333
- const module = await import("./checkBrowser-7V2DGDVD.js");
2333
+ const module = await import("./checkBrowser-HOTD3CDE.js");
2334
2334
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2335
2335
  }
2336
2336
  var adoptedBrowser;
@@ -2344,7 +2344,7 @@ async function prelaunchBrowser(project, options) {
2344
2344
  if (adopted) return adopted;
2345
2345
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2346
2346
  if (html === void 0) return void 0;
2347
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-LIT6U6C4.js");
2347
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-2OYGVDI3.js");
2348
2348
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2349
2349
  }
2350
2350
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2356,11 +2356,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2356
2356
  return relative(projectDir, path);
2357
2357
  }
2358
2358
  async function captureFindingFrames(project, options, requests, deadline) {
2359
- const module = await import("./checkBrowser-7V2DGDVD.js");
2359
+ const module = await import("./checkBrowser-HOTD3CDE.js");
2360
2360
  return module.captureFindingFrames(project, options, requests, deadline);
2361
2361
  }
2362
2362
  async function captureFindingCrops(project, options, requests, deadline) {
2363
- const module = await import("./checkBrowser-7V2DGDVD.js");
2363
+ const module = await import("./checkBrowser-HOTD3CDE.js");
2364
2364
  return module.captureFindingCrops(project, options, requests, deadline);
2365
2365
  }
2366
2366
  var DEFAULT_DEPENDENCIES2 = {
@@ -2400,7 +2400,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2400
2400
  }
2401
2401
  },
2402
2402
  async prepareMedia(project, options) {
2403
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EHXEP5ZL.js");
2403
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I3BWMRSP.js");
2404
2404
  const html = await bundleWithLocalizedFonts(project.dir);
2405
2405
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2406
2406
  },
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-65VFH2UV.js";
30
+ } from "./chunk-6GAYBX5C.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-TQH7BF7K.js";
14
+ } from "./chunk-LQUMMPGK.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -8,31 +8,31 @@ import {
8
8
  launchManagedBrowser,
9
9
  resolveManagedGpuMode,
10
10
  rethrowAfterBrowserCleanup
11
- } from "./chunk-YU53JSUZ.js";
11
+ } from "./chunk-4RPCYGZG.js";
12
12
  import {
13
13
  gotoWhenSent
14
14
  } from "./chunk-MOEGCMKI.js";
15
15
  import {
16
16
  pageNavigationTimeoutMs,
17
17
  windowsChromeCrashRemediation
18
- } from "./chunk-VC3BMKYO.js";
18
+ } from "./chunk-TGS33LDU.js";
19
19
  import {
20
20
  oneProcessOverPipe
21
21
  } from "./chunk-DKPNNYBZ.js";
22
22
  import {
23
23
  resolveCompositionViewportFromHtml
24
- } from "./chunk-IJ6RY4CH.js";
24
+ } from "./chunk-AECL3B23.js";
25
25
  import {
26
26
  resolveLocalBrowserGpuMode,
27
27
  resolveLocalWebGpu
28
- } from "./chunk-US6JSQ2L.js";
28
+ } from "./chunk-RWOWD3PW.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-Y63CT2ZC.js";
35
+ } from "./chunk-T2UR3T4L.js";
36
36
  import {
37
37
  normalizeErrorMessage
38
38
  } from "./chunk-T2EUWCJE.js";
@@ -140,7 +140,7 @@ async function waitForCompositionSettle(page, options) {
140
140
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
141
141
  });
142
142
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
143
- const { resolveConfig, waitForImagesReady } = await import("./src-OQRG6BT7.js");
143
+ const { resolveConfig, waitForImagesReady } = await import("./src-UTW3F2PM.js");
144
144
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
145
145
  await waitForImagesReady(
146
146
  page,
@@ -189,7 +189,7 @@ async function installPageFunctionGuard(page) {
189
189
  async function openSettledCompositionPage(html, url, options) {
190
190
  const viewport = resolveCompositionViewportFromHtml(html);
191
191
  const requiresWebGpu = compositionRequiresWebGpu(html);
192
- const answer = (await import("./staticProjectServer-6OY4VMO6.js")).inProcessAnswer(url);
192
+ const answer = (await import("./staticProjectServer-UHZ63C5O.js")).inProcessAnswer(url);
193
193
  const noListen = answer !== void 0;
194
194
  let chromeBrowser;
195
195
  try {
@@ -200,7 +200,7 @@ async function openSettledCompositionPage(html, url, options) {
200
200
  options.onBrowserReady?.();
201
201
  const page = await chromeBrowser.newPage();
202
202
  await installPageFunctionGuard(page);
203
- const { installMediaRenderIdBridge } = await import("./src-OQRG6BT7.js");
203
+ const { installMediaRenderIdBridge } = await import("./src-UTW3F2PM.js");
204
204
  await installMediaRenderIdBridge(page);
205
205
  await page.setViewport(viewport);
206
206
  if (answer) await answerPageInProcess(page, url, answer);
@@ -216,10 +216,10 @@ async function openSettledCompositionPage(html, url, options) {
216
216
  }
217
217
  async function launchCompositionBrowser(html, noListen, options) {
218
218
  const viewport = resolveCompositionViewportFromHtml(html);
219
- const { ensureBrowser, findSystemBrowser } = await import("./manager-F34TSFV6.js");
219
+ const { ensureBrowser, findSystemBrowser } = await import("./manager-7TSUZKXU.js");
220
220
  const browser = await ensureBrowser({ signal: options.signal });
221
221
  const puppeteer = await import("puppeteer-core");
222
- const { buildChromeArgs } = await import("./src-OQRG6BT7.js");
222
+ const { buildChromeArgs } = await import("./src-UTW3F2PM.js");
223
223
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
224
224
  const requiresWebGpu = compositionRequiresWebGpu(html);
225
225
  let softwareWebGpu = false;
@@ -14,7 +14,7 @@ import {
14
14
  hdrToSdrToneMapFilter,
15
15
  isHeavyForPreview,
16
16
  parseFirstFrameColour
17
- } from "./chunk-65VFH2UV.js";
17
+ } from "./chunk-6GAYBX5C.js";
18
18
  import {
19
19
  decodeAuthoredAttribute,
20
20
  scanHtmlOpeningTags
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-KOBPUFCN.js";
9
+ } from "./chunk-IKYXXIMP.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-DTV3VHFE.js";
22
+ } from "./chunk-2FEOM3ZT.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-6KZY5RSV.js";
35
+ } from "./chunk-GSTFETKE.js";
36
36
  import {
37
37
  HistoryBusyError,
38
38
  MAX_WINDOW_IDLE_MS,
@@ -70,7 +70,7 @@ import {
70
70
  scanProjectMedia,
71
71
  shouldPrewarmProxy,
72
72
  waitForProxy
73
- } from "./chunk-S35XO2ZA.js";
73
+ } from "./chunk-MVXOY5RC.js";
74
74
  import {
75
75
  STUDIO_MOTION_PATH,
76
76
  createStudioMotionRenderBodyScript,
@@ -93,7 +93,7 @@ import {
93
93
  } from "./chunk-EOVYQ3IG.js";
94
94
  import {
95
95
  parseEncoderOptions
96
- } from "./chunk-KLIKCX6Q.js";
96
+ } from "./chunk-AYH5ANVS.js";
97
97
  import {
98
98
  STUDIO_MANUAL_EDITS_PATH
99
99
  } from "./chunk-EVMY7IPL.js";
@@ -111,18 +111,19 @@ import {
111
111
  PREVIEW_PROXY_RETRY_PARAM,
112
112
  formatPreviewProxyBox,
113
113
  formatRenderOutputTimestamp,
114
+ fpsToNumber,
114
115
  gsapCdnDist,
115
116
  motionPathPluginUrl,
116
117
  normalizeGsapBaseUrl,
117
118
  normalizeGsapLocalRoot,
118
119
  parseFps,
119
120
  parsePreviewProxyBox
120
- } from "./chunk-65VFH2UV.js";
121
+ } from "./chunk-6GAYBX5C.js";
121
122
  import {
122
123
  addScenePartsManifest,
123
124
  ensureHfIds,
124
125
  stampHfIdsInPlace
125
- } from "./chunk-WMCGD4XL.js";
126
+ } from "./chunk-BHOGXIBO.js";
126
127
  import {
127
128
  AFTER_FONTS_SCRIPT_TYPE,
128
129
  RUNTIME_BOOTSTRAP_ATTR,
@@ -136,7 +137,7 @@ import {
136
137
  resolveRateSpec,
137
138
  sourceTimeAt,
138
139
  stripEmbeddedRuntimeScripts
139
- } from "./chunk-YRQPU7SV.js";
140
+ } from "./chunk-ZUQZP6QD.js";
140
141
  import {
141
142
  HTML_ATTRIBUTE_ENTITIES,
142
143
  MagicString,
@@ -5549,7 +5550,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5549
5550
  let block = extractGsapScriptBlock(html);
5550
5551
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5551
5552
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5552
- const { GSAP_CDN } = await import("./dist-VSIT3UAX.js");
5553
+ const { GSAP_CDN } = await import("./dist-DGFC75NC.js");
5553
5554
  const bootstrap = [
5554
5555
  `<script src="${GSAP_CDN}"></script>`,
5555
5556
  "<script>",
@@ -8022,7 +8023,8 @@ var VALID_RESOLUTIONS = new Set(VALID_CANVAS_RESOLUTIONS);
8022
8023
  var RENDER_MIME = {
8023
8024
  ".mp4": "video/mp4",
8024
8025
  ".webm": "video/webm",
8025
- ".mov": "video/quicktime"
8026
+ ".mov": "video/quicktime",
8027
+ ".gif": "image/gif"
8026
8028
  };
8027
8029
  var RENDER_EXTENSIONS = Object.keys(RENDER_MIME);
8028
8030
  var RENDER_ARTIFACT_EXTENSIONS = [...RENDER_EXTENSIONS, ".meta.json"];
@@ -8072,11 +8074,17 @@ function registerRenderRoutes(api, adapter) {
8072
8074
  const project = await adapter.resolveProject(c.req.param("id"));
8073
8075
  if (!project) return c.json({ error: "not found" }, 404);
8074
8076
  const body = await c.req.json().catch(() => ({}));
8075
- const VALID_FORMATS = /* @__PURE__ */ new Set(["mp4", "webm", "mov"]);
8076
- const FORMAT_EXT = { mp4: ".mp4", webm: ".webm", mov: ".mov" };
8077
- const format = VALID_FORMATS.has(body.format ?? "") ? body.format : "mp4";
8077
+ const VALID_FORMATS = ["mp4", "webm", "mov", "gif"];
8078
+ const FORMAT_EXT = {
8079
+ mp4: ".mp4",
8080
+ webm: ".webm",
8081
+ mov: ".mov",
8082
+ gif: ".gif"
8083
+ };
8084
+ const format = VALID_FORMATS.find((value) => value === body.format) ?? "mp4";
8078
8085
  const fpsParse = body.fps === void 0 ? null : parseFps(body.fps);
8079
- const fps = fpsParse && fpsParse.ok ? fpsParse.value : { num: 30, den: 1 };
8086
+ const requestedFps = fpsParse && fpsParse.ok ? fpsParse.value : { num: 30, den: 1 };
8087
+ const fps = format === "gif" && fpsToNumber(requestedFps) > 30 ? { num: 30, den: 1 } : requestedFps;
8080
8088
  const quality = ["draft", "standard", "high"].includes(body.quality ?? "") ? body.quality : "standard";
8081
8089
  const outputResolution = VALID_RESOLUTIONS.has(body.resolution ?? "") ? body.resolution : void 0;
8082
8090
  let composition;
@@ -8251,12 +8259,12 @@ function registerRenderRoutes(api, adapter) {
8251
8259
  if (!project) return c.json({ error: "not found" }, 404);
8252
8260
  const rendersDir = adapter.rendersDir(project);
8253
8261
  if (!existsSync6(rendersDir)) return c.json({ renders: [] });
8254
- const files = readdirSync3(rendersDir).filter((f) => f.endsWith(".mp4") || f.endsWith(".webm") || f.endsWith(".mov")).flatMap((f) => {
8262
+ const files = readdirSync3(rendersDir).filter((f) => RENDER_EXTENSIONS.some((extension) => f.endsWith(extension))).flatMap((f) => {
8255
8263
  const fp = resolveWithinProject(rendersDir, f);
8256
8264
  return fp && !isPrivateProjectFile(project.dir, fp) ? [{ f, fp }] : [];
8257
8265
  }).map(({ f, fp }) => {
8258
8266
  const stat2 = statSync5(fp);
8259
- const rid = f.replace(/\.(mp4|webm|mov)$/, "");
8267
+ const rid = f.replace(/\.(mp4|webm|mov|gif)$/, "");
8260
8268
  const metaPath = join10(rendersDir, `${rid}.meta.json`);
8261
8269
  let status = "complete";
8262
8270
  let durationMs;
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-D5CAZ7R4.js";
20
+ } from "./chunk-KAIQPYCM.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -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-6RLP6RDE.js";
9
+ } from "./chunk-ZB6SCA4J.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-EF7R5EBJ.js";
15
+ } from "./chunk-MASFRPCB.js";
16
16
  import {
17
17
  launchManagedBrowser,
18
18
  resolveManagedGpuMode
19
- } from "./chunk-YU53JSUZ.js";
19
+ } from "./chunk-4RPCYGZG.js";
20
20
  import {
21
21
  pageNavigationTimeoutMs
22
- } from "./chunk-VC3BMKYO.js";
22
+ } from "./chunk-TGS33LDU.js";
23
23
  import {
24
24
  resolveCompositionViewportFromHtml
25
- } from "./chunk-IJ6RY4CH.js";
25
+ } from "./chunk-AECL3B23.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-S3S4TGEH.js";
@@ -35,14 +35,14 @@ import {
35
35
  } from "./chunk-ZTZA4UWZ.js";
36
36
  import {
37
37
  resolveNaturalMediaTimelineDuration
38
- } from "./chunk-YRQPU7SV.js";
38
+ } from "./chunk-ZUQZP6QD.js";
39
39
  import {
40
40
  decodeWellFormedEscapes
41
41
  } from "./chunk-2BGOB2QK.js";
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-GGEA5EHR.js";
45
+ } from "./chunk-OB7QARSN.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-T2EUWCJE.js";
@@ -248,7 +248,7 @@ function extractCompositionErrorsFromLint(lintResult) {
248
248
  async function localizeRemoteAssets(html) {
249
249
  let dir;
250
250
  try {
251
- const { loadProducer } = await import("./producer-G27KP3IY.js");
251
+ const { loadProducer } = await import("./producer-OMHZRY6A.js");
252
252
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
253
253
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
254
254
  const assetDir = dir;
@@ -269,10 +269,10 @@ async function localizeRemoteAssets(html) {
269
269
  }
270
270
  async function validateInBrowser(project, opts) {
271
271
  const projectDir = project.dir;
272
- const { bundleToSingleHtml } = await import("./compiler-LIJYMSEL.js");
273
- const { ensureBrowser } = await import("./manager-F34TSFV6.js");
274
- const { serveStaticProjectHtml } = await import("./staticProjectServer-6OY4VMO6.js");
275
- const { lintProject } = await import("./lintProject-4IVYXS5J.js");
272
+ const { bundleToSingleHtml } = await import("./compiler-ANIPXLJ7.js");
273
+ const { ensureBrowser } = await import("./manager-7TSUZKXU.js");
274
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-UHZ63C5O.js");
275
+ const { lintProject } = await import("./lintProject-EA4NPL2X.js");
276
276
  const lintResult = await lintProject(projectDir);
277
277
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
278
278
  const html = await bundleToSingleHtml(projectDir);
@@ -293,9 +293,9 @@ async function validateInBrowser(project, opts) {
293
293
  try {
294
294
  const browser = await ensureBrowser();
295
295
  const puppeteer = await import("puppeteer-core");
296
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-OQRG6BT7.js");
296
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-UTW3F2PM.js");
297
297
  const requestedGpuMode = resolveCliChromeGpuMode();
298
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-2LRMQOAD.js");
298
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-4WLHUUS3.js");
299
299
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
300
300
  const requiresWebGpu = compositionRequiresWebGpu(html);
301
301
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-Y63CT2ZC.js";
10
+ } from "./chunk-T2UR3T4L.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-OQRG6BT7.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-UTW3F2PM.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -28,7 +28,7 @@ import {
28
28
  renderFrameIdForRenderId,
29
29
  resolveAuthoredTimingWindow,
30
30
  toFps
31
- } from "./chunk-65VFH2UV.js";
31
+ } from "./chunk-6GAYBX5C.js";
32
32
  import {
33
33
  AUDIO_GROUP_RENDER_ID_ATTR,
34
34
  COLOR_GRADING_SOURCE_HIDDEN_ATTR,
@@ -68,7 +68,7 @@ import {
68
68
  sourceTimeAt,
69
69
  timeAtSourceTime,
70
70
  volumeSegmentSampleCount
71
- } from "./chunk-YRQPU7SV.js";
71
+ } from "./chunk-ZUQZP6QD.js";
72
72
  import {
73
73
  redactTelemetryString,
74
74
  redactUrlQueryStrings
@@ -86,7 +86,7 @@ import {
86
86
  } from "./chunk-4UMPIPCQ.js";
87
87
  import {
88
88
  resolveReferencedStart
89
- } from "./chunk-IDASYE4U.js";
89
+ } from "./chunk-KVNXEAVT.js";
90
90
  import {
91
91
  FFMPEG_PATH_ENV,
92
92
  FFPROBE_PATH_ENV,
@@ -3062,18 +3062,22 @@ async function ensureRenderFrameSiblings(page) {
3062
3062
  RENDER_FRAME_ID_SUFFIX
3063
3063
  );
3064
3064
  }
3065
- async function injectVideoFramesBatch(page, updates) {
3066
- if (updates.length === 0) return [];
3065
+ async function injectVideoFramesBatch(page, updates, restyleIds = []) {
3066
+ if (updates.length === 0 && restyleIds.length === 0) return [];
3067
3067
  return withVideoFrameSources(
3068
3068
  page,
3069
3069
  updates,
3070
- (resolved) => injectResolvedVideoFramesBatch(page, resolved)
3070
+ (resolved) => injectResolvedVideoFramesBatch(page, resolved, restyleIds)
3071
3071
  );
3072
3072
  }
3073
- async function injectResolvedVideoFramesBatch(page, updates) {
3073
+ async function injectResolvedVideoFramesBatch(page, updates, restyleIds) {
3074
+ const items = [
3075
+ ...updates,
3076
+ ...restyleIds.map((videoId) => ({ videoId }))
3077
+ ].map((item) => ({ ...item, frameId: renderFrameIdForRenderId(item.videoId) }));
3074
3078
  return await page.evaluate(
3075
3079
  // fallow-ignore-next-line complexity
3076
- async (items, visualProperties, colorGradingSourceHiddenAttr) => {
3080
+ async (items2, visualProperties, colorGradingSourceHiddenAttr) => {
3077
3081
  const injectedIds = [];
3078
3082
  const pendingDecodes = [];
3079
3083
  const imagesToPublish = [];
@@ -3098,11 +3102,13 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3098
3102
  }
3099
3103
  return false;
3100
3104
  };
3101
- for (const item of items) {
3105
+ for (const item of items2) {
3102
3106
  const video = window.__hfMediaEl?.(item.videoId) ?? document.getElementById(item.videoId);
3103
3107
  if (!video) continue;
3104
3108
  let img = video.nextElementSibling;
3105
3109
  const hasImg = img !== null && img.classList.contains("__render_frame__");
3110
+ const restyleOnly = item.dataUri === void 0;
3111
+ if (restyleOnly && !hasImg) continue;
3106
3112
  if (isVisualAncestorHidden(video)) {
3107
3113
  if (hasImg && img) img.style.setProperty("visibility", "hidden", "important");
3108
3114
  continue;
@@ -3150,7 +3156,7 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3150
3156
  img.style.zIndex = computedStyle.zIndex;
3151
3157
  img.style.setProperty("visibility", "hidden", "important");
3152
3158
  img.decoding = "sync";
3153
- if (img.getAttribute("src") !== item.dataUri) {
3159
+ if (item.dataUri !== void 0 && img.getAttribute("src") !== item.dataUri) {
3154
3160
  if (item.crossOrigin) img.crossOrigin = item.crossOrigin;
3155
3161
  else img.removeAttribute("crossorigin");
3156
3162
  img.src = item.dataUri;
@@ -3167,21 +3173,19 @@ async function injectResolvedVideoFramesBatch(page, updates) {
3167
3173
  imagesToPublish.push(img);
3168
3174
  video.style.setProperty("visibility", "hidden", "important");
3169
3175
  video.style.setProperty("pointer-events", "none", "important");
3170
- injectedIds.push(item.videoId);
3176
+ if (!restyleOnly) injectedIds.push(item.videoId);
3171
3177
  }
3172
3178
  if (pendingDecodes.length > 0) {
3173
3179
  await Promise.all(pendingDecodes);
3174
3180
  }
3175
3181
  for (const img of imagesToPublish) img.style.visibility = "visible";
3176
- if (injectedIds.length > 0) {
3182
+ if (imagesToPublish.length > 0) {
3177
3183
  const redraw = window.__hf?.colorGrading?.redraw;
3178
3184
  redraw?.();
3179
3185
  }
3180
3186
  return injectedIds;
3181
3187
  },
3182
- // Build the sibling id with core's function rather than a template here,
3183
- // so the id the readers look up has exactly one definition.
3184
- updates.map((update) => ({ ...update, frameId: renderFrameIdForRenderId(update.videoId) })),
3188
+ items,
3185
3189
  [...MEDIA_VISUAL_STYLE_PROPERTIES],
3186
3190
  COLOR_GRADING_SOURCE_HIDDEN_ATTR
3187
3191
  );
@@ -14261,13 +14265,18 @@ function createVideoFrameInjector(frameLookup, config) {
14261
14265
  }
14262
14266
  }
14263
14267
  const updates = [];
14268
+ const restyleIds = [];
14264
14269
  const activeIds = /* @__PURE__ */ new Set();
14270
+ const isBlurSubSample = heldVideoTime !== void 0 && heldVideoTime !== time;
14265
14271
  if (activePayloads.size > 0) {
14266
14272
  const pendingReads = [];
14267
14273
  for (const [videoId, payload] of activePayloads) {
14268
14274
  activeIds.add(videoId);
14269
14275
  const lastFrameIndex = lastInjectedFrameByVideo.get(videoId);
14270
- if (lastFrameIndex === payload.frameIndex) continue;
14276
+ if (lastFrameIndex === payload.frameIndex) {
14277
+ if (!isBlurSubSample) restyleIds.push(videoId);
14278
+ continue;
14279
+ }
14271
14280
  pendingReads.push(
14272
14281
  frameCache.get(payload.framePath).then((dataUri) => ({ videoId, dataUri, frameIndex: payload.frameIndex }))
14273
14282
  );
@@ -14280,11 +14289,12 @@ function createVideoFrameInjector(frameLookup, config) {
14280
14289
  }
14281
14290
  }
14282
14291
  await syncVideoFrameVisibility(page, Array.from(activeIds));
14283
- if (updates.length > 0) {
14292
+ if (updates.length > 0 || restyleIds.length > 0) {
14284
14293
  const injectedIds = new Set(
14285
14294
  await injectVideoFramesBatch(
14286
14295
  page,
14287
- updates.map((u) => ({ videoId: u.videoId, dataUri: u.dataUri }))
14296
+ updates.map((u) => ({ videoId: u.videoId, dataUri: u.dataUri })),
14297
+ restyleIds
14288
14298
  )
14289
14299
  );
14290
14300
  for (const update of updates) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-QZ4HQQYS.js";
9
+ } from "./chunk-XNAIYEKD.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  DEFAULT_CONFIG,
18
18
  resolvePageNavigationTimeout
19
- } from "./chunk-Y63CT2ZC.js";
19
+ } from "./chunk-T2UR3T4L.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-65VFH2UV.js";
22
+ } from "./chunk-6GAYBX5C.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";