hyperframes 0.8.219 → 0.8.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/{add-2MXC4QCY.js → add-7CVO7K6M.js} +14 -11
  2. package/dist/{agentPromptGenerator-FIT75HWJ.js → agentPromptGenerator-YFC2SJLF.js} +6 -6
  3. package/dist/{animatedGifPrep-MFUNECD3.js → animatedGifPrep-YSMY5GU2.js} +6 -6
  4. package/dist/api.js +16 -16
  5. package/dist/{asset-T6BI53SJ.js → asset-ZVKHSO3M.js} +2 -2
  6. package/dist/{assetCataloger-DP4SHXWI.js → assetCataloger-6IBSEOK7.js} +7 -7
  7. package/dist/{audio-SRQLO7BP.js → audio-JUV3TVSW.js} +14 -13
  8. package/dist/{auth-JONDB26P.js → auth-2J6FP462.js} +2 -2
  9. package/dist/{autoUpdate-YKJOOXCI.js → autoUpdate-ML6EZK6D.js} +2 -2
  10. package/dist/{backgroundChecks-GSTIIVNR.js → backgroundChecks-MAWP2REX.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-ESAPNTE3.js → batchRender-Z7MGNJZH.js} +3 -3
  13. package/dist/{beats-OOVMTM4B.js → beats-LRZOZUUQ.js} +8 -8
  14. package/dist/{benchmark-WBFYHOSI.js → benchmark-XJWLDTIL.js} +8 -8
  15. package/dist/{browser-AZZAO24H.js → browser-STEVEWWA.js} +4 -4
  16. package/dist/{bundleWithLocalizedFonts-GP4MD6DJ.js → bundleWithLocalizedFonts-WH63ZWUT.js} +2 -2
  17. package/dist/{capture-MGRV5VWE.js → capture-U3ZT3GNI.js} +12 -12
  18. package/dist/{capture-PN7GEEAB.js → capture-VB5ID7HT.js} +3 -3
  19. package/dist/{captureCompositionFrame-JYGGPKFZ.js → captureCompositionFrame-MXJ3WO2R.js} +11 -11
  20. package/dist/{catalog-D42NLFZT.js → catalog-ICGHSRPZ.js} +12 -11
  21. package/dist/{catch-up-TUL26VOB.js → catch-up-DJPQKXQB.js} +4 -4
  22. package/dist/{check-DBBH7DI3.js → check-TL7AGWPO.js} +39 -38
  23. package/dist/{checkAudio-UJ7XTDRD.js → checkAudio-GPTU6EGB.js} +9 -9
  24. package/dist/{checkBrowser-3YIZYXIR.js → checkBrowser-FG5DAW2R.js} +31 -30
  25. package/dist/{chunk-NP2QEAEW.js → chunk-2ZNURTH5.js} +9 -9
  26. package/dist/{chunk-ILCIWNPQ.js → chunk-322M35EB.js} +3 -3
  27. package/dist/{chunk-DWMI7CKI.js → chunk-3PJ3HVLG.js} +1 -1
  28. package/dist/{chunk-IGZHC55Z.js → chunk-3STL4WJ6.js} +72 -32
  29. package/dist/{chunk-3KDODK5M.js → chunk-4ZM727AO.js} +2 -2
  30. package/dist/{chunk-DMUDI5IH.js → chunk-5YT2KHPO.js} +2 -2
  31. package/dist/{chunk-473HMKSC.js → chunk-625I5VBE.js} +2 -2
  32. package/dist/{chunk-WUABYDXU.js → chunk-67CALYTU.js} +1 -1
  33. package/dist/{chunk-DOZGTBDV.js → chunk-6HKUUBAV.js} +2 -2
  34. package/dist/{chunk-LIWBGRPD.js → chunk-6YW3FEHC.js} +3 -3
  35. package/dist/{chunk-XXLG7GCA.js → chunk-74E7EHVH.js} +1 -1
  36. package/dist/{chunk-LJUFR7G5.js → chunk-7DVR3DL3.js} +7 -7
  37. package/dist/{chunk-2UT32TJS.js → chunk-AW7A27JM.js} +1 -1
  38. package/dist/{chunk-TCV7N2UY.js → chunk-AZI2T2KO.js} +1 -1
  39. package/dist/{chunk-5UIODBMI.js → chunk-AZXDEC2G.js} +1 -1
  40. package/dist/{chunk-FWWJRJB5.js → chunk-BQNTY7J5.js} +1 -1
  41. package/dist/{chunk-BT5UT4XT.js → chunk-D2RQVJLZ.js} +2 -2
  42. package/dist/{chunk-G2E2DHH2.js → chunk-DMCU2ELU.js} +3 -3
  43. package/dist/{chunk-OWV36OJP.js → chunk-DS372VSV.js} +2 -5
  44. package/dist/{chunk-GP5X7V6U.js → chunk-F6WHVEUS.js} +1 -1
  45. package/dist/{chunk-G7ZTD2KJ.js → chunk-FKPJP7KG.js} +5 -5
  46. package/dist/{chunk-BKHRAHV6.js → chunk-GSCFMG4C.js} +2 -2
  47. package/dist/{chunk-QE5JXNSW.js → chunk-H3HC6U4I.js} +10 -10
  48. package/dist/{chunk-U2EUCTYQ.js → chunk-HSHKLYDI.js} +3 -3
  49. package/dist/{chunk-XUOLKUE7.js → chunk-I45R2REQ.js} +1 -1
  50. package/dist/{chunk-FAIFPYRO.js → chunk-IDWJJ7PP.js} +1 -1
  51. package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
  52. package/dist/{chunk-KENUKJRG.js → chunk-JGZUG5V4.js} +2 -2
  53. package/dist/{chunk-BRU66Q24.js → chunk-KQPP4NIZ.js} +2 -2
  54. package/dist/{chunk-33XQUQKN.js → chunk-L63FJVSC.js} +1 -1
  55. package/dist/{chunk-MHZB6QSC.js → chunk-LYZB5CJN.js} +13 -3
  56. package/dist/{chunk-3VIICMJF.js → chunk-M2BCU4Y5.js} +1 -1
  57. package/dist/{chunk-YXZ56JUN.js → chunk-M2F6VGCP.js} +48 -15
  58. package/dist/{chunk-UGDLT4LZ.js → chunk-MEB6HWBM.js} +2 -2
  59. package/dist/{chunk-AU7VGKCP.js → chunk-MXVH6UW6.js} +1 -1
  60. package/dist/{chunk-UWV753SJ.js → chunk-MYNBV7WG.js} +9 -2
  61. package/dist/{chunk-C2G23WQQ.js → chunk-MYXFBIJO.js} +1 -1
  62. package/dist/{chunk-CBZN5JIK.js → chunk-NQOCM4KQ.js} +3 -3
  63. package/dist/{chunk-RYBFHEMZ.js → chunk-NYOQP6DO.js} +1 -1
  64. package/dist/{chunk-CPKBAMI3.js → chunk-O7WR4AHX.js} +14 -14
  65. package/dist/{chunk-K5GGTJJV.js → chunk-OMLDAF44.js} +1 -1
  66. package/dist/{chunk-64MFJSGZ.js → chunk-OOEOJPFY.js} +2 -2
  67. package/dist/{chunk-576ATOOU.js → chunk-OPKSVV4G.js} +2 -2
  68. package/dist/{chunk-KUQOUWJ4.js → chunk-P6FGS4U6.js} +2 -2
  69. package/dist/chunk-Q3PPGPEA.js +5061 -0
  70. package/dist/{chunk-KK5MZQXG.js → chunk-QLQVQQP6.js} +3 -3
  71. package/dist/{chunk-LGMRZWJS.js → chunk-QYUXDFJY.js} +1 -1
  72. package/dist/{chunk-O7YOS36L.js → chunk-ROVRC3CG.js} +2 -2
  73. package/dist/{chunk-XUTPVELE.js → chunk-RVCWVOXM.js} +3 -3
  74. package/dist/{chunk-UR6L2DXM.js → chunk-RVIMLJXC.js} +13 -13
  75. package/dist/{chunk-YATFRFNH.js → chunk-S5GOFDX5.js} +1 -1
  76. package/dist/{chunk-VTLIN7XN.js → chunk-SAKL7SZH.js} +2 -2
  77. package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
  78. package/dist/{chunk-GGDVZ7O4.js → chunk-TMK3MW7B.js} +10 -10
  79. package/dist/{chunk-UDBW6TK4.js → chunk-TNQCXU37.js} +1 -1
  80. package/dist/{chunk-4OWVRHSV.js → chunk-TVT465RJ.js} +5 -5
  81. package/dist/{chunk-VO7IEWOH.js → chunk-U6WH572X.js} +7 -7
  82. package/dist/{chunk-FC7QIE5X.js → chunk-UNQ3CVKW.js} +19 -19
  83. package/dist/{chunk-543U46OR.js → chunk-US4BCRYB.js} +5 -0
  84. package/dist/chunk-WYKRGEDD.js +62 -0
  85. package/dist/{chunk-GLC5XHN5.js → chunk-XC3BGWCJ.js} +3 -44
  86. package/dist/{chunk-JH2AO4ZW.js → chunk-XDTCPMR3.js} +1 -1
  87. package/dist/{chunk-LJB2PF6K.js → chunk-XETZLYGW.js} +1 -1
  88. package/dist/{chunk-542VETC5.js → chunk-Y4GLFHO5.js} +1 -1
  89. package/dist/{chunk-Z537IJJH.js → chunk-YISDQ7YP.js} +4 -4
  90. package/dist/{chunk-BRYOYBO5.js → chunk-YKMFCE5B.js} +1 -1
  91. package/dist/{chunk-7ZRXSZF6.js → chunk-YSZ4VMXI.js} +1 -1
  92. package/dist/{chunk-VP5KECBU.js → chunk-YV2QQUTL.js} +2 -2
  93. package/dist/{chunk-GHWV6PIS.js → chunk-Z7YQEDA5.js} +1 -1
  94. package/dist/{chunk-QEKP7XCN.js → chunk-ZBLSSWSE.js} +1 -1
  95. package/dist/{chunk-TNQ4SSTR.js → chunk-ZKPRJPWN.js} +8 -8
  96. package/dist/{chunk-3MTNYVWM.js → chunk-ZOLKM3VZ.js} +5 -5
  97. package/dist/{clean-YERX334S.js → clean-3NMJWZXK.js} +19 -19
  98. package/dist/cli.js +62 -60
  99. package/dist/{cloud-5XFWROJK.js → cloud-CB3NYNUR.js} +4 -4
  100. package/dist/{cloudrun-5XEDIP77.js → cloudrun-2CTKCIXV.js} +4 -4
  101. package/dist/commands/layout-audit.browser.js +29 -5
  102. package/dist/commands/motion-signature.browser.js +11 -6
  103. package/dist/{compare-THYM62NL.js → compare-FVY3AMTT.js} +28 -27
  104. package/dist/{compiler-SLKHXYCO.js → compiler-SEQRWEEN.js} +3 -3
  105. package/dist/{component-N4FFNYA5.js → component-AEMJRROX.js} +3 -3
  106. package/dist/{compositions-XCM3Z65K.js → compositions-NRBSIBGZ.js} +10 -10
  107. package/dist/{delete-6PIKDOKV.js → delete-T4E53ELR.js} +2 -2
  108. package/dist/{deploy-PT77AP6G.js → deploy-PUF2DW3H.js} +1 -1
  109. package/dist/{dist-VNOJCTQR.js → dist-B6C3DU6I.js} +2 -2
  110. package/dist/{dist-XXBCSQYF.js → dist-VARV35QH.js} +1 -1
  111. package/dist/docs/motion-blur.md +28 -0
  112. package/dist/{docs-6EM6FDNI.js → docs-VAF5NM5B.js} +4 -0
  113. package/dist/{doctor-KLDSXKUM.js → doctor-FVBU575B.js} +13 -13
  114. package/dist/{events-OHISH3KL.js → events-DZ5PRR6F.js} +2 -2
  115. package/dist/{events-KEJFQQDQ.js → events-RSPDI7FX.js} +3 -3
  116. package/dist/{feedback-VTLWYGLQ.js → feedback-AALA3OA7.js} +7 -7
  117. package/dist/{ffmpeg-SG3AYA6M.js → ffmpeg-YXKE5CUE.js} +6 -6
  118. package/dist/{figma-5AHFOYPG.js → figma-37R727XZ.js} +3 -3
  119. package/dist/fontLocalizeCli.js +9 -9
  120. package/dist/{get-5VTBUZIR.js → get-L3VKJ6JF.js} +2 -2
  121. package/dist/{gpuPolicy-ODODH5JV.js → gpuPolicy-6QIFFWAI.js} +6 -6
  122. package/dist/{grade-compare-25HQJORH.js → grade-compare-7IN5QDJD.js} +29 -28
  123. package/dist/{heifImagePrep-SPBGWX2L.js → heifImagePrep-AWII25PM.js} +7 -7
  124. package/dist/{help-3AZ4ZSWZ.js → help-B4MB7MWW.js} +1 -1
  125. package/dist/{history-KZFZ2MJI.js → history-TQO6AWEQ.js} +7 -7
  126. package/dist/hyperframe.manifest.json +1 -1
  127. package/dist/hyperframe.runtime.iife.js +67 -67
  128. package/dist/hyperframes-player.global.js +1 -1
  129. package/dist/{info-XNYSD2SN.js → info-7CBHVXSG.js} +7 -7
  130. package/dist/{init-C76MX2UE.js → init-D7HKPQ5A.js} +27 -26
  131. package/dist/{inspect-OWDJTC64.js → inspect-VHDQL55M.js} +29 -28
  132. package/dist/{installer-OFIDWMYR.js → installer-EJNLL6SV.js} +4 -4
  133. package/dist/{keyframes-ZBIWACNT.js → keyframes-IFLBMAJP.js} +6 -6
  134. package/dist/{lambda-XS3E4XSL.js → lambda-I7EQULHC.js} +10 -10
  135. package/dist/{layout-HLU3IVDX.js → layout-MOCEANRO.js} +29 -28
  136. package/dist/{lint-DUJ5PM56.js → lint-HFXGSQKN.js} +7 -7
  137. package/dist/{lintProject-I4XPWIQZ.js → lintProject-VCDI6A2W.js} +1 -1
  138. package/dist/{list-KRDQLHDH.js → list-OFYIXVON.js} +2 -2
  139. package/dist/{localPage-KXNSCQIQ.js → localPage-QOOQ5YA2.js} +6 -6
  140. package/dist/{login-4P7LCOB5.js → login-WAG7B4PM.js} +4 -4
  141. package/dist/{manager-USFB6SE2.js → manager-34U5CEFB.js} +7 -7
  142. package/dist/{manager-I4ROBMYK.js → manager-ENFYM32B.js} +1 -1
  143. package/dist/{media-treatment-JOZB3MTT.js → media-treatment-2TLX6NKS.js} +12 -12
  144. package/dist/{models-RZRXHIER.js → models-M2F4WTAR.js} +10 -10
  145. package/dist/{motionShot-3SHLRT3L.js → motionShot-6WCTCV4W.js} +15 -15
  146. package/dist/{normalize-audio-SL2ATLJM.js → normalize-audio-T6PIPWOT.js} +8 -8
  147. package/dist/{open-TCGY4NB2.js → open-BC5METIY.js} +12 -11
  148. package/dist/{parakeetRunner-ZBO4LR7M.js → parakeetRunner-UXVY7PV2.js} +11 -11
  149. package/dist/{pipeline-7D36B3FW.js → pipeline-GJAJPWPB.js} +9 -9
  150. package/dist/{play-CTBPJFBX.js → play-UCIRUHCU.js} +20 -19
  151. package/dist/{preflight-GFWIOUO3.js → preflight-GVRYYIH5.js} +8 -8
  152. package/dist/{present-GXOHUNFP.js → present-46QLZOK4.js} +15 -15
  153. package/dist/{preview-BWCEXEII.js → preview-HWXMP7WL.js} +23 -21
  154. package/dist/{producer-UME4Q4HH.js → producer-2PBHUE5O.js} +1 -1
  155. package/dist/{projectConfig-I6QNMRVV.js → projectConfig-C4S3LBBX.js} +7 -6
  156. package/dist/{publication-JET7ZBWG.js → publication-GESNVVMS.js} +2 -2
  157. package/dist/{publish-ZGW46SKV.js → publish-IBY26S3T.js} +11 -10
  158. package/dist/{remove-background-YSJ7XFPQ.js → remove-background-3OBWOHVZ.js} +10 -10
  159. package/dist/{render-QFIWTDK3.js → render-3F6GQ5WW.js} +14 -14
  160. package/dist/{render-33TSTTN7.js → render-LSI5WXS7.js} +5 -5
  161. package/dist/{render-Q2VLJGFV.js → render-SR5RISLU.js} +36 -35
  162. package/dist/{render-batch-SDDZ3LM7.js → render-batch-HV4W3PZM.js} +5 -5
  163. package/dist/renderSetupWorker.js +2 -2
  164. package/dist/{resolver-VLOUQ7I6.js → resolver-R5X3HAPE.js} +5 -4
  165. package/dist/{sherpa-YKK3LRSI.js → sherpa-2Q6U4ZFY.js} +10 -10
  166. package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -10
  167. package/dist/skills/media-use/scripts/lib/adopt.test.mjs +22 -0
  168. package/dist/{skills-5ENIWSB2.js → skills-FSGXQSHA.js} +5 -5
  169. package/dist/{skillsUpdateCheck-7GDJNW5A.js → skillsUpdateCheck-UW6643XX.js} +3 -3
  170. package/dist/{snapshot-O3JXB3VM.js → snapshot-HFPB34Y7.js} +62 -39
  171. package/dist/{src-6T5KES5G.js → src-ROWFWCEN.js} +5 -5
  172. package/dist/{src-MT7UQJT5.js → src-VMTQQUUP.js} +8 -8
  173. package/dist/{staticProjectServer-UP22EGMU.js → staticProjectServer-4TGZJIWN.js} +18 -17
  174. package/dist/{status-63BKLDVW.js → status-4AAPTTRW.js} +2 -2
  175. package/dist/studio/assets/{hyperframes-player-B83GGznX.js → hyperframes-player-B_wvwarc.js} +1 -1
  176. package/dist/studio/assets/{index-B9gVTopE.js → index-BDE7dwov.js} +6 -6
  177. package/dist/studio/assets/{index-Ca_tSAqR.js → index-D0jGq2dS.js} +1 -1
  178. package/dist/studio/index.html +1 -1
  179. package/dist/{studio-api-Q6KSNU77.js → studio-api-TSHXVZ6R.js} +9 -9
  180. package/dist/{studioSelectionClient-D6VMGTKQ.js → studioSelectionClient-FA6XPVIL.js} +1 -1
  181. package/dist/{studioServer-44OR56TK.js → studioServer-74ZBLNP2.js} +52 -57
  182. package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
  183. package/dist/{telemetry-2N7DLYCQ.js → telemetry-3NDLZOPR.js} +3 -3
  184. package/dist/{timeline-MT56A3HB.js → timeline-5IFZJU7M.js} +20 -19
  185. package/dist/{tokens-V6O4I5IX.js → tokens-UFNPQVLS.js} +2 -2
  186. package/dist/{transcribe-GGV4YEF3.js → transcribe-7KQAUHEN.js} +9 -9
  187. package/dist/{transcribe-ZCJ6WB6R.js → transcribe-NAXKBIPW.js} +15 -15
  188. package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
  189. package/dist/{updateCheck-ZBBUGX3A.js → updateCheck-KDSFL3XX.js} +2 -2
  190. package/dist/{upgrade-L7SM3TPB.js → upgrade-EXX4C35N.js} +2 -2
  191. package/dist/{urlDownloader-HTBT6K5N.js → urlDownloader-4UFCIAPH.js} +5 -5
  192. package/dist/{validate-WXKYRV2E.js → validate-QYOHY3N6.js} +22 -22
  193. package/dist/{video-JH5WQC2I.js → video-HRL3V2R5.js} +7 -7
  194. package/dist/warmCheck.js +39 -38
  195. package/package.json +1 -1
  196. package/dist/chunk-4I7KQWZS.js +0 -5061
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-LGMRZWJS.js";
18
+ } from "./chunk-QYUXDFJY.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-KENUKJRG.js";
21
+ } from "./chunk-JGZUG5V4.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-YXZ56JUN.js";
27
+ } from "./chunk-M2F6VGCP.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
391
391
  }
