hyperframes 0.8.118 → 0.8.120

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 (160) hide show
  1. package/dist/{add-3S6KP4AK.js → add-SYG3UXKX.js} +14 -14
  2. package/dist/{animatedGifPrep-Q43TI2YV.js → animatedGifPrep-RH5AEVNX.js} +5 -5
  3. package/dist/{asset-EMLJLATM.js → asset-P6K7U3L6.js} +2 -2
  4. package/dist/{assetCataloger-Y23LGNYN.js → assetCataloger-QX37JS5D.js} +2 -2
  5. package/dist/{auth-4Z7VZPCZ.js → auth-TCX6TGIH.js} +4 -4
  6. package/dist/{autoUpdate-PGW6OY5X.js → autoUpdate-YGT7MYDU.js} +2 -2
  7. package/dist/{backgroundChecks-O6QYKWTF.js → backgroundChecks-CCDNX6P2.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-TEZOU3YE.js → batchRender-BBBUJETN.js} +3 -3
  10. package/dist/{beats-APZ6AZGK.js → beats-HNU6TRID.js} +13 -13
  11. package/dist/{benchmark-F5L6KI64.js → benchmark-UEMJYRLY.js} +11 -11
  12. package/dist/{browser-Y5BMYRTQ.js → browser-CZJK4WQR.js} +8 -8
  13. package/dist/{bundleWithLocalizedFonts-GSZWNYEA.js → bundleWithLocalizedFonts-ZLXYM43M.js} +2 -2
  14. package/dist/{capture-ZBBG543M.js → capture-4WXKXCCV.js} +8 -8
  15. package/dist/{capture-K4HV4DA6.js → capture-6NN3YJBF.js} +2 -2
  16. package/dist/{catalog-H2NX2XRP.js → catalog-G3C7EIL3.js} +14 -14
  17. package/dist/{check-CCUKKQ2W.js → check-KTYPDNJD.js} +33 -33
  18. package/dist/{checkBrowser-VGS4QPIS.js → checkBrowser-MJAN5LSM.js} +31 -31
  19. package/dist/{chunk-I47W3MA3.js → chunk-2WKWEB4T.js} +1 -1
  20. package/dist/{chunk-QJ3ODWQ3.js → chunk-4IWDF5OL.js} +4 -4
  21. package/dist/{chunk-GCARCDLC.js → chunk-4PTKEI2C.js} +1 -1
  22. package/dist/{chunk-7CXLMMUA.js → chunk-5IABQ7OX.js} +1 -1
  23. package/dist/{chunk-XJOUFF2F.js → chunk-6A332WKF.js} +11 -11
  24. package/dist/{chunk-D6YMMYSZ.js → chunk-6ZX3YCCU.js} +21 -21
  25. package/dist/{chunk-BYYKHP54.js → chunk-7N3IODU7.js} +1 -1
  26. package/dist/{chunk-WXQLHFXI.js → chunk-A45JNRYR.js} +1 -1
  27. package/dist/{chunk-YO6TVUAJ.js → chunk-B3MQEZBK.js} +1 -1
  28. package/dist/{chunk-R6BVKVII.js → chunk-BKQXLO55.js} +1 -1
  29. package/dist/{chunk-PSGDNMM6.js → chunk-BXCMXMJQ.js} +1 -1
  30. package/dist/{chunk-XI77IJXJ.js → chunk-CK2YS3E3.js} +5 -5
  31. package/dist/{chunk-KUTZBSIW.js → chunk-DL347PC3.js} +2 -2
  32. package/dist/{chunk-SVUKHYTG.js → chunk-EFC3DCJL.js} +1 -1
  33. package/dist/{chunk-WEATBQTR.js → chunk-EOVYQ3IG.js} +21 -1
  34. package/dist/{chunk-TOS2MNWW.js → chunk-FNX7RJIJ.js} +2 -2
  35. package/dist/{chunk-K4SAACM7.js → chunk-GVJMAHXQ.js} +2 -2
  36. package/dist/{chunk-DNXD7TOA.js → chunk-I465DBM6.js} +27 -12
  37. package/dist/chunk-IGLEPPTN.js +24 -0
  38. package/dist/{chunk-FQ4EMFVL.js → chunk-IJ2O4BLJ.js} +3 -3
  39. package/dist/{chunk-DA5FLVIF.js → chunk-IUBZ3DSO.js} +2 -2
  40. package/dist/{chunk-MVWXSRY6.js → chunk-JH556Q42.js} +69 -21
  41. package/dist/{chunk-CNQ565U6.js → chunk-KWABBJYI.js} +2 -2
  42. package/dist/{chunk-TLDEZQG2.js → chunk-LHU6KXWL.js} +1 -1
  43. package/dist/{chunk-JR27ESBU.js → chunk-LIPKCOYU.js} +2 -2
  44. package/dist/{chunk-DI6EGQVC.js → chunk-LJXFGHPO.js} +3 -3
  45. package/dist/{chunk-HONQFJNH.js → chunk-LP3KFEVQ.js} +92 -43
  46. package/dist/{chunk-PXHMTKFZ.js → chunk-NP5P2A2K.js} +2 -2
  47. package/dist/{chunk-N7PX6IO4.js → chunk-OI3IIR2X.js} +1 -1
  48. package/dist/{chunk-PDAPLJXH.js → chunk-OLFFCC2D.js} +1 -1
  49. package/dist/{chunk-GCPMAZQ2.js → chunk-OV62R47Q.js} +1 -1
  50. package/dist/{chunk-5AREBP56.js → chunk-OWMGDQBZ.js} +1 -1
  51. package/dist/{chunk-MWCROBLZ.js → chunk-PCL5KCT7.js} +8 -8
  52. package/dist/{chunk-OTCO5QAK.js → chunk-PPTHGZTG.js} +1 -1
  53. package/dist/{chunk-W4UNEYYH.js → chunk-QWD3NM22.js} +1 -1
  54. package/dist/chunk-SHB5VDMH.js +51 -0
  55. package/dist/chunk-SHLFJFPM.js +3541 -0
  56. package/dist/{chunk-ZRXUZ2NU.js → chunk-SVI32JAG.js} +3 -3
  57. package/dist/{chunk-UCKAUBNA.js → chunk-TOOQJPUJ.js} +5 -5
  58. package/dist/{chunk-U7FPFCI7.js → chunk-U3CILSBM.js} +1 -1
  59. package/dist/{chunk-JPRW4XXE.js → chunk-U7AMFQ6G.js} +1 -1
  60. package/dist/{chunk-FEUS6YMC.js → chunk-UDYR6TIQ.js} +7 -7
  61. package/dist/{chunk-KDI2GPBM.js → chunk-UOKW7DPN.js} +1 -1
  62. package/dist/{chunk-XJTER22X.js → chunk-V2VNJNX6.js} +1 -1
  63. package/dist/{chunk-PZ3SCTYJ.js → chunk-V5T6IA7D.js} +1 -1
  64. package/dist/{chunk-MNC2KEC6.js → chunk-WJP3UOB3.js} +1 -1
  65. package/dist/{chunk-Y523LGYR.js → chunk-WMCV6DHA.js} +2 -2
  66. package/dist/{chunk-FWZHAEIF.js → chunk-XUNOKLEJ.js} +3 -3
  67. package/dist/{chunk-RLYTIMTS.js → chunk-Y6W4DVPS.js} +4 -37
  68. package/dist/{chunk-LR4O57S2.js → chunk-YV5INYEM.js} +11 -11
  69. package/dist/{chunk-RZAXPDIT.js → chunk-ZTZ7NCJT.js} +1 -1
  70. package/dist/{clean-WWCCHAD6.js → clean-AGTDSSLO.js} +18 -18
  71. package/dist/cli.js +52 -70
  72. package/dist/{cloud-EAJRM253.js → cloud-TIKQ43CO.js} +4 -4
  73. package/dist/{cloudrun-6Q2EJYVH.js → cloudrun-OQLPEWGP.js} +3 -3
  74. package/dist/{compare-XQ6ZW7VX.js → compare-2B7W2HXM.js} +29 -29
  75. package/dist/{compiler-66K2RT7V.js → compiler-GPUSYMA6.js} +2 -2
  76. package/dist/{component-55HRN5XR.js → component-ZQIN33DC.js} +3 -3
  77. package/dist/{compositions-GHHXSBHE.js → compositions-D6JAIKFJ.js} +10 -10
  78. package/dist/{delete-EM7MGX3J.js → delete-UWZ6BBQI.js} +7 -6
  79. package/dist/{deterministicFonts-O7BTFDJU.js → deterministicFonts-ITMUXWD2.js} +2 -2
  80. package/dist/{dist-5CN37P7P.js → dist-NP53GO3N.js} +2 -2
  81. package/dist/{doctor-DQDHQZXD.js → doctor-LHUS7OQG.js} +9 -9
  82. package/dist/dotEnv-AI4SYVTX.js +39 -0
  83. package/dist/{events-Y6SCC5LR.js → events-CNSBSROB.js} +7 -7
  84. package/dist/{events-SQRZ2NYO.js → events-EA2PNDU6.js} +8 -8
  85. package/dist/{feedback-R5KCVSR5.js → feedback-RAOT4ZX6.js} +41 -17
  86. package/dist/{figma-6CHD45P2.js → figma-HHALPQPX.js} +3 -3
  87. package/dist/fontLocalizeCli.js +9 -9
  88. package/dist/{get-3T52JGUQ.js → get-2VHYWD5M.js} +7 -6
  89. package/dist/{gpuPolicy-AXT3ZIXS.js → gpuPolicy-WWBLJO6C.js} +5 -5
  90. package/dist/{grade-compare-SPWLJSY2.js → grade-compare-ZKYGIKRN.js} +25 -25
  91. package/dist/{help-ZR5MP5UU.js → help-YXXIXAVR.js} +1 -1
  92. package/dist/{history-F2MOFF25.js → history-IFZM4MIB.js} +18 -18
  93. package/dist/hyperframe-runtime.js +53 -53
  94. package/dist/hyperframe.manifest.json +1 -1
  95. package/dist/hyperframe.runtime.iife.js +53 -53
  96. package/dist/hyperframes-player.global.js +1 -1
  97. package/dist/{info-BH6XM6PU.js → info-6TZU6FRJ.js} +10 -10
  98. package/dist/{init-TFQQ54JU.js → init-5DPNU4VR.js} +21 -21
  99. package/dist/{inspect-GL35XBUV.js → inspect-LASYMXFA.js} +26 -26
  100. package/dist/{installer-CJS2BO3E.js → installer-EUT2OZTH.js} +4 -4
  101. package/dist/{keyframes-6WRSQWF3.js → keyframes-BS6D4QMB.js} +11 -11
  102. package/dist/{lambda-GWFX55EE.js → lambda-AHKA33RE.js} +4 -4
  103. package/dist/{layout-Q7GJFMWL.js → layout-HMJ5I362.js} +26 -26
  104. package/dist/{lint-AGVDEHRD.js → lint-E2DTFSA5.js} +13 -13
  105. package/dist/{list-P56UBPBI.js → list-C3CXWSEA.js} +7 -6
  106. package/dist/{login-DGA2JL24.js → login-W276LNGF.js} +6 -6
  107. package/dist/{logout-HJQT42RL.js → logout-Q654A3SI.js} +2 -2
  108. package/dist/{media-treatment-HX2PRGEN.js → media-treatment-XECAXDZD.js} +13 -13
  109. package/dist/{models-LM3OQBZK.js → models-6YWOFGV2.js} +8 -8
  110. package/dist/{motionShot-RFT7CMBB.js → motionShot-TNMJ2TNL.js} +10 -10
  111. package/dist/{normalize-audio-E3RFEHHI.js → normalize-audio-JTK53ZDZ.js} +13 -13
  112. package/dist/{pipeline-HDOQRVOB.js → pipeline-HYULUMEV.js} +5 -5
  113. package/dist/{play-2GTIXCRQ.js → play-PAJQYG2D.js} +29 -29
  114. package/dist/{preflight-UDMLHFS5.js → preflight-KJHZ46FX.js} +6 -6
  115. package/dist/{present-LF2OM7BN.js → present-TMFT5KD6.js} +18 -18
  116. package/dist/{preview-FBW5SEQD.js → preview-4HHLUOFB.js} +26 -26
  117. package/dist/{producer-X4YXKWD5.js → producer-6WPA3U6C.js} +1 -1
  118. package/dist/{projectConfig-ST22CO2D.js → projectConfig-A4DXJF4P.js} +6 -6
  119. package/dist/{publication-FZY2NLGL.js → publication-QY2H23JU.js} +2 -2
  120. package/dist/{publish-CI3UZKGR.js → publish-6RRDDVPK.js} +39 -33
  121. package/dist/{refresh-IK6LUV5Z.js → refresh-K24ETHMA.js} +2 -2
  122. package/dist/{remove-background-ZBSZ3HAG.js → remove-background-O2J7EVEN.js} +6 -6
  123. package/dist/{render-ECICJRKC.js → render-N4HBJR46.js} +27 -27
  124. package/dist/{render-PT5KRN5E.js → render-QUQJP5PP.js} +3 -3
  125. package/dist/{render-JKL6KFIS.js → render-WFBNU2KD.js} +21 -20
  126. package/dist/{render-batch-S4MKBU4I.js → render-batch-OS4UEZA4.js} +3 -3
  127. package/dist/{renderCancellation-4X2JXB54.js → renderCancellation-RWWLGOOD.js} +5 -5
  128. package/dist/{resolver-IAWRYTA6.js → resolver-IM46W362.js} +4 -4
  129. package/dist/{sherpa-CL4LNREK.js → sherpa-GCD3QEO6.js} +10 -10
  130. package/dist/{skills-F4ZESP7J.js → skills-D4HKC2WV.js} +10 -10
  131. package/dist/{skillsUpdateCheck-VRWBVQRX.js → skillsUpdateCheck-IPJRWH4Z.js} +3 -3
  132. package/dist/{snapshot-ORYO5ZGK.js → snapshot-A7BIVQUX.js} +31 -31
  133. package/dist/{src-HJYZAMBR.js → src-POL5BSEV.js} +8 -8
  134. package/dist/{src-5DVUT7WJ.js → src-QOQJLFDK.js} +4 -4
  135. package/dist/{staticProjectServer-PHOMSVUD.js → staticProjectServer-BM2TZYJY.js} +14 -14
  136. package/dist/{status-AOAHP4RA.js → status-I7R2ATRZ.js} +7 -7
  137. package/dist/studio/assets/{hyperframes-player-CnpIuNRl.js → hyperframes-player-i4gqkhjz.js} +1 -1
  138. package/dist/studio/assets/{index-BZ23-h1_.js → index-C7LHDM18.js} +1 -1
  139. package/dist/studio/assets/{index-B4SbAADe.js → index-Ce3Lr-Gt.js} +174 -174
  140. package/dist/studio/assets/{index-FeRU6G3G.js → index-uWOhRqxe.js} +1 -1
  141. package/dist/studio/index.d.ts +5 -1
  142. package/dist/studio/index.html +1 -1
  143. package/dist/studio/index.js +72 -87
  144. package/dist/studio/index.js.map +1 -1
  145. package/dist/{studio-api-HAY3XELJ.js → studio-api-GWTH7IPD.js} +8 -8
  146. package/dist/{studioServer-VZYT5MYF.js → studioServer-KB3KCVSZ.js} +40 -40
  147. package/dist/{system-U22WZ4QS.js → system-QUFWS7NN.js} +5 -5
  148. package/dist/{telemetry-CLPATL2D.js → telemetry-5WHZVQFM.js} +8 -8
  149. package/dist/{timeline-5GFZ3VTQ.js → timeline-KM5YF4WX.js} +18 -18
  150. package/dist/{tokens-MZZ4FLYN.js → tokens-VUPKFWHG.js} +2 -2
  151. package/dist/{transcribe-C6JZ3YM4.js → transcribe-4IJPHM33.js} +11 -11
  152. package/dist/{transcribe-FIRUSTL7.js → transcribe-E7RAUZ2W.js} +6 -6
  153. package/dist/{updateCheck-WOW7SP7I.js → updateCheck-JY2WCSMC.js} +2 -2
  154. package/dist/{upgrade-I54CASRP.js → upgrade-QWBPPGTJ.js} +2 -2
  155. package/dist/{urlDownloader-BK3MFIPW.js → urlDownloader-5FUUYAOT.js} +4 -4
  156. package/dist/{validate-IZNFBUOL.js → validate-5LJ6TDCF.js} +15 -15
  157. package/dist/{video-3JQY7QPM.js → video-RTC4AXZB.js} +5 -5
  158. package/package.json +1 -1
  159. package/dist/chunk-L6TT37IY.js +0 -3541
  160. package/dist/{chunk-AIYKVE4Y.js → chunk-2GKO3X7F.js} +3 -3
