hyperframes 0.8.214 → 0.8.216

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 (213) hide show
  1. package/dist/{add-U2N4ZWNB.js → add-2RWN7JAI.js} +17 -14
  2. package/dist/{agentPromptGenerator-EK7NEFV6.js → agentPromptGenerator-RVE5RWTH.js} +7 -6
  3. package/dist/{animatedGifPrep-X3FLFGCC.js → animatedGifPrep-I32BS5HI.js} +7 -6
  4. package/dist/api.js +18 -17
  5. package/dist/{asset-3CSXQ7JI.js → asset-YLZ5UGVE.js} +2 -2
  6. package/dist/{assetCataloger-FG2VTSSR.js → assetCataloger-B4KOZO3V.js} +8 -7
  7. package/dist/{audio-US7IUDFM.js → audio-VUOJ7MOJ.js} +177 -61
  8. package/dist/{auth-IMXNGPGR.js → auth-3UL65CN7.js} +4 -4
  9. package/dist/{autoUpdate-IGZP5HIX.js → autoUpdate-FEK5AHLP.js} +4 -3
  10. package/dist/{backgroundChecks-UGU6SRCU.js → backgroundChecks-VJSQ3REH.js} +5 -4
  11. package/dist/backgroundChecksWorker.js +6 -5
  12. package/dist/{batchRender-5JS4SAGR.js → batchRender-NC6SUDYN.js} +3 -3
  13. package/dist/{beats-2F7ZW7QB.js → beats-KSUZ23LE.js} +23 -17
  14. package/dist/{benchmark-Y25FBDO7.js → benchmark-TRVQ7EPQ.js} +14 -11
  15. package/dist/{browser-43AS35ZL.js → browser-3LJ3SLQ4.js} +10 -7
  16. package/dist/{bundleWithLocalizedFonts-6VHTVRO3.js → bundleWithLocalizedFonts-Y7VGIRFK.js} +2 -2
  17. package/dist/{capture-N5AMWY4S.js → capture-NC5OO4D2.js} +3 -3
  18. package/dist/{capture-CMP4DHPY.js → capture-NT2SOO5J.js} +15 -14
  19. package/dist/{captureCompositionFrame-PQT4GNR2.js → captureCompositionFrame-PAJRNURH.js} +13 -12
  20. package/dist/{catalog-SZPWUZ75.js → catalog-BOGZ2BQD.js} +18 -15
  21. package/dist/{catch-up-OYYHR2UB.js → catch-up-FGF5SAEW.js} +10 -7
  22. package/dist/{check-MBW4AYV6.js → check-IG6NIMSC.js} +43 -40
  23. package/dist/{checkAudio-DIJNBWAF.js → checkAudio-6B2FKTIU.js} +11 -10
  24. package/dist/{checkBrowser-NYBDUAT2.js → checkBrowser-D6MZRCTH.js} +36 -33
  25. package/dist/{chunk-3AAAA3KH.js → chunk-2JV6FKNZ.js} +3 -3
  26. package/dist/{chunk-7YUYG6S6.js → chunk-3AOXAXTA.js} +1 -1
  27. package/dist/{chunk-6LDHXB4Z.js → chunk-3F2DTPBD.js} +3 -2
  28. package/dist/{chunk-HVQDDVN4.js → chunk-3S2WWGJJ.js} +2 -2
  29. package/dist/{chunk-7W4DJKZA.js → chunk-43USF7JF.js} +11 -11
  30. package/dist/{chunk-EJCCJTUH.js → chunk-4EEVTNDU.js} +3 -3
  31. package/dist/{chunk-ZMKRQ4HE.js → chunk-4MWUMT3T.js} +2 -2
  32. package/dist/chunk-4WEWHZZO.js +24 -0
  33. package/dist/{chunk-S6WDNIUG.js → chunk-4YIKQM4K.js} +1 -1
  34. package/dist/{chunk-GSYZG4E7.js → chunk-557ZJMFI.js} +2 -2
  35. package/dist/{chunk-BRTWBGFE.js → chunk-5XTOAZMR.js} +1 -1
  36. package/dist/{chunk-QL7ITOPE.js → chunk-6HJUC2VX.js} +3 -3
  37. package/dist/{chunk-6UUPTWUG.js → chunk-6LQL2BVD.js} +1 -1
  38. package/dist/{chunk-YDHXPY23.js → chunk-7P76YIVS.js} +1 -1
  39. package/dist/{chunk-URD4QIQS.js → chunk-7RPXLY6U.js} +1 -1
  40. package/dist/{chunk-DFQM3XMK.js → chunk-ACAU2AK2.js} +4 -4
  41. package/dist/{chunk-HQRI2NT3.js → chunk-BHWXSO6T.js} +1 -1
  42. package/dist/{chunk-K4WIOZFP.js → chunk-BR2JQQC5.js} +3 -5
  43. package/dist/{chunk-FQO3RV6O.js → chunk-BTYR7Y3Z.js} +2 -2
  44. package/dist/{chunk-G7CFMNRO.js → chunk-BYHG2T5X.js} +2 -2
  45. package/dist/{chunk-G6HUXX3L.js → chunk-CBCZBHGK.js} +4 -2
  46. package/dist/{chunk-ENV35BSH.js → chunk-CX4TSC7T.js} +96 -35
  47. package/dist/{chunk-WJRYQYOM.js → chunk-DFA5GTRJ.js} +1 -1
  48. package/dist/{chunk-GFA5ZCVI.js → chunk-DYHAZFK3.js} +7 -3
  49. package/dist/{chunk-VAOROEWU.js → chunk-EB44YMQO.js} +2 -2
  50. package/dist/{chunk-MP7DZH5M.js → chunk-EJTVBW42.js} +2 -2
  51. package/dist/{chunk-32NEJ553.js → chunk-FBN2M2HK.js} +28 -0
  52. package/dist/{chunk-VEWR5HXT.js → chunk-FUSUFW2L.js} +1 -1
  53. package/dist/{chunk-L72RQ45A.js → chunk-G3AG7A42.js} +1 -1
  54. package/dist/{chunk-FKFGGAXN.js → chunk-GLC5XHN5.js} +13 -0
  55. package/dist/{chunk-XM3NMXLX.js → chunk-GTKUQUZ6.js} +1 -1
  56. package/dist/{chunk-HNYTTRLR.js → chunk-I3VXWMQW.js} +4 -4
  57. package/dist/chunk-IVRKWQTX.js +5061 -0
  58. package/dist/{chunk-TNKPBI63.js → chunk-JFFQWMNE.js} +5 -5
  59. package/dist/{chunk-I5LDGNYX.js → chunk-JOZQFSOV.js} +1 -1
  60. package/dist/{chunk-JMSS47CW.js → chunk-KBTXAUCZ.js} +1 -1
  61. package/dist/{chunk-7Y4TTOLE.js → chunk-KYXBPFI7.js} +7 -5
  62. package/dist/{chunk-5766TK7Q.js → chunk-LAGZGKKN.js} +1 -1
  63. package/dist/{chunk-MGUA3DUS.js → chunk-LGZP4IR2.js} +3 -3
  64. package/dist/{chunk-VC6GEQ7P.js → chunk-MKL6JGDL.js} +34 -29
  65. package/dist/{chunk-LRYNDYAE.js → chunk-MO6DJMZP.js} +1 -1
  66. package/dist/{chunk-LBS4AS7G.js → chunk-MU66MHZB.js} +2 -2
  67. package/dist/{chunk-3ZNAP65U.js → chunk-MYHAS5U2.js} +13 -17
  68. package/dist/{chunk-6CGYINE7.js → chunk-NOH32H42.js} +25 -0
  69. package/dist/{chunk-VW57BBGU.js → chunk-NWYJZAPP.js} +1 -1
  70. package/dist/{chunk-QCCPXMKP.js → chunk-OFJTXNRS.js} +2 -2
  71. package/dist/{chunk-MZHYAXUV.js → chunk-OPLEWQHF.js} +1 -1
  72. package/dist/{chunk-53ERMOK2.js → chunk-OWU2BURB.js} +2 -2
  73. package/dist/{chunk-UR6QODTY.js → chunk-PNE2Y42T.js} +1 -1
  74. package/dist/{chunk-VVDHSRKD.js → chunk-PPMLF76Z.js} +1 -1
  75. package/dist/chunk-PXVQOMKL.js +39 -0
  76. package/dist/{chunk-4HMG5CQJ.js → chunk-Q3OKLJ34.js} +1 -1
  77. package/dist/chunk-QBXDU24O.js +20 -0
  78. package/dist/{chunk-ISTUBRV3.js → chunk-QETCWXRM.js} +5 -5
  79. package/dist/{chunk-4NJ57TSE.js → chunk-QGMRSNG5.js} +8 -4
  80. package/dist/{chunk-ZE57TSS6.js → chunk-QRIC4WOO.js} +1 -1
  81. package/dist/{chunk-FJ646TIT.js → chunk-R4EWRIDL.js} +161 -21
  82. package/dist/{chunk-YLEEVMBV.js → chunk-RH5Y75UX.js} +2 -2
  83. package/dist/{chunk-VILE6GFD.js → chunk-RIGQABEL.js} +1 -1
  84. package/dist/{chunk-245CC6JT.js → chunk-RKS7GO4O.js} +1 -1
  85. package/dist/{chunk-XESW4XN7.js → chunk-RN7RQBW3.js} +2 -2
  86. package/dist/{chunk-GVHEOOGM.js → chunk-ROUK3OL2.js} +7 -7
  87. package/dist/{chunk-GRCS7WRH.js → chunk-RXQU3QM4.js} +9 -9
  88. package/dist/{chunk-YQCDSSIK.js → chunk-SBBYMUWY.js} +1 -1
  89. package/dist/{chunk-7J6LQ3SQ.js → chunk-SGTEKMJW.js} +19 -4
  90. package/dist/{chunk-PT47MVXR.js → chunk-SPFTXNKQ.js} +20 -15
  91. package/dist/{chunk-T6SMQ4L7.js → chunk-TBEU55KU.js} +1 -1
  92. package/dist/{chunk-FI3JWR34.js → chunk-TQSKEMSL.js} +48 -9
  93. package/dist/{chunk-XWMY7FIW.js → chunk-U54ZBLTF.js} +2 -2
  94. package/dist/{chunk-Q55JNFDV.js → chunk-UGQFQDSV.js} +1 -1
  95. package/dist/{chunk-A7UJGIMA.js → chunk-UIETUYFT.js} +1 -1
  96. package/dist/{chunk-CATLCEDQ.js → chunk-UJEEURID.js} +13 -13
  97. package/dist/{chunk-TYMD647L.js → chunk-URUUGFZD.js} +2 -2
  98. package/dist/{chunk-MYDM4PQL.js → chunk-USQTLRSD.js} +2 -2
  99. package/dist/{chunk-7TWX4Y7I.js → chunk-UVXIJYZY.js} +3 -15
  100. package/dist/{chunk-FC6BAQV5.js → chunk-VDFY4FE5.js} +12 -11
  101. package/dist/{chunk-A3ZRV44X.js → chunk-VPA5YKEY.js} +2 -2
  102. package/dist/{chunk-LIOE46OG.js → chunk-VZENYSX7.js} +90 -9
  103. package/dist/{chunk-DW35FX4I.js → chunk-X5EOH44V.js} +1 -1
  104. package/dist/{chunk-KSV2PMFA.js → chunk-YT4DR2UT.js} +7 -7
  105. package/dist/{chunk-ZXQNWUDY.js → chunk-Z4W7ND2L.js} +7 -7
  106. package/dist/{chunk-LWWTOBZ6.js → chunk-ZRK7ZEWI.js} +3 -3
  107. package/dist/{clean-RDKZTFDC.js → clean-WPLBDRSW.js} +20 -19
  108. package/dist/cli.js +61 -59
  109. package/dist/{cloud-2MGM3NSJ.js → cloud-VMSG2SJB.js} +4 -4
  110. package/dist/{cloudrun-YQONSO6B.js → cloudrun-AXB4G6X2.js} +4 -4
  111. package/dist/commands/layout-audit.browser.js +37 -0
  112. package/dist/{compare-HAMCTSXR.js → compare-NVW3E74E.js} +33 -30
  113. package/dist/{compiler-YUM2ODOP.js → compiler-GHX7QLHL.js} +2 -2
  114. package/dist/{component-2MDTLX6B.js → component-ZQAP7CBI.js} +3 -3
  115. package/dist/{compositions-EEXADRKF.js → compositions-FKHNCB6H.js} +15 -12
  116. package/dist/{delete-X4I63WKN.js → delete-XYC7FN6A.js} +8 -6
  117. package/dist/{deploy-BBGSS4I3.js → deploy-DOJS666X.js} +2 -2
  118. package/dist/{dist-ZE5X6MWG.js → dist-3Q2DNDSR.js} +2 -2
  119. package/dist/{doctor-BNZ6D33R.js → doctor-7CUFMW3Y.js} +14 -13
  120. package/dist/{events-6DI3CND6.js → events-K7HUJ4DO.js} +9 -6
  121. package/dist/{events-BYOF33UK.js → events-KGXVDZV7.js} +9 -6
  122. package/dist/{feedback-Z3JOC7TX.js → feedback-F7WLYJGJ.js} +16 -13
  123. package/dist/{ffmpeg-S44OTBCI.js → ffmpeg-ZFHN4YZ2.js} +7 -6
  124. package/dist/{figma-TVX2H5B3.js → figma-7QKRKT5Q.js} +3 -3
  125. package/dist/fontLocalizeCli.js +11 -10
  126. package/dist/{get-DWKTDVP7.js → get-XKPYG6IC.js} +8 -6
  127. package/dist/{gpuPolicy-GTBFSUHB.js → gpuPolicy-A74BROG6.js} +7 -6
  128. package/dist/{grade-compare-S4P6Z265.js → grade-compare-7SR62TE5.js} +34 -31
  129. package/dist/hangReport.js +1 -1
  130. package/dist/{heifImagePrep-RKQP2Y73.js → heifImagePrep-XTCBHE3B.js} +8 -7
  131. package/dist/{help-WIC6DHOF.js → help-B7CXC4J5.js} +3 -3
  132. package/dist/{history-UBRUPAHH.js → history-3INEHHZ4.js} +12 -9
  133. package/dist/hyperframe.manifest.json +1 -1
  134. package/dist/hyperframe.runtime.iife.js +71 -71
  135. package/dist/hyperframes-player.global.js +3 -3
  136. package/dist/{info-F5LTDQ6I.js → info-J3U63EFT.js} +13 -10
  137. package/dist/{init-6L4WQKOD.js → init-2IEXXRG2.js} +33 -30
  138. package/dist/{inspect-DUIBB263.js → inspect-IRJABR66.js} +34 -31
  139. package/dist/{installer-JKZ5N47B.js → installer-6JLQM6OJ.js} +4 -4
  140. package/dist/{keyframes-5FQNFJFE.js → keyframes-G2TSKZRL.js} +12 -9
  141. package/dist/{lambda-YTO6N2QH.js → lambda-QFFFCFK3.js} +11 -10
  142. package/dist/{layout-H3F2LW62.js → layout-INRUYIDJ.js} +34 -31
  143. package/dist/{lint-WUWLVCJQ.js → lint-BHPBD7Z3.js} +13 -10
  144. package/dist/{list-3EFECRWU.js → list-BGL5PH6J.js} +8 -6
  145. package/dist/{localPage-C3267GRQ.js → localPage-MLFDX4Y6.js} +7 -6
  146. package/dist/{login-W5L64YRM.js → login-ABDL65L6.js} +19 -18
  147. package/dist/{logout-C6P6ERZ3.js → logout-CXGSSQ4Q.js} +6 -4
  148. package/dist/{manager-46MZB3HK.js → manager-DEKPCPWH.js} +9 -8
  149. package/dist/{manager-IZIK7BHN.js → manager-LXWVBDLM.js} +3 -3
  150. package/dist/{media-treatment-XBQWOU5U.js → media-treatment-BQDTCBIT.js} +27 -15
  151. package/dist/{models-ZHNV44XV.js → models-SJIA5QDV.js} +11 -10
  152. package/dist/{motionShot-DO4EQ2U3.js → motionShot-46J3W5UJ.js} +17 -16
  153. package/dist/{normalize-audio-2EXTDNBF.js → normalize-audio-UXAJSQKI.js} +14 -11
  154. package/dist/{open-7ZOY3KI6.js → open-DHRYP3N3.js} +17 -14
  155. package/dist/{parakeetRunner-H3B4QP6W.js → parakeetRunner-WKMM4TYU.js} +13 -12
  156. package/dist/{pipeline-7OKHNKGP.js → pipeline-EIVKRUX2.js} +11 -10
  157. package/dist/{play-B5NNOJN7.js → play-J5A7KHNF.js} +24 -21
  158. package/dist/{preflight-R26JZQJU.js → preflight-GKIQIXFQ.js} +10 -9
  159. package/dist/{present-Y2SEWKGO.js → present-ZDXILGQJ.js} +20 -17
  160. package/dist/{preview-7CZX4A5T.js → preview-A2MLHZFF.js} +23 -20
  161. package/dist/{producer-WTO6XYGU.js → producer-NYWYRG4X.js} +1 -1
  162. package/dist/{projectConfig-SJ5NIYUO.js → projectConfig-DY6FHC7A.js} +6 -6
  163. package/dist/{publication-47KNSXP7.js → publication-N4WHPZOW.js} +2 -2
  164. package/dist/{publish-4J4EKKQN.js → publish-26W6VDND.js} +15 -13
  165. package/dist/{refresh-IYRGLHG5.js → refresh-VJ4FQVH2.js} +3 -2
  166. package/dist/{remove-background-UKC6NKDH.js → remove-background-JYUB75RB.js} +12 -11
  167. package/dist/{render-TABKCTMF.js → render-AQH2VMHO.js} +123 -70
  168. package/dist/{render-DBELH4AC.js → render-JZWO3VX3.js} +23 -20
  169. package/dist/{render-S2FJRE3H.js → render-YPI6CDRS.js} +5 -5
  170. package/dist/{render-batch-6YJMWHZ4.js → render-batch-GR2Y3F2S.js} +5 -5
  171. package/dist/renderSetupWorker.js +4 -4
  172. package/dist/{resolver-EDI3JND5.js → resolver-LTLSX6DR.js} +4 -4
  173. package/dist/{screenshotCapture-HDRHY4NN.js → screenshotCapture-U3IYWTDB.js} +1 -1
  174. package/dist/{sherpa-R6HDRJCA.js → sherpa-2DJ33LQP.js} +12 -11
  175. package/dist/sherpaWorker.js +1 -1
  176. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
  177. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +9 -0
  178. package/dist/skills/hyperframes-cli/references/preview-render.md +2 -2
  179. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -2
  180. package/dist/skills/media-use/references/meta.md +6 -5
  181. package/dist/skills/media-use/scripts/lib/telemetry.mjs +49 -15
  182. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +19 -5
  183. package/dist/{skills-2QIW3EOJ.js → skills-OF7XMPKX.js} +11 -8
  184. package/dist/{skillsUpdateCheck-XG5FPCU5.js → skillsUpdateCheck-E3HPT4PS.js} +5 -4
  185. package/dist/{snapshot-C5XBKYEF.js → snapshot-6F5XK22M.js} +57 -37
  186. package/dist/{src-E467QUBK.js → src-JUJFZ6GC.js} +10 -5
  187. package/dist/{src-CT2X45TD.js → src-UNN3TXHH.js} +9 -8
  188. package/dist/{staticProjectServer-G54Z4BH7.js → staticProjectServer-DLSH7DHS.js} +18 -17
  189. package/dist/{status-SLILCDBZ.js → status-TJFZFDGS.js} +5 -4
  190. package/dist/studio/assets/{hyperframes-player-H1DIJsJZ.js → hyperframes-player-D38lr2hR.js} +3 -3
  191. package/dist/studio/assets/{index-BftVE_0y.js → index-C-DCQ7nQ.js} +120 -120
  192. package/dist/studio/assets/{index-v_hWj6Kv.js → index-CJ28BLvq.js} +1 -1
  193. package/dist/studio/index.html +1 -1
  194. package/dist/{studio-api-O52RPXZC.js → studio-api-5YATSN7H.js} +8 -8
  195. package/dist/{studioServer-WDTS6ZDI.js → studioServer-O3FSLOUF.js} +54 -51
  196. package/dist/{synthesize-FQML2LN2.js → synthesize-IKSZPKFJ.js} +2 -2
  197. package/dist/{system-MVRF5UM2.js → system-FDPS57FU.js} +2 -2
  198. package/dist/{telemetry-NTO4FJFN.js → telemetry-CY7V7FIN.js} +6 -5
  199. package/dist/{telemetry-GEHWCV7C.js → telemetry-MMCJ2ORL.js} +9 -6
  200. package/dist/{timeline-IVQDNGWZ.js → timeline-ZBJTZK6E.js} +23 -20
  201. package/dist/{tokens-EN5PVV3Y.js → tokens-JFYRYRDK.js} +2 -2
  202. package/dist/{transcribe-HKS3PZAF.js → transcribe-QUMMQM34.js} +11 -10
  203. package/dist/{transcribe-NXMIBNLX.js → transcribe-UVQQ3OMR.js} +21 -18
  204. package/dist/{tts-K5HRN6NQ.js → tts-MQNOBHLH.js} +3 -3
  205. package/dist/{updateCheck-35TT5GRF.js → updateCheck-VMMBGLTI.js} +4 -3
  206. package/dist/{upgrade-G6EOHGUS.js → upgrade-4VYNPIFQ.js} +4 -3
  207. package/dist/{urlDownloader-X7V63HCF.js → urlDownloader-EAPV3CZL.js} +6 -5
  208. package/dist/{validate-4JUCRS64.js → validate-JJG6Q6IH.js} +28 -25
  209. package/dist/{video-SWQXDG7J.js → video-7MJZ7IYL.js} +8 -7
  210. package/dist/warmCheck.js +44 -41
  211. package/dist/warmCheckClient.js +1 -1
  212. package/package.json +2 -1
  213. package/dist/chunk-FBQVRYMD.js +0 -5061
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-URD4QIQS.js";
9
+ } from "./chunk-7RPXLY6U.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-EJCCJTUH.js";
15
+ } from "./chunk-4EEVTNDU.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-MGUA3DUS.js";
19
+ } from "./chunk-LGZP4IR2.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-245CC6JT.js";
23
+ } from "./chunk-RKS7GO4O.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-3ZNAP65U.js";
28
+ } from "./chunk-MYHAS5U2.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-XM3NMXLX.js";
9
+ } from "./chunk-GTKUQUZ6.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-UR6QODTY.js";
14
+ } from "./chunk-PNE2Y42T.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-VVDHSRKD.js";
9
+ } from "./chunk-PPMLF76Z.js";
10
10
  import {
11
11
  buildAuthHeaders,
12
12
  envCredentialVar,
13
13
  isAuthError,
14
14
  isTokenExpired,
15
15
  tryResolveCredential
16
- } from "./chunk-7TWX4Y7I.js";
16
+ } from "./chunk-UVXIJYZY.js";
17
17
  import {
18
18
  rewriteSrcsetUrls
19
- } from "./chunk-FBQVRYMD.js";
19
+ } from "./chunk-IVRKWQTX.js";
20
20
  import {
21
21
  CSS_URL_RE,
22
22
  isNonRelativeUrl,
@@ -29,6 +29,9 @@ import {
29
29
  import {
30
30
  parseHTML
31
31
  } from "./chunk-GWTIFRF5.js";
32
+ import {
33
+ envProxyEnabled
34
+ } from "./chunk-QBXDU24O.js";
32
35
 
33
36
  // src/utils/projectLink.ts
34
37
  import { randomUUID } from "crypto";
@@ -272,8 +275,7 @@ function proxySupportHint() {
272
275
  const proxyConfigured = ["HTTPS_PROXY", "HTTP_PROXY", "https_proxy", "http_proxy"].some(
273
276
  (key) => Boolean(process.env[key]?.trim())
274
277
  );
275
- const proxyEnabled = process.env["NODE_USE_ENV_PROXY"] === "1" || process.execArgv.includes("--use-env-proxy") || process.env["NODE_OPTIONS"]?.split(/\s+/u).includes("--use-env-proxy") === true;
276
- if (!proxyConfigured || proxyEnabled) return "";
278
+ if (!proxyConfigured || envProxyEnabled()) return "";
277
279
  return ". Proxy variables are set but ignored by Node fetch; if this network requires them, retry with NODE_USE_ENV_PROXY=1 (Node 22.21+)";
278
280
  }
279
281
  function describeFetchFailure(error) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getSystemTotalMb
9
- } from "./chunk-32NEJ553.js";
9
+ } from "./chunk-FBN2M2HK.js";
10
10
  import {
11
11
  detectAgentHints,
12
12
  detectAgentRuntime,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-7VZEOCUY.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-245CC6JT.js";
12
+ } from "./chunk-RKS7GO4O.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
@@ -17,12 +17,12 @@ import {
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel,
19
19
  sha256File
20
- } from "./chunk-3ZNAP65U.js";
20
+ } from "./chunk-MYHAS5U2.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-HQRI2NT3.js";
25
+ } from "./chunk-BHWXSO6T.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";
@@ -17,17 +17,17 @@ import {
17
17
  finishCheckSnapshots,
18
18
  preResolveHostileMediaProxies,
19
19
  rectToBbox
20
- } from "./chunk-PT47MVXR.js";
20
+ } from "./chunk-SPFTXNKQ.js";
21
21
  import {
22
22
  collectProjectMedia,
23
23
  mediaPath
24
- } from "./chunk-FQO3RV6O.js";
24
+ } from "./chunk-BTYR7Y3Z.js";
25
25
  import {
26
26
  captureArtifactRevision
27
- } from "./chunk-YQCDSSIK.js";
27
+ } from "./chunk-SBBYMUWY.js";
28
28
  import {
29
29
  trackLintRun
30
- } from "./chunk-HVQDDVN4.js";
30
+ } from "./chunk-3S2WWGJJ.js";
31
31
  import {
32
32
  CONTENT_OVERLAP_HELD_ERROR_MS,
33
33
  DEFAULT_MAX_STATIC_SEC,
@@ -48,7 +48,7 @@ import {
48
48
  mergeSampleTimes,
49
49
  parseAt,
50
50
  readMotionSpec
51
- } from "./chunk-7W4DJKZA.js";
51
+ } from "./chunk-43USF7JF.js";
52
52
  import {
53
53
  findingAtRoot,
54
54
  findingElementKey,
@@ -57,7 +57,7 @@ import {
57
57
  } from "./chunk-TQBQYO4L.js";
58
58
  import {
59
59
  resolveProject
60
- } from "./chunk-VILE6GFD.js";
60
+ } from "./chunk-RIGQABEL.js";
61
61
  import {
62
62
  recordArtifacts
63
63
  } from "./chunk-24F7TOW2.js";