392
392
  async function probeMedia(inputPath) {
393
393
  const isImage = inferInputKind(inputPath) === "image";
394
- const engine = await import("./src-6T5KES5G.js");
394
+ const engine = await import("./src-ROWFWCEN.js");
395
395
  const meta = await engine.extractMediaMetadata(inputPath);
396
396
  if (isImage) {
397
397
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-YATFRFNH.js";
15
+ } from "./chunk-S5GOFDX5.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-J3RXEDR2.js";
25
25
  import {
26
26
  VERSION
27
- } from "./chunk-DMUDI5IH.js";
27
+ } from "./chunk-5YT2KHPO.js";
28
28
 
29
29
  // src/utils/updateCheck.ts
30
30
  import { existsSync, readFileSync } from "fs";
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-YXZ56JUN.js";
11
+ } from "./chunk-M2F6VGCP.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-AU7VGKCP.js";
17
+ } from "./chunk-MXVH6UW6.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-AU7VGKCP.js";
13
+ } from "./chunk-MXVH6UW6.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-BLBMPEBX.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-DMUDI5IH.js";
46
+ } from "./chunk-5YT2KHPO.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-LIWBGRPD.js";
22
+ } from "./chunk-6YW3FEHC.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-O7YOS36L.js";
35
+ } from "./chunk-ROVRC3CG.js";
36
36
  import {
37
37
  HistoryBusyError,
38
38
  MAX_WINDOW_IDLE_MS,
@@ -70,11 +70,11 @@ import {
70
70
  scanProjectMedia,
71
71
  shouldPrewarmProxy,
72
72
  waitForProxy
73
- } from "./chunk-KUQOUWJ4.js";
73
+ } from "./chunk-P6FGS4U6.js";
74
74
  import {
75
75
  probeAudioTrack,
76
76
  probeMediaMetadata
77
- } from "./chunk-JH2AO4ZW.js";
77
+ } from "./chunk-XDTCPMR3.js";
78
78
  import {
79
79
  STUDIO_MOTION_PATH,
80
80
  createStudioMotionRenderBodyScript,
@@ -115,7 +115,7 @@ import {
115
115
  ensureHfIds,
116
116
  stampHfIdsInPlace,
117
117
  stripSdrPngColourTags
118
- } from "./chunk-3KDODK5M.js";
118
+ } from "./chunk-4ZM727AO.js";
119
119
  import {
120
120
  GSAP_BASE_URL_META,
121
121
  PREVIEW_PROXY_BOX_PARAM,
@@ -132,7 +132,7 @@ import {
132
132
  normalizeGsapLocalRoot,
133
133
  parseFps,
134
134
  parsePreviewProxyBox
135
- } from "./chunk-AU7VGKCP.js";
135
+ } from "./chunk-MXVH6UW6.js";
136
136
  import {
137
137
  AFTER_FONTS_SCRIPT_TYPE,
138
138
  RUNTIME_BOOTSTRAP_ATTR,
@@ -147,7 +147,7 @@ import {
147
147
  resolveRateSpec,
148
148
  sourceTimeAt,
149
149
  stripEmbeddedRuntimeScripts
150
- } from "./chunk-4I7KQWZS.js";
150
+ } from "./chunk-Q3PPGPEA.js";
151
151
  import {
152
152
  ProjectRootMissingError,
153
153
  folderGone,
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5592
5592
  let block = extractGsapScriptBlock(html);
5593
5593
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5594
5594
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5595
- const { GSAP_CDN } = await import("./dist-VNOJCTQR.js");
5595
+ const { GSAP_CDN } = await import("./dist-B6C3DU6I.js");
5596
5596
  const bootstrap = [
5597
5597
  `<script src="${GSAP_CDN}"></script>`,
5598
5598
  "<script>",
@@ -14,28 +14,28 @@ import {
14
14
  } from "./chunk-VZBJ5BQF.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-GHWV6PIS.js";
17
+ } from "./chunk-Z7YQEDA5.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-YXZ56JUN.js";
22
+ } from "./chunk-M2F6VGCP.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-AU7VGKCP.js";
27
+ } from "./chunk-MXVH6UW6.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-4I7KQWZS.js";
34
+ } from "./chunk-Q3PPGPEA.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
38
- } from "./chunk-MHZB6QSC.js";
38
+ } from "./chunk-LYZB5CJN.js";
39
39
  import {
40
40
  resolveAuthoredAssetFile
41
41
  } from "./chunk-PBNWRWKA.js";
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-VO7IEWOH.js";
10
- import "./chunk-Z27A7NUB.js";
11
- import "./chunk-5ETJX6WM.js";
12
- import "./chunk-UGDLT4LZ.js";
9
+ } from "./chunk-U6WH572X.js";
10
+ import "./chunk-SHOE3UR6.js";
11
+ import "./chunk-J3OVTOVC.js";
12
+ import "./chunk-MEB6HWBM.js";
13
13
  import "./chunk-Y65ZU7XY.js";