@@ -10,18 +10,19 @@ import {
10
10
  import {
11
11
  ambiguousIssue,
12
12
  loadBrowserScript
13
- } from "./chunk-XJOUFF2F.js";
13
+ } from "./chunk-6A332WKF.js";
14
14
  import {
15
15
  serveStaticProjectHtml
16
- } from "./chunk-ZRXUZ2NU.js";
16
+ } from "./chunk-SVI32JAG.js";
17
17
  import {
18
18
  auditClipDurations,
19
19
  shouldIgnoreHttpError,
20
20
  shouldIgnoreRequestFailure
21
- } from "./chunk-LR4O57S2.js";
21
+ } from "./chunk-YV5INYEM.js";
22
22
  import "./chunk-XUHOIDKG.js";
23
- import "./chunk-Y523LGYR.js";
24
23
  import "./chunk-X7MTZ4T2.js";
24
+ import "./chunk-WMCV6DHA.js";
25
+ import "./chunk-B3MQEZBK.js";
25
26
  import {
26
27
  AUDIT_SEEK_OPTIONS,
27
28
  DEFAULT_ZOOM_PADDING_PX,
@@ -33,56 +34,55 @@ import {
33
34
  resolveCliChromeGpuMode,
34
35
  seekCompositionTimeline,
35
36
  waitForPreferredSeekTarget
36
- } from "./chunk-UCKAUBNA.js";
37
+ } from "./chunk-TOOQJPUJ.js";
37
38
  import "./chunk-5Z63TBTX.js";