@@ -69,17 +69,17 @@ import {
69
69
  closeManagedBrowser,
70
70
  onStopSignal,
71
71
  registerBrowserSessionCleanup
72
- } from "./chunk-53ERMOK2.js";
72
+ } from "./chunk-OWU2BURB.js";
73
73
  import {
74
74
  resolveLocalBrowserGpuMode
75
- } from "./chunk-MP7DZH5M.js";
75
+ } from "./chunk-EJTVBW42.js";
76
76
  import {
77
77
  trackCheckReport,
78
78
  trackCommandFailure
79
- } from "./chunk-4NJ57TSE.js";
79
+ } from "./chunk-QGMRSNG5.js";
80
80
  import {
81
81
  swallowedFlagUsageError
82
- } from "./chunk-FKFGGAXN.js";
82
+ } from "./chunk-GLC5XHN5.js";
83
83
  import {
84
84
  defineCommand
85
85
  } from "./chunk-DL4OD7IA.js";
@@ -95,14 +95,14 @@ import {
95
95
  import {
96
96
  extractMediaMetadata,
97
97
  findHdrAutoPromotion
98
- } from "./chunk-LIOE46OG.js";
98
+ } from "./chunk-VZENYSX7.js";
99
99
  import {
100
100
  lintProject,
101
101
  shouldBlockRender
102
102
  } from "./chunk-JF3RF6GS.js";