14
14
  import "./chunk-6BEFEWFB.js";
15
- import "./chunk-LGMRZWJS.js";
15
+ import "./chunk-QYUXDFJY.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-542VETC5.js";
19
- import "./chunk-TNQ4SSTR.js";
20
- import "./chunk-LIWBGRPD.js";
18
+ } from "./chunk-Y4GLFHO5.js";
19
+ import "./chunk-ZKPRJPWN.js";
20
+ import "./chunk-6YW3FEHC.js";
21
21
  import "./chunk-VZBJ5BQF.js";
22
- import "./chunk-O7YOS36L.js";
22
+ import "./chunk-ROVRC3CG.js";
23
23
  import {
24
24
  DEFAULT_HISTORY_ROOT,
25
25
  listProjectHistories,
@@ -29,8 +29,8 @@ import {
29
29
  import {
30
30
  CACHE_DIR_NAME,
31
31
  cleanupProxyCache
32
- } from "./chunk-KUQOUWJ4.js";
33
- import "./chunk-JH2AO4ZW.js";
32
+ } from "./chunk-P6FGS4U6.js";
33
+ import "./chunk-XDTCPMR3.js";
34
34
  import "./chunk-ALVXFXUG.js";
35
35
  import {
36
36
  formatBytes
@@ -52,27 +52,27 @@ import {
52
52
  directorySizeBytes,
53
53
  gcExtractionCache,
54
54
  resolveExtractCacheDir
55
- } from "./chunk-YXZ56JUN.js";
55
+ } from "./chunk-M2F6VGCP.js";
56
56
  import "./chunk-Z5J67X44.js";
57
57
  import "./chunk-5S7W3TUO.js";
58
58
  import "./chunk-D3MUHMFG.js";
59
- import "./chunk-3KDODK5M.js";
59
+ import "./chunk-4ZM727AO.js";
60
60
  import "./chunk-YWRUQ7XZ.js";
61
- import "./chunk-AU7VGKCP.js";
62
- import "./chunk-4I7KQWZS.js";
61
+ import "./chunk-MXVH6UW6.js";
62
+ import "./chunk-Q3PPGPEA.js";
63
63
  import "./chunk-VC76R6W2.js";
64
64
  import "./chunk-OFQWTKPW.js";
65
65
  import "./chunk-RQVDTPGD.js";
66
66
  import "./chunk-3GXQPCJC.js";
67
67
  import "./chunk-TK7THLRO.js";
68
68
  import "./chunk-FXMKHHPO.js";
69
- import "./chunk-G7ZTD2KJ.js";
69
+ import "./chunk-FKPJP7KG.js";
70
70
  import "./chunk-X6JUUQCM.js";
71
71
  import "./chunk-KGPLIH7B.js";
72
72
  import "./chunk-LAGZGKKN.js";
73
73
  import "./chunk-K4MJX7SR.js";
74
74
  import "./chunk-WE42NVH7.js";
75
- import "./chunk-MHZB6QSC.js";
75
+ import "./chunk-LYZB5CJN.js";
76
76
  import "./chunk-CZGHFATT.js";
77
77
  import "./chunk-BIROA7JM.js";
78
78
  import "./chunk-PBNWRWKA.js";
@@ -87,7 +87,7 @@ import "./chunk-WC4MTXGN.js";
87
87
  import "./chunk-FBN2M2HK.js";
88
88
  import {
89
89
  withMeta
90
- } from "./chunk-7ZRXSZF6.js";
90
+ } from "./chunk-YSZ4VMXI.js";
91
91
  import "./chunk-BR2JQQC5.js";