38
- import "./chunk-N7PX6IO4.js";
39
+ import "./chunk-OI3IIR2X.js";
39
40
  import "./chunk-262C25DQ.js";
40
- import "./chunk-PDAPLJXH.js";
41
+ import "./chunk-OLFFCC2D.js";
41
42
  import "./chunk-YEIFI443.js";
42
- import "./chunk-HONQFJNH.js";
43
- import "./chunk-D6YMMYSZ.js";
44
- import "./chunk-WEATBQTR.js";
45
- import "./chunk-R6BVKVII.js";
43
+ import "./chunk-IHFUKJOR.js";
44
+ import "./chunk-LP3KFEVQ.js";
45
+ import "./chunk-6ZX3YCCU.js";
46
+ import "./chunk-EOVYQ3IG.js";
47
+ import "./chunk-BKQXLO55.js";
46
48
  import {
47
49
  decideMediaProxyEligibility,
48
50
  proxyVariantFor,
49
51
  resolveProxy,
50
52
  scanProjectMediaCodecMap
51
- } from "./chunk-5AREBP56.js";
52
- import "./chunk-YO6TVUAJ.js";
53
- import "./chunk-IHFUKJOR.js";
54
- import "./chunk-PZ3SCTYJ.js";
53
+ } from "./chunk-OWMGDQBZ.js";
54
+ import "./chunk-V5T6IA7D.js";
55
55
  import "./chunk-PFCFR3KZ.js";