103
103
  import {
104
104
  withMeta
105
- } from "./chunk-XWMY7FIW.js";
105
+ } from "./chunk-U54ZBLTF.js";
106
106
  import {
107
107
  failureMessage,
108
108
  jsonFailure
@@ -123,6 +123,7 @@ import { join as join2, resolve } from "path";
123
123
 
124
124
  // src/utils/checkDeadline.ts
125
125
  var CHECK_IDLE_MS = 12e4;
126
+ var idleWindow = (timeoutMs) => Math.max(CHECK_IDLE_MS, timeoutMs + 1e4);
126
127
  var SCRIPT_START = "[hyperframes:script:start] ";
127
128
  var SCRIPT_FINISH = "[hyperframes:script:finish] ";
128
129
  var PHASE_LABELS = {
@@ -151,6 +152,13 @@ var CheckStoppedError = class extends Error {
151
152
  }
152
153
  };
153
154
  var CheckDeadline = class {
155
+ constructor(idleMs = CHECK_IDLE_MS) {
156
+ this.idleMs = idleMs;
157
+ this.expiry = new Promise((_, reject) => {
158
+ this.rejectExpiry = reject;
159
+ });
160
+ }
161
+ idleMs;
154
162
  abort = new AbortController();
155
163
  operations = /* @__PURE__ */ new Set();
156
164
  signal = this.abort.signal;
@@ -164,11 +172,6 @@ var CheckDeadline = class {
164
172
  work;
165
173
  spent = /* @__PURE__ */ new Map();
166
174
  partials = [];
167
- constructor() {
168
- this.expiry = new Promise((_, reject) => {
169
- this.rejectExpiry = reject;
170
- });
171
- }
172
175
  keepPartial = (read) => {
173
176
  this.partials.push(read);
174
177
  };
@@ -193,7 +196,7 @@ var CheckDeadline = class {
193
196
  const seconds2 = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
194
197
  return `${PHASE_LABELS[phase]} ${seconds2}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
195
198
  });
196
- return ` (no progress for ${CHECK_IDLE_MS / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
199
+ return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
197
200
  }
198
201
  start = () => {
199
202
  if (this.phase !== "waiting") return;
@@ -205,7 +208,7 @@ var CheckDeadline = class {
205
208
  clearTimeout(this.timer);
206
209
  this.timer = setTimeout(
207
210
  () => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
208
- CHECK_IDLE_MS
211
+ this.idleMs
209
212
  );
210
213
  }
211
214
  expire(error) {
@@ -1902,7 +1905,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
1902
1905
  relative(project.dir, motion.path) || "index.motion.json"
1903
1906
  )
1904
1907
  ] : [];
1905
- const deadline = new CheckDeadline();
1908
+ const deadline = new CheckDeadline(idleWindow(options.timeout));
1906
1909
  const forgetStop = onStopSignal(deadline.stop);
1907
1910
  let outcome;
1908
1911
  try {
@@ -2355,7 +2358,7 @@ function resolveMotionSpec(projectDir) {
2355
2358
  };
2356
2359
  }
2357
2360
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2358
- const module = await import("./checkBrowser-NYBDUAT2.js");
2361
+ const module = await import("./checkBrowser-D6MZRCTH.js");
2359
2362
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2360
2363
  }
2361
2364
  var adoptedBrowser;
@@ -2369,7 +2372,7 @@ async function prelaunchBrowser(project, options) {
2369
2372
  if (adopted) return adopted;
2370
2373
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2371
2374
  if (html === void 0) return void 0;
2372
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-PQT4GNR2.js");
2375
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-PAJRNURH.js");
2373
2376
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2374
2377
  }
2375
2378
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2381,11 +2384,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2381
2384
  return relative(projectDir, path);
2382
2385
  }
2383
2386
  async function captureFindingFrames(project, options, requests, deadline) {
2384
- const module = await import("./checkBrowser-NYBDUAT2.js");
2387
+ const module = await import("./checkBrowser-D6MZRCTH.js");
2385
2388
  return module.captureFindingFrames(project, options, requests, deadline);
2386
2389
  }
2387
2390
  async function captureFindingCrops(project, options, requests, deadline) {
2388
- const module = await import("./checkBrowser-NYBDUAT2.js");
2391
+ const module = await import("./checkBrowser-D6MZRCTH.js");
2389
2392
  return module.captureFindingCrops(project, options, requests, deadline);
2390
2393
  }
2391
2394
  async function inspectProjectMedia(project, dependencies) {
@@ -2407,7 +2410,7 @@ function collectMedia(project) {
2407
2410
  return collectProjectMedia(project.dir);
2408
2411
  }
2409
2412
  async function inspectAudio(project, media) {
2410
- const module = await import("./checkAudio-DIJNBWAF.js");
2413
+ const module = await import("./checkAudio-6B2FKTIU.js");
2411
2414
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2412
2415
  }
2413
2416
  function audioCheckFailure(project, error) {
@@ -2459,7 +2462,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2459
2462
  }
2460
2463
  },
2461
2464
  async prepareMedia(project, options) {
2462
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6VHTVRO3.js");
2465
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Y7VGIRFK.js");
2463
2466
  const html = await bundleWithLocalizedFonts(project.dir);
2464
2467
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2465
2468
  },
@@ -2928,6 +2931,10 @@ function nonNegativeNumber(value, fallback) {
2928
2931
  const parsed = parseFloat(String(value ?? ""));
2929
2932
  return Number.isFinite(parsed) && parsed >= 0 ? parsed : fallback;
2930
2933
  }
2934
+ function browserSkippedLine(report) {
2935
+ const lintError = report.lint.findings.some((finding) => finding.severity === "error");
2936
+ return lintError ? "Browser validation skipped because of the lint error above: fix it and run check again. Layout, motion, and contrast were not checked, so this is not a clean pass." : "Browser session never ran \u2014 layout, motion, and contrast below are empty placeholders, not a clean pass.";
2937
+ }
2931
2938
  function printHumanReport(report) {
2932
2939
  if (report.scope) {
2933
2940
  console.log(
@@ -2938,9 +2945,7 @@ function printHumanReport(report) {
2938
2945
  printSection("Lint", report.lint);
2939
2946
  if (report.browserSkipped) {
2940
2947
  console.log();
2941
- console.log(
2942
- ` ${c.warn("\u26A0")} Browser session never ran \u2014 layout, motion, and contrast below are empty placeholders, not a clean pass.`
2943
- );
2948
+ console.log(` ${c.warn("\u26A0")} ${browserSkippedLine(report)}`);
2944
2949
  }
2945
2950
  printSection("Runtime", report.runtime);
2946
2951
  printLayoutSection("Layout", report.layout);
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  firstFrameColourArgs,
15
15
  parseFirstFrameColour
16
- } from "./chunk-GFA5ZCVI.js";
16
+ } from "./chunk-DYHAZFK3.js";
17
17
  import {
18
18
  findFfBinary
19
19
  } from "./chunk-VAS6HQX3.js";
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-G7CFMNRO.js";
11
+ } from "./chunk-BYHG2T5X.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-LIOE46OG.js";
15
+ } from "./chunk-VZENYSX7.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-YWRUQ7XZ.js";
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadFile
9
- } from "./chunk-FJ646TIT.js";
9
+ } from "./chunk-R4EWRIDL.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-HQRI2NT3.js";
12
+ } from "./chunk-BHWXSO6T.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
16
16
 