92
92
  import "./chunk-BLBMPEBX.js";
93
93
  import "./chunk-ISN5GRYI.js";
@@ -97,7 +97,7 @@ import {
97
97
  } from "./chunk-DP5LF7GF.js";
98
98
  import "./chunk-J3RXEDR2.js";
99
99
  import "./chunk-QBXDU24O.js";
100
- import "./chunk-DMUDI5IH.js";
100
+ import "./chunk-5YT2KHPO.js";
101
101
  import "./chunk-E63BDV4Z.js";
102
102
  import "./chunk-G7VEYUZ2.js";
103
103
  import "./chunk-XT6MXC7A.js";
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-4VYPICIA.js";
11
11
  import {
12
12
  resolveExtraPositionals
13
- } from "./chunk-OWV36OJP.js";
13
+ } from "./chunk-DS372VSV.js";
14
14
  import "./chunk-K4WKGXRC.js";
15
15
  import {
16
16
  isRenderSucceeded,
@@ -19,10 +19,8 @@ import {
19
19
  } from "./chunk-UBDO4EHA.js";
20
20
  import {
21
21
  assertKnownFlags,
22
- closestMatch,
23
- guardSwallowedFlagValues,
24
- synonymMatch
25
- } from "./chunk-GLC5XHN5.js";
22
+ guardSwallowedFlagValues
23
+ } from "./chunk-XC3BGWCJ.js";
26
24
  import {
27
25
  defineCommand
28
26
  } from "./chunk-DL4OD7IA.js";