56
56
  import {
57
57
  resolveAutoProxy
58
- } from "./chunk-MNC2KEC6.js";
58
+ } from "./chunk-WJP3UOB3.js";
59
59
  import "./chunk-XT7X6QCP.js";
60
60
  import "./chunk-4YYJOFKS.js";
61
61
  import "./chunk-HVW7ABXD.js";
62
- import "./chunk-GCARCDLC.js";
63
- import "./chunk-TOS2MNWW.js";
64
- import "./chunk-OTCO5QAK.js";
62
+ import "./chunk-4PTKEI2C.js";
63
+ import "./chunk-FNX7RJIJ.js";
64
+ import "./chunk-PPTHGZTG.js";
65
65
  import "./chunk-AWDFDFI3.js";
66
66
  import "./chunk-P6LJ4Y32.js";
67
67
  import "./chunk-GMECXFAN.js";
68
68
  import "./chunk-TRLP3CSL.js";
69
- import "./chunk-FQ4EMFVL.js";
70
- import "./chunk-DI6EGQVC.js";
69
+ import "./chunk-IJ2O4BLJ.js";
70
+ import "./chunk-LJXFGHPO.js";
71
71
  import "./chunk-VWG7OQKU.js";
72
72
  import "./chunk-ZTZA4UWZ.js";
73
- import "./chunk-JPRW4XXE.js";
73
+ import "./chunk-U7AMFQ6G.js";
74
74
  import "./chunk-AMKC3AXA.js";
75
75
  import "./chunk-S3S4TGEH.js";
76
76
  import "./chunk-54HJ63Q2.js";
77
77
  import "./chunk-PBN6GBJE.js";
78
78
  import "./chunk-KC5XXX3X.js";
79
79
  import "./chunk-TJSTGSAW.js";
80
- import "./chunk-DA5FLVIF.js";
81
- import "./chunk-I47W3MA3.js";
80
+ import "./chunk-IUBZ3DSO.js";
81
+ import "./chunk-2WKWEB4T.js";
82
82
  import "./chunk-FSLYPQ5Z.js";
83
83
  import "./chunk-DPVXBVLL.js";