17
17
  // src/whisper/manager.ts
18
18
  import { execFileSync } from "child_process";
19
- import { existsSync, mkdirSync, readdirSync, renameSync, rmSync, statSync as statSync2 } from "fs";
19
+ import { existsSync, mkdirSync, readdirSync, rmSync, statSync as statSync2 } from "fs";
20
20
  import { homedir, platform } from "os";
21
21
  import { join } from "path";
22
22
 
@@ -266,21 +266,17 @@ async function ensureModel(model = DEFAULT_MODEL, options) {
266
266
  options?.onProgress?.(
267
267
  cachedBytes === void 0 ? `Downloading model ${model}...` : `Model ${model} is incomplete; downloading it again...`
268
268
  );
269
- const downloaded = `${modelPath}.${process.pid}.download`;
270
- try {
271
- await downloadFile(getModelUrl(model), downloaded, {
272
- signal: options?.signal,
273
- onProgress: options?.onDownloadProgress
274
- });
275
- if (pin && !await verifies(downloaded, pin)) {
276
- throw new Error(
277
- `${pin.name} did not match its pinned size and sha256, so it was discarded. Re-run to retry.`
278
- );
269
+ await downloadFile(getModelUrl(model), modelPath, {
270
+ signal: options?.signal,
271
+ onProgress: options?.onDownloadProgress,
272
+ verify: async (path) => {
273
+ if (pin && !await verifies(path, pin)) {
274
+ throw new Error(
275
+ `${pin.name} did not match its pinned size and sha256, so it was discarded. Re-run to retry.`
276
+ );
277
+ }
279
278
  }
280
- renameSync(downloaded, modelPath);
281
- } finally {
282
- rmSync(downloaded, { force: true });
283
- }
279
+ });
284
280
  return modelPath;
285
281
  }
286
282
  function hasFFmpeg() {
@@ -564,6 +564,29 @@ function* rhythmSteps(signal) {
564
564
  entry.rhythm ??= yield* rhythmOf(entry.frames);
565
565
  return entry.rhythm;
566
566
  }
567
+ var SPAN_SECONDS = 6;
568
+ function localBeatEvidence(signal, times, beatSeconds) {
569
+ const { broad, fps } = onsetCurves(bandFramesOf(signal));
570
+ const half = Math.round(SPAN_SECONDS / 2 * fps);
571
+ const whole = beatSeconds ?? medianInterval(times) ?? 0;
572
+ if (whole * fps < 2)
573
+ return times.map(() => ({ confidence: 0, lift: 0 }));
574
+ const local = smoothed(broad, whole * fps);
575
+ return times.map((t) => {
576
+ const centre = Math.round((t - ONSET_LAG_SECONDS) * fps);
577
+ const from = Math.max(0, centre - half);
578
+ const to = Math.min(broad.length, centre + half);
579
+ const near = times.filter((other) => Math.abs(other - t) * fps <= half);
580
+ const lag = Math.round((beatSeconds ?? medianInterval(near) ?? whole) * fps);
581
+ const ac = autocorrelation(broad.subarray(from, to), lag + 1);
582
+ const clarity = Math.max(ac[lag - 1] ?? 0, ac[lag] ?? 0, ac[lag + 1] ?? 0);
583
+ const span = local.subarray(from, to);
584
+ const mean2 = span.reduce((sum, v) => sum + v, 0) / (span.length || 1);
585
+ const peak = Math.max(...[-2, -1, 0, 1, 2].map((d) => local[centre + d] ?? 0));
586
+ const lift = mean2 > 0 ? peak / mean2 - 1 : 0;
587
+ return { confidence: beatConfidence(clarity, lift), lift };
588
+ });
589
+ }
567
590
 
568
591
  // ../core/dist/audioSnap.js
569
592
  function nearestIndex(sorted, t) {
@@ -1223,10 +1246,12 @@ export {
1223
1246
  PITCH_RATE,
1224
1247
  pitchTrack,
1225
1248
  medianInterval,
1249
+ STEADY_BEAT_CONFIDENCE,
1226
1250
  tempoOf,
1227
1251
  bandFramesOf,
1228
1252
  rhythm,
1229
1253
  rhythmSteps,
1254
+ localBeatEvidence,
1230
1255
  snapper,
1231
1256
  runLadder,
1232
1257
  signalDuration,
@@ -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-CT2X45TD.js");
10
+ return await import("./src-UNN3TXHH.js");
11
11
  }
12
12
 
13
13
  export {
@@ -12,12 +12,12 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-4HMG5CQJ.js";
15
+ } from "./chunk-Q3OKLJ34.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-GFA5ZCVI.js";
20
+ } from "./chunk-DYHAZFK3.js";
21
21
  import {
22
22
  require_dist
23
23
  } from "./chunk-JF3RF6GS.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-FI3JWR34.js";
9
+ } from "./chunk-TQSKEMSL.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-MP7DZH5M.js";
9
+ } from "./chunk-EJTVBW42.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-LIOE46OG.js";
18
+ } from "./chunk-VZENYSX7.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-T2WJO4XM.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-GFA5ZCVI.js";
30
+ } from "./chunk-DYHAZFK3.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -9,7 +9,7 @@ import {
9
9
  buildAuthHeaders,