@@ -30,6 +28,10 @@ import {
30
28
  parseArgs,
31
29
  runCommand
32
30
  } from "./chunk-S3S4TGEH.js";
31
+ import {
32
+ closestMatch,
33
+ synonymMatch
34
+ } from "./chunk-WYKRGEDD.js";
33
35
  import {
34
36
  getRunId
35
37
  } from "./chunk-54HJ63Q2.js";
@@ -55,7 +57,7 @@ import {
55
57
  import "./chunk-J3RXEDR2.js";
56
58
  import {
57
59
  VERSION
58
- } from "./chunk-DMUDI5IH.js";
60
+ } from "./chunk-5YT2KHPO.js";
59
61
  import "./chunk-G7VEYUZ2.js";
60
62
  import "./chunk-XT6MXC7A.js";
61
63
  import "./chunk-7KDQAD2W.js";
@@ -109,7 +111,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
109
111
  }
110
112
  async function reportCommandFailure(command2, err) {
111
113
  try {
112
- const { trackCommandFailure } = await import("./events-KEJFQQDQ.js");
114
+ const { trackCommandFailure } = await import("./events-RSPDI7FX.js");
113
115
  trackCommandFailure(command2, err);
114
116
  } catch {
115
117
  }
@@ -209,55 +211,55 @@ async function assertStudioWorkspaceBuilt() {
209
211
  });
210
212
  }