84
- import "./chunk-7CXLMMUA.js";
85
- import "./chunk-L6TT37IY.js";
84
+ import "./chunk-5IABQ7OX.js";
85
+ import "./chunk-SHLFJFPM.js";
86
86
  import "./chunk-VC76R6W2.js";
87
87
  import "./chunk-OFQWTKPW.js";
88
88
  import "./chunk-TWWSYAKJ.js";
@@ -92,12 +92,12 @@ import "./chunk-PJ3HDUCY.js";
92
92
  import "./chunk-TQFG7HTI.js";
93
93
  import "./chunk-GK4AIFIH.js";
94
94
  import "./chunk-2PSPARWP.js";
95
- import "./chunk-BYYKHP54.js";
95
+ import "./chunk-7N3IODU7.js";
96
96
  import "./chunk-K4WIOZFP.js";
97
97
  import "./chunk-XUXGIA7H.js";
98
98
  import "./chunk-WERLJGIC.js";
99
99
  import "./chunk-ISN5GRYI.js";
100
- import "./chunk-JR27ESBU.js";
100
+ import "./chunk-LIPKCOYU.js";
101
101
  import {
102
102
  normalizeErrorMessage
103
103
  } from "./chunk-KNU5COPB.js";
@@ -140,7 +140,7 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
140
140
  );
141
141
  }
142
142
  async function runBrowserCheck(project, options, motion, runGrid) {
143
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GSZWNYEA.js");
143
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZLXYM43M.js");
144
144
  const html = await bundleWithLocalizedFonts(project.dir);
145
145
  await preResolveHostileMediaProxies(project.dir, html, options.autoProxy);
146
146
  const server = await serveStaticProjectHtml(
@@ -167,7 +167,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
167
167
  await waitForPreferredSeekTarget(page);
168
168
  const rootAnchor = await resolveRootAnchor(page);
169
169
  const launchSettleMs = Date.now() - launchSettleStart;
170
- const { analyzeClipMediaFit } = await import("./src-5DVUT7WJ.js");
170
+ const { analyzeClipMediaFit } = await import("./src-QOQJLFDK.js");
171
171
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
172
172
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
173
173
  }
@@ -187,7 +187,7 @@ async function runBrowserCheck(project, options, motion, runGrid) {
187
187
  }
188
188
  async function captureFindingCrops(project, options, requests) {
189
189
  if (requests.length === 0) return [];
190
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GSZWNYEA.js");
190
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZLXYM43M.js");
191
191
  const html = await bundleWithLocalizedFonts(project.dir);
192
192
  const server = await serveStaticProjectHtml(
193
193
  project.dir,
@@ -17,7 +17,7 @@ import {
17
17
  parseStrictFiniteTimingNumber,
18
18
  resolveNaturalMediaTimelineDuration,
19
19
  resolveTimedImageDurationSeconds
20
- } from "./chunk-L6TT37IY.js";
20
+ } from "./chunk-SHLFJFPM.js";
21
21
  import {
22
22
  COMPOSITION_ATTRIBUTES,
23
23
  parseStartExpression
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-FQ4EMFVL.js";
10
+ } from "./chunk-IJ2O4BLJ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-DI6EGQVC.js";
13
+ } from "./chunk-LJXFGHPO.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
17
17
  import {
18
18
  detectAgentRuntime
19
- } from "./chunk-JPRW4XXE.js";
19
+ } from "./chunk-U7AMFQ6G.js";
20
20
  import {
21
21
  readConfig,
22
22
  writeConfig
@@ -83,7 +83,7 @@ async function maybePromptRenderFeedback(opts) {
83
83
  async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
- import("./system-U22WZ4QS.js"),
86
+ import("./system-QUFWS7NN.js"),
87
87
  import("./ffmpeg-QIUFEFTY.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemManifest,
10
10
  fetchRegistryManifest
11
- } from "./chunk-OTCO5QAK.js";
11
+ } from "./chunk-PPTHGZTG.js";
12
12
 
13
13
  // src/registry/resolver.ts
14
14
  function defaultWarn(message) {
@@ -21,7 +21,7 @@ import {
21
21
  shouldClampResolvedMediaDuration,
22
22
  stripEmbeddedRuntimeScripts,
23
23
  warnUnknownEnumValues
24
- } from "./chunk-L6TT37IY.js";
24
+ } from "./chunk-SHLFJFPM.js";
25
25
  import {
26
26
  cssVariableName
27
27
  } from "./chunk-VC76R6W2.js";
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  serveStaticProjectHtml
9
- } from "./chunk-ZRXUZ2NU.js";
9
+ } from "./chunk-SVI32JAG.js";
10
+ import {
11
+ resolveProject
12
+ } from "./chunk-B3MQEZBK.js";
10
13
  import {
11
14
  AUDIT_SEEK_OPTIONS,
12
15
  installPageFunctionGuard,
13
16
  seekCompositionTimeline,
14
17
  waitForCompositionFonts
15
- } from "./chunk-UCKAUBNA.js";
18
+ } from "./chunk-TOOQJPUJ.js";
16
19
  import {
17
20
  launchManagedBrowser,
18
21
  resolveManagedGpuMode
19
- } from "./chunk-N7PX6IO4.js";
22
+ } from "./chunk-OI3IIR2X.js";
20
23
  import {
21
24
  resolveDiagnosticNavigationTimeoutMs
22
- } from "./chunk-PDAPLJXH.js";
23
- import {
24
- resolveProject
25
- } from "./chunk-YO6TVUAJ.js";
25
+ } from "./chunk-OLFFCC2D.js";
26
26
  import {
27
27
  c
28
28
  } from "./chunk-ZTZA4UWZ.js";
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  printDeprecationNotice,
38
38
  withMeta