10
10
  refreshTokens,
11
11
  resolveCredential
12
- } from "./chunk-7TWX4Y7I.js";
12
+ } from "./chunk-UVXIJYZY.js";
13
13
 
14
14
  // src/cloud/auth.ts
15
15
  async function resolveCloudAuthHeaders() {
@@ -0,0 +1,39 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/auth/telemetryIdentity.ts
9
+ import { createHash } from "crypto";
10
+ var UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
11
+ function heygenUserId(username) {
12
+ if (UUID_PATTERN.test(username)) return username;
13
+ const hash = createHash("sha256").update(username).digest();
14
+ hash[6] = hash[6] & 15 | 80;
15
+ hash[8] = hash[8] & 63 | 128;
16
+ const hex = hash.toString("hex");
17
+ return [
18
+ hex.slice(0, 8),
19
+ hex.slice(8, 12),
20
+ hex.slice(12, 16),
21
+ hex.slice(16, 20),
22
+ hex.slice(20, 32)
23
+ ].join("-");
24
+ }
25
+ function telemetryIdentity(user) {
26
+ const email = user.email?.trim().toLowerCase() || void 0;
27
+ const username = user.username?.trim() ? user.username : void 0;
28
+ const traits = {};
29
+ if (email) traits.email = email;
30
+ if (username) traits.heygen_username = username;
31
+ if (username) return { distinctId: heygenUserId(username), traits };
32
+ if (email) return { distinctId: email, traits };
33
+ return void 0;
34
+ }
35
+
36
+ export {
37
+ heygenUserId,
38
+ telemetryIdentity
39
+ };
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-FBQVRYMD.js";
62
+ } from "./chunk-IVRKWQTX.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -0,0 +1,20 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // ../core/dist/envProxy.js
9
+ function envProxyEnabled(env = process.env, execArgv = process.execArgv) {
10
+ const flags = [...execArgv, ...env["NODE_OPTIONS"]?.split(/\s+/u) ?? []];
11
+ return env["NODE_USE_ENV_PROXY"] === "1" || flags.includes("--use-env-proxy");
12
+ }
13
+ function fetchGoesThroughEnvProxy(env = process.env, execArgv = process.execArgv) {
14
+ return Boolean((env["HTTPS_PROXY"] ?? env["https_proxy"])?.trim()) && envProxyEnabled(env, execArgv);
15
+ }
16
+
17
+ export {
18
+ envProxyEnabled,
19
+ fetchGoesThroughEnvProxy
20
+ };
@@ -10,21 +10,21 @@ import {
10
10
  } from "./chunk-Y65ZU7XY.js";