211
213
  var commandLoaders = {
212
- init: () => import("./init-C76MX2UE.js").then((m) => m.default),
213
- add: () => import("./add-2MXC4QCY.js").then((m) => m.default),
214
- catalog: () => import("./catalog-D42NLFZT.js").then((m) => m.default),
214
+ init: () => import("./init-D7HKPQ5A.js").then((m) => m.default),
215
+ add: () => import("./add-7CVO7K6M.js").then((m) => m.default),
216
+ catalog: () => import("./catalog-ICGHSRPZ.js").then((m) => m.default),
215
217
  "media-use": () => import("./media-use-ZNTB7W6N.js").then((m) => m.default),
216
- play: () => import("./play-CTBPJFBX.js").then((m) => m.default),
217
- present: () => import("./present-GXOHUNFP.js").then((m) => m.default),
218
- preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-BWCEXEII.js").then((m) => m.default)),
219
- publish: () => import("./publish-ZGW46SKV.js").then((m) => m.default),
220
- open: () => import("./open-TCGY4NB2.js").then((m) => m.default),
221
- "catch-up": () => import("./catch-up-TUL26VOB.js").then((m) => m.default),
222
- render: () => import("./render-Q2VLJGFV.js").then((m) => m.default),
223
- lint: () => import("./lint-DUJ5PM56.js").then((m) => m.default),
224
- check: () => import("./check-DBBH7DI3.js").then((m) => m.default),
225
- beats: () => import("./beats-OOVMTM4B.js").then((m) => m.default),
226
- audio: () => import("./audio-SRQLO7BP.js").then((m) => m.default),
227
- "normalize-audio": () => import("./normalize-audio-SL2ATLJM.js").then((m) => m.default),
228
- inspect: () => import("./inspect-OWDJTC64.js").then((m) => m.default),
229
- keyframes: () => import("./keyframes-ZBIWACNT.js").then((m) => m.default),
230
- layout: () => import("./layout-HLU3IVDX.js").then((m) => m.default),
231
- info: () => import("./info-XNYSD2SN.js").then((m) => m.default),
232
- compositions: () => import("./compositions-XCM3Z65K.js").then((m) => m.default),
233
- timeline: () => import("./timeline-MT56A3HB.js").then((m) => m.default),
234
- history: () => import("./history-KZFZ2MJI.js").then((m) => m.default),
235
- benchmark: () => import("./benchmark-WBFYHOSI.js").then((m) => m.default),
236
- browser: () => import("./browser-AZZAO24H.js").then((m) => m.default),
237
- "remove-background": () => import("./remove-background-YSJ7XFPQ.js").then((m) => m.default),
238
- transcribe: () => import("./transcribe-ZCJ6WB6R.js").then((m) => m.default),
218
+ play: () => import("./play-UCIRUHCU.js").then((m) => m.default),
219
+ present: () => import("./present-46QLZOK4.js").then((m) => m.default),
220
+ preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-HWXMP7WL.js").then((m) => m.default)),
221
+ publish: () => import("./publish-IBY26S3T.js").then((m) => m.default),
222
+ open: () => import("./open-BC5METIY.js").then((m) => m.default),
223
+ "catch-up": () => import("./catch-up-DJPQKXQB.js").then((m) => m.default),
224
+ render: () => import("./render-SR5RISLU.js").then((m) => m.default),
225
+ lint: () => import("./lint-HFXGSQKN.js").then((m) => m.default),
226
+ check: () => import("./check-TL7AGWPO.js").then((m) => m.default),
227
+ beats: () => import("./beats-LRZOZUUQ.js").then((m) => m.default),
228
+ audio: () => import("./audio-JUV3TVSW.js").then((m) => m.default),
229
+ "normalize-audio": () => import("./normalize-audio-T6PIPWOT.js").then((m) => m.default),
230
+ inspect: () => import("./inspect-VHDQL55M.js").then((m) => m.default),
231
+ keyframes: () => import("./keyframes-IFLBMAJP.js").then((m) => m.default),
232
+ layout: () => import("./layout-MOCEANRO.js").then((m) => m.default),
233
+ info: () => import("./info-7CBHVXSG.js").then((m) => m.default),
234
+ compositions: () => import("./compositions-NRBSIBGZ.js").then((m) => m.default),
235
+ timeline: () => import("./timeline-5IFZJU7M.js").then((m) => m.default),
236
+ history: () => import("./history-TQO6AWEQ.js").then((m) => m.default),
237
+ benchmark: () => import("./benchmark-XJWLDTIL.js").then((m) => m.default),
238
+ browser: () => import("./browser-STEVEWWA.js").then((m) => m.default),
239
+ "remove-background": () => import("./remove-background-3OBWOHVZ.js").then((m) => m.default),
240
+ transcribe: () => import("./transcribe-NAXKBIPW.js").then((m) => m.default),
239
241
  usage: () => import("./usage-772JV45U.js").then((m) => m.default),
240
- models: () => import("./models-RZRXHIER.js").then((m) => m.default),
241
- tts: () => import("./tts-MQNOBHLH.js").then((m) => m.default),
242
- docs: () => import("./docs-6EM6FDNI.js").then((m) => m.default),
243
- doctor: () => import("./doctor-KLDSXKUM.js").then((m) => m.default),
244
- clean: () => import("./clean-YERX334S.js").then((m) => m.default),
245
- upgrade: () => import("./upgrade-L7SM3TPB.js").then((m) => m.default),
246
- skills: () => import("./skills-5ENIWSB2.js").then((m) => m.default),
247
- feedback: () => import("./feedback-VTLWYGLQ.js").then((m) => m.default),
242
+ models: () => import("./models-M2F4WTAR.js").then((m) => m.default),
243
+ tts: () => import("./tts-BVTJEP72.js").then((m) => m.default),
244
+ docs: () => import("./docs-VAF5NM5B.js").then((m) => m.default),
245
+ doctor: () => import("./doctor-FVBU575B.js").then((m) => m.default),
246
+ clean: () => import("./clean-3NMJWZXK.js").then((m) => m.default),
247
+ upgrade: () => import("./upgrade-EXX4C35N.js").then((m) => m.default),
248
+ skills: () => import("./skills-FSGXQSHA.js").then((m) => m.default),
249
+ feedback: () => import("./feedback-AALA3OA7.js").then((m) => m.default),
248
250
  telemetry: () => import("./telemetry-QHYJJAJU.js").then((m) => m.default),
249
- events: () => import("./events-OHISH3KL.js").then((m) => m.default),
250
- validate: () => import("./validate-WXKYRV2E.js").then((m) => m.default),
251
- snapshot: () => import("./snapshot-O3JXB3VM.js").then((m) => m.default),
252
- "media-treatment": () => import("./media-treatment-JOZB3MTT.js").then((m) => m.mediaTreatmentCommand),
253
- "grade-compare": () => import("./grade-compare-25HQJORH.js").then((m) => m.default),
254
- compare: () => import("./compare-THYM62NL.js").then((m) => m.default),
255
- capture: () => import("./capture-PN7GEEAB.js").then((m) => m.default),
256
- lambda: () => import("./lambda-XS3E4XSL.js").then((m) => m.default),
257
- cloudrun: () => import("./cloudrun-5XEDIP77.js").then((m) => m.default),
258
- cloud: () => import("./cloud-5XFWROJK.js").then((m) => m.default),
259
- auth: () => import("./auth-JONDB26P.js").then((m) => m.default),
260
- figma: () => import("./figma-5AHFOYPG.js").then((m) => m.default)
251
+ events: () => import("./events-DZ5PRR6F.js").then((m) => m.default),
252
+ validate: () => import("./validate-QYOHY3N6.js").then((m) => m.default),
253
+ snapshot: () => import("./snapshot-HFPB34Y7.js").then((m) => m.default),
254
+ "media-treatment": () => import("./media-treatment-2TLX6NKS.js").then((m) => m.mediaTreatmentCommand),
255
+ "grade-compare": () => import("./grade-compare-7IN5QDJD.js").then((m) => m.default),
256
+ compare: () => import("./compare-FVY3AMTT.js").then((m) => m.default),
257
+ capture: () => import("./capture-VB5ID7HT.js").then((m) => m.default),
258
+ lambda: () => import("./lambda-I7EQULHC.js").then((m) => m.default),
259
+ cloudrun: () => import("./cloudrun-2CTKCIXV.js").then((m) => m.default),
260
+ cloud: () => import("./cloud-CB3NYNUR.js").then((m) => m.default),
261
+ auth: () => import("./auth-2J6FP462.js").then((m) => m.default),
262
+ figma: () => import("./figma-37R727XZ.js").then((m) => m.default)
261
263
  };