39
- } from "./chunk-BYYKHP54.js";
39
+ } from "./chunk-7N3IODU7.js";
40
40
  import {
41
41
  normalizeErrorMessage
42
42
  } from "./chunk-KNU5COPB.js";
@@ -669,7 +669,7 @@ async function collectTweenBoundaries(page) {
669
669
  });
670
670
  }
671
671
  async function bundleProjectHtml(projectDir) {
672
- const { bundleToSingleHtml } = await import("./compiler-66K2RT7V.js");
672
+ const { bundleToSingleHtml } = await import("./compiler-GPUSYMA6.js");
673
673
  return bundleToSingleHtml(projectDir);
674
674
  }
675
675
  async function alignViewportToComposition(page, url) {
@@ -691,8 +691,8 @@ async function alignViewportToComposition(page, url) {
691
691
  async function runLayoutAudit(projectDir, opts) {
692
692
  const { ensureBrowser } = await import("./manager-CT3D67CG.js");
693
693
  const puppeteer = await import("puppeteer-core");
694
- const { buildChromeArgs } = await import("./src-5DVUT7WJ.js");
695
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-AXT3ZIXS.js");
694
+ const { buildChromeArgs } = await import("./src-QOQJLFDK.js");
695
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalBrowserGpuMode } = await import("./gpuPolicy-WWBLJO6C.js");
696
696
  const html = await bundleProjectHtml(projectDir);
697
697
  const server = await serveStaticProjectHtml(
698
698
  projectDir,
@@ -8,7 +8,7 @@ import {
8
8
  isAllowedHtmlAttribute,
9
9
  isSafeAttributeValue,
10
10
  sanitizeRichTextChildren
11
- } from "./chunk-I47W3MA3.js";
11
+ } from "./chunk-2WKWEB4T.js";
12
12
  import {
13
13
  removeElementWithGsapCascade
14
14
  } from "./chunk-FSLYPQ5Z.js";
@@ -17,7 +17,7 @@ import {
17
17
  ensureHfIds,
18
18
  mintHfId,
19
19
  walkCompositionDescendants
20
- } from "./chunk-7CXLMMUA.js";
20
+ } from "./chunk-5IABQ7OX.js";
21
21
  import {
22
22
  require_dist
23
23
  } from "./chunk-NITBGIHR.js";
@@ -34,7 +34,7 @@ import {
34
34
  __toESM
35
35
  } from "./chunk-M2WBOQ2Q.js";
36
36
 
37
- // ../studio-server/dist/chunk-G4YB7Q2Q.js
37
+ // ../studio-server/dist/chunk-CLWFZQUU.js
38
38
  var import_postcss_selector_parser = __toESM(require_dist(), 1);
39
39
  import postcss from "postcss";
40
40
 
@@ -148,7 +148,7 @@ function findSyncPartner(el) {
148
148
  return best?.el ?? null;
149
149
  }
150
150
 
151
- // ../studio-server/dist/chunk-G4YB7Q2Q.js
151
+ // ../studio-server/dist/chunk-CLWFZQUU.js
152
152
  function parseStyleDecls(style) {
153
153
  const props = /* @__PURE__ */ new Map();
154
154
  const order = [];
@@ -338,7 +338,7 @@ function stampNewChildIds(parent) {
338
338
  el.setAttribute("data-hf-id", mintHfId(el, assigned));
339
339
  }
340
340
  }
341
- function patchElementInHtml(source, target, operations) {
341
+ function patchElementInHtml(source, target, operations, takenIds) {
342
342
  const { document, wrappedFragment } = parseSourceDocument(source);
343
343
  const el = findTargetElement(document, target);
344
344
  if (!el || !isHTMLElement(el)) return { html: source, matched: false };
@@ -378,6 +378,10 @@ function patchElementInHtml(source, target, operations) {
378
378
  opTarget.removeAttribute(op.property);
379
379
  }
380
380
  break;
381
+ case "ensure-id":
382
+ if (opTarget.getAttribute("id") || !op.value) break;
383
+ opTarget.setAttribute("id", nextUniqueId(document, op.value, takenIds));
384
+ break;
381
385
  case "text-content":
382
386
  if (op.value != null) {
383
387
  const inner = opTarget.children.length === 1 ? opTarget.firstElementChild : null;
@@ -399,8 +403,15 @@ function patchElementInHtml(source, target, operations) {
399
403
  }
400
404
  }
401
405
  const html = wrappedFragment ? document.body.innerHTML || "" : document.toString();
402
- if (html === originalHtml) return { html: source, matched: true };
403
- return { html: ensureHfIds(html), matched: true };
406
+ const elementId = htmlEl.getAttribute("id");
407
+ if (html === originalHtml) return { html: source, matched: true, elementId };
408
+ return { html: ensureHfIds(html), matched: true, elementId };
409
+ }
410
+ function nextUniqueId(document, base, takenIds) {
411
+ let id = base;
412
+ let suffix = 2;
413
+ while (document.getElementById(id) || takenIds?.has(id)) id = `${base}-${suffix++}`;
414
+ return id;
404
415
  }
405
416
  function probeElementsInSource(source, targets) {
406
417
  const { document } = parseSourceDocument(source);
@@ -437,13 +448,7 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
437
448
  if (duration <= 0 || splitTime <= start || splitTime >= start + duration) {
438
449
  return { html: source, matched: false, newId: null };
439
450
  }
440
- if (document.getElementById(newId)) {
441
- let suffix = 2;
442
- const base = newId;
443
- while (document.getElementById(newId)) {
444
- newId = `${base}-${suffix++}`;
445
- }
446
- }
451
+ newId = nextUniqueId(document, newId);
447
452
  const firstDuration = splitTime - start;
448
453
  const secondDuration = duration - firstDuration;
449
454
  const clone = el.cloneNode(true);
@@ -501,13 +506,7 @@ function setInlineLeftTop(el, left, top) {
501
506
  }
502
507
  function uniqueGroupDomId(document, groupId) {
503
508
  const base = groupId.trim().toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "") || "group";
504
- let id = base;
505
- let n = 2;
506
- while (document.getElementById(id)) {
507
- id = `${base}-${n}`;
508
- n += 1;
509
- }
510
- return id;
509
+ return nextUniqueId(document, base);
511
510
  }
512
511
  function wrapElementsInHtml(source, targets, groupId, bbox, rebases) {
513
512
  const { document, wrappedFragment } = parseSourceDocument(source);
@@ -648,6 +647,7 @@ export {
648
647
  isHTMLElement,
649
648
  dedupeClonedCompositionId,
650
649
  patchElementInHtml,
650
+ nextUniqueId,
651
651
  probeElementsInSource,
652
652
  probeElementInSource,
653
653
  splitElementInHtml,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-JR27ESBU.js";
20
+ } from "./chunk-LIPKCOYU.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -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-HJYZAMBR.js");
10
+ return await import("./src-POL5BSEV.js");
11
11
  }
12
12
 
13
13
  export {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IHFUKJOR.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-FQ4EMFVL.js";
12
+ } from "./chunk-IJ2O4BLJ.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -8,7 +8,7 @@ import {
8
8
  MAX_AUDIO_GAIN_DB,
9
9
  formatAudioGain,
10
10
  isAudibleVideoElement
11
- } from "./chunk-L6TT37IY.js";
11
+ } from "./chunk-SHLFJFPM.js";
12
12
  import {
13
13
  findFfBinary
14
14
  } from "./chunk-PJ3HDUCY.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveWritePath
9
- } from "./chunk-WEATBQTR.js";
9
+ } from "./chunk-EOVYQ3IG.js";
10
10
 
11
11
  // src/cloud/download.ts
12
12
  import {
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-GCPMAZQ2.js";
19
+ } from "./chunk-OV62R47Q.js";
20
20
  import {
21
21
  c
22
22
  } from "./chunk-ZTZA4UWZ.js";
@@ -25,24 +25,24 @@ import {
25
25
  getFreeDiskMb,
26
26
  getShmSizeMb,
27
27
  getSystemMeta
28
- } from "./chunk-JPRW4XXE.js";
28
+ } from "./chunk-U7AMFQ6G.js";
29
29
  import {
30
30
  defineCommand
31
31
  } from "./chunk-S3S4TGEH.js";
32
32
  import {
33
33
  resolveExtractCacheDir
34
- } from "./chunk-DA5FLVIF.js";
34
+ } from "./chunk-IUBZ3DSO.js";
35
35
  import {
36
36
  getUpdateMeta,
37
37
  withMeta
38
- } from "./chunk-BYYKHP54.js";
38
+ } from "./chunk-7N3IODU7.js";
39
39
  import {
40
40
  CONFIG_PATH,
41
41
  withFileLock
42
42
  } from "./chunk-XUXGIA7H.js";
43
43
  import {
44
44
  VERSION
45
- } from "./chunk-JR27ESBU.js";
45
+ } from "./chunk-LIPKCOYU.js";
46
46
  import {
47
47
  normalizeErrorMessage
48
48
  } from "./chunk-KNU5COPB.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-FQ4EMFVL.js";
10
+ } from "./chunk-IJ2O4BLJ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-DI6EGQVC.js";
13
+ } from "./chunk-LJXFGHPO.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-JR27ESBU.js";
9
+ } from "./chunk-LIPKCOYU.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -34,7 +34,7 @@ function createFileAtomically(filePath, content, operations = fs) {
34
34
  } catch (error) {
35
35
  if (!NO_HARD_LINKS.has(errorCode(error)))
36
36
  throw error;
37
- operations.writeFileSync(filePath, content, { flag: "wx" });
37
+ createDirectly(filePath, content, operations);
38
38
  }
39
39
  try {
40
40
  operations.unlinkSync(tempPath);
@@ -43,6 +43,26 @@ function createFileAtomically(filePath, content, operations = fs) {
43
43
  }
44
44
  });
45
45
  }
46
+ function createDirectly(filePath, content, operations) {
47
+ const fd = operations.openSync(filePath, "wx");
48
+ let open = true;
49
+ try {
50
+ operations.writeFileSync(fd, content);
51
+ open = false;
52
+ operations.closeSync(fd);
53
+ } catch (error) {
54
+ try {
55
+ if (open)
56
+ operations.closeSync(fd);
57
+ } catch {
58
+ }
59
+ try {
60
+ operations.unlinkSync(filePath);
61
+ } catch {
62
+ }
63
+ throw error;
64
+ }
65
+ }
46
66
  function resolveWritePath(filePath) {
47
67
  let path = resolve(filePath);
48
68
  for (let hop = 0; hop < MAX_LINK_HOPS; hop++) {
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-OTCO5QAK.js";
11
+ } from "./chunk-PPTHGZTG.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-GMECXFAN.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-I47W3MA3.js";
18
+ } from "./chunk-2WKWEB4T.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-DA5FLVIF.js";
11
+ } from "./chunk-IUBZ3DSO.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-I47W3MA3.js";
14
+ } from "./chunk-2WKWEB4T.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-GK4AIFIH.js";
@@ -51,6 +51,16 @@ var ErrRefreshFailed = (detail) => new AuthError(
51
51
  detail ? `Failed to refresh OAuth tokens: ${detail}` : "Failed to refresh OAuth tokens",
52
52
  "Run `hyperframes auth login` to re-authenticate."
53
53
  );