11
11
  import {
12
12
  downloadFile
13
- } from "./chunk-FJ646TIT.js";
13
+ } from "./chunk-R4EWRIDL.js";
14
14
  import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-HQRI2NT3.js";
18
+ } from "./chunk-BHWXSO6T.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-53ERMOK2.js";
21
+ } from "./chunk-OWU2BURB.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-LIOE46OG.js";
27
+ } from "./chunk-VZENYSX7.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-E467QUBK.js");
394
+ const engine = await import("./src-JUJFZ6GC.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 };
@@ -8,13 +8,13 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-FI3JWR34.js";
11
+ } from "./chunk-TQSKEMSL.js";
12
12
  import {
13
13
  redactTelemetryString
14
14
  } from "./chunk-634HSJ3J.js";
15
15
  import {
16
16
  getPowerState
17
- } from "./chunk-5766TK7Q.js";
17
+ } from "./chunk-LAGZGKKN.js";
18
18
  import {
19
19
  readConfig
20
20
  } from "./chunk-ZCHULPJZ.js";
@@ -431,9 +431,13 @@ function trackAuthLoginCompleted(method, distinctId) {
431
431
  function trackAuthLoginFailed(method, reason, distinctId) {
432
432
  trackEvent("auth_login_failed", { method, reason }, distinctId);
433
433
  }
434
- function identifyUser(distinctId) {
434
+ function identifyUser(distinctId, traits = {}) {
435
435
  if (!distinctId) return;
436
- trackEvent("$identify", { $anon_distinct_id: readConfig().anonymousId }, distinctId);
436
+ trackEvent(
437
+ "$identify",
438
+ { $anon_distinct_id: readConfig().anonymousId, $set: traits },
439
+ distinctId
440
+ );
437
441
  }
438
442
  function trackRenderPreflightRejected(props) {
439
443
  trackEvent("render_preflight_rejected", { kind: props.kind });