262
264
  process.argv = [
263
265
  ...process.argv.slice(0, 2),
@@ -287,7 +289,7 @@ var _printStalePinNotice;
287
289
  var _printSkillsUpdateNotice;
288
290
  var telemetryReady = Promise.resolve();
289
291
  if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
290
- telemetryReady = import("./telemetry-2N7DLYCQ.js").then((mod) => {
292
+ telemetryReady = import("./telemetry-3NDLZOPR.js").then((mod) => {
291
293
  _flushSync = mod.flushSync;
292
294
  _trackCliError = mod.trackCliError;
293
295
  _trackCommandResult = mod.trackCommandResult;
@@ -298,24 +300,24 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
298
300
  }
299
301
  if (!isHelp && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
300
302
  if (!hasJsonFlag) {
301
- import("./autoUpdate-YKJOOXCI.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
303
+ import("./autoUpdate-ML6EZK6D.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
302
304
  });
303
- import("./updateCheck-ZBBUGX3A.js").then(async (mod) => {
305
+ import("./updateCheck-KDSFL3XX.js").then(async (mod) => {
304
306
  _printUpdateNotice = mod.printUpdateNotice;
305
307
  _printStalePinNotice = mod.printStalePinNotice;
306
308
  const result = mod.cachedUpdateCheck();
307
309
  if (result.updateAvailable) {
308
- const auto = await import("./autoUpdate-YKJOOXCI.js").catch(() => null);
310
+ const auto = await import("./autoUpdate-ML6EZK6D.js").catch(() => null);
309
311
  auto?.scheduleBackgroundInstall(result.latest, result.current);
310
312
  }
311
313
  }).catch(() => {
312
314
  });
313
315
  }
314
- import("./skillsUpdateCheck-7GDJNW5A.js").then((mod) => {
316
+ import("./skillsUpdateCheck-UW6643XX.js").then((mod) => {
315
317
  _printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
316
318
  }).catch(() => {
317
319
  });
318
- import("./backgroundChecks-GSTIIVNR.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
320
+ import("./backgroundChecks-MAWP2REX.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
319
321
  });
320
322
  }
321
323
  var _appHistoryNotice = null;
@@ -440,7 +442,7 @@ process.on("unhandledRejection", (reason) => {
440
442
  emitCliErrorEvent("unhandled_rejection", error);
441
443
  });
442
444
  async function showUsage(cmd, parent, print) {
443
- const { showUsage: impl } = await import("./help-3AZ4ZSWZ.js");
445
+ const { showUsage: impl } = await import("./help-B4MB7MWW.js");
444
446
  return impl(cmd, parent, print);
445
447
  }
446
448
  async function unknownCommandError(requested) {
@@ -60,10 +60,10 @@ ${c.bold("AUTH:")}
60
60
  var cloud_default = defineCommand({
61
61
  meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
62
62
  subCommands: {
63
- render: () => import("./render-QFIWTDK3.js").then((m) => m.default),
64
- list: () => import("./list-KRDQLHDH.js").then((m) => m.default),
65
- get: () => import("./get-5VTBUZIR.js").then((m) => m.default),
66
- delete: () => import("./delete-6PIKDOKV.js").then((m) => m.default)
63
+ render: () => import("./render-3F6GQ5WW.js").then((m) => m.default),
64
+ list: () => import("./list-OFYIXVON.js").then((m) => m.default),
65
+ get: () => import("./get-L3VKJ6JF.js").then((m) => m.default),
66
+ delete: () => import("./delete-T4E53ELR.js").then((m) => m.default)
67
67
  },
68
68
  async run({ args }) {
69
69
  if (!args._?.[0]) console.log(HELP);
@@ -15,12 +15,12 @@ import {
15
15
  reportVariableIssues,
16
16
  resolveVariablesArg,
17
17
  validateVariablesAgainstProject
18
- } from "./chunk-K5GGTJJV.js";
18
+ } from "./chunk-OMLDAF44.js";
19
19
  import "./chunk-ZBAF6L74.js";
20
20
  import "./chunk-XFMO3BEN.js";
21
21
  import {
22
22
  defaultCloudFps
23
- } from "./chunk-GHWV6PIS.js";
23
+ } from "./chunk-Z7YQEDA5.js";
24
24
  import "./chunk-5ZBMHUY2.js";
25
25
  import {
26
26
  defineCommand
@@ -32,8 +32,8 @@ import {
32
32
  import {
33
33
  DISTRIBUTED_FPS,
34
34
  isDistributedFps
35
- } from "./chunk-AU7VGKCP.js";
36
- import "./chunk-4I7KQWZS.js";
35
+ } from "./chunk-MXVH6UW6.js";
36
+ import "./chunk-Q3PPGPEA.js";
37
37
  import "./chunk-VC76R6W2.js";
38
38
  import "./chunk-OFQWTKPW.js";
39
39
  import "./chunk-RQVDTPGD.js";
@@ -1605,22 +1605,46 @@
1605
1605
  return false;
1606
1606
  }
1607
1607
 
1608
+ const COMPOSITION_HOST = "[data-composition-src], [data-composition-id], [data-composition-file]";
1609
+
1608
1610
  // The global window [start, end) the element's own timed clip is on screen, or null when any timing
1609
- // up the chain is not a plain number. Only composition hosts shift their children's clock.
1611
+ // up the chain is not a plain number. Each timed composition host moves its children's clock to its
1612
+ // start minus its in-point, and an in-point host cuts them to its own slot (startResolver.ts).
1613
+ function nonNegativeNumber(value) {
1614
+ const number = value === null || value.trim() === "" ? NaN : Number(value);
1615
+ return Number.isFinite(number) && number >= 0 ? number : null;
1616
+ }
1617
+
1610
1618
  function clipLifetime(element) {
1611
1619
  const own = element.closest("[data-start]");
1612
1620
  if (!own) return null;
1613
1621
  const start = Number(own.getAttribute("data-start"));
1614
1622
  const duration = Number(own.getAttribute("data-duration"));
1615
1623
  if (!Number.isFinite(start) || !(duration > 0)) return null;
1616
- let offset = 0;
1624
+ const hosts = [];
1617
1625
  for (let host = own.parentElement; host; host = host.parentElement) {
1618
- if (!host.hasAttribute("data-composition-id") || !host.hasAttribute("data-start")) continue;
1626
+ if (host.matches(COMPOSITION_HOST) && host.hasAttribute("data-start")) hosts.unshift(host);
1627
+ }
1628
+ let offset = 0;
1629
+ let cutStart = -Infinity;
1630
+ let cutEnd = Infinity;
1631
+ for (const host of hosts) {
1619
1632
  const hostStart = Number(host.getAttribute("data-start"));
1620
1633
  if (!Number.isFinite(hostStart)) return null;
1621
- offset += hostStart;
1634
+ const inPoint =
1635
+ nonNegativeNumber(host.getAttribute("data-playback-start")) ??
1636
+ nonNegativeNumber(host.getAttribute("data-media-start")) ??
1637
+ 0;
1638
+ if (inPoint > 0) {
1639
+ const hostEnd = Number(host.getAttribute("data-end"));
1640
+ const hostDuration = Number(host.getAttribute("data-duration")) || hostEnd - hostStart;
1641
+ cutStart = Math.max(cutStart, offset + hostStart);
1642
+ if (hostDuration > 0) cutEnd = Math.min(cutEnd, offset + hostStart + hostDuration);
1643
+ }
1644
+ offset += hostStart - inPoint;
1622
1645
  }
1623
- return { start: start + offset, end: start + duration + offset };
1646
+ const from = Math.max(start + offset, cutStart);
1647
+ return { start: from, end: Math.max(from, Math.min(start + duration + offset, cutEnd)) };
1624
1648
  }
1625
1649
 
1626
1650
  // text_occluded: atomic labels flag at any hit; prose needs coveredFraction >= proseCoverageFloor (default 0.15).
@@ -6,6 +6,8 @@
6
6
  (function () {
7
7
  const IGNORE_TAGS = new Set(["SCRIPT", "STYLE", "TEMPLATE", "NOSCRIPT", "META", "LINK"]);
8
8
  const MEDIA_TAGS = new Set(["CANVAS", "VIDEO", "IMG"]);
9
+ const COARSE_MEDIA_SAMPLE_SIDE = 8;
10
+ const LIVENESS_MEDIA_SAMPLE_SIDE = 32;
9
11
  const FNV_OFFSET_BASIS = 2166136261;
10
12
  const FNV_PRIME = 16777619;
11
13
  const LIVENESS_POSITION_BUCKET_PX = 2;
@@ -221,9 +223,10 @@
221
223
  }
222
224
 
223
225
  // Pixel-only media motion (canvas repaint, playing video, same-size <img> swap) is invisible to DOM channels,
224
- // so fold in an 8x8 downsample. Unreadable media hashes to a constant; iframe media is a separate document.
226
+ // so fold in a downsample: fine for liveness (a small sprite moving), coarse for the frozen-sweep guard,
227
+ // which a wall-clock repaint between seeks would fool. Unreadable media hashes to a constant.
225
228
  // fallow-ignore-next-line complexity
226
- function mediaPixelChannel(element) {
229
+ function mediaPixelChannel(element, ctx) {
227
230
  if (!MEDIA_TAGS.has(element.tagName)) return "";
228
231
  try {
229
232
  const rect = element.getBoundingClientRect();
@@ -231,12 +234,14 @@
231
234
  const sourceHeight = element.videoHeight || element.height || rect.height;
232
235
  if (!sourceWidth || !sourceHeight) return "x";
233
236
  const off = document.createElement("canvas");
234
- off.width = 8;
235
- off.height = 8;
237
+ const side = ctx && ctx.quantize ? LIVENESS_MEDIA_SAMPLE_SIDE : COARSE_MEDIA_SAMPLE_SIDE;
238
+ off.width = side;
239
+ off.height = side;
236
240
  const ctx2d = off.getContext("2d");
237
241
  if (!ctx2d) return "x";
238
- ctx2d.drawImage(element, 0, 0, 8, 8);
239
- const data = ctx2d.getImageData(0, 0, 8, 8).data;
242
+ if (side === LIVENESS_MEDIA_SAMPLE_SIDE) ctx2d.imageSmoothingQuality = "high";
243
+ ctx2d.drawImage(element, 0, 0, side, side);
244
+ const data = ctx2d.getImageData(0, 0, side, side).data;
240
245
  let hash = 0;
241
246
  for (let i = 0; i < data.length; i++) hash = (hash * 31 + data[i]) >>> 0;
242
247
  return String(hash);