54
+ var ErrLoginExpired = () => new AuthError(
55
+ "LOGIN_EXPIRED",
56
+ "Your HeyGen login expired",
57
+ "Run `hyperframes auth login` to sign in again."
58
+ );
59
+ var ErrLoginChanged = () => new AuthError(
60
+ "LOGIN_CHANGED",
61
+ "Your HeyGen login changed while this command ran",
62
+ "Run the command again."
63
+ );
54
64
  var ErrDeviceAuthFailed = (detail) => new AuthError(
55
65
  "DEVICE_AUTH_FAILED",
56
66
  `Device authorization failed: ${detail}`,
@@ -461,14 +471,12 @@ async function resolveCredential(opts = {}) {
461
471
  const { credentials, source } = await readStore();
462
472
  if (source === "absent") throw ErrNotConfigured();
463
473
  const fileSource = source === "file_legacy" ? "file_legacy" : "file_json";
464
- if (credentials.oauth) {
465
- const oauth = pickOAuth(credentials.oauth, now, fileSource);
466
- if (oauth) return oauth;
467
- }
474
+ const oauth = credentials.oauth ? pickOAuth(credentials.oauth, now, fileSource) : null;
475
+ if (oauth) return oauth;
468
476
  if (credentials.api_key) {
469
477
  return { type: "api_key", key: credentials.api_key, source: fileSource };
470
478
  }
471
- throw ErrNotConfigured();
479
+ throw credentials.oauth ? ErrLoginExpired() : ErrNotConfigured();
472
480
  }
473
481
  async function tryResolveCredential(opts = {}) {
474
482
  try {
@@ -482,7 +490,7 @@ async function tryResolveCredential(opts = {}) {
482
490
  }
483
491
  function pickOAuth(tokens, now, source) {
484
492
  const expiresAt = parseDate(tokens.expires_at);
485
- const expired = expiresAt !== void 0 && expiresAt.getTime() - EXPIRY_SKEW_MS < now.getTime();
493
+ const expired = isTokenExpired(expiresAt, now);
486
494
  if (expired && !tokens.refresh_token) return null;
487
495
  const out = {
488
496
  type: "oauth",
@@ -495,6 +503,9 @@ function pickOAuth(tokens, now, source) {
495
503
  if (tokens.scope) out.scope = tokens.scope;
496
504
  return out;
497
505
  }
506
+ function isTokenExpired(expiresAt, now) {
507
+ return expiresAt !== void 0 && expiresAt.getTime() - EXPIRY_SKEW_MS < now.getTime();
508
+ }
498
509
  function parseDate(s) {
499
510
  if (!s) return void 0;
500
511
  const d = new Date(s);
@@ -736,7 +747,7 @@ async function startAuthorizationCodeFlow(opts = {}) {
736
747
  verifier: pkce.verifier,
737
748
  fetchImpl: opts.fetchImpl
738
749
  });
739
- await persistOAuth(tokens, { preserveMissing: false });
750
+ await persistOAuth(tokens);
740
751
  return { tokens };
741
752
  }
742
753
  async function startDeviceAuthorizationFlow(opts = {}) {
@@ -884,7 +895,7 @@ async function refreshTokens(refresh_token, opts = {}) {
884
895
  }
885
896
  const payload = await readJsonOrThrow(res);
886
897
  const tokens = parseTokenResponse(payload);
887
- await persistOAuth(tokens, { preserveMissing: true });
898
+ await persistOAuth(tokens, { refreshed: refresh_token });
888
899
  return tokens;
889
900
  }
890
901
  async function revokeTokens(token, opts = {}) {
@@ -1009,15 +1020,18 @@ function numericField(obj, key) {
1009
1020
  }
1010
1021
  return void 0;
1011
1022
  }
1012
- async function persistOAuth(tokens, opts) {
1023
+ async function persistOAuth(tokens, opts = {}) {
1013
1024
  let existing = {};
1014
1025
  try {
1015
1026
  const { credentials } = await readStore();
1016
1027
  existing = credentials;
1017
- } catch {
1018
- existing = {};
1028
+ } catch (err) {
1029
+ if (opts.refreshed !== void 0) throw err;
1030
+ }
1031
+ if (opts.refreshed !== void 0 && existing.oauth?.refresh_token !== opts.refreshed) {
1032
+ throw ErrLoginChanged();
1019
1033
  }
1020
- const oauth = opts.preserveMissing ? { ...existing.oauth, ...tokens } : { ...tokens };
1034
+ const oauth = opts.refreshed !== void 0 ? { ...existing.oauth, ...tokens } : { ...tokens };
1021
1035
  await writeStore({ ...existing, oauth });
1022
1036
  }
1023
1037
  async function persistVerifiedOAuthSession(tokens, user) {
@@ -1190,6 +1204,7 @@ export {
1190
1204
  isHeaderSafe,
1191
1205
  resolveCredential,
1192
1206
  tryResolveCredential,
1207
+ isTokenExpired,
1193
1208
  assertOAuthConfiguredOrExit,
1194
1209
  startAuthorizationCodeFlow,
1195
1210
  startDeviceAuthorizationFlow,